Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

n6700 query max current is timing out

Solved!
Go to solution

I have the N6700 chassis and have installed the IVI driver for it.  I have two different modules in the chassis.  Both exhibit the same issue.  I initialize them, which works fine.  I disable the outputs, and then query the max voltage level.  All this works and retunrs good data.  Then I try tyo query the max current.  I have tried with both the IVI function as well as the driver specific function.  Both timeout.  I have tried passing 0V, 20V, and the output from the max voltage back into its voltage input.  It doesn't like the 0V, the other two options just timeout.  I use this same routine to querya couple E363x supplies and it works fine on them.  Any thoughts on why this specific VI isn't working?

0 Kudos
Message 1 of 5
(5,334 Views)

Does the instrument have any errors after the timeout?  Make sure you do a querry for all of the errors from the instrument.  That will usually key you into the problem.


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 2 of 5
(5,333 Views)

I get two errors.

 

GPIB: Error -101, Invalid character

GPIB: Error -420, query unterminated

 

Is there something wrong with the IVI driver?????

0 Kudos
Message 3 of 5
(5,329 Views)
Solution
Accepted by topic author Muffin

OK, it was the driver again.  I am not going to download any more drivers off NI's website.  That is the third bad driver I have gotten from them.  Got the correct one off Agilents website and it works fine.

0 Kudos
Message 4 of 5
(5,326 Views)
You can turn on IO Trace in MAX and capture the command being sent. Compare that to what is listed on the manual.
0 Kudos
Message 5 of 5
(5,324 Views)