PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Using PXI-8512-2 to monitor a bus and place data into arrays

I am new to CAN Bus.

I understand the CAN database editor but may not fully understand how to use it.

Is there a guide anywhere (I could not find one).

 

I need to monitor a bus with repeating / cyclic messages, about 200 of them.

The only commands I see in the API would require me to list the signals (message words) one by one - if not, please enlighten me.

 

There are two bus configurations (either/or):

* Every "signal" is defined individually so they all need to be listed

* They all use the same "signal" of 4 bytes each. The bytes 0-1 define where the data belongs and bytes 2-3 are the data.

 

It seems to me that with the first method it should be easy to allocate what data goes where.

The second method simplifies the database but it means that every signal needs to be analyzed in real time because the next signal coming, using the same ID, will overwrite it.

 

Any recommendations?

Thanks in advance for your help.

0 Kudos
Message 1 of 2
(97 Views)

Refer to the following links:

Controller Area Network (CAN) Protocol Overview

NI-XNET CAN, LIN, and FlexRay Platform Overview

Editing Databases Using the NI-XNET Database Editor

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
0 Kudos
Message 2 of 2
(81 Views)