Mercurial > hg > ltpda
comparison m-toolbox/m/gui/ltpdv/callbacks/ltpdv_server_queryServer.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0afece42f48 |
---|---|
1 function ltpdv_server_queryServer(varargin) | |
2 | |
3 % Handles | |
4 myh = varargin{1}; | |
5 mainfig = varargin{end}; | |
6 | |
7 [latest, chans] = ltpdv_server_get_latest_chans(mainfig); | |
8 | |
9 % Set start and stop times | |
10 sh = findobj(mainfig, 'Tag', 'LTPDVserverStartEdit'); | |
11 set(sh, 'String', GPS2UTC(latest)); | |
12 sh = findobj(mainfig, 'Tag', 'LTPDVserverStopEdit'); | |
13 set(sh, 'String', GPS2UTC(latest)); | |
14 ltpdv_server_set_duration(mainfig, latest, latest) | |
15 | |
16 % Set channel list | |
17 ltpdv_server_set_channel_list(mainfig, chans); | |
18 |