LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to extract 1 Darray and put them into new array

Solved!
Go to solution

Its a snippet !

 

Save and You can drag and drop on to the block diagram. 

But as you mentioned, I am not checking for "0" input.

 

You Need to modify it.

 

Regards,

Bijay

0 Kudos
Message 11 of 28
(1,385 Views)

I dont think so that my VI is giving unexpected zeros.

Can you please Explain? .

Are you using my code or created a new VI?

0 Kudos
Message 12 of 28
(1,379 Views)

Hello ManLD,

 

I have attached back the vi that i can run. from your code , there are two block with question mark as shown in figure and so i deleted them and when i run it gives me zero for those which can't be devided by 30 . please advise .

 

thanks

regards

 

Download All
0 Kudos
Message 13 of 28
(1,371 Views)

Ok.

The problem was that you don't have the OpenG tool that i was mensioned in my last post.

Download the code given below.

It will surely work for you.( I think)

0 Kudos
Message 14 of 28
(1,358 Views)

Hello Pyae,

 

Your requirement is not clear.

 

Try modifying ManLD's given code.

 

ManLD : Post code with only LV as not everybody has OpenG VIs.

 

Regards,

Bijay

CLD

 

 

 

 

0 Kudos
Message 15 of 28
(1,350 Views)

Bijay,

I have modified the code without using OpenG in the last Post.

 

Regards

0 Kudos
Message 16 of 28
(1,341 Views)

Hello MLD ,

 

the error still giving for delete element vi as attached . now i m downloading openG and will try again.

as i am new to labview , please advise .

 

thanks

regards 

 

0 Kudos
Message 17 of 28
(1,335 Views)

Hi

 

If you mention your requirement clearly probably someone can help you better.

Please explain what you want to acheive?

 

0 Kudos
Message 18 of 28
(1,322 Views)

hi ,

 

sry that i didn't mentioned clearly. What i want is .. i have one array and i will to extract index of multiple of 30 from that array and put them into new array.Please refer my photo below and please advise me how shall i build it. thanks

 extract index of array .jpg

 

0 Kudos
Message 19 of 28
(1,308 Views)

Index Multiple of 30_mod.png

 

That's why i asked you whats your requirement. Smiley Very Happy

 

Nevermind, i hope this solves the problem.

 

Regards,

Bijay

CLD

0 Kudos
Message 20 of 28
(1,302 Views)