Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 799 Bytes

File metadata and controls

29 lines (16 loc) · 799 Bytes

FiberOpticsDatabasePeakStreaming

Python program that utilizes fiber optics designed to measure changes in tension on oil platform walls.

Things to Customize in Database Peak Streaming

IP address of the Micro Optics machine

instrument_ip = '10.0.0.55'

Number of unique peak frequencies

num_of_peaks = 120 # Number of unique frequencies

Number of skipped data points for long term storage

lt_increment = 600 # Repeats (10 per second) | A minute

How often the loop breaks to write data

write_data = 3600 # Seconds | Every hour

Lifetime for short term storage

st_length = 604800 # Seconds | A week

How long the program keeps running

streaming_time = 2**30 # Seconds | As high as possible