03-15-2016 09:04 AM
I have a NetBurner creating a virtual COM port (Ethernet to COM) and I installed the drivers and NI VISA needed. I can finally see the COM port appear as COM2 in NI MAX. Now when I try to send commands to the instrument, the instrument doesn't respond.
I know communication works because I have used Telnet and a Netburner application to prove that communication works in both directions with the NetBurner. So that leaves me with interpreting that the Server side doesn't read the response from the instrument through NI MAX and this is why I get an error.
Any ideas what I can do to fix this? If you have any questions, let me know and I can try to clarify them even more.
03-15-2016 09:05 AM
And to add, the Baud rate is set correctly on all devices, and the instrument is trying to send skippy commands back (SCPI). Nothing out of the norm here
03-16-2016 09:25 AM
I have determined that I am able to send commands now to the Agilent 34401 I am using, but when I try to read, I get an error -410 which means the receive buffer is full/overflowing....
I've tried to flush the receive buffer in VISA Test Panel, but that doesn't allow me to... how can I flush the TCP/IP receive buffer?
03-17-2016 02:29 PM
Hi,
I found a forum post that may answer your question about flushing the TCP/IP buffers: http://forums.ni.com/t5/LabVIEW/How-to-clear-the-buffer-in-TCP-IP/td-p/902953
Also, the VISA Clear function may be of use to you: http://zone.ni.com/reference/en-XX/help/371361H-01/lvinstio/visa_clear