LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write to COM port with delays

Hi!

I want to write to 4 different channels through a USB serial port. I am using VISA to write to the port. I will want to write one cycle consisting of writing to all four channels with a delay (order of millisec; each channel has a different delay). This cycle is then repeated every 0.5 sec.

How do I achieve this?Kindly help!

Thanks.
0 Kudos
Message 1 of 2
(2,515 Views)
Hi,
All You have to do is create a array of the Time delays you want and put the VISA WRITE in a foor loop with a delay function wired with the Delay array,by this you will be running the WRITE function the desired number of times and also with the desired delay in ms as you want.
Hope this solves your problem
Cheers
vicky
Message 2 of 2
(2,511 Views)