09-27-2010 10:26 AM
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
Solved! Go to Solution.
09-27-2010 08:56 PM
Are you manually populating the array before you start the program? If so, why don't you save the default values and repost?
09-28-2010 09:44 AM
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.
10-01-2010 07:15 AM
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