NI-DCPower C Function Reference Help

niDCPower_SendSoftwareEdgeTrigger

  • Updated2023-04-15
  • 1 minute(s) read

ViStatus niDCPower_SendSoftwareEdgeTrigger(ViSession vi, ViInt32 trigger);

Purpose

This function is deprecated. Use niDCPower_SendSoftwareEdgeTriggerWithChannels instead.

Asserts the specified trigger. This function can override an external edge trigger.

Note Note  This function is not supported on all devices. Refer to Supported Functions by Device for more information about supported devices.

Related Topics:

Triggers

Parameters

Input
Name Type Description
vi ViSession Identifies a particular instrument session. vi is obtained from the niDCPower_InitializeWithIndependentChannels function.
trigger ViInt32 Specifies which trigger to assert.

Defined Values:
NIDCPOWER_VAL_START_TRIGGER (1034) Asserts the Start trigger.
NIDCPOWER_VAL_SOURCE_TRIGGER (1035) Asserts the Source trigger.
NIDCPOWER_VAL_MEASURE_TRIGGER (1036) Asserts the Measure trigger.
NIDCPOWER_VAL_SEQUENCE_ADVANCE_TRIGGER (1037) Asserts the Sequence Advance trigger.
NIDCPOWER_VAL_PULSE_TRIGGER (1053 Asserts the Pulse trigger.

Return Value

Name Type Description
StatusViStatusReports the status of this operation. To obtain a text description of the status code, call the niDCPower_error_message function. To obtain additional information concerning the error condition, call the niDCPower_GetError function.

Log in to get a better experience