Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI MAX and Netburner

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.

0 Kudos
Message 1 of 4
(3,722 Views)

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

0 Kudos
Message 2 of 4
(3,720 Views)

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?

Message 3 of 4
(3,694 Views)

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

 

Sunayna R.
Applications Engineering
National Instruments
0 Kudos
Message 4 of 4
(3,660 Views)