Skip to content

Commit

Permalink
reverted readArray type in ReadRaw metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
WayneDroid committed Jul 4, 2024
1 parent 6780644 commit 7f2abe8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion generated/nidaqmx/_grpc_interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2679,7 +2679,7 @@ def read_power_scalar_f64(self, task, timeout):
return response.voltage, response.current

def read_raw(self, task, num_samps_per_chan, timeout, read_array):
_validate_array_dtype(read_array, numpy.uint8)
_validate_array_dtype(read_array, numpy.generic)
response = self._invoke(
self._client.ReadRaw,
grpc_types.ReadRawRequest(
Expand Down
6 changes: 3 additions & 3 deletions src/codegen/metadata/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -19762,15 +19762,15 @@
'type': 'float64'
},
{
'ctypes_data_type': 'numpy.uint8',
'ctypes_data_type': 'numpy.generic',
'direction': 'out',
'has_explicit_buffer_size': True,
'is_list': True,
'is_optional_in_python': False,
'name': 'readArray',
'python_data_type': 'int',
'python_data_type': 'dynamic',
'python_description': '',
'python_type_annotation': 'List[int]',
'python_type_annotation': 'List[dynamic]',
'size': {
'mechanism': 'passed-in',
'value': 'arraySizeInBytes'
Expand Down

0 comments on commit 7f2abe8

Please sign in to comment.