LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

quick start

Solved!
Go to solution

this is the whole picture.

 

and i didn't understand one more thing - why after clear command  

*clr

the buffer value still provided by the

read?

output?

0 Kudos
Message 31 of 36
(1,063 Views)

@antonio121 wrote:

this is the whole picture.

 

and i didn't understand one more thing - why after clear command  

*clr

the buffer value still provided by the

read?

output?


Thank you for attaching your code. Unfortunately many of us, including me, do not yet have LabVIEW 2020 installed. If you could save for previous version that would be helpful - I'm using LabVIEW 2019.

0 Kudos
Message 32 of 36
(1,048 Views)
0 Kudos
Message 33 of 36
(1,036 Views)

Your code doesn't have the /n. Do you know the protocol for your instrument? Why the 111 for the read bytes? Why not use something larger and look for the termination character? 

0 Kudos
Message 34 of 36
(1,028 Views)

The 111 maybe enough, I guess.

The voltage various is about few microvolts, so that variable is double format enough. And the line end character is auto placed, and I guess that it's not need for this instruments model.

0 Kudos
Message 35 of 36
(984 Views)

@antonio121 wrote:

The 111 maybe enough, I guess.


Why guess?

 

If you use \r\n (or any termination character) you can safely read 1000 character, and you'd know it's enough.

 


@antonio121 wrote:

The voltage various is about few microvolts, so that variable is double format enough.


You'd have to explain that a bit more.

0 Kudos
Message 36 of 36
(978 Views)