LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Progress Bar when reading binary files

GerdW, I don't get an option to rate your answer.
0 Kudos
Message 11 of 14
(1,144 Views)
Hello Alv,

on the lower right corner of each message (not written by you) you will find the text "Rate this message" and 5 buttons 🙂
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 12 of 14
(1,148 Views)

GerdW,

I ran into a problem applying your logic to my application (progress bar). The application I used at home worked great. My application gives me an error when I attached the interger I32 wire to the Read File vi and causes my data output from the Read File vi to a cluster of 1 element. I tried a few things but still have the error. The data type coming from the Read File vi was 1D array going into my analysis vis. Can you take a look at the pics I've attached? I'm sure its something really simple. You've been a great help.

Alv

Download All
0 Kudos
Message 13 of 14
(1,132 Views)
Hello Alv,

LabView Help says for 'count' on ReadFile:

"If count calls for an array of elements and the specified data type is an array, the function automatically returns a cluster of arrays or cluster array because LabVIEW does not allow arrays of arrays."

That should be the source of your problem...
Sorry, at the moment I'm very busy, so no further investigation on this. I normally don't use datalog features of Labview, so maybe you could also read your file without using datalog (you have to convert from bytestream to your data on your own).


Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 14 of 14
(1,114 Views)