-
Notifications
You must be signed in to change notification settings - Fork 0
Quick_Start
After successful configuration of VISA backend and ENHAMER installation described in previous section Installation Guide you can run a basic script to test your configuration.
Launch Spyder IDE. For easier use I'd recommend working with ENHAMER scripts organised as a Project.
- Open Project menu from Menu bar -> New Project
- Select Location as an Existing directory for the path where ENHAMER repo was previously cloned (downloaded) i.e. H:\X_SW\ENHAMER_REL_PBL
In Project View (left side panel) navigate to Instrumentation -> TestQuickStart sub-folder
- Open file:
TestInstrument.py
- Change VISA_ADDRESS to the one copied previously from Keysight Connection Expert i.e. USB0::0x2A8D::0x0396::CN59047589::0::INSTR
-
Open TestQuickStart_Main.py file from ExpRoutines -> TestQuickStart sub-folder.
-
Run the script; ideally section by section use: Shift+Return shortcut or Run current cell and move to the next one icon from menu bar.
If this goes smoothly with no errors, you should see the console output similar to shown below.
Note, the identity of your device should be a name, make and model of your instrument and this should be identical to the value you received previously from Keysight Interactive IO.
Path defined in 'save_path' is used to store logs and (with experiment routine) experiment results. Feel free to place any available to user location here.
- Create sub-folder logs within the 'save_path' path if you get an error from logger: No such file or directory