Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Wait On Event Timeout when in EXE

I wrote an application which controls an Agilent E3633A power supply.
This VI allows the user to set the power supply settings, but also read the current state.
When doing a read, I use the service byte registers to determine when data is available. This works fine when I am in the environment, but when I create and executable, I get a timeout on the Visa Wait on Event, and then the power supply generates and -410 error " query interrupt"

What I have attached is a simple version of this program, which produces the same issue.

Does anyone know what I am doing wrong?

 

0 Kudos
Message 1 of 2
(3,084 Views)

Are you using that VI for every single read of the instrument?  If so, why?

0 Kudos
Message 2 of 2
(3,074 Views)