0
0
SCADA systemsdevops~10 mins

Signal conditioning and scaling in SCADA systems - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to convert the raw sensor voltage to a temperature value.

SCADA systems
temperature = raw_voltage [1] 100
Drag options to blanks, or click blank then click option'
A+
B-
C*
D/
Attempts:
3 left
💡 Hint
Common Mistakes
Using division instead of multiplication
Adding instead of multiplying
2fill in blank
medium

Complete the code to offset the sensor reading by the zero calibration value.

SCADA systems
corrected_value = raw_reading [1] zero_offset
Drag options to blanks, or click blank then click option'
A+
B-
C*
D/
Attempts:
3 left
💡 Hint
Common Mistakes
Adding the offset instead of subtracting
Multiplying by the offset
3fill in blank
hard

Fix the error in the scaling formula to convert ADC counts to voltage.

SCADA systems
voltage = adc_counts [1] (reference_voltage / max_adc_value)
Drag options to blanks, or click blank then click option'
A*
B-
C/
D+
Attempts:
3 left
💡 Hint
Common Mistakes
Using division instead of multiplication
Adding or subtracting instead of multiplying
4fill in blank
hard

Fill both blanks to create a dictionary that maps sensor names to scaled values greater than 2.5.

SCADA systems
scaled_sensors = {name: value[1]2 for name, value in sensors.items() if value [2] 2.5}
Drag options to blanks, or click blank then click option'
A**
B>
C<
D+
Attempts:
3 left
💡 Hint
Common Mistakes
Using addition instead of power
Using '<' instead of '>' in condition
5fill in blank
hard

Fill all three blanks to create a dictionary of sensor names in uppercase, their values, filtered by values greater than zero.

SCADA systems
result = { [1]: [2] for [3], v in sensor_data.items() if v > 0 }
Drag options to blanks, or click blank then click option'
Aname.upper()
Bv
Cname
Dvalue
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'value' instead of 'v' for values
Not converting names to uppercase