AGG Software Forums

Online Help Center => Other questions => Topic started by: rherry on November 05, 2014, 07:41:11 AM



Title: COM Emulator
Post by: rherry on November 05, 2014, 07:41:11 AM
Hi,

Sorry, newbie question.

I'm building a text parser for my scale.
However, the location of the scale is on remote position, and there is no internet available.
So, i'm trying to emulate a COM port (my laptop doesn't have serial port) to transmit a certain string data, and the the data is to be captured into my VB application.

Can I do that using the COM port emulator? If so, how?
When I start the emulator, my VB app is unable to open/use the port object, where it said that the port is already opened.

Please help.

Regards,
:rherry


Title: Re: COM Emulator
Post by: Arthur Grasin on November 05, 2014, 08:09:31 AM
Hello,

Our Virtual Null Modem software can help in this situation.


Title: Re: COM Emulator
Post by: rherry on November 05, 2014, 03:14:14 PM
Hi,
Another follow-up question.
I managed to install both the emulator and the virtual null modem.

Basically, I created a virtual COM5, with 2400,8,N,1, and I set it to transmit a string of "as=ale=0023.82(kg)aksj" every second.
Then, I created a virtual null modem to connect COM5 to COM3, no handshaking, with COM5 use enable interference, and about 50% of the bar (I tried 0% - 100%, no difference).

After that, I use hyperterminal to try to capture the data.

The thing is, the transmitted data and received data are different:

- Log from the emulator:
S: ===> Text data begin <===
<-as=ale=0023.82(kg)aksj
S: ===> Text data begin <===
<-as=ale=0023.82(kg)aksj
S: ===> Text data begin <===
<-as=ale=0023.82(kg)aksj

- Captured data from Hyperterminal:
aÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁaZZZZZZZZZZZZZZZZZZZZZZZa>>>>>>>>>>>>>
>>>>>>>>>>a#######################
=> here, all received data are 24 chars, and started with the letter a.

Anything I did wrong?

Please help.

Regards,
:rherry


Title: Re: COM Emulator
Post by: rherry on November 06, 2014, 11:40:21 AM
Hallo, anybody can help me? ???


Title: Re: COM Emulator
Post by: Arthur Grasin on November 06, 2014, 12:53:14 PM
Please, try to disable the interference and reboot the computer.


Title: Re: COM Emulator -- SOLVED
Post by: rherry on November 06, 2014, 03:11:25 PM
Hi Arthur,

Thanks a lot. It works.

Sorry, I thought the interference is needed for a port assigned for the input stream.

Regards,
:rherry