LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XNET filtered read

 I need help using the CAN XNET library that comes with the CAN interface on a PXI system.  Specifically, I am looking for how to do a filtered Read using the frame-based system.  On the old NI-CAN library, you could use ncConfigCANNet.vi to specify a mask and filter for the Arb ID you wanted to fetch (we use the 29-bit extended ID's).  I cannot seem to find an equivalent in the XNET library.  I tried using Frame with Streaming, which fetches everything, followed by a 32-bit logic filter, but this is awfully clumsy, and might miss incoming data at high bus loadings.  I do not want to use signals because the Arb ID's we are using are not precisely defined in the data base.  Is there any way to do this?  Thanks in advance for any help you can provide.

 

Rick

 

0 Kudos
Message 1 of 2
(2,973 Views)

Hello Rick,

 

Welcome to the NI Discussion Forums! It seems that the hardware filtering you were using with CAN is not available in the same way with XNET. According to Migrating NI-CAN Applications to NI-XNET.

 

You would want to create CAN Objects because they specify an arbitration ID and you can specify which object you want to read from. You would create this object in the CAN database. 

 

Regards,
Daniel REDS
RF Systems Engineer

Help us grow.
If a post solves your question, mark it as The Solution.
If a post helps, give Kudos to it.
0 Kudos
Message 2 of 2
(2,935 Views)