Skip to content

SelectorStyleRepCap::GetActivePhysicalNames

Returns the PhysicalNameList containing all of the PhysicalName objects for the expanded active selector.

static ViStatus GetActivePhysicalNames(ViSession Vi, PhysicalNameList<T>& physicalNames);

Vi

[in] ViSession handle for the driver session.

physicalNames

[out] The PhysicalNameList containing the physical names resulting from the expansion of the active selector set by the most recent call to the SetActiveSelector function.

Returns a VI_SUCCESS if the operation was successful or a failure ViStatus otherwise.

See the discussion of the SetActiveSelector function and the ExpandSelector function for details on how selector strings are expanded into physical names.