Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Sample Field of an alarm

Could anyone explain what
Pulse (true, 0:0:3.0, 0.0) when used in the Sample Field of an Alarm
0 Kudos
Message 1 of 4
(3,289 Views)
The "Sample" parameter of the alarm object is for the "rate of change" data member. This is only available if the alarm is selected to be numeric (not logical). Basically the "signal" is checked every time "sample" is true (on, high, non-zero, etc.) and if it changes more than "rate of change" per "unit time", the rate alarm becomes active. The sample trigger can be just about any object, including a pulse. You can reference an object in the sample field, or as in your question you can imbed an object by typing the object name followed by the parameters required in parentheses. Your pulse is not a real object per say, but it acts like one and will trigger every three seconds. I hope this answers your question.
0 Kudos
Message 2 of 4
(3,289 Views)
Thanks Rkdomer, that explains most of it. In the example below,
Pulse (true, 0:0:3.0, 0.0)
the format is Pulse (true(hh:mm:ss.ms, ?.?). I don't understand the 0.0 after the comma.
Thanks for you help
Regards
Steve
0 Kudos
Message 3 of 4
(3,289 Views)
The 0.0 is the pulse timer duration; it means that the pulse will be as short as possible. The help files for the pulse object explain the parameters in more detail.

Regards,
Michael Shasteen
Applications Engineering
National Instruments
www.ni.com/ask
1-866-ASK-MY-NI
0 Kudos
Message 4 of 4
(3,289 Views)