LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

compare two arrays

Solved!
Go to solution

Hi, is there anyway you can post this except for labview 2013??? I can't open your 2014

0 Kudos
Message 11 of 20
(2,421 Views)

@ghbn8 wrote:

Hi, is there anyway you can post this except for labview 2013??? I can't open your 2014



Use the version conversion forum board for such request (download the VI and post it there):

http://forums.ni.com/t5/Version-Conversion/bd-p/VersionConversion

0 Kudos
Message 12 of 20
(2,388 Views)

@ghbn8 wrote:

Hi, is there anyway you can post this except for labview 2013??? I can't open your 2014


You can't recreate the code from my image?  Try it.  You might learn something in the process.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 13 of 20
(2,346 Views)

I've been playing around with this for a while now, but is there a way to do the exact same thing except with numeric arrays instead of string arrays??

 

Thank you!!

0 Kudos
Message 14 of 20
(2,300 Views)
For integers, you simply replace the string constants. For floating point numbers, since you shouldn't use an equal comparison, use the In Range and Coerce function. Post your code if you are still stuck.
0 Kudos
Message 15 of 20
(2,285 Views)

Do you mind posting a small piece of code illustrating what you are saying. I'm not completely following you...

I would like to use floating point numbers and integers.

 

I've attached the code that I have done buttt...they changes I have made takes away the main functionality of the code (see the original post for the discussion). I need my program to do the same thing, except with numbers!!

0 Kudos
Message 16 of 20
(2,276 Views)

You are very close.  Change your Corresponding X's to be a 1D array.  The constant initializing that shift register should also be a 1D array of Double.  And then inside of the case structure, you need to specify column 1 with the Index Array.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 17 of 20
(2,260 Views)

Hey Crossrulz (or anyone else lol),

 

   Can you take a look at the attachment and see what I'm missing?!?!?!

0 Kudos
Message 18 of 20
(2,234 Views)

I think you mean to index out the second column in your for loop (not the first column)

Message 19 of 20
(2,224 Views)

Fo anybody in the World who may need this...here you go!!

 

THANK YOU SOOO MUCH TO EVERYONE WHO HELPED

0 Kudos
Message 20 of 20
(2,212 Views)