LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does the Eval Formula Node only give 9 outputs?

Solved!
Go to solution

I am allowing the user to be able to input values and formulas so it convert the raw data from DAQ, but the ouput values from the Eval Formula Node only give me 9 array values. I don't know why because I am giving it 16 formulas, 16 output variables, 16 input variables.

0 Kudos
Message 1 of 8
(3,236 Views)

Let me guess that you are using names like a1,a2,a3,...a9,a10,a11,a12...  You are only allowed one letter and one digit so a10,a11,a12 etc. will not count as unique outputs.

0 Kudos
Message 2 of 8
(3,230 Views)

Can you post your VI so we can look at it?

0 Kudos
Message 3 of 8
(3,228 Views)

I didn't use the wrong variables.  The VI I am attaching has stuff form DAQ so it won't run because of that reason and I am using 6.1 LabVIEW.

0 Kudos
Message 4 of 8
(3,222 Views)
Solution
Accepted by topic author Rhinkle

Seems to work fine for me on LV10.  I see you have a cluster indicator, if you are using ArrayToCluster be sure to Right-Click and set the cluster size to 16.  When I see 9 that is usually my first guess.

Message 5 of 8
(3,217 Views)

Yeah that was my only problem setting the array to cluster to 16.  Thanks for the help!

0 Kudos
Message 6 of 8
(3,213 Views)

I do not use Array to Cluster that often.  What I would do instead is make the cluster indicator a TypeDef.  You can create a constant from this TypeDef and use it to Type Cast the Array to the Cluster.  Now you can add and remove elements simply by updating the Cluster TypeDef instead of the hidden Right-Click in ArrayToCluster.

0 Kudos
Message 7 of 8
(3,205 Views)

I have always (secretely) wondered why the default array to cluster size is 9.

There must be a very deep metaphysical reason for that, that only initiates of the 32 degrees learn about...

Oh well!

0 Kudos
Message 8 of 8
(3,190 Views)