LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to initialize a shift register and still pass dynamic data

My VI uses a keithley 2400 to source voltage and measure current. Then read the voltage current and time data from the instrument. I want the VI to process that data automaticlly and then repeat the whole process. To save the data between iterations of the loopI have used a shift register to pass the data along. This works fine except that the register will keep saveing data from previous runs. When I try to initialize the shift register I am unable to pass the data along. Any method, shift register, feedback node, or streaming to disk, to saving the data after each iteration of the loop while still using dynamic data would be great.
I am using labview 7 with dmx 8 drivers.
Thanks
0 Kudos
Message 1 of 2
(3,067 Views)
I think you need to have a sub-VI that has two modes.  Read / Write data or initialize data. Call it once when you need to initialize the SR (Shift Register) and call it again when you need to Read / Write data.  I don't have LV 7.0 but here is an image.
Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 2 of 2
(3,061 Views)