In | hConnection | Connection handle that identifies the server. Connection handles are obtained with the PvConnectServer() function. |
In | settingID | Unique identifier for the setting. A list of settings can be obtained from PvGetSettingList(). |
In/Out | pBufSize | Address of an unsigned long containing size of the buffer allocated to receive string of default units. Receives actual size of string of default units. The size should include the NULL terminator. |
Out | pValue | String of default value returned. |
Out | pFactor | Address of an unsigned long for factor. |
In/Out | pFBufSize | Address of an unsigned long containing size of buffer allocated to receive string of “factor” units. Receives actual size of string of default units. The size should include the NULL terminator. |
Out | pFValue | String of “factor” value returned. |
P_OK | The operation was successful. |
P_E_NULL_PTR | Call with NULL pointer. |
P_E_INVALID_DATA_TYPE | The setting requested is not of long integer type. |
P_E_BUFFER_TOO_SMALL | The buffer is too small for the string. In this case, the required buffer size is returned in pBufSize. |
P_E_FAIL | Failed to connect to the named server. |