LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Transfer data from a Structure to other Structure when one is inactive

Hello, users and companions of LabVIEW and National Instruments Products, Hello, I'm working in a proyect with 2 Incremental Encoder Mitutoyo, I have a Digital Read Out (DRO) System for read the encoders,
The proyect consist in measure a Paraboli Suspension for the cars; using 2 encoders, in X Length an Y for the thickness.
 
I have a subroutine for read data from the DRO, then the data are storage in an array, but I want to stop this subroutine when the DRO reaches the total length of the parabolic suspension, because the reading is finished, this data I obtain it from other Sub-VI, but I can't to send it to the subroutine of reading for stop the subroutine and then back to the pricipal menu for make other reading if it is desired.
   
The VIs what I did is anexed in this mail.
 
P.D: In the llb is menu.vi
 
Thanks for your help Greetings and Blessings.
 
Ing. Jorge Alonso Cardozo Rodriguez.
0 Kudos
Message 1 of 2
(2,620 Views)

Hi George, two ways you can make this is by creating a global variable in which you store your array or use a functional global variable. Also if you have LabVIEW 8.x you can use shared variables for this.

By the way there you can use the “Discusiones sobre Productos NI message board where you can make your post directly in Spanish

Best regards

Benjamin C
Principal Systems Engineer // CLA // CLED
Message 2 of 2
(2,566 Views)