Current project goal is to facilitate particle identification by means of application of Machine Learning algorithms.
Device connectivity diagram.Tektronix MDO4034C oscilloscope can only save waveforms in manual mode. By manually pressing a button on the front panel or in the web interface. The goal of this project is to allow waveform acquisition upon the trigger event of the oscilloscope.
Desired logic can be implemented by means of controlling the oscilloscope by a host computer. Due to certain security issues, Windows operating systems are not favored by the JLab IT department. Therefore Brad installed Red Hat Enterprise Linux (RHEL) v8.5.
- Configure a linux-based PC with internal local area network (LAN). Two network cards are required to access the internet and intranet.
- Plug-in computer, oscillscope and the network attached storage (NAS) into the switch on the LAN.
- Install the National Instruments (NI) VISA software drivers. https://www.ni.com/en-us/support/downloads/drivers/download.ni-visa.html
- Install a Python IDE (e.g. Wing) for debugging capabilities.
- Establish a connection between the host computer and the scope by means of the PyVisa library.
- Set up SAMBA service on the NAS. Enable SMB1 protocol in the NAS settings (required by the scope).
- In the oscilloscope settings mount shared SAMBA NAS drive as letter I:
- MDO4034C Programming Manual is utilized to implement the desired logic. Script to be used is
test.py.
-
Login to the acquisition computer (in the NPS clean room) with your JLab credentials.
-
Make sure
gitpackage is installed on the computer. Ensure thepython --versioncommand outputs versionPython 3.XX.X. Otherwise install and use thepython3package. -
Check out the repository and run the code:
cd && git clone https://github.com/petrstepanov/tek
python ~/tek/test.py
By default, waveforms are saved into the I:/Data/Temp/ folder on the oscilloscope. Therefore it is important to ensure that the Network Attached Storage (NAS) is mounted on the scope as I: drive and Data/Temp/ folder exists on the NAS.
- A few useful examples was referred by a Tektronix developer Steve Guerrero. However examples are for different oscilloscope models and written in Python v.2 (not v.3).
- Repository contains a Wing IDE project file which can be used for development purposes.

