source: MML/trunk/machine/SOLEIL/StorageRing/bpm/reset_bpm_timephase.m @ 4

Last change on this file since 4 was 4, checked in by zhangj, 10 years ago

Initial import--MML version from SOLEIL@2013

File size: 415 bytes
Line 
1function reset_bpm_timephase
2% reset_bpm_time_phase - Reset bpm time phse to 0
3%
4% See Also set_bpm_timephase, plot_bpm_timephase
5
6% Modified by Laurent S. Nadolski, December 2010
7
8% Ecriture
9GroupId = getfamilydata('BPMx', 'GroupId');
10
11tango_group_write_attribute2(GroupId, 'TimePhase', int32(0));
12pause(1);
13tango_group_command_inout2(GroupId, 'SetTimeOnNextTrigger');
14pause(0.5);
15
16disp('Time phase set to 0')
17
18
19
20
Note: See TracBrowser for help on using the repository browser.