05-02-2009 04:31 AM
Dear all,
I am working on an application using Producer/Consumer architecture.
In the producer loop i collect data from my H/W, and in the Consumer loop i process it.
the producer loop has event structure also which can be triggered using buttons on the front panel.
Now, there is a Record Button on the front panel which will start saving the incoming data to the file. and the Event Structure taking care of Record is in Producer loop.
Now how can i trigger the Record Event in the Producer loop from the Consumer loop ??
Thanks,
Ritesh
Solved! Go to Solution.
05-02-2009 05:13 AM
When you want to include events that don’t occur on the front panel, you will need to register a dynamic event. Using dynamic events will allow your Event Structure to react to code happening anywhere on your block diagram. Have a look at:
labview\examples\general\dynamicevents.llb
05-02-2009 09:03 AM - edited 05-02-2009 09:04 AM
05-02-2009 03:47 PM
Yeah Value(Signalling) Property does the job quiet well.
Thanks