|
58 | 58 | # use the values specified in the h file |
59 | 59 | # float is always defined as 32 bits |
60 | 60 | # double is defined as 64 bits |
61 | | -from ctypes import byref, POINTER, create_string_buffer, c_float, c_int8,\ |
62 | | - c_double, c_int16, c_uint16, c_int32, c_uint32, c_int64, c_uint64,\ |
| 61 | +from ctypes import byref, POINTER, create_string_buffer, c_float, c_int8, \ |
| 62 | + c_double, c_int16, c_uint16, c_int32, c_uint32, c_int64, c_uint64, \ |
63 | 63 | c_void_p, CFUNCTYPE |
64 | 64 | from ctypes import c_int32 as c_enum |
65 | 65 |
|
@@ -130,7 +130,7 @@ class PS6000a(_PicoscopeBase): |
130 | 130 | CHANNELS = {"A": 0, "B": 1, "C": 2, "D": 3, |
131 | 131 | "External": 1000, "MaxChannels": 4, "TriggerAux": 1001} |
132 | 132 |
|
133 | | - CHANNEL_COUPLINGS = {"DC50": 2, "DC": 1, "AC": 0} |
| 133 | + CHANNEL_COUPLINGS = {"DC50": 50, "DC": 1, "AC": 0} |
134 | 134 |
|
135 | 135 | ACTIONS = { # PICO_ACTION they can be combined with bitwise OR. |
136 | 136 | 'clear_all': 0x00000001, # PICO_CLEAR_ALL |
|
0 commit comments