# Survey setup (with acquisition thresholds) 
#
# Format :
#
# @FUNCTION_STRING[INSTANCE1,INSTANCE2]
# tokenA: value1
# tokenB: value2
#
#
#-------------------------------------------------------------------------------

@surveyTask [0,1,2,3,4,5,6,7,8,9,10,11]

#List of required fields, comma separated
!priority

# ---------------- GENERIC SETUP -------------------

# Priority of the task, this
# will be used by the RT scheduler
priority: 2

# Synchronise with function that
# generates this type of data
# see structs.h messageType
dataConsume: IQ

# Task that produces my data
producerTask: readTask [0]

# I produce this type of data
dataProduce: SURVEY

# channels used for READ
chanRead: 0

# channels used for WRITE
chanWrite: 0

#Number of samples needed (integration time)
numSamples: 1

# --------------- ACQUISITION SETUP ------------------

# Acquisition threshold, compared 
# with IE^2 + QE^2 or IL^2 + QL^2,
# if these values are >= threshold,
# then a possible signal has been
# detected. Note that this is a 
# function of integration time
threshold: 972746

# if n of m samples are above the
# threshold, then we have acquired
# the signal
nSamples: 18
mSamples: 20

#-------------------------------------------------------------------------------

@surveyTask [0]
chanRead: 0
chanWrite: 0 

@surveyTask [1]
chanRead: 1
chanWrite: 1

@surveyTask [2]
chanRead: 2
chanWrite: 2

@surveyTask [3]
chanRead: 3
chanWrite: 3

@surveyTask [4]
chanRead: 4
chanWrite: 4

@surveyTask [5]
chanRead: 5
chanWrite: 5

@surveyTask [6]
chanRead: 6
chanWrite: 6

@surveyTask [7]
chanRead: 7
chanWrite: 7

@surveyTask [8]
chanRead: 8
chanWrite: 8

@surveyTask [9]
chanRead: 9
chanWrite: 9

@surveyTask [10]
chanRead: 10
chanWrite: 10

@surveyTask [11]
chanRead: 11
chanWrite: 11
