Jump to content

DSC Alarm description issue


Vids

Recommended Posts

Posted

Hello Everybody. I am pretty new with DSC module but not with Labview ;) I am facing some issue with the property "Description" in alarms link to Shared Variables.
I just can't see anything in my "<alarm & event notification>:User event" event structure, in the "alarm description" field. My code is very similar to the one found in the DSC Alarms Demo.lvproj in the labview\examples\lvdsc....
I've already tried to::
- setup the field in : Shared Variable Properties >  Alarming > Description
- setup the field in : Shared Variable Properties > Description
- write directly a string in SharedVariableIO property

Any clue?
Thanks a lot for helping :)

Posted

Hi Vids,

The Read Alarms.vi will output an array of clusters that include the description.

Feed the shared variables you want to monitor into this VI and it will return any active alarms and all associated info.

Posted

Hi Pallen,
Thanks for answering!
I could eventually figured my problem out.
I had one .lvlib (main lib, let's call A.lvlib), at the root of the tree, that contained others .lvlib (containing the alarm shared variables, let's call them X.lvlib, Y.lvlib, etc). For some unknown reason I couldn't get the description field of the shared variable when placed in X.lvlib, Y.lvlib, etc. while I could get other fields (!?) 
Placing X.lvlib, Y.lvlib, etc at the root of the tree (and not into an other "main" .lvlib), I can get the description of the shared variable like expected.

Thanks very much ;)

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.