LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to increse the timeout period

I am using labview 6.1 to acquire data from a PM3000A power analyzer but labview timeout expires after a few seconds. Even after increasing the time, that did not seem to help at all. I need labview to be able to run for a couple of hours or even more.
Any hep would be appreciated.
0 Kudos
Message 1 of 7
(3,161 Views)
What exactly is timing out? Are you getting a VISA timeout error? What type of connection do you have with the instrument - GPIB or Serial? If it's serial, can you communicate using Hyperterminal? Is the timeout happening every time you try to communicate or just occassionally? Are you using NI's driver or is this code you wrote yourself?
0 Kudos
Message 2 of 7
(3,153 Views)
I am using a GPIB connection to the instrument and getting a VISA timeout error after a few seconds of running the NI's driver. Communicating with the instrument is no problem at all as my results are actually displayed but they disappear after a few seconds with the timout error displayed. Thank you for your assistance.
0 Kudos
Message 3 of 7
(3,130 Views)
I am using a GPIB connection to the instrument and getting a VISA timeout error after a few seconds of running the NI's driver. Communicating with the instrument is no problem at all as my results are actually displayed but they disappear after a few seconds with the timout error displayed. Thank you for your assistance.
0 Kudos
Message 4 of 7
(3,133 Views)

Hi,

When you say 'running the NI driver' what do you mean? Are you using the getting started example - what are you trying to do? Or have you written an application with some of the functions available. If so then can you post your code so we can take a look at it?

Can you be a little more specific about what you are trying to do before the timeout occurs? It maybe that the timeout period isn't long enough for the instrument to respond, or that the command set being used isn't supported by the instrument.

Is this the driver that you are using?

http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E93EB659CE034080020E74861

If you can let me know, I'll look into this further for you.

Hannah
NIUK & Ireland

0 Kudos
Message 5 of 7
(3,123 Views)
 I am using the getting started vi, just the way it is, to display results (and log them) obtained from a power analyzer.
Thank you Hannah for your help. Yep, that's the driver i'm using (verion 6.0)
 
Brian. E
0 Kudos
Message 6 of 7
(3,092 Views)

Hi Brian,

What are you setting on this front panel? What are the values you are setting on each of the inputs?

What have you typed into the 'Instr Descriptor' field? Is this the same resource name that your instrument has in MAX? If not then you'll need to set this up - otherwise it is trying to communicate with an instrument that isn't necessarily there.

Have you verified that the connection to the instrument is working ok? Can you communication with the instrument from there?

If you can let me know this info? Once you have set up the comms correctly it should work fine

Regards

Hannah

 

0 Kudos
Message 7 of 7
(3,066 Views)