Error -1074134972 When Using an NI-DCPower Property Nodes

Updated May 23, 2018

Reported In

Driver

  • NI-DCPower

Issue Details

I am using an NI-DCPower API to  program an application with my power supply and I have added a property nodes to display and modify settings. 

When I run the application, I get the following error:  
 

I get this error whether I read or write to this specific property and many others.  How do I avoid this error?

Solution

This error indicates that the property must be associated with a specific channel of the NI-DCPower device.  NI Power Supplies & SMUs can have multiple channels that can be programmed with independent settings.  Before you set the properties for a specific channel use the Active Channel property and pass it the channel of interest.

Additional Information

To determine whether the Active Channel property needs to be set before it can be read or written to, look at the Channel-based field under Remarks in the NI-DCPower Help page for each property.
 

WAS THIS ARTICLE HELPFUL?

Not Helpful