LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PNA Guided Calibration: GPIB write error in for loop

The I/O Trace is only going to monitor the writes and reads done from the machine/PC you are running it on.  There is no way you'll be able to run the utility without that.  There could be some other analyzer outside of NI that could accomplish this, but I'm not aware of anything.  

Regards,

Ben N.
Applications Engineering
ni.com/support
0 Kudos
Message 21 of 25
(734 Views)

I had a look at this forum...have you tried to execute the monitor utility on the device described below?  

 

One other thing you can try to see if LabView is mangling the command somehow, is to turn on PNA's SCPI monitor and observe what commands it is actually receiving. the SCPI monitor can be turned on using the Utility->System->Configure->SICL/GPIB/SCPI... menu. You can also turn on NI's IO monitor on your PC and compare what is being sent and what is being received to see if there are any discrepancies.

Regards,

Ben N.
Applications Engineering
ni.com/support
0 Kudos
Message 22 of 25
(731 Views)

I would also suggest executing the commands in MAX. Try switching the order as well - i.e. step #2 first.

 

p.s. There are two methods to communicate in MAX - VISA and low level GPIB. You can try both.

0 Kudos
Message 23 of 25
(726 Views)

If your VB script is saved on the PNA then your PNA is probably set in the GPIB System Controller mode. To run your LabVIEW program you should disable this mode: PNA system menu, click SICL/GPIB, in the GPIB box uncheck System Controller.

 

Hope this help.

 

Ben64

0 Kudos
Message 24 of 25
(717 Views)

Note that how your setup is connected is also important. To control from a remote PC the GPIB between the PC and PNA should be connected to the GPIB Talker/Listener port. If the power meter is not connected to the PC but from the PNA you should use USB/GPIB interface between the PNA and power meter. Refer to the user manual (search for External test set control) ther may be some more settings to adjust.

 

Ben64

0 Kudos
Message 25 of 25
(708 Views)