Click or drag to resize

ParameterStyleRepCap::ClearPhysicalNames

Removes all physical names from a repeated capability.

static void ClearPhysicalNames(ViSession Vi);
Parameters
Vi

[in] ViSession handle for the driver session.

Remarks

The ClearPhysicalNames function is used to remove physical names from a repeated capability. This can be useful for drivers that support dynamic repeated capabilities -- that is, repeated capabilities where the exact number of repeated capabilities is not know upfront or where the driver exposes functions that allow the end user to control the physical names present

Example

The following example demonstrates how a developer might use the ClearPhysicalNames function.

C++
ViStatus _VI_FUNC acme_RemoveAllTriggerSources(ViSession Vi)
{
   auto status = VI_SUCCESS;

   status = TriggerSource::ClearPhysicalNames(Vi);

   return status;
}

Download a complete CHM version of this documentation here.