Is there a way in Waveforms 2015 to set up basic logic for instance "if (DIO1 = high && DIO2 = low) { DIO3 = high; }
I'm struggling to understand the scripting.
What I want to do is something like this:
StaticIO.Channel0.CLK.setValue(0);for(var c =0; c <200; c++){
print(c);StaticIO.Channel0.CLK.setValue(1);
wait(0.1);StaticIO.Channel0.CLK.setValue(0);if(StaticIO.Channel0.Q8.Input.checked){StaticIO.Channel0.Reset.setValue(0);
wait(0.1);StaticIO.Channel0.Reset.setValue(1);
print("reset");}}
Question
JamesCarruthers
Hi,
Is there a way in Waveforms 2015 to set up basic logic for instance "if (DIO1 = high && DIO2 = low) { DIO3 = high; }
I'm struggling to understand the scripting.
What I want to do is something like this:
James
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.