Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
2 ratings:
 3 out of 5     Rate this Document

Error -1074388969 When Running a CAN Program

Primary Software: LabVIEW Development Systems
Primary Software Version: N/A
Primary Software Fixed Version: N/A
Secondary Software: Driver Software>>NI-CAN
Hardware: Industrial Communications>>CAN

Problem:
I am getting "Error -1074388969 occurred at an unidentified location" when I run my CAN application in LabVIEW. The description is: NI-CAN: (Hex 0xBFF62017) This attribute's value must be provided prior to the Open. Solutions: Set the attribute using the Config function before the Open, and do not set the attribute at any later time; Do not configure multiple CAN Objects for the same ID. How do I resolve this error?

Solution:
This error message will appear if handles are not closed properly in your program because NI-CAN cannot overwrite handles which already exist for ports or objects. To determined whether they are being closed properly or not, run NI-Spy before running your program to monitor all handles while your program executes. If you are having trouble closing the handles and continue to get this error, try running a program similar to the one shown in the figure below. This will simply close out a certain object handle so you can open it in your main program.

Since shutting down the computer will close all the handles, often rebooting the PC or controller will clear this error, but if the handles are not closed properly in the program, this error will continue to show up. Often, this method will correct a one time issue with this error and the program will continue to run properly from there.

Related Links:

Attachments:


CloseHandle.jpg


Report Date: 05/03/2006
Last Updated: 07/07/2006
Document ID: 3X2IG5C5

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit