User Tools

Site Tools


ch10_13_handbook:python_code_using_dll

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ch10_13_handbook:python_code_using_dll [2014/08/12 11:31] pferrillch10_13_handbook:python_code_using_dll [2014/08/12 15:56] (current) mcferrill
Line 43: Line 43:
 # IRIG 106 constants # IRIG 106 constants
 # --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
- 
  
 class FileMode(): class FileMode():
Line 59: Line 58:
  
     # List of tuples of format (var, label, value).     # List of tuples of format (var, label, value).
-    types = [('UART_FMT_0', 'UART', 0x50), +    types = [('USER_DEFINED', 'User Defined', 0), 
-             ('USER_DEFINED', 'User Defined', 0x00), +             ('COMPUTER_0', None, 0), 
-             ('PCM_FMT_0', 'PCM Format 0', 0x08), +             ('COMPUTER_1', None, 1), 
-             ('PCM_FMT_1', 'PCM Format 1', 0x09), +             ('TMATS', 'TMATS', 1), 
-             ('COMPUTER_2', None, 0x02), +             ('COMPUTER_2', None, 2), 
-             ('COMPUTER_3', None0x03), +             ('RECORDING_EVENT', 'Event', 2), 
-             ('COMPUTER_4', 'Computer Generated 4', 0x04), +             ('COMPUTER_3', None, 3), 
-             ('COMPUTER_5', 'Computer Generated 5', 0x05), +             ('RECORDING_INDEX', 'Index'3), 
-             ('COMPUTER_6', 'Computer Generated 6', 0x06), +             ('COMPUTER_4', 'Computer Generated 4', 4), 
-             ('COMPUTER_7', 'Computer Generated 7', 0x07), +             ('COMPUTER_5', 'Computer Generated 5', 5), 
-             ('VIDEO_FMT_2', 'Video Format 2', 0x42), +             ('COMPUTER_6', 'Computer Generated 6', 6), 
-             ('VIDEO_FMT_1', 'Video Format 1', 0x41), +             ('COMPUTER_7', 'Computer Generated 7', 7), 
-             ('VIDEO_FMT_0', 'Video Format 0', 0x40), +             ('PCM_FMT_0', 'PCM Format 0', 8), 
-             ('IRIG_TIME', 'Time', 0x11), +             ('PCM_FMT_1', 'PCM Format 1', 9), 
-             ('DISCRETE', 'Discrete', 0x29), +             ('IRIG_TIME', 'Time', 17), 
-             ('ANALOG', 'Analog', 0x21), +             ('MIL1553_FMT_1', '1553', 25), 
-             ('RECORDING_INDEX', 'Index', 0x03), +             ('MIL1553_FMT_2', '16PP194', 26), 
-             ('IMAGE_FMT_1', 'Image Format 1', 0x49), +             ('ANALOG', 'Analog', 33), 
-             ('IMAGE_FMT_0', 'Image Format 0', 0x48), +             ('DISCRETE', 'Discrete', 41), 
-             ('PARALLEL_FMT_0', 'Parallel', 0x60), +             ('MESSAGE', 'Message', 48), 
-             ('RECORDING_EVENT', 'Event', 0x02), +             ('ARINC_429_FMT_0', 'ARINC 429', 56), 
-             ('ARINC_429_FMT_0', 'ARINC 429', 0x38), +             ('VIDEO_FMT_0', 'Video Format 0', 64), 
-             ('ETHERNET_FMT_0', 'Ethernet', 0x68), +             ('VIDEO_FMT_1', 'Video Format 1', 65), 
-             ('COMPUTER_0', None0x00), +             ('VIDEO_FMT_2', 'Video Format 2', 66), 
-             ('COMPUTER_1', None0x01), +             ('IMAGE_FMT_0', 'Image Format 0', 72), 
-             ('TMATS', 'TMATS', 0x01), +             ('IMAGE_FMT_1', 'Image Format 1', 73), 
-             ('MIL1553_FMT_1', '1553', 0x19), +             ('UART_FMT_0', 'UART'80), 
-             ('MIL1553_FMT_2', '16PP194', 0x1A), +             ('IEEE1394_FMT_0', 'IEEE 1394 Format 0'88), 
-             ('IEEE1394_FMT_0', 'IEEE 1394 Format 0', 0x58), +             ('IEEE1394_FMT_1', 'IEEE 1394 Format 1', 89), 
-             ('IEEE1394_FMT_1', 'IEEE 1394 Format 1', 0x59), +             ('PARALLEL_FMT_0', 'Parallel', 96), 
-             ('MESSAGE', 'Message', 0x30)]+             ('ETHERNET_FMT_0', 'Ethernet', 104), 
 +             ('TSPI_CTS_FMT_0', 'GPS NMEA-RTCM', 112), 
 +             ('TSPI_CTS_FMT_1', 'EAG ACMI', 113), 
 +             ('TSPI_CTS_FMT_2', 'ACTTS', 114), 
 +             ('CAN_BUS', 'CAN Bus', 120)]
  
     @classmethod     @classmethod
ch10_13_handbook/python_code_using_dll.1407861107.txt.gz · Last modified: 2014/08/12 11:31 by pferrill

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki