This commit is contained in:
@@ -164,7 +164,7 @@ class GalilRIODigitalOutSignal(GalilRIOSignal): # We reuse the logic implemente
|
||||
Signal for controlling digital outputs of the Galil RIO controller.
|
||||
"""
|
||||
|
||||
_NUM_DIGITAL_OUTPUT_CHANNELS = 10
|
||||
_NUM_DIGITAL_OUTPUT_CHANNELS = 8
|
||||
|
||||
def _socket_get(self) -> float:
|
||||
"""Get command for the readback signal"""
|
||||
@@ -245,8 +245,12 @@ class GalilRIO(PSIDeviceBase):
|
||||
### Analog input channels ###
|
||||
#############################
|
||||
|
||||
analog_in = DDC(_create_analog_channels(8)) # Creates an_ch0 to an_ch7
|
||||
digital_out = DDC(_create_digital_output_channels(10)) # Creates di_out0 to di_out9
|
||||
analog_in = DDC(
|
||||
_create_analog_channels(GalilRIOSignalRO._NUM_ANALOG_CHANNELS)
|
||||
) # Creates an_ch0 to an_ch7
|
||||
digital_out = DDC(
|
||||
_create_digital_output_channels(GalilRIODigitalOutSignal._NUM_DIGITAL_OUTPUT_CHANNELS)
|
||||
) # Creates di_out0 to di_out7
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user