Jump to content

No Longer Able To Read Conditional Symbols


Recommended Posts

I have a test harness that I haven't run for a while that uses the CCSymbols tag to lookup the conditional symbols of a project. It seems this no longer works and returns an empty variant.

tag.png

There is also a GetSymbols.vi located in "<LabVIEW Version>\resource\plugins\Utility\IfDef.llb" which also no longer functions and returns an empty array. I've executed GetSymbols.vi on LabVIEW versions 2009 through to 2017 and none of them work. (I'm pretty sure it uses the same property node).

Investigating further, I have retrieved a list of tags and the only tags that seem to be available are these. I'm sure there were more than this and CCSymbols was among them.

names.png

Can anyone confirm or deny this?

Does anyone have an alternative way of getting the symbols?

Edited by ShaunR
Link to comment
11 hours ago, PiDi said:

LV 2015 SP1 - there is CCSymbols tag in "Get Tag Names":

projecttags.png

Are you sure you're operating on right ProjectItem (i.e. "Root")?

(GetSymbols.vi also works if I connect Root as ProjectItem)

 

Yes. that works. I've checked through the SVN log and nothing has changed in the code from the last time it was run (over a year ago) so I'm not sure why this happened unless the default project refnum no longer returns the root.

Thanks for looking into it

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.