12-02-2008 10:49 AM
I'm not able to change parameters on one step without it changing the parameters on another instance of the step within the same sequence. Is there something in the step type properties that I need to set to change this?
For instance, I have created a custom step called "Battery PWR" that the user can insert into a sequence, hit the "edit" button, set a control in a GUI to 12V and hit an "Okay" button so that the post-step condition causes the power supply voltage to change. Then, later in the sequence I want the user to be able to insert the same custom step, hit the edit button, set the control to 0V and hit an "Okay" button so that the post-step conditition causes the power supply to go to 0V. The problem is, when the user edits one of the steps, it causes the other step to change to the same value.
I know that this has a simple fix, just can't seem to find it.
12-02-2008 02:57 PM
I answered my own question. I was reading and writing to a file global instead of the step parameters, so I was basically overwriting my variables each time I edited the step. I'm obviously a novice TestStand user.