XNET Error: Signal Was Not Found in the Database

Updated Oct 2, 2018

Reported In

Driver

  • NI-XNET

Issue Details

I am trying to run an XNET VI within a real time operating system. When I try to run the code however, I receive one of the following error messages:
  • Error -1074384767 occurred at XNET Database Open (Frame).vi:1
Possible reasons(s):
NI-XNET: (HEX 0xBFF63081) The database specified could not be opened. Solution: Check that the alias and/or the file exist and that it is a valid database.
  • Error -1074384764 occurred at XNET Create Session (Signal Input Single-point).vi:6590001¬†
Possible reason(s): 
NI-XNET:  (Hex 0xBFF63084) The signal was not found in the database. Solution: Make sure you only initialize signals in a session that are defined in the database.

Solution

This error message is displayed because your database has not been deployed to the RT target. Thus, when the VI tries to access the database, there isn't one to reference.

To deploy your database to the RT target follow the steps outlined here.

You can also explicitly deploy the database at run time using one of these two methods:
  • Using XNET I/O Names:
If you are using I/O names for database objects, you can click on an I/O name and select Manage Database Deployment. This opens a dialog that you can use to assign new aliases and deploy them to the RT target.
  • Using the File Management Subpalette VIs:
To manage database deployment from a VI running on the host (Windows computer), use VIs in the NI-XNET File Management palette. (see the image below) This palette includes VIs to add an alias and deploy the database to the RT target.

To delete the database file from the RT target after execution of a test, you can un-deploy the database by using either option described above.

Additional Information

When you create an NI-XNET application for LabVIEW RT, you must assign an alias to your database file. During deployment to the RT target, the text database file is compressed to an optimized binary format, and that binary file is transferred to the target.

When you create NI-XNET sessions using a LabVIEW project, you assign the alias within the session dialog (for example, Browse for Database File). After dragging the session to a VI under the RT target and running that VI, NI-XNET automatically deploys the database file to the target.

WAS THIS ARTICLE HELPFUL?

Not Helpful