LabWindows/CVI

取消
顯示結果 
搜尋替代 
您的意思是: 

real time measurement and graphing on 34405a

Hello, I'm new to the community and not graduated yet but I'm working on creating a test fixture and I need to graph the AC voltage readings from the Agilent 34405a.  The driver provided by NI (http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=8704) has a read function that allows one reading at a time and the DMM just keeps that value 
 
I'm connected to the device through a USB connection and i'm trying to find out if it's possible to configure the device to read the voltage over a period of time in real time (just as if it was not connected to the USB in remote mode) and sample the readings in an array in order to display them. 
 
Sorry if my question is too simple and thank you in advance.
 
Keyder
0 積分
1 條訊息(共 3 條)
3,335 檢視
Hi Keyder,
Welcome to the Community!

Your question is fine.  You should be able to place the read command in a while loop.  Then for each read, store the value into an array.

Regards,
John E.
Applications Engineering
National Instruments
2 條訊息(共 3 條)
3,308 檢視

Thanks John E,

I hope the timing on the read function does not cause any problems.  When trying to use a for loop in the past it gave me an error message related to timing.  However, I just found out that the test fixture won't  be needing the graphing after all. 

0 積分
3 條訊息(共 3 條)
3,273 檢視