> I have a set of VI's I've created that open a read/write serial port,
> open a data file, and then wait for a T/F trigger signal from the
> serial port (this all works ok). When that T/F trigger happens, I want
> to start a second while loop that records data until the stop button
> is pushed. (Reading the material on Control References has been
> absolutely no help.)
You want to start both loops and have the button loop go to sleep
waiting for notification. You want the serial loop to analyze the data
and when appropriate send the notification. Once the button loop takes
off again, it will be completed when the button is pressed, and this
button will also cause the serial loop to finish.
What notification functions might you want to use? Look at th
e
synchronization palette and specifically look at notifiers, semaphores,
and occurrences. I believe the notifier is what you want.
Greg McKaskle