LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Agilent 34401A TriggerMultiPoint

Solved!
Go to solution

Agilent 34401Aから外部トリガを使って計測した値をLabview(ver8.6)に取り込もうとしています。

マルチメータとの通信は問題なくおこなわれており、単純な値の取得は行えています(https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x2PfCAI&l=en-US)。

 

しかし、複数の計測値(外部トリガ、512カウント)の取り込み方が分かりません。

Measurement.FetchMultiPointのReadingArrayを使って取り込もうとしても、エラー(番号1)が出てきて読み取りができません。

 

正しい方法を教えていただけないでしょうか?

よろしくお願い申し上げます。

 

0 Kudos
Message 1 of 4
(3,436 Views)

sorry, here is the question in English.

 

I am trying to get data from Agilent34401A to labview (8.6).

There is no problem with communication between a PC and the multimeter via RS-232.

Also, a simple voltage reading program is running without any error. (https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x2PfCAI&l=en-US)

 

sending trigger setting command seems fine.

However, I don't know how to read (fetch) values which triggered by using multiple external triggers.

"Measurement.FetchMultiPoint" outputs "Err 1".

 

Could you please teach me how to trigger and get multiple data from Agilent 34401A?

Many thanks for using your time.

0 Kudos
Message 2 of 4
(3,423 Views)
Solution
Accepted by topic author tatuo

Why don't you try the driver that comes with LabVIEW? There's even a multipoint example. I don't see the point of trying to use IVI-COM.

Message 3 of 4
(3,414 Views)

Thank you for your comment. Now it working by using the driver in the labview.

The 34401 driver in labview was not working because of usb-rs232 converter, so I thought the driver doesn't work. 

But, when I connect the multimeter to the PC rs232 port directly, it started working!

 

Many thanks.

0 Kudos
Message 4 of 4
(3,402 Views)