Why does't we use shift register for dequeuing the next state during the next iteration? Thanks.
@LabVIEWADVANTAGE6 жыл бұрын
This is an alternative to SME. There is another video with shift register. Both are same
@matussedivy43723 жыл бұрын
@@LabVIEWADVANTAGE They are not the same, but result is the same or rather similar. Presented QSM has infinite timeout, which means, that if programmer forget to enqueue next state, whole program will freeze. User can try to click on anything, but it will not work. In case of using a shift register, programmer is forced to put something there. The event structure usually placed in "idle state" can prevent from pooling, because it is waiting for event and has timeout functionality as well.
@bhuvanachandrana56713 жыл бұрын
Is there any benefit of using queued state machine rather than using a event driven state machine? because both don't require wait function
@LabVIEWADVANTAGE3 жыл бұрын
Queues SM are scalable, they can communicate easily with other loops
@sunilsgowda2106 жыл бұрын
In how many ways state machine can be used in LabVIEW Is there specific methods and architecture for state machine
@usmanasghar25676 жыл бұрын
Why queue is used? we can also achieve the state machine functionality without queue as well. Thank you 🙂
@LabVIEWADVANTAGE6 жыл бұрын
Classic SM requires delay, this one does not by default
@usmanasghar25676 жыл бұрын
If i understood you correctly, you are referring to the delay inside the main while loop;the delay which prevents the VI from excessive CPU usage? So, if i use the state machine with queue i need not to place the delay inside the main while loop? Is this the rigth interpretation. Thanks a lot. Keep up the good work
@chandrakanth95525 жыл бұрын
What's the advantage of queued state Machine over Normal state Machine....!!
@LabVIEWADVANTAGE5 жыл бұрын
Normal state machine polls all the time while QSM does not need to poll