01-16-2006 05:13 AM - edited 01-16-2006 05:13 AM
Message Edited by HFZ on 01-16-2006 05:14 AM
01-16-2006 06:07 AM
01-16-2006 06:23 AM - edited 01-16-2006 06:23 AM
Message Edited by Elsa Fung on 01-16-2006 06:30 AM
01-16-2006 06:48 AM
01-16-2006 06:54 AM
01-16-2006 07:05 AM
01-16-2006 07:08 AM
PauloM
Yes its right about the start stop, i want to stop the vi when the switch is set to start.
Here is an explanaition for my program!!
What my program should do !!:
I press the arrow button in the LV UI. now my program must run.
some commands shall be written to FLM. the program is waiting for UI actions (means by that, actions by pressing new commands by Data2 Flow2 and samplerate)
and they should not be handled if they are pressed before the switch is switched to 'start'
Now I switch to start, and the program reads the data constants (from Samplerate, data2 flow2) and sends them to FLM
after that a "ReadDatasub .vi" should start reading from the FLM.
When i change data commands by pressing the command buttons, "The ReadDatasub.vi" must stop reading, coz new data are sent by the eventhandler.
when finish, the Read data must run again.
Now when start/stop switch is switched to stop! "ReadDatasub.vi" must stop and a command "stop ", is sent to FLM. and everything stops.
and the program is in stand by and is waiting for for new action from user. a start switch.
01-16-2006 07:12 AM
01-16-2006 08:16 AM - edited 01-16-2006 08:16 AM
Message Edited by HFZ on 01-16-2006 08:19 AM
01-16-2006 08:23 AM
How can i read data from the serial port and in the same time make an event structure to wait for som button events!!
All thanks for previous answers!!
HZZ