Commit de65044
* Reverse Indices for Digital Waveform Signals (#222)
* add _raw_index
* line_index and line_names
* more tests
* fix new test
* data_index and documentation
* fix doc types
* documentation improvements
* documentation improvements
* documentation improvements
* clean up NI_LineNames in tests
* remove DigitalWaveformFailure.data_index
* test___signal_with_line_names___change_line_names_property___signal_returns_new_line_name and _DigitalWaveformExtendedProperties
* signal_column_index
* line lengths
* italics for 'See "Signal index vs. signal column index"' notes
* add bitorder to from_port, and default to the industry standard 'big'
* rename to column_index
* bitorder != sys.byteorder
* add on_key_changed to ExtendedPropertyDictionary
* change tests to big-endian
* make on_key_changed private
* cleanup
* from typing_extensions import TypeAlias, to fix python 3.9
* fix pickling and copying issues with callbacks
* change on_key_changed to a list of weak methods, so ExtendedPropertyDictionaries can be shared by waveforms
---------
Co-authored-by: Mike Prosser <[email protected]>
* Fix unpickling issues with Waveform and Signal (#237)
* add versioned unpickling tests for waveform and signal, and fix issues causing the new tests to fail
* skip unpickle tests in oldest_deps test run
---------
Co-authored-by: Mike Prosser <[email protected]>
---------
Co-authored-by: Mike Prosser <[email protected]>
1 parent e06aec0 commit de65044
File tree
7 files changed
+731
-155
lines changed- src/nitypes/waveform
- _digital
- tests/unit/waveform
7 files changed
+731
-155
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
79 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
83 | 93 | | |
84 | 94 | | |
85 | 95 | | |
86 | 96 | | |
87 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
88 | 103 | | |
89 | 104 | | |
90 | 105 | | |
| |||
97 | 112 | | |
98 | 113 | | |
99 | 114 | | |
100 | | - | |
101 | | - | |
| 115 | + | |
| 116 | + | |
102 | 117 | | |
103 | 118 | | |
104 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
105 | 125 | | |
106 | 126 | | |
107 | 127 | | |
108 | 128 | | |
109 | 129 | | |
110 | | - | |
| 130 | + | |
111 | 131 | | |
112 | 132 | | |
113 | | - | |
114 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
115 | 137 | | |
116 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
117 | 145 | | |
118 | | - | |
| 146 | + | |
119 | 147 | | |
120 | | - | |
| 148 | + | |
121 | 149 | | |
122 | | - | |
| 150 | + | |
123 | 151 | | |
124 | 152 | | |
125 | 153 | | |
| |||
128 | 156 | | |
129 | 157 | | |
130 | 158 | | |
131 | | - | |
132 | | - | |
| 159 | + | |
| 160 | + | |
133 | 161 | | |
134 | 162 | | |
135 | | - | |
136 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
137 | 168 | | |
138 | | - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
32 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
33 | 43 | | |
34 | 44 | | |
| 45 | + | |
35 | 46 | | |
36 | 47 | | |
37 | 48 | | |
| |||
40 | 51 | | |
41 | 52 | | |
42 | 53 | | |
43 | | - | |
| 54 | + | |
44 | 55 | | |
45 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
46 | 71 | | |
47 | 72 | | |
48 | 73 | | |
49 | | - | |
| 74 | + | |
50 | 75 | | |
51 | 76 | | |
52 | 77 | | |
53 | 78 | | |
54 | | - | |
| 79 | + | |
55 | 80 | | |
56 | 81 | | |
57 | 82 | | |
58 | | - | |
| 83 | + | |
59 | 84 | | |
60 | 85 | | |
61 | 86 | | |
| |||
66 | 91 | | |
67 | 92 | | |
68 | 93 | | |
69 | | - | |
| 94 | + | |
70 | 95 | | |
71 | 96 | | |
72 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
58 | 61 | | |
59 | | - | |
60 | | - | |
| 62 | + | |
| 63 | + | |
61 | 64 | | |
62 | | - | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
| 68 | + | |
65 | 69 | | |
66 | | - | |
| 70 | + | |
67 | 71 | | |
68 | 72 | | |
69 | 73 | | |
0 commit comments