I have already installed VISA library.
The Python script, as reported below, runs with no problem.
--------------------------------------------------------------
>>> import visa
>>> rm = visa.ResourceManager() # create a ResourceManager object
>>> print(rm.list_resources()) # list the available resources
('USB0::0x0699::0x0368::C012494::INSTR', 'ASRL10::INSTR', 'ASRL33::INSTR', 'USB::0x0699::0x0368::C012494::INSTR')
>>> my_inst = rm.open_resource('USB0::0x0699::0x0368::C012494::INSTR')
>>> print(my_inst.query("*IDN?"))
TEKTRONIX,TBS 1102B,C012494,CF:91.1CT FV:v4.0
----------------------------------------------------------------
I installed also the FP-VISA package for Lazarus.
Can anyone translate the Python script into Lazarus?
Thank you