NI-Digital Pattern Driver C Function Reference

niDigital_ConfigureTimeSetEdge

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

niDigital_ConfigureTimeSetEdge

Low Level Configuration Group

Configures the edge placement for the pins specified in the pin list. Use this function to modify time set values after applying a timing sheet with the niDigital_ApplyLevelsAndTiming function, or to create time sets programmatically without the use of timing sheets. This function does not modify the timing sheet file or the timing sheet contents that will be used in future calls to niDigital_ApplyLevelsAndTiming; it only affects the values of the current timing context.

C Function Prototype: ViStatus niDigital_ConfigureTimeSetEdge (ViSession vi, ViConstString pinList, ViConstString timeSet, ViInt32 edge, ViReal64 time)

Parameter Description
vi The specified digital pattern instrument handle
pinList List of pin and pin group names for which to configure the time set edges.
timeSet The specified time set name.
edge Name of the edge.
  • NIDIGITAL_VAL_DRIVE_ON (2800)
  • NIDIGITAL_VAL_DRIVE_DATA (2801)
  • NIDIGITAL_VAL_DRIVE_RETURN (2802)
  • NIDIGITAL_VAL_DRIVE_OFF (2803)
  • NIDIGITAL_VAL_COMPARE_STROBE (2804)
  • NIDIGITAL_VAL_DRIVE_DATA_2 (2805)
  • NIDIGITAL_VAL_DRIVE_RETURN_2 (2806)
  • NIDIGITAL_VAL_COMPARE_STROBE_2 (2807)
time The time from the beginning of the vector period in which to place the edge.

Return value: Reports the status of the operation.

Log in to get a better experience