LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ZyXEL U-336 E modem - serial communication question

Solved!
Go to solution

Hello People!

 

I have to deal with an old modem which has serial port comm too.

I wonder what would be the best approach to make a serial com API for this instrument. First I had even a problem with a default activated echo mode, but I managed to turn it off. Moreover, the unit responds with termination characters BEFORE and AFTER the response bytes, see my snippet below. I can easily program around this, turning off the term char, then capturing the timeout error, and finally parsing out the response part between the "/r/n" parts. Are you aware of something better to do?

 

Thanks, and I attached its manual too!

 

Simple Serial_modemtest.png

0 Kudos
Message 1 of 2
(2,330 Views)
Solution
Accepted by topic author Blokk

Simple as the best solutions are always: 2 VISA Read needed after the VISA Write request:

https://forums.ni.com/t5/LabVIEW/VISA-read-message-with-multiple-termination-characters/m-p/3320518/...

0 Kudos
Message 2 of 2
(2,303 Views)