-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
Description
Description of the bug
Arguments data type is mismatched in the following APIs:
Models affected: Keithley SMU 2450|2451|2460|2470 Source Measure Units.
API | PI | Comments |
---|---|---|
smu.commands.buffer.write.format() | buffer.write.format() | String argument mapped to integer. |
smu.commands.buffer.make() | buffer.make() | Return type is a table instead of a variable. |
Steps To Reproduce
-
Create a driver object named "smu" for any of the affected models.
-
Use the "smu" driver object to write and query the above-mentioned APIs.
Examples:smu.commands.buffer.write.format()
smu.commands.buffer.make()
-
Error: There is a mismatch in the data type of one of the arguments and return type is a table instead of a variable.
Environment Information
Operating System:
- Windows 10, 64-bit
Software Version:
- tm-devices : 0.1.24
Additional Information
Alternative way to make the API functional as expected:
buffervar1 = smu.write("buffer.make(200, buffer.STYLE_FULL)")
smu.write("buffer.write.format(extBuffer, buffer.UNIT_WATT, buffer.DIGITS_3_5)")