VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

BaseNode ref to Alias Folder Class

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.

 

 

Best regards,
Ulysse
Heberger image Heberger image
Download All
0 Kudos
Message 1 of 2
(4,827 Views)

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.

0 Kudos
Message 2 of 2
(4,709 Views)