We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The current signature:
def add_ai_rosette_strain_gage_chan( self, physical_channel, rosette_type, gage_orientation, rosette_meas_types, name_to_assign_to_channel="", min_val=-0.001, max_val=0.001, strain_config=StrainGageBridgeType.QUARTER_BRIDGE_I, voltage_excit_source=ExcitationSource.INTERNAL, voltage_excit_val=2.5, gage_factor=2.0, nominal_gage_resistance=350.0, poisson_ratio=0.3, lead_wire_resistance=0.0):
The docstring says:
rosette_meas_types (List[int]): Specifies information about the rosette configuration and measurements.
The code matches the docstring and converts the measurement types to an int array:
rosette_meas_types = numpy.int32(rosette_meas_types)
The actual type should be List[nidaqmx.constants.StrainGageRosetteMeasurementType]
List[nidaqmx.constants.StrainGageRosetteMeasurementType]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The current signature:
The docstring says:
The code matches the docstring and converts the measurement types to an int array:
The actual type should be
List[nidaqmx.constants.StrainGageRosetteMeasurementType]
The text was updated successfully, but these errors were encountered: