LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Here as a query instrument data code, from here to appear "query interrupt", what is the problem?

peitao_0-1627527975937.png

Here as a query instrument data code, from here to appear "query interrupt", what is the problem?

0 Kudos
Message 1 of 3
(1,177 Views)

Hi peitao,

 

what about using AutoCleanup before posting images of your code?

What about sending the request (the command with the "?" at the end) as the last command after setting all parameters?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(1,152 Views)

@GerdW wrote:

What about sending the request (the command with the "?" at the end) as the last command after setting all parameters?


GerdW is right here.  A lot of instruments will give you this error if you send a command while it is processing a query.  When you send the query, you need to read the response before sending the next command.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 3
(1,143 Views)