EMI_GetZeroCrossingOffsets (EMI Function)
- Updated2023-03-14
- 1 minute(s) read
EMI_GetZeroCrossingOffsets (EMI Function)
Owning Class: Zero Crossings
Requires: Control Design and Simulation Module
Prototype
double* EMI_GetZeroCrossingOffsets(emiRef model);
Description
Returns a pointer to the offsets at which to detect zero crossings for an external model.
Inputs
| Name | Description |
|---|---|
| model | Specifies a reference to the external model. Use this reference as an input to other EMI functions. Do not modify model directly. |
Return Value
Returns a pointer to the offsets at which to detect zero crossings for the model.
Examples
double* zcOffsets = EMI_GetZeroCrossingOffsets(emiRef model);