Button for beginseq() and endseq()


Recommended Posts

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)


   strCaption = "SOLENOID2"

    solenoid1 = 0

    solenoid2 = 1



   strCaption = "SOLENOID1"

   solenoid1 = 1

   soleniod2 = 0


The start_stop sequence is just a dummy sequence with a while loop


    x = 1

    y = 1



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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.