Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How Do I store all results from multiple reading iterations on the same channel?

Hi,
 
I am a new LabVIEW programmer trying to create a simple temperature measurement program with the HP 34970A.  I'm having trouble when I try to take multiple measurements from the same channel and displaying them in an array.  I run the CONF and READ? commands within a for loop for a given amount of iterations.  The problem is, when I attempt to convert this data into an array and display it, the previous measurement gets overwritten by the newer one in the array each time the loop executes.  I have tried constructing the array outside the loop, but have problems with the source and sink being incompatible due to the difference in dimensions.  Any suggestions would be appreciated.
 
Mike

Message Edited by mbeenen on 08-22-2007 05:27 PM

0 Kudos
Message 1 of 2
(2,856 Views)

How are you creating the array? If you want to display the results outside the array, then all you have to do is wire a scalar through the for loop. A for loop will automatically create an array. This is called auto-indexing. If you want to display the array inside the for loop, you should be using a shift register with a Build Array function. Both are shown in the image below. It also sound like you are not using the driver for the instrument. Why not? Go to here and select the one you want.

p.s. You also posted to the wrong board. This is the Multifunction DAQ board. It is for NI's DAQ boards. You should post further questions to the Instrument Control board.

 

Message Edited by Dennis Knutson on 08-22-2007 04:45 PM

0 Kudos
Message 2 of 2
(2,848 Views)