bumbaermail
7th July 2013, 19:01
Hello All,
I need to read the weight which is connected to the COM port at my client machine. Can it be possible to get that data using Baan 4GL Script? Kindly suggest?
Thanks in advance
vamsi_gujjula
8th July 2013, 11:51
i dont have much idea abt this....
but .....if that device which measures the weight can generated a file or anything of that sort in you client machine then it is quite possible.
regards,
Vamsi.
bdittmar
8th July 2013, 14:08
Hello All,
I need to read the weight which is connected to the COM port at my client machine. Can it be possible to get that data using Baan 4GL Script? Kindly suggest?
Thanks in advance
Hello, it maybe possible by writing a java program getting data from COM port an writing to a file.
From 4GL that file is read.
Also the JAVA prog. can be called by 4GL.
In JAVA use RXTX or SUN/Oracle LIB.
RXTX -> import gnu.io.*
SUN -> import javax.comm.*
Regards