01-24-2011 06:16 AM - last edited on 06-25-2024 09:36 AM by Content Cleaner
Agilent 34401Aから外部トリガを使って計測した値をLabview(ver8.6)に取り込もうとしています。
マルチメータとの通信は問題なくおこなわれており、単純な値の取得は行えています(https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x2PfCAI&l=en-US)。
しかし、複数の計測値(外部トリガ、512カウント)の取り込み方が分かりません。
Measurement.FetchMultiPointのReadingArrayを使って取り込もうとしても、エラー(番号1)が出てきて読み取りができません。
正しい方法を教えていただけないでしょうか?
よろしくお願い申し上げます。
Solved! Go to Solution.
01-24-2011 06:30 AM - last edited on 06-25-2024 09:37 AM by Content Cleaner
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.
01-24-2011 07:52 AM
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.
01-24-2011 11:40 AM
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.