**CLOSED** Question answered via internal rep. The answer is to use the gain code, first coulmn of the chart linked. For a mV250 setting on a CR1000X datalogger, the gain code is '0' which is the setting i'll be moving forward with.
Hello,
I'm trying to program a CS506 fuel moisture sensor and I'm having some difficulty understanding the gain setting in the 'PeriodAvg()' instruction. In the manual, the reccomended line to use reads as "PeriodAvg(PA_uS,1,mV250,1,0,0,100,10,1,0)" set to user's desired reps. When I try to compile the program in CRBasic using this line, it gives an error message saying that the "mV250" syntax for gain is wrong. I found a chart here:
https://help.campbellsci.com/crbasic/cr6/#Instructions/periodavg2.htm?TocPath=CR6%2520Instructions%257CMeasurements%257C_____28
that has gain codes based on the average signal received. If I wanted to set my gain to that default mV250, from the chart would I use the code "0" or gain "1" in place of mV250 in CRBasic? I'm very new to programming so please let me know if further explanation of the issue is needed. Thanks!