LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to manipulate FP control values

I have a panel with 50 identical lines of numeric, text rings etc.
They serve as test conditions for a sequentiel test.

The problem is that when a user enters his test sequences (any number of lines <50), and forget to enter a line, he has no way of editing. He has to retype or re-enter the controls starting at the forgotten line.

I tried to built a 'for loop' to move or shift values from a line #, without success. Let's say he entered 40 lines, but forgot a line at entry #10, I would like to be able to copy data from control#40 to #41, #39 to #40 and so on until line #10.

I tried to use the property node to access the values, but couldn't find a way to increment it in the for loop.

Any suggestions?

Michel.
0 Kudos
Message 1 of 3
(2,804 Views)
MikeD,
Attached is a possible solution to your problem. I just slapped it together so there is a lot of room for improvement but I figured you could get an idea of what I was trying to do. Basically I took three arrays, one for each parameter to be entered for the sequence, and inserted data at a specified index.
0 Kudos
Message 2 of 3
(2,776 Views)
Thanks AJL for the quick reply.

I took a look at your vi, and it seems to do the job!
I didn't try it yet in my application, I have to make my FP controls included into arrays then in a cluster, but I'm sure it will work.

Thanks again,
Michel.
0 Kudos
Message 3 of 3
(2,760 Views)