LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Alarm notification in DSC

Hi,

 

I known how property's are working, and I known how to enable and disable alarming like your example, But I want to known if there is a property I can read to known of the notification is enabled or disabled.

 

thanks

0 Kudos
Message 11 of 14
(545 Views)

Hello Poema,

 

To disable/enable event notifications you can/should use these VI's:

Enable Alarm & Event Notifications VI

Request Alarm & Event Notifications VI

Cancel Alarm & Event Notifications VI

 

Are you fully familiar with user events?

 

To enable/disable the alarms themselves please read from and write to the Alarms Enabled property for that specific shared variable.

- Writing to this will allow you to disable the alarm of that shared variable

- Reading from this will allow you to check if a specific alarm is disabled/enabled.

 

Things that are not correct in you current code:

- I dont see you writing to the property in your code

- Also pay attention to how you pass information through from one point to another point
At several places in your code you are creating multiple copies of the same shared variables list in parallel of eachother.

Try to do configurations (that have to happen after eachother) in a sequential way and also use the Shared Variables Out indicators of your VI's and the Shared Variables Out references of your property nodes.

It's also a good idea to always wire your error terminals. This will also help you impose the correct data flow.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 12 of 14
(536 Views)

Hi,

 

The example is not my program, it's from the example library. I only made some changes to explain my problem.

Nevertheless thank you for the effort. We can close this forum, I 've made a work around.

 

thanks,

Erik

0 Kudos
Message 13 of 14
(527 Views)

Hello Erik,

 

The example is indeed from the example library.

I was trying to explain that it only handles/influences the event notifications towards the event structure and not the actual logging settings of the variable.

 

I'm happy that you were able to resolve your issue.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 14 of 14
(521 Views)