09-12-2007 05:50 AM
As a newbie to LabVIEW programming , I need some help on the structure of my application as I can't get the programme to work in the sequence I'd like. I seem to have trouble understanding how the programme's sequence should be controlled.
Sequence of operation:
1. Operator presses NEW button
2. Dialog appears prompting for the filename to save the Chart image to.
3. User enters the file name and clicks OK on the dialogue.
4. The VI then starts to read an analogue value and plots it on a strip chart, 1 record every 10 seconds (might be for up to 24 hours).
5, Then VI now wait fro the user to press the END button.
6. The END button is pressed and the chart's image is saved to a JPEG file.
7. The chart if cleared.
8. VI now returns to the start and waits for the NEW button to be pressed.
Any help with this will be much appreciated.
Thanks,
Harry
09-12-2007 06:42 AM
Your structure warrants the usage of the Event-based State Machine architecture.
Search the LabVIEW help & NI Example Finder inside it to get started.
You can search these forums also in the above titles.
09-12-2007 06:49 AM
use Queued message handler vi for this purpose.
09-12-2007 06:53 AM
09-12-2007 06:57 AM
09-12-2007 07:37 AM
09-12-2007 07:47 AM