Loading a script and setup into |short_port_name| ######################################################### If you have script and setup files, they may be easily loaded into |short_port_name| using LinkComm. - `LinkComm for Windows download <|link_linkcomm_for_win|>`_ Load existing setup and script into XLink ******************************************* - Save these two files on your PC: - :download:`dew point setup<./setup_script/dew_point_setup.txt>` - :download:`dew point script<./setup_script/dew_point.py>` - Run LinkComm ------------ |LinkCommSL3Connect| - Choose Station Type XLink 500 - If you have a XLink handy, connect to it (please see `manual for connecting instructions <|link_XLink_manual|>`_) - If not, Click Work offline. ------------ |LinkCommImportSetup| - LinkComm -> Import Setup - Choose the dew point setup file that you just downloaded - Choose the script file that you just downloaded - If you are connected to a XLink, send the new setup to XLink - All done! Making minor modifications to the script ******************************************* The `dew point script file provided <./setup_script/dew_point.py>`_ uses the following equation :: dp = 0.057906 * (log10(rh / 100) / 1.1805) + (at / (at + 238.3)) dp = dp * 238.3 / (1 - dp) # Formula for Dew point temperature What if a minor change was needed to that equation? LinkComm's Script tab may be used to make changes. |LinkCommScriptMod| - Use the editor in the Script tab to make the changes - After making the changes, press Test Script - You should be connected to XLink otherwise the script will not get tested! - Test Script will send the modified script to XLink and test it out. - LinkComm will let you know if the script worked. .. |LinkCommSL3Connect| image:: ./media/image30.png :width: 5.00000in :height: 3.70000in .. |LinkCommImportSetup| image:: ./media/image31.png :width: 5.50000in :height: 4.00000in .. |LinkCommScriptMod| image:: ./media/image32.png :width: 5.50000in :height: 4.0000in