LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

deleting array element

Solved!
Go to solution

Hi, muks,

If you familiar with C programming, then do it with simple function, like this:

then call DLL:

This code above executes within 30-40 ms (depends from used PC and compiler, of course) for 1500000 elemenths. There is no way do to it faster in LabVIEW. In additional, this is good exercise  - how to call external code from LabVIEW (for example, you can transfer array by handle instead of pointer, and resize array inside of the DLL, etc)

best regards,
Andrey.

Message 11 of 18
(1,158 Views)

Hi muks,

attached is the vi to remove elements without conversion to string.
Hope it helps.

Mike

Message 12 of 18
(1,147 Views)
hi mike,
             I am using labVIEW 8.0.Can you please convert the vi to 8.0.Thanx a million mikey
Message 13 of 18
(1,135 Views)
Solution
Accepted by topic author muks

Hi muks,

here the 8.0 version.

Mike

Message 14 of 18
(1,125 Views)
Thanx a lot mikey.
0 Kudos
Message 15 of 18
(1,120 Views)

Hello Muks,

I post this solution just because I like the indexing scheme of the MathScript node Smiley Wink. But (on my PC) this code is about 30 times slower than Mikes solution Smiley Sad.



Message Edited by UliB on 06-19-2008 09:20 AM
Message 16 of 18
(1,081 Views)
Hi ulib,
           U r right it is slow but a very intresting solution.Thanx
Message 17 of 18
(1,064 Views)
Hi mike,
              Need your help again.Can you please go through thread pleaseeeeeeeeee
 
Message 18 of 18
(1,041 Views)