08-21-2017 10:00 AM
Good day.
Would you please help me with tracking compliance message (overvoltage error) with my PXI-4112?
"Outputs["0"].QueryState(OutputState.OverVoltage)" doesn't work. It works only with OVPEnabled on and doesn't supported with 4112.
In classic NI-DCPower it used to use "Measurement.QueryInCompliance(ChannelName)" and it's work great, bool value is always available! But in current project I should use IVI wrapper.
So, is any idea to call function like "QueryInCompliance" using IIviDCPwr?
Solved! Go to Solution.
08-22-2017 02:35 PM - edited 08-22-2017 02:43 PM
Hi PeterSevos,
I was able to pull up the current NI DC Power Supplies and SMUs Help and found we have the function 'niDCPower_QueryInCompliance' available and it sounds like the VI you were using before. I have attached the help page for this function below.
niDCPower_QueryInCompliance http://zone.ni.com/reference/en-XX/help/370736F-01/nidcpowercref/cvinidcpower_queryincompliance/
Thanks,
ShaneK
Applications Engineering
08-28-2017 11:50 PM
The right answer is to use "QueryState(OutputState.ConstantCurrent)".
Thank to all!