Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Why does my Scan Engine Code Return an Undefined Error?

Primary Software: LabVIEW Modules>>Real-Time Module
Primary Software Version: 8.5.1
Primary Software Fixed Version: N/A
Secondary Software:

Problem:
I am running code on my cRIO target that includes various Scan Engine VIs. Sometimes the Scan Engine VIs return an undefined error code. What do these errors mean?

Solution:
There are seven error codes associated with the NI Scan Engine that did not include defined error codes. They are listed below.

-1950678964: Failed to load NI Scan Engine software required for IO Variable access.  Please ensure that the NI Scan Engine is installed.
-66457: The I/O Reference has changed, either due to a physical I/O configuration change or a deployed configuration change. To use the new configuration, you must use the Get I/O Info VI to create a new I/O Reference.
-66432: The NI Scan Engine failed to initialize on time.  It may function normally given sufficient time.  If the scanned I/O in your application is not updating properly, contact National Instruments Technical Support.
-66221: Cannot scale 64 bit integers.
1556: The reference is invalid.
1557: Duplicate references are being accessed at the same time.
1558: There is a type mismatch between the wire type and the reference's internal data type, probably a type cast error.
To resolve this problem on the host, overwrite LabVIEW-errors.txt file at [NI DIR]\LabVIEW 8.6\resource\errors\English and [NI DIR]\RT Images\LabVIEW\8.6\Errors\English with the file of the same name in the Attachments section.

To resolve this problem on the target, overwrite labview.err file at /c/ni-rt/system/errors/English/ with the file of the same name in the Attachments section.

Related Links:

Attachments:

C:\Documents and Settings\mking\Desktop\LabVIEW-errors.txt

C:\Documents and Settings\mking\Desktop\labview.err






Report Date: 08/05/2008
Last Updated: 08/05/2008
Document ID: 4O498AQ0

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