niTClk_SetAttributeViString

NI-TClk Synchronization

niTClk_SetAttributeViString

C Function Prototype

ViStatus niTClk_SetAttributeViString (ViSession session, ViConstString channelName, ViAttr attributeId, ViConstString value);

Purpose

Sets the value of an NI-TClk VIString attribute.

niTClk_SetAttributeViString is a low-level function that you can use to set the values of NI-TClk attributes.

NI-TClk contains high-level functions that set most of the attributes. It is best to use the high-level functions as much as possible.

Parameters

Name Type Description
session ViSession session references the sessions being synchronized.
channelName ViConstString Pass VI_NULL or an empty string.
attributeId ViAttr Pass the ID of the attribute that you want to set.

Supported Attributes

NITCLK_ATTR_SYNC_PULSE_SOURCE NITCLK_ATTR_SYNC_PULSE_CLOCK_SOURCE
NITCLK_ATTR_EXPORTED_SYNC_PULSE_OUTPUT_TERMINAL

value ViConstString Pass the value for the attribute.

Return Value