LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

having trouble writing to spreadsheet only displays 0.00

im trying to write out the current vs. time data to a spreadsheet, but it only gives me 0.00. it should be a really small value like 1e-7. also when i try to enable indexing the wire is broken. how do i correct this?
 
attached is the vi im trying to use
 
thanks!
0 Kudos
Message 1 of 2
(2,272 Views)
Well, when you enable indexing, you are creating a 3D array from your 2D array and you can't wire a 3D array to Write to Spreadsheet. You can put your Write to Spreadsheet inside a for loop. You should also change the format setting for Write to Spreadsheet. The default is %.3f and you probably want %f.
Message 2 of 2
(2,266 Views)