From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2d array to 1d waveform, optimization?

Greetings to all

 

 

I have a vi that accomplishes the task of converting a 2d array dbl  to a 1d waveform  (and concattenating that with another waveform)  However, it is the most memory and time intensive task, and i'm sure there is a better way to accomplish it.

 

 

VI attached

 

I wish I had asked this at the webinar on memory this week 😞

-Regards

eximo
_______________________________________________
UofL Bioengineering M.S.
Neuronetrix

"I had rather be right than be president" -Henry Clay
0 Kudos
Message 1 of 3
(2,263 Views)

Define "memory intensive" and "time intensive". You also said you are using the VI to concatenate the data to another waveform. The VI is doing no such thing. It overwrites the Y array element for each waveform in the waveform array.

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

whoops, duh, nevermind.     well...........thanks!   that actually changes things, i'll repost it once i fix that

-Regards

eximo
_______________________________________________
UofL Bioengineering M.S.
Neuronetrix

"I had rather be right than be president" -Henry Clay
0 Kudos
Message 3 of 3
(2,249 Views)