LabVIEW-DCAF / TagEditorCore

The collection of sample projects, libraries, class implementations, and APIs which make up the core of DCAF.
http://www.ni.com/dcaf
Apache License 2.0
8 stars 6 forks source link

Control Module Scripting Utility Can Fail when Disabling Channel Types #358

Open knoxberry opened 7 years ago

knoxberry commented 7 years ago

When disabling scripting for channel types, the indexing by channel classification inside the for loop of "initialize vi references" can fail. The channel classifications array returned by "temporary load classes.vi" is 4 elements. The position of each channel classification in this array doesn't necessarily correspond to the position of the specification in the spec array.

FIx - Use the channel types output of "temporary load classes.vi" instead. This array contains the correct number and position of elements.