LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Default Settings

    Hi,

    Whenever I open a VISA session to an instrument, the default timeout is 2000ms. I need to set it to 10000ms, but without having to change every VI in order to include the VISA Property Node, that is, I'd like to have the default value set to 10000ms.
   
    Does anyone know if this is possible?

    Thankx...
0 Kudos
Message 1 of 4
(3,286 Views)

Hi Zep,

Please provide me with more information if I misunderstand your need...

              ... but is the 'timeout' parameter of the Open VISA session VI not enough for you ? Just connect a constant to it (10000 for example)

Regards,

Message Edité par Mathieu Steiner le 03-30-2007 08:22 AM

0 Kudos
Message 2 of 4
(3,268 Views)
    Hi Mathieu,

    Our GPIB bus is shared amongst several persons, which means that if someone is holding the bus for a long time (for instance, reading a burst of data) then the other users will eventually experience VISA timeouts. In such conditions, our approach is to change the code and include a VISA Property node on the code and change the VISA timeout. This value defaults to 2000ms, and it is common to all VISA instruments.

    Since we have a lot of code done already, it would be of great help to change the VISA Timeout default value globally, that is, in such a way that all VISA sessions would start with 10000ms timeout by default. If this could be done, it would mean that we would not need to change any code at all. My wildguess was that it would be on VISACONF.INI file, but I couldn't find it...

    I've attached one VI (LV7.1) that may clarify my goals...

    Thankx...

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

Hi back Zep,

Thanks for clarifying your need. Most of the time, people miss the timeout parameter Smiley Happy but you didn't.

The following link - Can the default time-out values for all VISA sessions be changed in a ressource or .ini file ? - answers your question. I would suggest you to fill in the product suggestion form.

Best regards,

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