This package allows you to start the localhost SCPI server of Bode Automation Interface on a linux system.
In the following the steps required to run on Ubuntu x64 (testet on Ubuntu 22.04) are outlined:
_____________________________________________________________________________
1. Install "libusb" as precondition using the following command:

	sudo apt-get install libusb-1.0-0-dev
______________________________________________________________________________
2. Copy all OmicronLab Sources from the x64 folder to your <working directory>
   and make OmicronLab.VectorNetworkAnalysis.ScpiRunner executable

	cd <working directory>
	chmod 755 ./OmicronLab.VectorNetworkAnalysis.ScpiRunner

______________________________________________________________________________
3. Make sure that your Bode 100 is connected and start the SCPI Server as root
   with default parameters using

	sudo ./OmicronLab.VectorNetworkAnalysis.ScpiRunner


   You should receive a console output such as:

   Server is running

   IP: 192.168.0.21 	(your IP adress)
   Port: 5025
   SerialNr.: NE008F	(serial number of your Bode 100)

   Comment: Use the --help option to get a detailed parameter description

______________________________________________________________________________
4. To run the ScpiRunner without root rights in future execute the following steps

	# set the rights for files and folders (if they exist)
	sudo chmod 777 /usr/share/OmicronLab.GlobalSystemEventManager.EventHandler
	sudo chmod -R 777 '/usr/share/OMICRON_Lab'
	sudo rm -f /tmp/CoreFxPipe_OmicronLab.GlobalSystemEventManager_*

	# make the script "fix_libusb.sh" executable and run it as root
	sudo ./fix_libusb.sh

	# also add your user to the usb group.
	sudo usermod -a -G usb <yourusernamehere>

	# reboot the system

______________________________________________________________________________
5. Trouble shooting:
	
	# After the first connection with the SCPI runner on a given machine, the BODE device will perform an internal calibration which 
	takes a few minutes.
	Attempts to operate the device (e.g. executing a Python script) while the calibration is ongoing, will fail.
	The progress of the internal calibration can be monitored in the command window where the SCPI runner is being executed.


