ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write data into several channels.

Solved!
Go to solution

Hello to everyone, 😉

 

I have a problem with writing data to a file. 

I am trying to write a 2D array of single (containing 3 different signals) to a LVM file,

but for some reasons the Data is saved as three samples of one channel, I have not been able to set it so that it splits the data into three different channels. Anybody an idea how I can switch this?

The incoming 2D array looks good to me. 

 

Thank you very much in advance, 

Keksbold

0 Kudos
Message 1 of 3
(2,563 Views)
Solution
Accepted by topic author Keksbold

Assumption: Each row of your data is one channel of N samples. Your 2D array should go through a "Convert Dynamic Data" vi. Right click on the "Convert Dynamic Data.vi" and choose: "2D array of scalars - rows as channels".

 

Or post code if that isn't helpful.

Message 2 of 3
(2,542 Views)

*facepalm 

 

I should have thought about that myself...

 

Thanks a lot for putting me in the right way!

 

Keksbold

0 Kudos
Message 3 of 3
(2,522 Views)