niTClk_GetAttributeViSession
C Function Prototype
ViStatus niTClk_GetAttributeViSession (ViSession session, ViConstString channelName, ViAttr attributeId, ViSession *value);
Purpose
Gets the value of an NI-TClk ViSession attribute.
Parameters
Name | Type | Description |
---|---|---|
session | ViSession | session references the sessions being synchronized. |
channelName | ViConstString | Pass VI_NULL or an empty string, except for NITCLK_ATTR_SCRIPT_TRIGGER_MASTER_SESSION, for which you should specify scriptTrigger0, scriptTrigger1, scriptTrigger2, or scriptTrigger3. VI_NULL and the empty string are treated as scriptTrigger0 for NITCLK_ATTR_SCRIPT_TRIGGER_MASTER_SESSION. |
attributeId | ViAttr | The ID of the attribute that you want to get.
Supported Attributes NITCLK_ATTR_START_TRIGGER_MASTER_SESSION
NITCLK_ATTR_REF_TRIGGER_MASTER_SESSION |
value | ViSession | The value that you are getting. |