02-10-2011 04:28 AM
KEITHLEY2182NANOVOLTMETERをLabVIEW2010により制御しようとしています。
1台のNANOVOLTMETERで2つの電圧を読み取りたいため、Channelを2つ使いたいのですが、ブロックダイアグラム上でChannel2を設定しても、Channel1の値が読み取られてしまいます。
GPIB書き込みの「データ」のところに、「:Sens:Func 'volt:dc';Chan 2」というコードを入れています。たしかに、制御されているNANOVOLTMETERの画面でも、「CH2」というマークは出るのですが、そのあと数値は表示されぬまま「CH1」に切り替わり、CH1の測定値が表示されます。(これは、CH2という設定情報は書き込みされているものの、読み取りの際にCH1に戻ってしまっているということでしょうか?)
どのように解決したらよいのかまったくわかりません。どなたか教えていただけないでしょうか。よろしくお願いいたします。
02-11-2011 01:21 PM
eigo de kudasai ?!
02-11-2011 01:34 PM
Translated from Japanese: (Okay... I needed to interpret a lot of the text, so it may not be accurate)
Using LabVIEW 2010 to control a KEITHLEY 2182 NANOVOLTMETER.
02-11-2011 01:40 PM
02-11-2011 01:40 PM
hi
thanks for the translation...
it's funny, I never had this problem with the 2182... i am using one, I have to check the exact code I am using...
02-11-2011 01:53 PM - edited 02-11-2011 01:54 PM
I am going to suggest trying it with the drivers that are available on this site. And maybe trying with MAX to manually communicate with the instrument.
There are drivers available for the Keithley 2182. Have you tried using the drivers? Do you have Measurement and Automation Explorer (MAX) installed? If so, have you tried sending commands manually to the instrument? Do you get error codes? Do you get the expected values?
Do you have a single VISA session for both channels? It is the correct method. I am trying to think why it reverts to channel 1.