LabVIEW

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for Search instead for Did you mean:

Write Muliple Signals using Write to Measurement file

Write Muliple Signals using Write to Measurement file

‎08-05-2013 10:11 PM

I would like to write 2 different channels using Write to Measurement file.vi. I expect to get something like this:

X_Value Untitled Untitled 1

But I get something like this:

Channels 7
Samples 2 2 2 2 2 2 2
Date 2013/08/05 2013/08/05 2013/08/05 2013/08/05 2013/08/05 2013/08/05 2013/08/05
Time 22:59:08.2775259017944335938 22:59:08.2775259017944335938 22:59:08.2775259017944335938 22:59:08.2775259017944335938 22:59:08.2775259017944335938 22:59:08.2775259017944335938 22:59:08.2775259017944335938
X_Dimension Time Time Time Time Time Time Time
X0 0.0000000000000000E+0 0.0000000000000000E+0 0.0000000000000000E+0 0.0000000000000000E+0 0.0000000000000000E+0 0.0000000000000000E+0 0.0000000000000000E+0
Delta_X 1.000000 1.000000 1.000000 1.000000 1.000000 1.000000 1.000000
***End_of_Header***
X_Value Untitled Untitled 1 Untitled 2 Untitled 3 Untitled 4 Untitled 5 Untitled 6 Comment
0.000000 0.908603 0.704951 0.083706 0.137180 0.583941 0.570922 0.290578
1.000000 0.913171 0.130467 0.855265 0.333351 0.278039 0.196711 0.172709
0.000000 0.537660
1.000000 0.408266
0.000000 0.537660 0.227937
1.000000 0.408266 0.125044
0.000000 0.537660 0.227937 0.042015
1.000000 0.408266 0.125044 0.334553

If you view the attached VI, you can see that I created a 2D array using random.vi, and then write the 2D array to files by Write to Measurement file.vi . The results say that I have 7 channels, and 2 samples. However, I have 2 channels and 7 samples. What is the problem with my code? Could you please help me? Thank you very much.