lgunseor Posted February 19, 2018 Share Posted February 19, 2018 Have a button setup with a quick sequence, want to use the button to toggle a couple of relays every time I hit the button. quick sequence below if (sequence.start_stop.running) endseq(start_stop) strCaption = "SOLENOID2" solenoid1 = 0 solenoid2 = 1 else beginseq(start_stop) strCaption = "SOLENOID1" solenoid1 = 1 soleniod2 = 0 endif The start_stop sequence is just a dummy sequence with a while loop while(1) x = 1 y = 1 endwhile The beginseq() and the endseq() don't seem to be working and the strCaption doesn't seem to be changing either so what am I doing wrong? Trying to run this on a Labjack U12 Link to comment Share on other sites More sharing options...
lgunseor Posted February 19, 2018 Author Share Posted February 19, 2018 Just solved my own problem, was using a button when I went to a descriptive text box now everything is working fine Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.