01-23-2018 02:26 AM
Hi,
On loading the DCAF scaling module using Labview 2017 32-bit, the module crashes and freezes the configuration editor. Please see attached screen grab.
Bruce
Solved! Go to Solution.
01-23-2018 09:12 AM
Instead of adding the Scaling module in the Other category, try adding the Polynomial Scale under Utilities. The Scaling module you are using is under <vi.lib>/NI/DCAF Templates, which is not a default search path, and looks to be more of an abstract scaling class.
01-23-2018 10:05 AM
@Jacobson-ni wrote:
Instead of adding the Scaling module in the Other category, try adding the Polynomial Scale under Utilities. The Scaling module you are using is under <vi.lib>/NI/DCAF Templates, which is not a default search path, and looks to be more of an abstract scaling class.
Ah okay, thanks!
01-23-2018 01:27 PM
Hi Bruce,
To give some color, there is the Polynomial Scaling module and the Scaling Framework. The Scaling Framework is an abstract class that provides most of the UI and runtime elements needed for many kinds of scales. The Polynomial Scaling module provides the specific scale configuration page in the editor and the specific scaling operation at runtime. If you wanted to make a different kind of scale (RTD, look up table, etc) you can do so by just inheriting from the Scaling Framework module and overriding only the pieces that you need to change.
The Scaling Framework module should never be included in a configuration, since it is only 80% of a functioning module. This is why it installs to DCAF Templates, not DCAF Modules, and why we keep it out of the search paths by default.
01-23-2018 02:59 PM
@MattP wrote:
Hi Bruce,
To give some color, there is the Polynomial Scaling module and the Scaling Framework. The Scaling Framework is an abstract class that provides most of the UI and runtime elements needed for many kinds of scales. The Polynomial Scaling module provides the specific scale configuration page in the editor and the specific scaling operation at runtime. If you wanted to make a different kind of scale (RTD, look up table, etc) you can do so by just inheriting from the Scaling Framework module and overriding only the pieces that you need to change.
The Scaling Framework module should never be included in a configuration, since it is only 80% of a functioning module. This is why it installs to DCAF Templates, not DCAF Modules, and why we keep it out of the search paths by default.
Note sure how my search path ended up being ....\vi.lib\NI , which is obviously why I am picking up that scaling template. But that sounds like something that would suit my purposes better as I have hundreds of modbus tags, coming from multiple remote IO slaves, which I am converting to engineering units, and also combining in to arrays because I have 10 instances of the same subsystem in the plant and I can't have 10 different comms modules writing in to the same array.