Impulse
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2023
- PI Server
Dynamic response specified by the impulse response.
Syntax
Impulse(tagname, runflag, i1,i2 … )
Arguments
tagname
Must be a tagname for a numerical point.
runflag
Non-zero enables filter to run.
i1, i2, …
Unit impulse response specifying dynamic model, text sequence of numbers.
Returns
Dynamic model output as function of time.
u(t)=i1*u(t-1) + i2*u(t-2) + …
Where u(t) is the current output and u(t-1) is the output one sample interval in the past.
Exceptions
Impulse gives different results depending on which type of scheduling is used. In clock scheduling, the interval between time series values depends on the scan class and gives values at evenly spaced time intervals.
Event-based scheduling is dependent on a trigger from another point. With event-based scheduling, Impulse sometimes gives results that are not trustworthy. Use Impulse with event-based scheduling only:
-
If the exception deviation is not zero.
-
If the point used for event-based scheduling is exception-based rather than scan-based.
If the input point is not a real number or integer, Impulse returns an error. Impulse is intended for the PE Scheduler only. Use of Impulse in client applications might produce unexpected results.
Example
Impulse('tag1',1,1,1,1)