Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

XNET Create Session Error :: 1074384883

I seem to be having trouble creating a Input Signal Waveform XNET session and haven't been able to troubleshoot after a day searching for additional information and trouble shooting without any luck. First details, then a short description of attempts:

 

Hardware:

I am using a NI-9181 cDaq (Ethernet) chassis with a NI-9860 C-series card with a CAN transiever cable attached to port 1. This makes my XNET interface CAN1. I doubled checked this through NI-MAX

 

Setup:

I used a .dbc file to import the database into XNET and then use the db's alias in the Create Session (Generic) VI.

 

Implementation:

The XNET Interface I/O type and array of XNET Signal I/O types are selected through some user dialogs. They are then passed into the XNET Create Session VI. However, I haven't been able to make this work after many attempts with various settings, inputs and implementations. Orignally, it was these two wires directly into the XNET Create Session (Signal In Waveform) VI. That consistently failed to output a valid session without error. The error was always 1074384883. The database where the signals came from was generated from a .dbc file and only has a single cluster and a single frame with 3 signals. It doesn't matter if I send 1 signal to the Create Session VI or multiple signals, it returns the same error. I have tried a couple different polymorphic instances of the Create Session VI and it still returns the same error every time.

 

Here's some more information about the different attemps that I have made and their results:

NI-MAX Bus Monitor - This works just fine, I can recieve data on CAN1 so I can rule out the physical layer and transfer from cDAQ chassis back to the PC.

Use a single input Signal instead of multiple. Since the error claims that a frame is being opened twice, I input a single Signal instead of an array.- [1074384883 error]

Rebooting - [1074384883 error]

Move from Create Session (Signal In Waveform) to Create Session (Signal In Single Point). Ensured that the correct arguments were being sent to the XNET library. - [1074384883 error]

Move from Create Session (Signal In Waveform) to Create Session (Generic). Ensured that the correct arguments were being sent to the XNET library. - [1074384883 error]

Used sample inputs (CAN1;nixnet-example;CAN_Cluster;CANCyclicSignal3,CANCyclicSignal4) into Create Session (Generic). - [1074384883 error]

 

Hopefully, someone here can recognize a simple mistake that I have made thats causing such a headache currently.

 

Please let me know if there's any more information that would help diagnose this issue.

 

Michael

 

 

 

0 Kudos
Message 1 of 5
(4,108 Views)

Hi mylons,

 

That error most likely coincides with an instance of duplicate arbitration IDs in your database; I'd recommend checking your nodes in the XNET Database Editor to make sure you haven't assigned the same arb ID to two of them.

0 Kudos
Message 2 of 5
(4,078 Views)

Daniella,

 

Thanks for the reply, I'm going to answer this question on the other thread as somehow I managed to make a duplicate when I originally posted.

 

The database that I am using has a single cluster, single frame and single signal as follows:

 

TEST(Database)

->TEST(Cluster, CAN, 1MBaud)

->->TEST(Frame, ID=0x100, TransmitTime=0.01s, Type=Cyclic)

->->->TEST(Signal, START=0, Length=16, Type=IEEE Float)

 

Michael

0 Kudos
Message 3 of 5
(4,076 Views)

 

This response is in relation to a question on the (accidental) duplicate post:

 

Hi mylons,

 

That error most likely coincides with an instance of duplicate arbitration IDs in your database; I'd recommend checking your nodes in the XNET Database Editor to make sure you haven't assigned the same arb ID to two of them.

Daniella C.
Applications Engineer
National Instruments

 

 The database that I am using has a single cluster, single frame and single signal as follows:

 

TEST(Database)

->TEST(Cluster, CAN, 1MBaud)

->->TEST(Frame, ID=0x100, TransmitTime=0.01s, Type=Cyclic)

->->->TEST(Signal, START=0, Length=16, Type=IEEE Float)

 

This is part of the reason that I'm baffled by the error message that is saying the frame is being opened multiple times, but there's only a single frame in the database.

 

Michael

0 Kudos
Message 4 of 5
(4,075 Views)

Hi mylons,

 

It seems that the error might be coming from how you're creating your session. Would you be able to post a screenshot or snippet of the section of code where you're doing so? The easiest way to isolate this would be to try running one of the shipping CAN examples for LabVIEW and selecting your signal manually to see if the error persists.

0 Kudos
Message 5 of 5
(4,059 Views)