Archived: LabVIEW Error 91 or Error 1193 with Boolean References and Local VariablesThis document has been archived and is no longer updated by National Instruments
Primary Software: LabVIEW Development Systems>>LabVIEW Full Development System
Primary Software Version: 8.5.1
Primary Software Fixed Version: N/A
Secondary Software: N/A
I have a Boolean control set to a latching mechanical action in my VI. I also have control references or local variables associated with this control. When I run my VI, I get Error 91 or Error 1193 from my VI Server functions. With the Boolean set to a switching mechanical action, I do not get these errors. Why is this?
Note: Starting with LabVIEW 2009, a VI will not run due to a broken run arrow if a local variable is created from a latching Boolean.
With control references or local variable that are tied to latching Boolean controls, you would be resetting the Boolean with the first read, and thus other control references may not receive the same value if the first read reset the Boolean from True to False. This is why you can only use switching actions (Switch when pressed, Switch when released, or Switch until released) for a Boolean that has a local variable or a control reference associated with it.
KnowledgeBase 3GGDIMTY: Stopping Parallel While Loops in LabVIEW With One Stop Button
LabVIEW Help: Changing the Mechanical Action of a Boolean Object
Report Date: 01/24/2001
Last Updated: 05/27/2014
Document ID: 25NBPADM