LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Logically Selecting Serial Write Message

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

 

Message Edited by uidahosa on 04-27-2010 09:50 AM
Message Edited by uidahosa on 04-27-2010 09:52 AM
0 Kudos
Message 1 of 2
(2,377 Views)

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.

0 Kudos
Message 2 of 2
(2,346 Views)