News:

Welcome on our forum!

Main Menu

COM Emulator

Started by rherry, November 05, 2014, 04:41:11 AM

Previous topic - Next topic

rherry

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

Arthur Grasin

Hello,

Our Virtual Null Modem software can help in this situation.
If you like my work, please take a few seconds and add feedback about our site or our software [here]

rherry

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

rherry

Hallo, anybody can help me? ???

Arthur Grasin

Please, try to disable the interference and reboot the computer.
If you like my work, please take a few seconds and add feedback about our site or our software [here]

rherry

Hi Arthur,

Thanks a lot. It works.

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

Regards,
:rherry