01-06-2016 07:54 PM
VeriStand supports up to 9, and the ducers I'm simulating are scaled with 10th order polynomials. I'll fit 9 into the curve the 10 makes and get on with it, but it would be nice if there wasn't an arbitrary limit.
Solved! Go to Solution.
01-07-2016 11:20 AM
Hey Stephen,
Where are you applying the scales?
As a side note, you may have better luck posting this to the NI Idea Exchange if you want to get more R&D traction. Have a great day & Happy New Year!
Regards,
01-07-2016 11:36 AM
Hey Stephen,
This definitely falls into feature request territory, but it looks like the scaling does support an arbitrary number of coefficients. It's just the System Explorer UI that's limiting us.
To test this, I went directly into the system definition XML and added an 11th coefficient to the polynomial scale:
And it appears to work for both generating reverse coefficients, and actually scaling channels.
Note: In general, it is never recommended to edit the system definition XML directly. You could cause unforeseen issues, and generally make your life difficult. Using the SystemDefinition API to create a polynomial scale would be the recommended way to work around this limitation of the UI.
-Kyle
01-07-2016 11:39 AM
01-07-2016 11:52 AM
I didn't double-check the math in my quick test, but it deploys fine, doesn't give any errors, and appeared to apply the scale correctly. Definitely would be worth a verification but it looks promising.
Good to know about the system definition API catches this error as well. Looks like we need to add this feature to a couple of places then.
01-07-2016 01:36 PM
I checked it and it works great. Nice!
I also was able to do this from the base node api:
Thanks!