LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Numerical control do not switch table lines in subvi

Solved!
Go to solution

Hello people  from NI forum!

I have a small question I think you could help me:

I was trying to find a way that would allow my program to read data, acquired from a millimeter, and use a table-with coefficients- to multiply the obtained data.

When It was written directly on my program, It worked well but, when I created a sub VI to "clean" it up, It has stopped to alternate the values and It uses the fixed value from the sub VI.

The sub VI has a connector to the numeric control.

This program is the "read table sub vi" attached in this message and the other, is the program I am using to acquire my data.

I thank you forward for the useful help.

Regards

Leandro

 

Download All
0 Kudos
Message 1 of 4
(2,333 Views)

Are you manually populating the array before you start the program? If so, why don't you save the default values and repost?

0 Kudos
Message 2 of 4
(2,316 Views)
Solution
Accepted by topic author leandrodzc86

Hello Leandro, Dennis

 

i dont think that i got the problem right so i can only guess:

 

The Sub VI is placed outside the sequence Structure and therefore only executes once at the Start of the VI.

Like Dennismentioned, since the "Table" does not have any default Values assigned it cant work right now.

 

It would be best if you post another Set of VIs: (Bevore adding the Sub VI and After)

 

Regards

 

Moritz M.

0 Kudos
Message 3 of 4
(2,294 Views)

hum,..thank you!

The main problem was the loop that didn´t started until the program was activated.

After this, I saved the default values ,..

bye

 

Leandro

0 Kudos
Message 4 of 4
(2,265 Views)