Im measuring the current on a sourcemeter, 2400 smu using this python code…
- User
Im measuring the current on a sourcemeter, 2400 smu using this python code Iin_measurement = float(Iinput_SMU_equip.query(':MEAS:CURR?').split(',')[1]) ## measure Iin current but the current measurement is not stable. is there another code where it can take the average or something like that
- Assistant
Certainly! If the current measurement is not stable and you want to obtain a more reliable reading, you can take multiple measurements and calculate their average. Here's an example of how you might adjust your code to measure the current multiple times and compute the average:
- User
is there a build in average measurement code
- Assistant
The Keithley 2400 Sourcemeter Unit (SMU) itself does not have a direct built-in function to calculate the average of multiple measurements in a single command. However, you can use some built-in functionality to make measurements more stable, such as setting appropriate integration times or using the instrument's filtering capabilities, if available.
Here's a basic overview of how you might improve measurement stability using some built-in functionalities: