LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

difference between alarming roc:change and alarming roc:rocchange in DSC module

What is the difference between the Alarming ROC:Change and the Alarming ROC:ROCChange in the DSC Module (and the Alarming ROC:Time and Alarming ROC:ROCTime)??  I am trying to change the rate of change and the time on the variable using property nodes and invoke nodes, which I have done successfully with the Hi alarm and low alarms.

Using the property nodes, I can only find a way to change the ROC:change and not the ROC:ROCChange.  The ROC:ROCChange is what appears to change the rate of change and time interval that the variable actually uses (looking under the multiple varibale editor).

So I am changing some values, but they are not reflected on the Alarming page of the editor, only show up in the large spreedsheet at the top.

Any ideas on what I am doing wrong??
Kenny

0 Kudos
Message 1 of 5
(6,257 Views)
Hi Kenny,

Thanks for the observation -- it looks like this is a bug dealing with the naming of the property by the property node.  This was reported to R&D (# 46IE9SG0) for further investigation.  A workaround is to deploy a library so it become an online process, then use the SharedVariableIO class to programmatically change the desired properties, then use the Save to Library VI that ships with the DSC module.  The following screenshot shows the two methods, the upper method is the workaround (note that you don't need to read back the property like in the screenshot, I was just testing), the lower method is the way that isn't working for these two properties, which doesn't use the online process.  Thanks for the feedback!


Message Edited by Doug M on 02-19-2007 03:46 PM

Message Edited by Doug M on 02-19-2007 03:47 PM

Doug M
Applications Engineer
National Instruments
For those unfamiliar with NBC's The Office, my icon is NOT a picture of me 🙂
Message 2 of 5
(6,238 Views)

Thanks for the info.

PS - That is a great disclaimer in your signature, nice avatar.

Kenny

0 Kudos
Message 3 of 5
(6,229 Views)
Doug,

I noticed another little quirk with trying to change the variables.

When trying to change the Alarming limits (hi.hi, hi, lo, lo.lo), under the Multiple varialbe editor the name is Alarming.Hi.Limit.  When trying to use wither method shown suggested, the only option is Alarming.Hi.Level.  With your method I cant get it to change.  With the method that I was trying, it does change the value. 

Let me know if I am going crazy or not.

Kenny

0 Kudos
Message 4 of 5
(6,205 Views)
Kenny,

It is true that the property names in the Multiple Variable Editor show up differently than the properties when using the SharedVariableIO class properties, but in this case when you set the properties, they are actually getting updated to a different alarm level value, but if you look at the alarm in the Alarm and Event Viewer, it will still reflect the old alarm level value, even though the alarm was actually triggered using the newly set alarm level.

A workaround is to save the Library as shown previously, but also undeploy then redeploy the library -- this will cause the alarm level to display correctly in the Alarms and Events viewer as well as in the multiple variable editor.

This issue (#43J7I6UF) was already being investigated by R&D.  Thanks again for the feedback!
Doug M
Applications Engineer
National Instruments
For those unfamiliar with NBC's The Office, my icon is NOT a picture of me 🙂
0 Kudos
Message 5 of 5
(6,186 Views)