# feed roataion


initfps 0

ldfpspos(0)

mvfps610 0


target = '3C286'

load_source(target)

track_array(0)


# RF /IF/LO/GAB/OF


seturfsys(0,'725','725',0,0,0,0,0,0,0,0,0,0,0)

setif(0,4,12,4,12,32,32,1,1)

setilo(0,540,540)


setofatten(0,9,9)

set_gab(0,550000,550000,12,12,0,0,0,0,0,0,3,3,200,200,0,0)

set_gab_lo(0,550000,550000)


# corrconfig/init/create/associate/


corr_setup('BOTH','/opt/tangoworkspace/CentralNode/Configuration/CsvFiles/correlator/untitled.csv')

# Start the acq for GSB and GWB ... wait for initialisation .. then start collect for both GSB and GWB

init_corr('BOTH','/opt/tangoworkspace/CentralNode/Configuration/CsvFiles/correlator/untitled.csv')


# Change project code and antenna mask


create_proj('BOTH','TEST','3fffffff','obs','tit')

associate('0','TEST', 'BOTH','3fffffff','1')


target = '3C286'

load_source(target)

set_source('BOTH',0,target)

addpsource(target,'BOTH')

set_frequency('gsb',0,591,591,540,540,51,51,3)

set_frequency('gwb',0,550,550,550,550,0,0,3)


start_proj('both',0)

stop_proj('both',0)


halt_corr('both')