LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RLS encoder slow down while loop execution

Why use 2 build arrays and an insert into array to build an array? (That's a rhetoric question, no need to answer.)

 

Build array can be extracted to build an array of 3 elements:

Build Array.png

0 Kudos
Message 31 of 33
(916 Views)

Hi,

 

I used the Write Text File function and I got my data values in columns, Is there anyway to change it to rows instead (Without using Write Delimited Spreadsheet) ? 

Ryan777_0-1616394787648.png

 

My current data is collected in this format 

Ryan777_1-1616394841502.png

 

Ryan777_2-1616394958386.png

Thanks in advance!

 

Regards,

Ryan

 

0 Kudos
Message 32 of 33
(879 Views)

Hi Ryan,

 


@Ryan777 wrote:

Is there anyway to change it to rows instead (Without using Write Delimited Spreadsheet) ?


Yes!

Use ArrayToSpreadsheetString before your WriteTextFile function to convert your array of strings into a delimited string…

 

Btw. you don't need the file position to "End" when you open the file in "replace or create" mode. Setting to "End" only makes sense when opening the file in "open or create" mode to be able to append new data to existing…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 33 of 33
(874 Views)