NI-CAN Error -1074388985

Updated Oct 4, 2018

Reported In

Software

  • LabVIEW

Driver

  • NI-CAN

Issue Details

I am trying to use the Channel API VI 'Set Property' (nctSetProperty in C) in a loop to set properties for all of my channels, but am receiving an error -1074388985 (BFF62007). What could be wrong?

Solution

When using the Set Property functions in either LabVIEW or C, some of the available properties apply to the CAN interface and not a specific channel. Whenever you attempt to set an interface property after the port interface has already been started you will receive this error. 

For example, if you try to set any of the 'Interface' properties in a loop you will see this error since the port is already running. Make sure that you set the 'Interface' properties outside of your loops to avoid this error.  

This interface is usually configured to Start On Open. This option can be disabled.

 

Additional Information

The shipping example Series 2 Filter Mode.vi is a great example of how to change properties from within a loop. It can be found at  NI Example Finder » Hardware Input and Output » CAN » Frame API » Basic.

WAS THIS ARTICLE HELPFUL?

Not Helpful