This this the program to control the cold atom experiments using national instruments NI-6535-B card
Write timesequence in time_sequence.xlsx file. Instrument name, time and status. xlsx file format:
Instrument | sec | mili | micro | status | Time_rep |
---|---|---|---|---|---|
AOM | 0 | 0 | 4 | ||
Run the python code |
The code is distributed in several files, which are interlinked to produce signal in the form of text file that we want to send to the C-executable.
- cards.py -: exctracts infrmation about card address from card_info.xlsx
- channnels.py -: handles individual channel and value of channel.
- instruments.py-: creates instrument objects from insturment information (instrument_info.csv)
- main.py -: generates the time line by reding excel file(xlsx file).
- Firstly programs reads the excel file
- Then it creates "Channel Object","Channel Type","Cumulitive time", "Instrument delay" columns and calculate the "Absolute time".
- Arranging in ascending order with repsect to absolute time.
- We group by "Absolute time".
For Time_rep read {How to generate multiple experiments using Time_rep?}