LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Events and the DSC Module.

Hi,
I'm new to the DSC module and have some questions.

1. What are the events that are logged?

2. Are they logged to the database or just to the log file?

3. Can I generate events that are logged along with the built-in events? For example, I'd like to log an an event when the user calibrates the equipment. I'd like this to be logged with the rest of the DSC events (like user logged on, tag engine started, etc.)

Thanks for the help.
0 Kudos
Message 1 of 2
(3,498 Views)
Hi,

LV DSC (7, 6.x) distinguishs between
a) System Events
b) Alarms & Events

a) will be written to a ASCII text file in the Syslog directory. You can add user specified System Events with the DSC >> System >> Post System Error or Event.vi
See as well the new LV DSC 7 example > Alarms and Events > System Events Viewer.vi

b) will log the Alarms or Events to the Citadel database. This will just work with a predefined Tag configured with an Alarm. There is no easy way to log an customized alarm message to the Citadel database. The only thing you could log the message as a string tag to the Citadel trace (not A&E) database. Or you could dedicate a boolean tag with an alarm setting to generate a specific alarm.
See as well the new LV DSC 7 example > Alarms
and Events > Current versus Historical Alarm.vi

If you want to generate Events to the Citadel A&E database you need to enable in Tag Configuration Editor (TCE) > Configure > Engine... > Events > Generate Event when Remote User Changes Value (Remote User in this sense means any Logos client subscirption to this tag). Or/and you could enable the Write Tag.vi input 'generate event' and set it to true whenever you write a changed value to the engine.

1. a) or b)
2. a) or b)
3. use Post System Error or Event.vi

Hope this helps
Roland
Message 2 of 2
(3,498 Views)