LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Keithley 2182A & Keithley 6221 Voltage vs Current Plot

Solved!
Go to solution

Is there a way to measure data over both channels?

0 Kudos
Message 11 of 16
(1,640 Views)

Of course.  You should really look at the programming examples int he user manual.  You set the channel to read and then read it.  This is clear in some of the programming examples even though they are in HP Basic and not LabVIEW.

 

The command to read channel 2, changes the default channel from 1 to 2 and then reads it.  The semi-colon is necessary here since you are sending two commands.

"sens:chan 2; :read?"

Note that after setting the channel to 2, then all reads will read the second channel.  Use the obvious command to set the channel read back to 1.

LabVIEW ChampionLabVIEW Channel Wires

Message 12 of 16
(1,630 Views)

Thank you, it's now reading both channels at the same time with no errors.

0 Kudos
Message 13 of 16
(1,621 Views)

Dear Sir

 

Can you please upload the entire labview programm. its really needed

0 Kudos
Message 14 of 16
(1,216 Views)

Hii theInfiniteOne,

i have downloaded the attached vi file to run but says LabVIEW: Scan failed. The input string does not contain data in the expected format.

i am using LabView 2015  with GPIB KUSB-488B ON WINDOWS 8.1 PRO.

Please help me.

Thanks in Advance.

0 Kudos
Message 15 of 16
(1,182 Views)

Try removing that trailing semicolon.  That is weird and should not be necessary.

You are absolutely right. The semicolon messes stuff up and must be removed.

Even after all this years. Thank you 4 your advice.

0 Kudos
Message 16 of 16
(51 Views)