NateTheGrate Posted October 16, 2018 Report Share Posted October 16, 2018 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? Quote Link to comment
smithd Posted October 16, 2018 Report Share Posted October 16, 2018 (edited) 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 October 17, 2018 by smithd Quote Link to comment
pallen Posted October 19, 2018 Report Share Posted October 19, 2018 (edited) I would try an "Action Engine" here. https://forums.ni.com/t5/LabVIEW/Community-Nugget-4-08-2007-Action-Engines/td-p/503801 Edited October 19, 2018 by pallen Quote Link to comment
ShaunR Posted October 19, 2018 Report Share Posted October 19, 2018 Something like this? ab.vi Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.