03-08-2013 10:05 AM
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
03-11-2013 04:32 AM
Hello Poema,
To disable/enable event notifications you can/should use these VI's:
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.
03-11-2013 02:01 PM
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
03-12-2013 04:11 AM
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.