LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Store Cycle count data

Kumaresanmech_1-1721126811728.png

 

Hi,

How to overwrite data to specified cell in csv file?

See, I am doing continuous cycle count test using 4 Rotary encoders, each encoder rotates at different time base, for example encoder 1 will take 10 sec to complete 1 cycle, encoder 2 will take 14 sec to complete 1 cycle, other 2 encoder also has different time base.

so, I want to overwrite each encoder cycle count individually in csv file.

or is there any other methods to save this cycle counts asides csv file?

 

Thanks,

Kumaresan

0 Kudos
Message 1 of 3
(260 Views)

Hi Kumaresan,

 


@Kumaresan.mech wrote:

How to overwrite data to specified cell in csv file?


Simple:

  1. Load the CSV file into an array.
  2. Update the needed element with the new value
  3. Save the array back to your CSV file (by overwriting the whole file).
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(253 Views)

Thanks.

Now i am like... it's a simple one, why did this not occur to me? 😅

 

Kumaresan

0 Kudos
Message 3 of 3
(121 Views)