01-07-2010 08:55 AM
Hi
I have a vi program that read data from a serial port. It's a extension of advanced serial example.
Now I want to add 4 buttons to control the serial connection. A connect button to connect to the serial port, a Start button that write to serial port a command to start transmit data and a Stop button that write to serial port a command to stop transmitting.
Can someone guide me to a easy way to control the serial connection ?
Thank you
01-07-2010 09:11 AM
01-07-2010 09:14 AM
It looks like your're already confident with serial IO, and you just need to implement a good front panel and a control structure.
You may design your front panel first, then manage controls by an event structure. If you don't know how to use it, you may start here:
http://zone.ni.com/reference/en-XX/help/371361F-01/glang/event_structure/
Regards
01-07-2010 09:15 AM