10-27-2010 07:11 AM
Hi.
I can't think of how to write 3 arrays out to a text file (tab delimited). 2 of the arrays are doubles, 1 is an array of strings.
Attached is an image of the format I would like to achieve.
Can anyone please help me with this problem?
10-27-2010 08:44 AM
Just one of the possible ways
10-27-2010 09:13 AM
The proposed solution has two flaws:
See attached for an alternate version that performs the operation using no loops.
10-31-2010 07:16 PM
Hi.
Thanks to both of you for providing solutions but I can't open them. I am using LV 8.6.1f1
Would it be possible to save your files as older versions so I can open them?
Thanks
10-31-2010 10:40 PM - edited 10-31-2010 10:40 PM
Please save these two files so I can open them in LV 8.6.1
11-01-2010 09:50 AM
Attached are the two VIs in 8.6.
11-02-2010 01:06 AM
Thanks for the helps guys. I went with the FOR loops because I know exactly how wide each array is and they are all the same length.
Much appreciated.
11-02-2010 03:05 AM - edited 11-02-2010 03:06 AM
After getting the program working I now need to change the output file format 😞
I have attached an image file showing the new format.
Basically I need to append arrays together, but I can't see how to do that.
The arrays are all the same length.
Can someone please help?
11-02-2010 04:03 AM
See this vi.Might be helpful.
Best of luck
11-02-2010 08:32 AM
@mikie121 wrote:
Thanks for the helps guys. I went with the FOR loops because I know exactly how wide each array is and they are all the same length.
Much appreciated.
This is a poor reason. When you can perform operations on an entire array in-place, then that's the way you should be doing it. Why in the world would you want to create extra work for yourself?!?
After getting the program working I now need to change the output file format 😞
I have attached an image file showing the new format.
Basically I need to append arrays together, but I can't see how to do that.
The arrays are all the same length.
Can someone please help?
The VI I had shown you already does that - that's what the Build Array is for. Did you run the VI?