IMAQdxGetAttributeVisibility

NI-IMAQdx Function Reference

IMAQdxGetAttributeVisibility

Format

rval = IMAQdxGetAttributeVisibility(IMAQdxSession id, const char *name, IMAQdxAttributeVisibility* visibility)

Purpose

Gets the visibility for the camera attribute.

Parameters

Parameter Type Description
id IMAQdxSession A valid Session ID, which you can obtain using IMAQdxOpenCamera.
name const char * The name of the attribute whose visibility you want to get. Refer to Attribute Name for a list of attributes.
visibility IMAQdxAttributeVisibility (passed by reference) On return contains the visibility for the current attribute. Choose from one of the following options:
  • IMAQdxAttributeVisibilitySimple
  • IMAQdxAttributeVisibilityIntermediate
  • IMAQdxAttributeVisibilityAdvanced

Parameter Discussion

name specifies the attribute whose value you want to obtain. In LabWindows/CVI function panel, when you click the control or press <Enter>, <Spacebar>, or <Ctrl-down arrow>, a dialog box opens containing a hierarchical list of the available attributes. Attributes whose values cannot be obtained are dimmed. You can access function help text for each attribute by double-clicking an attribute or by selecting the attribute and pressing <Enter>.

Return Value

On success, this function returns IMAQdxErrorSuccess. On failure, this function returns an error code. You can obtain a more detailed error message with IMAQdxGetErrorString or, if you are using Microsoft Visual Basic, IMAQdxGetErrorStringCW.