IviDCPwr_ConfigureOVP
IviDCPwrBase Capability Group
C Function Prototype
ViStatus IviDCPwr_ConfigureOVP (ViSession vi, ViConstString channelName, ViBoolean enabled, ViReal64 limit);
Purpose
This function configures the over voltage protection. It specifies the over voltage limit and the behavior of the power supply when the output voltage is greater than or equal to that value.
When the enabled parameter is VI_FALSE, the limit parameter does not affect the instrument's behavior, and the driver does not set the IVIDCPWR_ATTR_OVP_LIMIT attribute.
Parameters
Name | Type | Description | ||
---|---|---|---|---|
vi | ViSession | The instrument handle that you obtain from the IviDCPwr_init or IviDCPwr_InitWithOptions functions. The handle identifies a particular IVI session. | ||
channelName | ViConstString | Pass the virtual channel name that you assign to the instrument in MAX.
Virtual
channel names are aliases for instrument specific channel strings. The instrument specific channel strings can differ from one instrument to another. Virtual channel names allow you to use and swap instruments without having to change the channel names in your source code. You assign a virtual channel name to an instrument specific channel through MAX. This control accepts virtual channel names you have assigned to the specific instrument you are using. It also accepts the instrument specific channel names.
|
||
enabled | ViBoolean | Pass the behavior you want the outputer supply to exhibit when the ouptoutputs greater than or equal to the value of the limit paraut volmeter. The driver sets the IVIDCPWR_ATTR_OVP_ENABLED attribute to this value. | ||
limit | ViReal64 | Pass over voltage protection limit you want the power supply to use. The driver sets the IVIDCPWR_ATTR_OVP_LIMIT attribute to this value. |