% rtdx_sliders - initializes RTDX port and sets up three sliders

h = actxserver('RTDX');

% open a blank figure for the slider 
Fig = figure(1); 
% open sliders 
% first slider 
sld1 = uicontrol(Fig,'units','normal','pos',[.2,.7,.5,.05],... 
      'style','slider','value',4,'max',254,'min',0,'callback','rtdx_wrt_sliders'); 

% second slider 
sld2 = uicontrol(Fig,'units','normal','pos',[.2,.5,.5,.05],... 
  'style','slider','value',4,'max',254,'min',0,'callback','rtdx_wrt_sliders'); 

% third slider 
sld3 = uicontrol(Fig,'units','normal','pos',[.2,.3,.5,.05],... 
     'style','slider','value',4,'max',254,'min',0,'callback','rtdx_wrt_sliders');      