
NI-XNET Python Documentation — nixnet 0.3.1 documentation
Communicate over CAN or LIN via NI-XNET hardware with Python. Author: National Instruments >>>
NI-XNET Python API Documentation, Release 0.3.1 Info Communicate over CAN or LIN via NI-XNET hardware with Python. Author National Instruments >>>importnixnet >>>with nixnet.FrameInStreamSession('CAN1') as input_session: >>> input_session.intf.can_term=constants.CanTerm.ON >>> input_session.intf.baud_rate=125000 >>> frames=input_session.frames ...
Dynamic Database Creation — nixnet 0.3.1 documentation - Read …
Dynamic Database Creation¶. This example programmatically modifies the in-memory database to contain a cluster, a frame, and two signals. The database is then used in a nixnet.session.SignalOutSinglePointSession and nixnet.session.SignalInSinglePointSession to write and then read a pair of signals.
nixnet.session — nixnet 0.3.1 documentation - Read the Docs
For each physical interface, the NI-XNET hardware is divided into two logical units: Sessions: You can create one or more sessions, each of which contains frames or signals to be transmitted (or received) on the bus.
nixnet.constants — nixnet 0.3.1 documentation - Read the Docs
Refer to NI-XNET Hardware Overview to determine which CAN FD baud rates are supported. Low-Speed/Fault-Tolerant (LS): This configuration enables the Low-Speed/Fault-Tolerant transceiver.
Installation — nixnet 0.3.1 documentation - Read the Docs
Running nixnet requires NI-XNET or NI-XNET Runtime. Visit the ni.com/downloads to download the latest version of NI-XNET. nixnet can be installed with pip:
Examples — nixnet 0.3.1 documentation - Read the Docs
Examples¶. Table of Contents: Queued I/O Example. CAN Queued I/O; Stream I/O Example. CAN Stream I/O
Installation — nixnet 0.3.1 documentation
Running nixnet requires NI-XNET or NI-XNET Runtime. Visit the ni.com/downloads to download the latest version of NI-XNET. nixnet can be installed with pip:
nixnet.database.database — nixnet 0.3.1 documentation - Read …
For CANdb (.dbc), LDF (.ldf), or NI-CAN (.ncd) files, the file contains only one cluster, and no cluster name is stored in the file. For these database formats, NI-XNET uses the name Cluster for the single cluster.
NI-XNET Python Documentation — nixnet 0.3.1 documentation
Communicate over CAN or LIN via NI-XNET hardware with Python. Author: National Instruments >>>