LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HP 34401A-When I run the Read Meas.vi, it has error if I do not turn off the data storage

When I run the Read Meas.vi, it has error if I do not turn off the data storage. The same thing happen when I run the App. Example. vi. Anyone knows how to solve this problem? Thanks alot.
KL
0 Kudos
Message 1 of 4
(3,220 Views)
Hi KL,

The Read Meas.vi is one of the subvi's in the App. Example.vi, so this problem is most likely the same problem in each case. From the help for Read Meas.vi:

Data Storage instructs the device to store the data to be sent to either the internal or external buffer. If TRUE (default), the VI stores data in the on mode. If FALSE, the VI does not retain data in the off mode. Use the off mode only with the average min/max operation when you do not need to retrieve data. You cannot configure the meter for external buffering in the off mode.

So the question is, are you trying to retrieve any data? If so, then as indicated in the above paragraph, you cannot retrieve data and have the data storage turned off. Good luck!

Logan S.
0 Kudos
Message 2 of 4
(3,197 Views)


@LoganS wrote:
Hi KL,

The Read Meas.vi is one of the subvi's in the App. Example.vi, so this problem is most likely the same problem in each case. From the help for Read Meas.vi:

Data Storage instructs the device to store the data to be sent to either the internal or external buffer. If TRUE (default), the VI stores data in the on mode. If FALSE, the VI does not retain data in the off mode. Use the off mode only with the average min/max operation when you do not need to retrieve data. You cannot configure the meter for external buffering in the off mode.

So the question is, are you trying to retrieve any data? If so, then as indicated in the above paragraph, you cannot retrieve data and have the data storage turned off. Good luck!

Logan S.


Yes, I need to retrieve data. So due to that problem, I cannot really get any data. I am not sure is that problem is due to the USB GPIB or not. But once I click on the click arrow, everying goes fine from initialise, measurment... once it comes to Read measurment, it has error (say somthing like: VISA Wait on Event for RQS.vi->HP34401A Read Meas.vi->Untitled 1) I have no idea like what it shows up.
KL
0 Kudos
Message 3 of 4
(3,191 Views)
Are you using the lastest version of the driver? (There were some updates made to it. You can find the latest one here : http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E9351659CE034080020E74861 ) If this still doesnt work, let me know what exactly the error code is in the "error out" indicator. Also, can you let me what all your controls are set to in the Read Meas.vi when this error occurs?
0 Kudos
Message 4 of 4
(3,182 Views)