Benyamin.KH20 Posted March 16, 2016 Report Share Posted March 16, 2016 hi all i have two text file and i want send text in file into frist column a 2d array and next text file to second column please help me Quote Link to comment
MartinPeeker Posted March 16, 2016 Report Share Posted March 16, 2016 Use Read From Spreadsheet File.vi twice, once for each file. Index out first column of both resulting arrays, build new array using "Build Array" primitive. Probably you need to Transpose as well. But if the time stamps are to be connected to the measurement values, which looks to be the case, I would bundle each time stamp with the corresponding measurement value into a cluster and then have a 1D-array of those clusters. 2 Quote Link to comment
Benyamin.KH20 Posted March 16, 2016 Author Report Share Posted March 16, 2016 thanks i wrote a program about this in this program i don't want text be by row i want be column like this code Quote Link to comment
GregSands Posted March 16, 2016 Report Share Posted March 16, 2016 in this program i don't want text be by row i want be column Answer: Probably you need to Transpose as well. Or even better: But if the time stamps are to be connected to the measurement values, which looks to be the case, I would bundle each time stamp with the corresponding measurement value into a cluster and then have a 1D-array of those clusters. Quote Link to comment
lbains Posted March 28, 2016 Report Share Posted March 28, 2016 Use "transpose array" function just before the output in your code 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.