Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

standard state machine in the time-critical loop

I am curious if I can use a standard state machine inside of my time-critical loop (using RT FIFOs)? I want the user to be able to select which run mode to operate the balance test rig in. If not is there another way? Thanks.
 
Brianne
0 Kudos
Message 1 of 2
(4,076 Views)
Hi Brianne,
 
Yes you can use a standard state machine inside of a time-critical loop using RT FIFOs.  How deterministic it is depends on what you are doing in those states.  Depending on your application one state could take much longer (for example if you are doing File I/O in one) then others causing it not to run deterministically.  What is your application?  What will be different in each state your will be using?  Here is a great link to LabVIEW Real-Time Architecture and Good Programming Practices and making your Real-Time Application to Run Faster.  I hope this helps you out.
 
Regards,

Michael
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(4,004 Views)