====== WIND PROFILE CODE PROCEDURE ====== **After wave gauges calibration process:** ==== Turning on the equipment: ==== - Turn on the electrical boxes, Ethernet Switch, Amplifier & NI cDAQ-9184\\ - Turn on the DC power supply positioned on the instruments carriage and set to 5[V]\\ - Open [[https://tsail.cv.technion.ac.il:5006//Software/Parker Linear Stage/Lexium MDrive Software/VI Files/changeVMchangeA.vi|changeVMchangeA.vi]] located in //D:\Experiment\VIs\Wave Gauges Programs\SubVIs// \\ - Insert IP Address (//192.168.1.2// for larger linear stage) and remote port (//503//)\\ - run program\\ **These values are saved until the electrical boxes are turned off**\\ * To check if the DAQ Device is connected correctly:\\ open NI MAX => Devices and interfaces => Network Devices => cDAQ9184-1B560CB\\ right click on this cDAQ and select the "//self-test//"\\ - If completed successfully=> click on cards NI 9212, NI 9401, NI 9205 to enable them.\\ - If not successful=> right click on the cDAQ and click on "//reserve chassis//".\\ **__Finding and saving the safe position above the highest wave for the airflow sensors:__**\\ \\ - Turn on the wind blower at frequency 40 [Hz]. Open [[https://tsail.cv.technion.ac.il:5006//Software/Parker Linear Stage/Lexium MDrive Software/VI Files/ctrlSpeedBlower.vi|ctrlSpeedBlower.vi]] located in //D:\Experiment\VIs\Blower//, insert //40 [Hz]// and run the program\\ - Move the airflow sensors close to the water surface\\ - Open [[https://tsail.cv.technion.ac.il:5006//Software/Parker Linear Stage/Lexium MDrive Software/VI Files/WaterSensorScopeSimple.vi|WaterSensorScopeSimple.vi]] located in //D:\Experiment\VIs\Scope_Simple// \\ **This VI shows drop in voltage (~1.5-4[V]) when the sensor touches water**\\ - Move the linear stage so that the exposed tips of the water sensor are in the water.\\ The drop of voltage will be evident on the graph/ \\ **Make sure the Pitot tube and static pressure probe are not touching the water**\\ - Move the sensors up with a step of 3-4 [mm] and run the program for 30[sec]\\ - If there is a drop of voltage, repeat step e)\\ - If there is no drop of voltage, double check if you are in a safe position:\\ * run the program for 60 [sec] and if there is a drop of voltage, repeat step e)\\ * If there is no drop of voltage run the program for 120 [sec]\\ * If there is no drop of voltage proceed to next step, otherwise, repeat step e)\\ - Save this point as 0 by opening [[https://tsail.cv.technion.ac.il:5006//Software/Parker Linear Stage/Lexium MDrive Software/VI Files/LinearStageMaster.vi|LinearStageMaster.vi]] located in \\//D:\Experiment\VIs\Linear Stage// and insert IP Address (//192.168.1.2//) and port (//503//).\\ Write “//p 0//” in the command window and run program\\ **__Sanity check__** \\ - Write “pr p” in command window, run program.\\ - Check if the position equals 0 in data out\\ - Open [[https://tsail.cv.technion.ac.il:5006//Software/Parker Linear Stage/Lexium MDrive Software/VI Files/WindProfile.vi|WindProfile.vi]] located in //D:\Experiment\VIs\Wind Profile Program// \\ Insert the following inputs: - Wind blower frequency:(e.g. 40, 32, 25, 18 [Hz])\\ - Seeking for zero water level:\\ * Sampling rate (e.g. 120 [Hz])\\ * Measurement time (e.g. 60 [s])\\ * Zero seek step (e.g. 3 [mm])\\ - Airflow sensors settings:\\ * Sampling rate (e.g. 1600 [Hz])\\ * Measurement time (e.g. 60 [s])\\ - Linear stage settings:\\ * remote port //503//.\\ * IP Address //192.168.1.2// \\ - Z coordinates (relative to 0[mm])\\ - Fetch (location of airflow sensors relative to drain holes [cm])\\ - Choose the calibration file\\ (located in //D:\Experiment\Flume measurements\CalibrationFiles//)\\ - Insert the Path to Data files - Run the program.