LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA - unable to queue operation & device reported an input protocol error.


@matt.baker wrote:
What reasons would you have against using a loop approach/multiple reads ignoring timeout errors? Is there any info/guidelines on not doing that? Just trying to fully understand the pitfalls Smiley Happy

You turn it into a polling session.  Instead of saying "call me when you have something," you are constantly on the phone asking for the information.  Unneeded overhead.  The equipment will tell you when it has something.  If too much time has gone by, then you check to see what has happened.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 21 of 24
(346 Views)

This idea would get rid of my need for a polling loop:

http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Add-an-quot-Abort-quot-event-to-VISA-reads-and-writes/...



Using LV2018 32 bit

Highly recommended open source screen capture software (useful for bug reports).

https://getsharex.com/
0 Kudos
Message 22 of 24
(301 Views)

@matt.baker wrote:

This idea would get rid of my need for a polling loop:

http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Add-an-quot-Abort-quot-event-to-VISA-reads-and-writes/...


It's interesting, but I've found that temporarily changing the timeout value accomplished what I needed.  I think this snippet does the same thing as your code?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 23 of 24
(288 Views)

Not sure if you fixed this

(replying to this as its the first google result so may help anyone else)

 

I have a similar issue with a different bit of kit (7510 DMM) and i spotted this in the firmware release notes, might help

 

image.png

0 Kudos
Message 24 of 24
(123 Views)