Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Issue when updating NI-9862 firmware

Solved!
Go to solution

There are two ways to ignore the application protocol set in the database file. 

 

The first is to select the "Ignore Application Protocol" check box when importing a database file and creating an alias. The process is detailed on page 4-56 in the XNET manual under the section titled "Compatibilitiy".

 

The second way involves a property node for a cluster:

Ignore J1939.PNG

It is important to note that once a session is created, the application protocol property cannot be modified.

Jeff L
National Instruments
0 Kudos
Message 21 of 25
(3,527 Views)

Almost there.  I create a session of select signals from the Alias then I combine these signals into an array with a set of other signals as defined in a text file.  This combined array of signals is the input into a Signal In Single-point xNET Create Session vi. Setting the Application Protocol to None in the original cluster does not carry through to the final session being created.  Is there a way to change the Appllication Protocol in my final array of signals before the session is created?

 

Thanks

 

Steve

0 Kudos
Message 22 of 25
(3,522 Views)

The property node approach is meant for databases that are created in memory. I haven't personally tested it mixed with signals imported from a physical  database.

 

The best approach for your situation would be to open the XNET database editior and chose File >> Manage Aliases.

Once the Manage NI-XNET Databases window shows up remove the existing alias for your database. Add a new alias using the same *.dbc file and make sure the "Ignore Application Protocol" option is checked. This will allow your code to work just like it did before without any modifications to your code base.

Jeff L
National Instruments
0 Kudos
Message 23 of 25
(3,513 Views)
Solution
Accepted by topic author VPEA

Hello Steve,

 

Below is a screenshot detailing one method of changing the application protocol before starting the XNET Session. Based on your last post, I believe you are creating the XNET session using an array of signals. As such, you can determine what frame\cluster contains this singnal and then change the application protocol of the entire cluster before starting the session.

 

Ex.png

 

Keep in mind that I did not test this method using signals imported from an external database.

 

Best Regards,

j_bou

Message 24 of 25
(3,506 Views)

This definately works!  I now have other problems cropping up in other parts of my code that may need to be resolved in a similar manner.

 

Thank you to all who helped me resovle this issue.

 

Steve

0 Kudos
Message 25 of 25
(3,483 Views)