11-30-2007 07:48 PM
11-30-2007 08:47 PM - edited 11-30-2007 08:48 PM
12-01-2007 09:49 AM
12-01-2007 11:31 AM
12-01-2007 11:51 AM
what i want is something like this...
numeric is a number os data that i receive the serial port, and boolean is a variavel that indicate if i received or nt data by serial port,
what i want to do is verify if receive data by serial port an if i receive interrupt and show ather message .. but liek stya my code i have to wait 1 minute to do this...this is my problem
Thanks
12-01-2007 12:41 PM - edited 12-01-2007 12:43 PM
Try looking at
Help >>> Find Examples...
Hardware Input and Output >>> Serial >>> Basic Serial Read and Write.vi
and set the timeout as you require. The error cluster will tell you if you had a timeout.
Ben
12-01-2007 12:57 PM
12-01-2007 01:18 PM
Hi Jonasdias,
Would you prefer to post your question in another language?
Someone will translate.
Trying to help,
Ben
12-01-2007 04:35 PM
If i undertand...
you need 2 while loops run in parrallel. The first one will continiously read the serial port and the other one will display your message.
The first one must send the "action" (a command) to the second. (probably with a queue )
Take a look to the producer/consumer design pattern