Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Query error and controlling two instruments

There are times when I click run on my working program, this -410 query interrupted error would appear on the instrument. Anyone knows what is going on?

 

Another thing I am asking in advance is how do I combine the programs for both instruments(A Signal Generator and a VSA) into one program?  I need to configure the settings of both instruments one after another but I am concern about the timing.

0 Kudos
Message 1 of 4
(3,262 Views)

Use errorin and errorout wires to sequence the commands and make the visa write and visa read routines synchronous.

The only timing you have to worry after that is the reaction of the first instrumentafter the command. It takes some time to execute a command.

 

The error you see points to a too fast command after a previous one, mostly not reading all data that is available, but I've also seen this when no data was available but the instrument simply was not ready.

greetings from the Netherlands
0 Kudos
Message 2 of 4
(3,255 Views)
I see, I think I got it. Thank for the help Smiley Happy . Oh, is there any delay loop or something in labview?
Message Edited by Emo123 on 07-28-2009 01:39 AM
0 Kudos
Message 3 of 4
(3,254 Views)

use the wait ms function in a single sequence frame and wire the error line through tis sequence frame.

This is called sequence by wire.

greetings from the Netherlands
0 Kudos
Message 4 of 4
(3,233 Views)