08-02-2021 08:15 AM - edited 08-02-2021 08:24 AM
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?
08-02-2021 02:22 PM
@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.
08-03-2021 09:09 AM
08-03-2021 09:44 AM
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?
08-04-2021 04:00 AM
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.
08-04-2021 04:54 AM
@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.
LabVIEW Programming ((make LV more popular, read this)