取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
31 条消息(共 33 条)
950 次查看

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 项奖励
32 条消息(共 33 条)
913 次查看

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
33 条消息(共 33 条)
908 次查看