12-21-2009 08:42 PM
Hi
The first picture is my main VI and the Blue icon is the sub VI that i made , however there is an error as shown in the 3rd picture when i run it.
In the subVI (2nd picture), i am using a polynomial 1st order to fit my original signal and perform more calculation. If I have used those functions and paste it in the main VI and it was working when i run the main VI.
I took out those functions and made it into a sub VI and it gave error when i run the main VI. I could not figure out the problem.
Could anyone help me on this. Thank you
Solved! Go to Solution.
12-21-2009 08:54 PM
Hi pengxin,
First of all you are using your subvi in a wrong way.See your subvi is expecting an integer value where as you are giving a dynamic data type.So what you can do is to convert the dynamic data type to proper data type using convert from dynamic data type express vi and try.
Thanks and regards,
srikrishnaNF
12-21-2009 09:02 PM
12-21-2009 10:29 PM
Hi
Let me try it now . If you have time u can paste me an VI to see the solution you mention
12-21-2009 10:41 PM
12-22-2009 01:52 AM