LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Export data to excel in a single row

Solved!
Go to solution

Can you pls downconvert original VI to 8.6, As Dennis said the program can lead to race conditions,in simple manner, better have a sequence where in first sequence you have all the loops and next sequence you have excel module.

 

Regarding the excel could you pls attach the excel doc which you get when you run your VI.

 

Thanks

 

 

0 Kudos
Message 11 of 13
(488 Views)

Fantastic! Problem solved, Thanks you Dennis.

So I change my 2D array in 1D array by changing the “Build Array” in concatenate inputs. Then I wired a “Build Array” to the 1D output which gives me a 2D array, as said by Dennis. Finally I wired the 2D output to the “Excel easy Table” to export these data and it is working pretty good.

Well if I add a sequence, I will use sequence Local instead of local variable to transmit data to the excel module at the next frame, is that better?

 

All of this make me think of my secondary problem, the fact that the control of my GPIB interface do never behaves the same way, giving me sometimes correct data, sometimes completely inconsistent data. In this program I use lots of local variable, so maybe they have created race conditions.I am going to remove all of them and see.

 

Thanks you for answering,

0 Kudos
Message 12 of 13
(477 Views)

i have 5 different one d arrays to be exported to a single excel sheet.how do i do this? the 5 different one d arrays should be exported to different colums.Pls explain as i am new to labview.:)

0 Kudos
Message 13 of 13
(400 Views)