04-27-2010 09:49 AM - edited 04-27-2010 09:52 AM
I need some help with a labview serial application. Here are the objectives:
STEP 1.
* On Front Panel: If "IMU RUN" is True: Generate letter "a"
* On Front Panel: If "IMU SAFE" is True: Generate letter "b"
* On Front Panel: If "IMU RESET" is True: Generate letter "c"
STEP 2.
* Write the appropriate letter to the Serial Port
STEP 3
* Keep reading and displaying the the returned messages from the serial port.
Thats it! Looks simple but I cant seem to figure it out!
Thanks,
PS: Using Labview 2009 on Windows XP
04-27-2010 10:17 PM
Do you really need to continuously send 'a' and 'b'? Do you really want the ability to have all controls true at the same time?
You should only use a single VISA Write and a single VISA Read. You should think about using the event structure.
p.s. You are not sending a control character with the \n. You have not enabled '\' Codes Display.