Jump to content

trigger on a sequence of two sequential Boolean events


Recommended Posts

OK, this is kind of weird but I am new.. I am trying to trigger on a sequence of two Boolean events A,B, but these events are not active at the same time. And I cannot use a panel button to latch, and then release. 

If A, and then B, activate Trigger=T, reset.

Ignore cases:

B then A,

B, then B,

or A then A. 

Can I do this with shift registers..or a better idea?

I have tried a conditional case in a conditional case?

 

Link to comment

Id suggest looking at the section "State Machine Design Pattern" here: 

The details will vary, but it sounds like this is what you want.

This tool may help, again depending on the details:

https://forums.ni.com/t5/Reference-Design-Content/LabVIEW-State-Diagram-Toolkit/ta-p/3606081

Its basically lets you model the state machine and it will script out the (boilerplate parts of the) code diagram for you.

Edited by smithd
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.