ni / nixnet-python

NI-XNET Python API
https://nixnet.readthedocs.io/en/latest/
MIT License
25 stars 22 forks source link

Expose new API features from NI-XNET 17.0, 17.5 and 18.0 #255

Open jashnani opened 6 years ago

jashnani commented 6 years ago

Add support for any new API elements introduced in NI-XNET 17.0, 17.5 and 18.0

d-bohls commented 6 years ago

I diffed nixnet.h 16.1 against 18.0 and came up with this list of new items:

errors: nxErrLowLevelCommunicationTimeout nxErrCdaqTransferAborted nxErrDatabaseImportVersion nxErrEventUnequalPayloadLength nxErrEventUnequalCheckSumType nxErrCrioBadDriverVersions nxErrCrioMissingSlotSupport nxErrIntfAlreadyInUseByNiXnet nxErrIntfAlreadyInUseByNiXcl nxErrByteArrayNotAllowed nxErrNoByteArrayMix nxErrOnlyOneByteArray

properties: nxPropSession_IntfLINChecksumToInStrm nxPropSession_J1939IncludeDestAddrInPGN

enum values: nxDevForm_PCIe nxSigDataType_ByteArray

methods: nxConvertFramesToByteArraySinglePoint nxConvertByteArrayToFramesSinglePoint

Edit: #263 addressed everything here but the methods.