LabVIEW Control Design and Simulation Module

EMI_GetZeroCrossingTriggers (EMI Function)

  • Updated2023-03-14
  • 1 minute(s) read

EMI_GetZeroCrossingTriggers (EMI Function)

Owning Class: Zero Crossings

Requires: Control Design and Simulation Module

Prototype

emiZeroCrossTrigger* EMI_GetZeroCrossingTriggers(emiRef model);

Description

Returns a pointer to the triggers that determine whether a zero crossing occurred in an external model. The triggers can specify that a zero crossing occurs when the signal rises above the offset, when the signal falls below the offset, or when the signal either rises above or falls below the offset. The trigger also can specify that a zero crossing never occurs Use the emiZeroCrossTrigger data type to specify the triggers to use for each signal.

Examples

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 triggers that determine whether a zero crossing occurred in the model.

Examples

emiZeroCrossTrigger* zcTriggers = EMI_GetZeroCrossingTriggers(model);

Related Topics

emiZeroCrossTrigger

Log in to get a better experience