From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Measure with Keithley 2000 over RS232

You still miss the termination char!

 

Felix 

0 Kudos
Message 11 of 56
(4,489 Views)
Look at the page from the manual you posted. You have to include that '?' at the end.
0 Kudos
Message 12 of 56
(4,486 Views)

Anyone new to LabVIEW should get their instrument working with Hyperterminal first. It goes a long way knowing that the commands you send work the way you intend. Things like forgetting the question mark would not be an issue if it were all hammered out in Hyperterm first.

Richard






0 Kudos
Message 13 of 56
(4,479 Views)

at first, i added the termination char....

second, my syntax is like this, fitting to the manuel but still not workin:

*IDN?
:MEAS: VOLT: DC?

 

0 Kudos
Message 14 of 56
(4,477 Views)
Now that the syntax is finally correct, you need to debug the connection. As mentioned, Hyperterminal is perfect for this. Just send the *IDN?. If you get no response, check the com settings and the cable. I believe you need a null modem cable.
0 Kudos
Message 15 of 56
(4,473 Views)

no i need no null modem cable, it mentioned in the users guide...

now i get an error from the keitly back, called: invalid character????

0 Kudos
Message 16 of 56
(4,462 Views)

i tried it with hyperterminal, no response...cable and com settings are totally right...

maybe this keithley is defect...

i will try it with a new one tomorrow...

 

0 Kudos
Message 17 of 56
(4,438 Views)
We need a trumbone that makes that "Wahhh Waaaahhh" sound.
Richard






0 Kudos
Message 18 of 56
(4,430 Views)

Are you seeing the invalid character error on the Keithley (Error -213 I think).?

 

If so, then it is getting commands and the termination character.

 

The Keithley manual is structured a little odd, in that you have to build the command string.  If you leave off the prefix, it will give you that error. 

 

Try this -> send "MEAS:VOLT:DC?\n"  (without the quotes)

 

 

Good luck, 

 

Mike

 

Not sure why I see the smiley face in my post - should be "MEAS:VOLT:DC?\n" 

 

 

Message Edited by wd8ivl on 09-30-2009 11:43 AM
Message Edited by wd8ivl on 09-30-2009 11:45 AM
0 Kudos
Message 19 of 56
(4,423 Views)

wd8ivl wrote:

 

Mike

 

Not sure why I see the smiley face in my post - should be "MEAS:VOLT:DC?\n" 


That's a problem with the forum editor, it sees the colon+D as a smile. I thought they fixed it.

Richard






0 Kudos
Message 20 of 56
(4,415 Views)