Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Instrument driver

Hi,

I am using Tektronix Function Generator AFG3102C and controlling it using its instrument driver with the PC running LabVIEW 2017.It is working fine with USB interface but the same VI is not working with Ethernet interface connection.I am attaching the snapshot of the screen.Please suggest the solution for the problem.

 

Thanks

Rohit Mishra

0 Kudos
Message 1 of 3
(2,143 Views)

Seems to be a Timeout error.

 

When using the Ethernet interface, are you able to use a VISA Test Panel in NI MAX (see step 5 of Serial Instrument Control Tutorial) and query *IDN? (or any similar command where the instrument responds with its identifier)?

 

If this does not work, I presume the problem is that:

  1. The instrument is not correctly configured to receive commands by Ethernet/LAN (most instruments require the user to configure "Remote" by LAN before "listening" for commands). You should be able to find the requirements and procedure in your instrument's user manual.
  2. The instrument is not properly configured in VISA (MAX) to communicate successfully with the hardware.

 

If the VISA Test Panel is working, I recommend digging more into which specific VISA function or command that is being sent is returning the error.

 

You can also find an instrument troubleshooting guide here: Troubleshooting NI VISA, 488.2, Serial, and Modular Instrument Drivers 

 

All the best,

 

0 Kudos
Message 2 of 3
(2,095 Views)

Thanks for providing possible solutions for the problem.I tried again to configure the instrument in NI MAX through ethernet interface without explicitly providing port number.This time NI MAX detected the device automatically and hence the communication problem was resolved.

 

Rohit Mishra

 

0 Kudos
Message 3 of 3
(2,060 Views)