02-10-2015 10:37 AM
Hey there,
I have programmed a sequence that sends commands to a power supply using VISA write to change the voltage. Every step in the sequence (for example 10 minutes at 100 V -> 5 minutes at 150 V -> ...) is represented by a case in a case structure. I want the user to be able to change the voltage during the run (to compensate small variations for example). How would I go about "send the programmed value, but as soon as the voltage control is changed by the user, send the new value"? I could use an event structure with "value change" as condition, but how then would I send the original value?
Have a nice day.
02-10-2015 10:50 AM
@Leukocyte wrote:
Hey there,
I have programmed a sequence that sends commands to a power supply using VISA write to change the voltage. Every step in the sequence (for example 10 minutes at 100 V -> 5 minutes at 150 V -> ...) is represented by a case in a case structure. I want the user to be able to change the voltage during the run (to compensate small variations for example). How would I go about "send the programmed value, but as soon as the voltage control is changed by the user, send the new value"? I could use an event structure with "value change" as condition, but how then would I send the original value?
Have a nice day.
Duplicate post of http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Control-Consort-EV232-power-supply-via-RS-232...
02-10-2015 03:34 PM
Sorry, my bad. I thought the question was too off-topic since the original thread was posted in the hardware/instrument control section and the question is more about general Labview logic. Please delete this thread.
02-10-2015 04:11 PM
When someone posts multiple times about the same problem to the same board it can be thought of as a chastisement; being that it's in another board you can think of it more as a redirection. 🙂