11-04-2014 04:24 AM
Hi,
Considering an alias folder node in a System definition file (.nivssdf), it seems not possible to reach the AliasFolder class from a correct BaseNode ref using the VeriStand API.
I tried in VS 2011 Sp1 and 2014.
But the translation of corresponding BaseNode ref to Aliases root or Alias class works.
I feel a little confused because the same way is used in the VeriStand Simple System Definition API (I know not officially supported) with the same result : https://decibel.ni.com/content/docs/DOC-26812
Is that "Normal" ?
Attached is a simple nivssdf and a simple vi.
11-13-2014 01:43 AM
Hey Ulysse,
This is not just AliasFolder, but all the folder types that are affected. (UserChannelsFolder, AlarmFolder...). As of now they are not castable though these types do inherit from BaseNode. It's a known issue here. I have no workaround on the top of my mind.
Regards,
--Eric
Eric M. - Senior Software Engineer
Certified LabVIEW Architect - Certified LabVIEW Embedded Systems Developer - Certified LabWindows™/CVI Developer
Neosoft Technologies inc.