This code is able to be utilized for controling differential mobility analyzer (DMA) and condensation particle conuter (CPC) which is known as scaning mobility particle sizer (SMPS, a particle size distribution measurements in gas). This code works with GUI as desplayed in this figure.
- Download binary file
DMACPC.exe
from here or email to us (the address is at the bottom of this page) if you don't have an access. - Download NI-DAQ driver from here and install it (it just follow their instruction).
- Double click
DMACPC.exe
file - Set the device name and port to use. Default value is Dev1/ai0 for the reading from CPC and Dev1/ao1 for sending control signal to high voltage source. Device name is obtained from "NI Device Monitor" when the device is connected to your PC via usb cable.
...
- For Anaconda user (you can get Anaconda from here)
Most of labraries are installed for Anaconda user case but you only need to download NI-DAQ driver from this link. After the installation, you can run
HV.py
from any console like Powershell Prompt or JupyterLab. - For not Anaconda user
You need to install the modules if it isn't: Numpy, Tkinter, Matplotlib, and NI-DAQ driver, then you can run
HV.py
. Here, the explanation is brielf since "not Anaconda" user may know a lot how to install and use it.