Thank you for the advice. Managed to get my problem kinda solved with the example VIs you referred to 🙂
Now I got two other problems:
1.If you look at the attached picture of the "create new test program" frontpanel there are a total of up to hundred values that need to be saved (20 per cylinder, 5 cylinders = 100 values). Is there another more clean way to do this than having to add every single controller in a loooong string like you see on the second picture. With that many controller values needed to be saved the code will look all cluttered.
2.This is a GUI where the user got no access to the source/block code. Each program created consist of different cycles, e.g program1=20k cycles with a force of 100kN, 30k cycles with a force of 70kN etc.
There is no predefined amount of cycles per program, so the user should be able to input cycle 1, input controller values for cycle 1, input number of iterations/cycles for cycle 1 -> input cycle 2, input controller values for cycle 2, input number of iterations/cycles for cycle 2, and so on for each cylinder.
How will this be possible to achieve as simple as possible for the user? Lets say he should just have to define which cycle of the current program the controller values correspond to, how many iterations/cycles with those values, and then be able to save this and run the program where each cycle is executed when the previous one is finished.
Sorry if I haven't made myself clear, please ask and I'll try to express myself better.
Thanks.