LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Take control of particular VI at some other state of running the VI in serial communication

Hi All,
 
I am kiran kumar m. using LV FDS 8.0
i am working out serial communication. My requirement has 3 stages. configure,write-read and close the port.
Is it possible to go to(take control of particular VI at some other state of  running the Vi)any of the 3 states at any time of the running the VI.
 
for example,after writing and reading of the port,instead of closing the visa session i should be able to reconfigure the port and write some thing or else after writing and reading of the port,instead of closing the visa session ,i should be write some thing without reconfiguring the port.
 
If possible, Plz send some sample VI following some of above mentioned requirements
 
Thanks & Regards
Kiran
0 Kudos
Message 1 of 4
(2,233 Views)
Kiran,

Look at the examples which ship with LabVIEW on state machines. They are designed to allow you to do exactly what you want.

Lynn
0 Kudos
Message 2 of 4
(2,225 Views)

HI Lynn

I have seen some examples. but i am not clear.can u attach some of the examples

Kiran

0 Kudos
Message 3 of 4
(2,218 Views)
"State Machine Test Sequencer" is an example in NI Example Finder that may be helpful.  Open NI Example Finder by going to Help>>Find Examples in LabVIEW.


http://zone.ni.com/devzone/cda/tut/p/id/3024

Trey B
Applications Engineering
National Instruments

Message Edited by Trey B on 07-27-2007 11:09 AM

0 Kudos
Message 4 of 4
(2,205 Views)