contact
support
Download
order
news
AGG Software Forums
January 29, 2025, 01:56:53 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Welcome on our forum!
Home
Help
Search
Login
Register
AGG Software Forums
>
Online Help Center
>
Other questions
>
COM Emulator
Pages: [
1
]
« previous
next »
Print
Author
Topic: COM Emulator (Read 33352 times)
rherry
Newbie
Karma: +0/-0
Posts: 4
COM Emulator
«
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
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
Karma: +0/-0
Posts: 806
Re: COM Emulator
«
Reply #1 on:
November 05, 2014, 08:09:31 AM »
Hello,
Our Virtual Null Modem software can help in this situation.
Logged
rherry
Newbie
Karma: +0/-0
Posts: 4
Re: COM Emulator
«
Reply #2 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
Logged
rherry
Newbie
Karma: +0/-0
Posts: 4
Re: COM Emulator
«
Reply #3 on:
November 06, 2014, 11:40:21 AM »
Hallo, anybody can help me?
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
Karma: +0/-0
Posts: 806
Re: COM Emulator
«
Reply #4 on:
November 06, 2014, 12:53:14 PM »
Please, try to disable the interference and reboot the computer.
Logged
rherry
Newbie
Karma: +0/-0
Posts: 4
Re: COM Emulator -- SOLVED
«
Reply #5 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
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
News & Feedbacks
-----------------------------
=> News and Updates
=> Site Comments
-----------------------------
Online Help Center
-----------------------------
=> Advanced Serial Port Monitor
=> Data loggers and plug-ins
=> Data loggers ActiveX
=> Advanced USB Port Monitor
=> Virtual Null Modem
=> Software for DNC and CNC
=> Other questions
-----------------------------
Development
-----------------------------
=> Feature Requests
Loading...