Skip to content

[BUG]: Argument mismatch in the following APIs for SMUs #103

@u625355

Description

@u625355

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

  1. Create a driver object named "smu" for any of the affected models.

  2. Use the "smu" driver object to write and query the above-mentioned APIs.
    Examples:

           smu.commands.buffer.write.format() 
    
           smu.commands.buffer.make()
    
  3. Error: There is a mismatch in the data type of one of the arguments and return type is a table instead of a variable.

image

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)")

Metadata

Metadata

Assignees

Labels

TSPTest Script ProcessingbugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions