LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Double Click Property Node not functioning with Queued State Machine

I am writing an application which relies on input from the operator to start different steps in a process of steps.  I am using a queued state machine, however I cannot get the Double-Click property of my listbox to function with in this Queued state machine.  I have tried Creating a refrence to the Listbox and creating a property node from that refrence.  I have tried a property node of the control.  The double click functon works only if the queueing is not occuring.  It has something to do with the queue but I am at a loss as to what is causing it.  Any help would be GREATLY appreciated.  I have attached a simplified version of the state machine with the double click function.  Thanks for any help on this.  It is written in LV7.1
0 Kudos
Message 1 of 4
(2,863 Views)
I tested your VI and its getting hung in the idle state after 5 iterations (maybe a 4th of a second?).  You can test this yourself by putting a counter on the main loop iteration terminal and running the program.  This is also why the stop button does not seem to function properly.
 
Reason:
Being a state machine in a loop such as this you should *always* have a next state to transition to.  You are getting hung in the IDLE case where the double click is FALSE as you give the machine no state to go to.  On the next iteration of the loop it waits forever for a next state to the queue which will never come.  Modify your VI as shown below and it will again function as you expect...
 
Cheers!
 
 
Message 2 of 4
(2,850 Views)

Hi

Its  Simple....

Your Properrty node is not getting read..... dont understand how..

see the attachment...

now laugh at your small mistake... (even i have the habbit of making such small mistakes 😉 )

 

Message Edited by Tushar Jambhekar on 01-11-2006 11:38 AM

Tushar Jambhekar
tushar@jambhekar.com

Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog

Download All
Message 3 of 4
(2,849 Views)
God I feel like a complete moron.  What's even funnier is that I kept isolating code and creating smaller vi's to isolate the problem, and continued to leave the same mistake.  Thanks a bunch.  Very much appreciate the response.
0 Kudos
Message 4 of 4
(2,827 Views)