03-04-2013 11:23 PM
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
03-08-2013
08:53 AM
- last edited on
09-29-2025
09:20 AM
by
Content Cleaner
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.