LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Local Variable Alternative for more efficient memory management needed

Is there an alternative programming technique or a vi  other then using local variables for
more efficient memory management? Only one of the selected count sequence will be running
per run.
 
I have converted an MS-DOS Spectrometer program and have completed the scanning 
portion of the program. I decided to use true/false statement to select either positioning the
machine or scanning the component, so, need to duplicate this same program but without the
scan but the local variables do not duplicate. The program will be down until this process is complete.
 
Any suggestions....Thanks.
 
 
0 Kudos
Message 1 of 4
(2,525 Views)

Hi,

Do you want to pass values from previous iteration into a selected case structure in a current iteration of the loop?

Then shift registers should serve the purpose.

Right-click the left or right border of the loop and select Add Shift Register from the shortcut menu.

Either make a seperate shift registers for each variable you want to pass across iterations or bundle all the variables, pass them using a single shift register, and unbundle/bundle them wherever required

Hope this helps

Regards

Dev

0 Kudos
Message 2 of 4
(2,514 Views)

Hi,

Do you want to pass values from previous iteration into a selected case structure in a current iteration of the loop?

Then shift registers should serve the purpose.

Right-click the left or right border of the loop and select Add Shift Register from the shortcut menu.

Either make a seperate shift registers for each variable you want to pass across iterations or bundle all the variables, pass them using a single shift register, and unbundle/bundle them wherever required

Hope this helps

Regards

Dev

0 Kudos
Message 3 of 4
(2,514 Views)

Hi,

Do you want to pass values from previous iteration into a selected case structure in a current iteration of the loop?

Then shift registers should serve the purpose.

Right-click the left or right border of the loop and select Add Shift Register from the shortcut menu.

Either make a seperate shift registers for each variable you want to pass across iterations or bundle all the variables, pass them using a single shift register, and unbundle/bundle them wherever required

Hope this helps

Regards

Dev

0 Kudos
Message 4 of 4
(2,513 Views)