CLASSPREFIX_ATTR_LOGICAL_NAME
To form the CLASSPREFIX_ of the attribute name, use the prefix of the class driver with which you are working. For example, if you are working with the IviDmm class driver, use the prefix IVIDMM_ to create the correct attribute name, IVIDMM_ATTR_LOGICAL_NAME.
Inherent Attribute
Data Type | Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViString | RO | N/A | None | None |
Description
You pass a logical name to the class driver initialization function. MAX must contain an entry for the logical name. The logical name entry refers to a driver session in MAX. The driver session specifies a physical device and a specific instrument driver. By assigning the name of a different driver session to the logical name in MAX, you can swap one instrument for another without changing source code or recompiling or relinking the application program. This attribute returns the logical name you specified when opening the current IVI session.