LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Input multiple values and extracting them out for calculation

how do i input multiple values from the beginning of the program..

then eventually retrieve the values?
0 Kudos
Message 1 of 4
(2,464 Views)
If the values that you are inputting are all of the same data type then you could use an array produced by using auto-indexing in a loop. Simply index through the array using the Index Array VI or use auto-indexing in a loop to retrieve the values later on.

The example uses an express VI to prompt the user for input until Done is pressed, the values are stored as an array and then passed on to the for-loop which auto-indexes through them and adds them together to give a total.
0 Kudos
Message 2 of 4
(2,454 Views)
I am using Labview 6 at the moment and there isn't a prompt function for user.

what should i use instead?
0 Kudos
Message 3 of 4
(2,439 Views)
What he means is that you use a loop to input the data, and you stop the loop with a user interaction. Look at the attached picture to see an example.
I suggest you look for LabVIEW tutorials to learn these things. Try clicking "Help>>Search the LabVIEW bookshelf" or search the internet for "Labview tutorial".

___________________
Try to take over the world!
0 Kudos
Message 4 of 4
(2,432 Views)