LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

visa serial interrupt

Solved!
Go to solution

thanks

How can I set delay between sending each two bytes?

 

edited: you have answered some one else before:

 

All you have to do is put your VISA write in a "loop with a 50 msec delay, and write the message out one character or byte at a time.  If your bytes are in an array, you can autoindex the array.  If they are in a string, pick off one character at a time and put the remainder of the string in a shift register for the next iteration"

 

 

 

 

how about for cluster?

thanks

0 Kudos
Message 21 of 26
(486 Views)

Finally I did it :))))

Thanks 

0 Kudos
Message 22 of 26
(480 Views)

That seems to be in LabVIEW 2019 format. Please go through the small trouble of saving the VI for previous and save it as 2018 or earlier version.

Rolf Kalbermatter
My Blog
0 Kudos
Message 23 of 26
(467 Views)

Thanks RolfK

I did it successfully 

 

Just one remained issue: after clicking "abort execution" icon  I always need to close VI and run it again because the indicators remain on although I have marked "clear indicators when called" . why?

 

 

0 Kudos
Message 24 of 26
(462 Views)

You should never be using the Abort Execution button unless you are debugging an application that has gotten stuck somewhere.

 

As for indicators remaining on,  it is called "clear indicators when called".  Not clear indicators when "ended".

Message 25 of 26
(458 Views)

Hi all

I have a problem. I am reading 566 bytes with start frame 0xCCCC by Labview. some times Labview shows 3 0xCC bytes I mean 0xCCCCCC (on data1 display) what is the problem?

I have checked my data on terminal (with other softwares) there is no extra CC byte and micro works correctly on the other side

I have attached my VI

Thanks

Regards

 

0 Kudos
Message 26 of 26
(400 Views)