LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1100 occurred at Obtain Queue

Hello,

I am trying to use the new startchart module in LabView 8.5. When I try to run my vi, immediately I get -  " Error 1100 occured at Obtain Queue"; Possible reason(s): LabVIEW:  No object of that name was found. No reference could be returned. I have attached two screen shots of part of the vi that I am using. Image1 -  'statechart and external trigger.jpg' - has the while loops that have the state chart module (linked to the  'Run State chart'  funciton) named Experiment Runner and the send external trigger function, both correctly linked to the same state chart module. Image2 - 'generating user events.jpg' - is a continuation of image1 - has the while loop where the user events(for example, 'Broke Fixation', 'Correct Response' etc) are generated. Please note that all the event cases are not shown in the while loop that generates external triggers. The error originates from the this loop. When I run the vi with highlighting enabled(debugging), the event structure does not receive any triggers from the loop that generates the external triggers; I can see that  the 'time out' case being executed with the attached NULL trigger being sent to the 'send external trigger' function. At this point,  error 1100 pops up and  the 'send external trigger' function is highlighted as the 'culprit'.  I also noticed that  the state chart module or the 'generate user event' function was not being executed until the error had originated. What is the problem with my code? Could you guys please give me some suggestions to fix this bug?
0 Kudos
Message 1 of 5
(4,710 Views)
HI masu
can you please attache your pictures?
 
thanks
Mike
0 Kudos
Message 2 of 5
(4,703 Views)
Sorry. Here they are!
0 Kudos
Message 3 of 5
(4,696 Views)
masu,

The Run Statechart VI for the statechart instance must be run before any triggers are sent to it in order to create the queue.  By having a timeout on your event structure, it seems that the Send Trigger VI is executing before the Run Statechart VI runs for the first time, which will result in the error you are seeing.  Make sure that you call the Run Statechart VI once before any triggers are sent.
0 Kudos
Message 4 of 5
(4,652 Views)
Hello Devin,

Thanks for the suggestion. I will try to run my vi with your suggestions and let you know what happens.

-Mani
Message 5 of 5
(4,627 Views)