LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Specific data arrangement in the saved file

Solved!
Go to solution

Even though I rearrange those three lines to group together before going to the format file block, It still comes with every row of data values. How can I set it to be shown only one time for each set of values. It shouldn't be shown again til I press "stop" and start running again.

 

It's quite confusing by explaining by text. Could you please make some changes in my vi or a new one if you have time and waste your time too much.

 

Thanks

0 Kudos
Message 11 of 36
(1,135 Views)

The Main Data Stream control is a 1D array.

 

How do you know which of the elements belong together and thus are to be printed on one line and which do not?

 

 

0 Kudos
Message 12 of 36
(1,129 Views)

Each element is independent from each other. You can put any types of element in wherever you want by using unbundle. I just don't know how to arrange data in the way I told you.  help me please!!! Thx

0 Kudos
Message 13 of 36
(1,124 Views)

Then you are going to have empty "fields" in each line.

If that is the case, then what you have written here on this message board of what you want does not match the data that is coming in.

 

 

To be very frank, I still do not understand your objective with this VI and I am still not understanding this "arrangement" of data that you are wanting.

 

 

 

 

 


0 Kudos
Message 14 of 36
(1,120 Views)

Not sure what you mean by "empty fields". I think it's getting more confusing. Could you please help my by fixing my vi? Probably I didn't understand you completely. I think the data stream is ok. It's just the way to arrange data that I don't know.

0 Kudos
Message 15 of 36
(1,115 Views)

I give up.

 

Hopefully, someone else can better understand what is it that you want.

 

 

0 Kudos
Message 16 of 36
(1,114 Views)

The objective of this vi is the get values from the main datastream to save in the specific format. I haven't plugged to DAQ yet. I just create the main datastream as a model of data input.

0 Kudos
Message 17 of 36
(1,113 Views)
Why don't you simulate your DAQ Card in MAX so you can see how data is actually acquired?
0 Kudos
Message 18 of 36
(1,105 Views)

I dont have it now. I need to program it and make sure all data are saved in the right format. Could you please help me about this?

0 Kudos
Message 19 of 36
(1,103 Views)
If it's a card from NI, you don't need the actual card. As I said, you can simulate it. I don't think your dummy data makes sense. And why cant you simply create a text file that shows exactly how you want the data. You were asked that. Don't you know how to use Notepad?
0 Kudos
Message 20 of 36
(1,099 Views)