Campbell Scientific CSAT3 CSAT3 3-D Sonic Anemometer - Page 42

diag, is assigned an Input Location. These Input Locations

Page 42 highlights

CSAT3 Three Dimensional Sonic Anemometer ;Configure CSAT3 with 10 Hz parameters. ; 12: SDM-CSAT3 (P107) 1: 1 Reps 2: 3 SDM Address 3: 10 Set Execution Parameter 4: 1 Ux Input Location [ Ux ] 13: End (P95) 14: End (P95) 15: End (P95) 16: End (P95) ;Each diagnostic flag, that is encoded in the diagnostic word ;(diag), is assigned an Input Location. These Input Locations ;serve as flags and take on values of one or zero. ; 17: Beginning of Subroutine (P85) 1: 2 Subroutine 2 ;Set the flags low (set each "flag's" input location = 0) before ;recording the number of samples, Not a Number (NaN), or diagnostic ;flags that were on. ; 18: Block Move (P54) 1: 7 No. of Values 2: 19 First Source Loc [ zero ] 3: 1 Source Step 4: 20 First Destination Loc [ smpls ] 5: 1 Destination Step 19: If Flag/Port (P91) 1: 19 Do if Flag 9 is High 2: 30 Then Do ;Set "NaN" flag. ; 20: Z=F (P30) 1: 1 2: 0 3: 21 F Exponent of 10 Z Loc [ NaN_csat ] 21: Else (P94) ;Set "sample used" flag. ; 22: Z=F (P30) 1: 1 F 2: 0 Exponent of 10 3: 20 Z Loc [ smpls ] 23: End (P95) 34

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72

CSAT3 Three Dimensional Sonic Anemometer
;Configure CSAT3 with 10 Hz parameters.
;
12:
SDM-CSAT3 (P107)
1:
1
Reps
2:
3
SDM Address
3:
10
Set Execution Parameter
4:
1
Ux Input Location [ Ux
]
13:
End (P95)
14:
End (P95)
15:
End (P95)
16:
End (P95)
;Each diagnostic flag, that is encoded in the diagnostic word
;(diag), is assigned an Input Location. These Input Locations
;serve as flags and take on values of one or zero.
;
17:
Beginning of Subroutine (P85)
1:
2
Subroutine 2
;Set the flags low (set each "flag's" input location = 0) before
;recording the number of samples, Not a Number (NaN), or diagnostic
;flags that were on.
;
18:
Block Move (P54)
1:
7
No. of Values
2:
19
First Source Loc [ zero
]
3:
1
Source Step
4:
20
First Destination Loc [ smpls
]
5:
1
Destination Step
19:
If Flag/Port (P91)
1:
19
Do if Flag 9 is High
2:
30
Then Do
;Set "NaN" flag.
;
20:
Z=F (P30)
1:
1
F
2:
0
Exponent of 10
3:
21
Z Loc [ NaN_csat
]
21:
Else (P94)
;Set "sample used" flag.
;
22:
Z=F (P30)
1:
1
F
2:
0
Exponent of 10
3:
20
Z Loc [ smpls
]
23:
End (P95)
34