Here is the problem. I am using synchronization VIs (queue and notification).
If I try to build a state machine and pass the queue or notifier refnum
to another state the VIs that use the refnum will get an error. I have no
idea why these refnums cannot pass through a shift register. I have also
tried to pass them using local variables and this does not work either.