contact
support
Download
order
news
AGG Software Forums
January 28, 2025, 05:16:39 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
>
Advanced Serial Port Monitor
>
Problem using plugin 'Binary protocol simple emulator'
Pages: [
1
]
« previous
next »
Print
Author
Topic: Problem using plugin 'Binary protocol simple emulator' (Read 27610 times)
hodietel
Newbie
Karma: +0/-0
Posts: 3
Problem using plugin 'Binary protocol simple emulator'
«
on:
April 05, 2016, 12:34:04 PM »
Hi,
I want to emulate a measurement instrument connectet to com1:
When I send "ID?<CR><LF>" from a terminal emulation to the instrument, it answers with an ID-string.
I have configured in the plugin: Request: ID?#0D#0A and Answer: SOMETHING#0D#0A and use the monitor in spy modus with the plugin open. I have a german installation, version 4.4.6 build 324.
I had no success so far also using other combinations for request/answer.
Does anybody have any idea?
Regards
Horst
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
Karma: +0/-0
Posts: 806
Re: Problem using plugin 'Binary protocol simple emulator'
«
Reply #1 on:
April 05, 2016, 01:58:13 PM »
Hello Horst,
I've tested this plugin with your request and answer, using 2 instances of Advanced Serial Port Monitor and the program works as expected.
If you type this request manually in the terminal program then it will not work, because the plugin has a timeout (about 500 ms) between bytes.
img1.png
(41.46 KB, 1035x786 - viewed 3 times.)
Logged
hodietel
Newbie
Karma: +0/-0
Posts: 3
Re: Problem using plugin 'Binary protocol simple emulator'
«
Reply #2 on:
April 05, 2016, 03:51:30 PM »
Hello,
it looks like as you use 2 port monitors in manual mode with the plugin. I have a program on my pc which I want to test against an emulated instrument on a com port. So I used the spymode. When I look into the source code of the plugin there is the following statement in the function OnDataExchange:
if DataSent or (DataSize<=0)then exit; // for example, if the program works in the spy mode
does that mean, I cannot use the spy modus?
BTW is it possible to get the SDK library (I have Delphi XE)
Horst
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
Karma: +0/-0
Posts: 806
Re: Problem using plugin 'Binary protocol simple emulator'
«
Reply #3 on:
April 05, 2016, 03:55:44 PM »
In the Spy mode the program cannot sent anything to the port. Therefore, this plugin will not work in the Spy mode.
Logged
hodietel
Newbie
Karma: +0/-0
Posts: 3
Re: Problem using plugin 'Binary protocol simple emulator' --> Solved
«
Reply #4 on:
April 05, 2016, 07:30:05 PM »
OK, I got it.
Now I use a free virtual serial port emulator, configured 2 bridged ports, on the one end my program, on tho other end the Advanced Serial Port Monitor with ASCII-Plugin in manual mode.
Works fine.
Problem solved.
Horst
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...