LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I generate a DSC alarm based on the difference of two signals?

In the Tag Configuration Editor of the DSC module, you can set lower and upper limits on any signal (tag). This works well if the signal is expected to always be within a certain range. However, if the signal is expected to vary according to a predefined pattern, how can I detect when it passes out of the expected pattern? - In my case the problem is made easier since I have two signals I can monitor: a setpoint and an actual. Therefore I can calculate the difference between setpoint and actual and set an alarm if the difference exceeds some maximum value. However, the DSC tag configuration editor does not allow these kind of "derived channels".

One possible solution is to run LabVIEW code to mon
itor these signals in real time, continually calculate the difference and generate an error if the difference exceeds the limit I have set. The problem is there does not seem to be a way to programmatically generate a DSC alarm.

Another possible solution, but requiring more work, is to create my own VI-based server to monitor the derived channels. Then there would be two servers running - logos to acquire the FieldPoint data- and my VI based server to calculate the derived channels in real time. My question is: Is there an easier way to do this?
0 Kudos
Message 1 of 3
(2,740 Views)


Hi Chris,

Go with your first proposed solution -- and write the result to a Discrete Memory tag. And set this tag to alarm on High. This will now act as your alarm tag.

Hope this helps.

Regards,

Khalid


0 Kudos
Message 2 of 3
(2,740 Views)
Thanks, that's a great idea. I'll give it a try.
0 Kudos
Message 3 of 3
(2,740 Views)