NI-Digital Pattern Driver C Function Reference

niDigital_SendSoftwareEdgeTrigger

  • Updated2023-11-24
  • 1 minute(s) read

niDigital_SendSoftwareEdgeTrigger

Triggers and Events Group

Forces a particular edge-based trigger to occur regardless of how the specified trigger is configured. You can use this function as a software override.

C Function Prototype: ViStatus niDigital_SendSoftwareEdgeTrigger (ViSession vi, ViInt32 trigger, ViConstString triggerIdentifier)

Parameter Description
vi The specified instrument session the niDigital_init or niDigital_InitWithOptions function returns.
trigger The trigger you want to override.
  • NIDIGITAL_VAL_START_TRIGGER (2000): Overrides the Start trigger. You must specify an empty string in the triggerIdentifier parameter.
  • NIDIGITAL_VAL_CONDITIONAL_JUMP_TRIGGER (2001): Overrides the conditional jump trigger. You must specify a conditional jump trigger instance in the triggerIdentifier parameter.
triggerIdentifier Specifies which instance of the conditional jump trigger you want to override.
  • VI_NULL ("")
  • NIDIGITAL_VAL_CONDITIONAL_JUMP_TRIGGER0 ("conditionalJumpTrigger0")
  • NIDIGITAL_VAL_CONDITIONAL_JUMP_TRIGGER1 ("conditionalJumpTrigger1")
  • NIDIGITAL_VAL_CONDITIONAL_JUMP_TRIGGER2 ("conditionalJumpTrigger2")
  • NIDIGITAL_VAL_CONDITIONAL_JUMP_TRIGGER3 ("conditionalJumpTrigger3")

Return value: Reports the status of the operation.

Log in to get a better experience