Benyamin.KH20 Posted March 16, 2016 Report 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
MartinPeeker Posted March 16, 2016 Report 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
Benyamin.KH20 Posted March 16, 2016 Author Report 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
GregSands Posted March 16, 2016 Report 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
lbains Posted March 28, 2016 Report Posted March 28, 2016 Use "transpose array" function just before the output in your code 1 Quote
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.