Search code examples
pythongpib

Python GPIB commands


I have a working GPIB interface and Linux-GPIB package installed and working.

I only know two commands at the moment, x.write and x.find. I don't know much about Python, but I recognize the dot operator and realize that after importing gpib, I should get some functions at my disposal.

I have not been able to locate the list of GPIB functions.


Solution

  • They are in the gpib library. You reference them like so: gpib.foo().

    Add this line into your code:

    help(gpib)
    

    And browse through the functions/classes.