Presentation is loading. Please wait.

Presentation is loading. Please wait.

Data Acquisition Software Status Yang tao, Lu Xiaoxu

Similar presentations


Presentation on theme: "Data Acquisition Software Status Yang tao, Lu Xiaoxu"— Presentation transcript:

1 Data Acquisition Software Status Yang tao, Lu Xiaoxu

2 DAQ-UI :folder :code file python emulate_device.py
Sends fake data to the C++ DAQ module. fakedata.py Function:create fake map qtthreadutils.py Define InvokeEvent runcontrol.py UI thread runcontrol.ui UI interface create/modify by QTdesigner swig daq2.cpp daq2.h daq2.i setup.py Configuration file for SWIG daq2.py daq2_private.h daq2_wrap.cxx daq2_wrap.h build msvc :folder :code file for xiaoxu Create when pack daq.cpp by SWIG

3 Program flowchart: emulate_device.py Send fake data daq2.cpp daq2.i
daq2.h fakedata.py swig Invoke Runcontrol.py Runcontrol.ui

4 Run emulate_device.py Outcome: open pipe
Confirm: the data has been sent to DAQ module Then run Runcontrol.py to launch UI

5 About Runcontrol.ui and Runcontrol.py
Modify Runcontrol.ui by Qtdesigner : Qtdesigner Run Runcontrol.py: All of button/texte_ditor are just vacant shell in .ui ,compare them in .py

6 Declare in Runcontrol.py
Invoke function of daq2.cpp in python DataTaker::~DataTaker() DataTaker::stop_run() { DataTaker::get_state() DataTaker::get_event_number() DataTaker::get_run_number() DataTaker::get_bytes_read() DataTaker::getRecentEvent() ……...... About how to pack .cpp by SWIG in WIN10: Have updated Onenote and also in README.md

7 Function: Run control: Display: Not implemented:
start DataTaker::start_run() stop DataTaker::stop_run() DataTaker::stop_run_and_join() Display: event number DataTaker::getRecentEvent() run number DataTaker::get_run_number() state DataTaker::get_state() log sent in funcs as DAQ_INFO diagram in UI thread Not implemented: config


Download ppt "Data Acquisition Software Status Yang tao, Lu Xiaoxu"

Similar presentations


Ads by Google