forked from optospinlab/modularControl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmcDiamond.m
32 lines (20 loc) · 877 Bytes
/
mcDiamond.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
function mcDiamond
% Starts the neccessary features of the diamond microscope.
% Open some GUIs:
mcVideo();
% disp(' Opened the blue camera...')
input = mcUserInput(mcUserInput.diamondConfig());
% disp(' Opened mcUserInput mcAxes...')
input.openListener();
% disp(' Opened mcUserInput listeners...')
input.openWaypoints();
% disp(' Opening mcUserInput waypoints...') % This is needed to connect the trigger of the joystick to the mcWaypoints feature.
mcgDiamond();
% disp(' Opened mcgDiamond...')
% Additionally, open these instruments:
% mcaManual(mcaManual.polarizationConfig());
configCounter = mciDAQ.counterConfig(); configCounter.name = 'Counter'; configCounter.chn = 'ctr2';
mciDAQ(configCounter);
mciSpectrum();
% disp(' Opened additional mcInstruments...')
end