LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display Multiple DMM measurements

Trial by fire. New to Labview. Soon will be new to Test Stand. I'm making measurements manually, thru Agilent 34932/ 34980 & one set of test probes, until I complete wiring the switch matrix, complete fixture build and stitch VIs together in Test Stand. Right now I'm trying to figure out how to do a simple loop/VI that will allow me to manully place my probe on the correct net, click on the front panel/interface, display the reading as the first element in a 1D array and loop for ten more iterations filling the array on the front panel before ending. "Older" programmer that's been out of the game for a while. Any help is greatly appreciated. Thanks.

Message 1 of 2
(2,650 Views)

Hi Joseph,

 

If I read your post correctly, you are asking how you can display the current reading of your probes with a click, and store that data in an array. I assume that you are able to read the data once with the code you currently have.

 

There is a template in LabVIEW if you go to File>>New... then VI>>From Template>>Frameworks>>Design Patterns>>User Interface Event Handler that is set up to initate code every time you click a button. In my example attached, I added a little bit of coding so that each click sends data to an array. You just have to substitute your AG34980A VIs for the random number generator. One note about that: you can have your initialize and close VIs outside of the loop on either side, since you only need to run those functions once.

 

Regards,

Stephen S.

National Instruments
Applications Engineering
Message 2 of 2
(2,620 Views)