LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview data collection and storage?

Solved!
Go to solution

Hi,

The orange connector is an array of the Double data type. There are two inputs a 1D array or a 2D array (the thickness of the wire changes for the format of the data being passed allong it).

So if you build them into an array using the 'build array' then the 'write to speadsheet' will accept them.

 

You will then need to use some of the other elements of the biuld array pallet to include the time stamp and any other information.

 

Hope this helps.

Jordan Power
Applications Engineer
National Instruments
0 Kudos
Message 11 of 23
(1,868 Views)

*not output the files, but output the numbers.

 

cheers 

0 Kudos
Message 12 of 23
(1,864 Views)

Hi,

Sorry i don't understand what you are now saying your issue is ?

 

 

Jordan Power
Applications Engineer
National Instruments
0 Kudos
Message 13 of 23
(1,861 Views)

sorry, wasnt suppose to enter that. I have setup the array and spreadsheet, thanks. how do I now get it to run continuously, puting in lines of data, rather then just a value of each for a particular instance?

 

Cheers 

0 Kudos
Message 14 of 23
(1,859 Views)

Could you please post your code so i can see what you have done so far?

Regards

Jordan Power
Applications Engineer
National Instruments
0 Kudos
Message 15 of 23
(1,852 Views)
I have two problems, firstly the three graphs are plotting positive and negative values for the same instance? secondly how do i assign a file so that it doesnt ask all the time and how can i get it to add to the file rather than start a new one every cicle?
Download All
0 Kudos
Message 16 of 23
(1,838 Views)

also is there a way that a new file can be started automatically without user input when the original file is full?

 

Chers 

0 Kudos
Message 17 of 23
(1,827 Views)

You are only sending the data  from the last iteration of the while loop out of the loop and into the Write to Spreadsheet File.  If you make that tunnel Auto-Indexing, it will build your 1-D array into a 2-D array and send all the data to the Write to Spreadsheet File.  If you want to append data to the same file, you will need to wire a True Constant to the Append File? input.

 

Right now your VI, is basically a one shot deal.  It runs a For loop for a while.  When the boolean goes false, the loop ends and the data goes to the Write to Spreadsheet File, then the VI ends.

 

If you want to Stop and start the file it is written to, you will need to wrap what you have now in a larger while loop.

Message 18 of 23
(1,818 Views)

Thanks that helped. Is there a way to get the graphs to come out as an x,y plot rather then a wave were y is amplitude? Also do you know what will happen when the spread sheet I'm writing to gets full?Will it write over or throw up an error message?

 

Regards 

0 Kudos
Message 19 of 23
(1,796 Views)
Use XY graph.
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 20 of 23
(1,793 Views)