02-26-2004 03:48 AM
02-26-2004 09:56 AM
02-26-2004 08:50 PM
02-27-2004 07:26 AM
02-27-2004
02:35 PM
- last edited on
11-07-2025
03:02 PM
by
Content Cleaner
Hello,
In order to invoke a new event from within an existing event, you need to use programmatically generated (or user) events.
To find more information on programming with events,
See the LabVIEW User's Guide
Read the event-programming tutorials.
Look at example code in LabVIEW
I have also attached a simple example showing how to use programmatic events to invoke a new event from within the current event. However, the new event will not be processed until the current event is finished.
Is your situation that the calculate event may take a long time and you'd like to pop up a message after a certain amount of time? If so, one solution is to have parallel event structures. In the second structure, only process the user event. However, a simpler solution may be to check the clock before your processing loop and com
pare this value periodically in the loop to see if a certain amount of time has elapsed.
Happy coding,
Grant M.
National Instruments
03-01-2004 02:15 AM
03-01-2004 02:33 AM