Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

+filter +ID +CAN +XNET

In the XNET Bus Monitor there is an option to "Filter-ID's". How is it working in the code? Is there any setting for the session to get only specific frames, or the bus monitor gets all the frames and ignores those which are not in the list?

 

A second question, is the source code for the XNET Bus Monitor available?

 

Madottati

0 Kudos
Message 1 of 5
(6,191 Views)

Hi Madottati,

 

 

As I understand it, the XNET Bus Monitor, gets everything on the Bus and sets the values

The Bus monitor is only available in compiled form. No source code is available. If you are using LabVIEW, there are several XNET sessions examples.

 

Marc

0 Kudos
Message 2 of 5
(6,139 Views)

a way to filter IDs is to use XNET Frame Sessions. Those would just show the list of frames you have specified in your CreateSession. There is a detailed description in the XNET Manual on the Session Modes.

0 Kudos
Message 3 of 5
(6,137 Views)

Thank you guys for your replies.

 

The problem is with the frame input single point session, that reading the frames at any time can return no payload - it depends on when you call the Read VI. I made a workaround with a frame input stream session using :subordinate: and I filter my IDs programmatically.

 

Madottati

0 Kudos
Message 4 of 5
(6,134 Views)

in Frame Input Queued Mode you can create a Session per frame / ID and get the complete history

0 Kudos
Message 5 of 5
(6,131 Views)