LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HP35670A data capture

Hello,

 

Attached is some labview code that I wrote for the HP35670A.  However, for some reason, I get the error (HEX 0xBFFF0015) Timeout expired before operation completed (please see "error" attachement) whenever I try to capture the data from the screen.

 

Can you assist me in capturing the data correctly?

 

Please note that the code requires the Agilent 35670A drivers.

 

Thanks,

hiNi

 

Download All
0 Kudos
Message 1 of 4
(3,149 Views)

Hello hiNI,

Taking a look at your code, I am going to assume that you are using GPIB for communication to your instrument, if this is incorrect please let me know what you are using to communicate. With this being said, we have a great KnowledgeBase that I would like for you to take a look at called Error -1073807339 When Using VISA Read or VISA Write in a Serial VI 

Although this is for serial communication, the principles are very similar. The idea is that communication to your device is going smoothly, but the communication back is taking longer than expected and it would be best to up the timeout to allow for all communication to finish. Try running your VI in Highlight Execution and see if it timesout. If it does not, then you simply need to up your timeout! Thanks again and let me know if this helps.

Regards,

 

Nicholas K

National Instruments
Applications Engineer
Message 2 of 4
(3,121 Views)

Hello,

 

Yes, I am using GPIB to communicate with the instrument.  I'll take a look at your website and see if I find anything valuable.  I also tried increasing the timeout in the "Actn Start Stop Cont.vi" then going into the "Actn Wait OPC.vi", but I still kept getting that error.

 

Thanks,

hiNi

0 Kudos
Message 3 of 4
(3,118 Views)

Thanks hiNI,

Please keep me up to date with your progress on this particular issue. Can you tell me if you are able to do a simple read and write to your HP35670A using the built-in example called simple read and write.vi. I want to make sure that you are able to communicate to your device using LabVIEW before we proceed with stepping through your code. Thanks again and have a great day!

Regards,

 

Nicholas K

National Instruments
Applications Engineer
Message 4 of 4
(3,100 Views)