LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Put Data in a 2D Array after Button pressed

hello. following question:
I have a cluster, where I can put various data input as parameter for a test stand. After all data is inserted the user should press an OK button. The data should now be inserted in a 2D array in the first line. After the user has filled in the next data in the cluster and press OK, the next line should be filled in. This must happen 10 times. But a chance to leave this loop should be given.
Can anybody help me here? thanks a lot
0 Kudos
Message 1 of 6
(2,765 Views)
Try this as a basic structure...

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 6
(2,765 Views)
Thanks Mike

That helped me a lot. But I have one more question. Does your example also work with different types of input data e.g. boolean, integer, text???

Greetings
0 Kudos
Message 3 of 6
(2,765 Views)
As long as you are consistent about datatypes, it should work fine with any sort of array data. 1D array of clusters, 2D array of any datatype. It will all work basically the same.

What exactly do you need the data input to look like?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 6
(2,765 Views)
Here I've the frontpanel for my data input. I hope that's it, what you asked for. This line in the Frontpanel should be parsed while the input process and give popups for information if the user made a wrong input. afer press the button right under the cluster, the data should be written into the array line. by the next button action the nex line and so on.

Thanks for your reply!!!
PS I'm just a beginner in graphical programming 😞
0 Kudos
Message 5 of 6
(2,765 Views)
Sorry I forgot something: the data that should be stored in the array has to be transferred all into string, after checking all conditions, because the data should be saved in on ini-file.
0 Kudos
Message 6 of 6
(2,765 Views)