Skip to content
New issue

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

[BUG]: Impossible to launch twice a test on Keithley 2450 SMU #129

Open
lucasgrjn opened this issue Jan 18, 2024 · 4 comments
Open

[BUG]: Impossible to launch twice a test on Keithley 2450 SMU #129

lucasgrjn opened this issue Jan 18, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@lucasgrjn
Copy link

Description of the bug

I am not able to launch more than one time a script with my Keithley2450 connected through LAN.

Steps To Reproduce

  1. Launch any examples scripts (for example: the solar cell one)
  2. It works
  3. Try again with the same scripts
  4. I get the following message everytime
 in __clear_visa_output_buffer_and_get_idn
    raise SystemError(error_msg)
      visa_resource = <'TCPIPInstrument'('TCPIP0::192.168.XXX.YYY::inst0::INSTR')>
      idn_response = ''
      error_msg = "VI_ERROR_ABORT (-1073807312): User abort occurred during transfer.\n\tUnable to read data after 2s.\n\t\n\tPlease reboot or read/clear the VISA output buffer on your device and try again."
      old_timeout = 2000
builtins.SystemError: VI_ERROR_ABORT (-1073807312): User abort occurred during transfer.
        Unable to read data after 2s.
        Please reboot or read/clear the VISA output buffer on your device and try again.

Environment Information

  • Keithley 2450 connected through LAN

Additional Information

No response

@lucasgrjn
Copy link
Author

@nfelt14 A way to avoid the problem was to add a visa_resource.write("*CLS?") between the two following lines to enforce the clearing.

visa_resource.clear()
visa_resource.write("*IDN?")

@u625355
Copy link
Contributor

u625355 commented Jan 19, 2024

@lucasgrjn,If you have access to other series SMU, can you let us know whether this issue is observed on other series SMU as well?
This issue seems to be independent of the device being connected, will soon look into this and find a possible fix.

@nfelt14 nfelt14 changed the title [BUG]: Impossible to launch twice a test [BUG]: Impossible to launch twice a test on Keithley 2450 SMU Jan 23, 2024
@ArunKrGupta
Copy link

ArunKrGupta commented Jan 28, 2024

When system log massages gets full in the log table, it throws this kind of Visa communication Error. Either clear log messages manually if you have SMU device: MENU ->System ->System Events-> Clear Log.
If you are running any tsp scripts use visa_resource.status.clear() to clear the event log table. I am doing smu.commands.status.clear() to clear event log table.

@u625355
Copy link
Contributor

u625355 commented Feb 8, 2024

@lucasgrjn, let us know whether clearing log messages manually is allowing the user to launch twice a test on the SMU 2450.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants