NEOVI Interface

Warning

This ICS NeoVI documentation is a work in progress. Feedback and revisions are most welcome!

Interface to Intrepid Control Systems neoVI API range of devices via python-ics wrapper on Windows.

Installation

This neovi interface requires the installation of the ICS neoVI DLL and python-ics package.

Configuration

An example can.ini file for windows 7:

[default]
interface = neovi
channel = 1

Bus

class can.interfaces.ics_neovi.NeoViBus(channel=None, can_filters=None, **config)[source]

Bases: can.bus.BusABC

The CAN Bus implemented for the python_ics interface https://github.com/intrepidcs/python_ics

Parameters:
  • channel (int) – The Channel id to create this bus with.
  • can_filters (list) – A list of dictionaries each containing a “can_id” and a “can_mask”.
  • use_system_timestamp

    Use system timestamp for can messages instead of the hardware time stamp

    >>> [{"can_id": 0x11, "can_mask": 0x21}]
    
static get_serial_number(device)[source]

Decode (if needed) and return the ICS device serial string

Parameters:device – ics device
Returns:ics device serial string
Return type:str
set_filters(can_filters=None)[source]

Apply filtering to all messages received by this Bus.

Calling without passing any filters will reset the applied filters.

Parameters:can_filters (list) –

A list of dictionaries each containing a “can_id” and a “can_mask”.

>>> [{"can_id": 0x11, "can_mask": 0x21}]

A filter matches, when <received_can_id> & can_mask == can_id & can_mask