Honeywell UDA2182-Durafet Setup for LabVIEW
This document provides instruction for connecting UDA2182-Durafet data streams to a PC via the computer program National Instruments LabVIEW™.
Supporting material to Kapsenberg et al., Advancing ocean acidification experiment methodology using Durafet® pH electrodes, currently in review. This instruction set will be updated with hyperlinks and a proper citation as soon as possible.
The steps outlined below were completed on PCs running Windows 7 & 10, LabVIEW™ 2013, and with an Ethernet switch. Successful setup will require additional steps to identify your computer’s and/or subnetwork’s IP address which are not described here. Contact your system administrator for assistance setting up a subnetwork and identifying its IP address or follow a procedure found via a web search when you reach the steps below that require you to do so.
Before setting up communication for the UDA via LabVIEW, make sure the following National Instruments (NI) software has been installed (last hyperlink access: 30 May 2017).
Instructions for downloading MAX, as part of NI System Configuration package, can be found here: http://digital.ni.com/public.nsf/allkb/F046BF3874E45BFF862574E2006EA83B
The following steps must occur in the order they are written and using the prescribed software.
Select Modbus, enter new name (e.g., Modbus, or Modbus_1 if using multiple UDAs), and Configure Modbus I/O Server window should open. For Model, select Modbus Ethernet and enter IP Address of the UDA. Click OK.
Name variable ( Variable, Name: pH, or pH_1a, if using multiple UDAs and two Durafets per UDA), check the box for Enable Aliasing, Bind to PSP URL, and Browse… for (Your PC Name)\UDA2182_DSM\(Your Modbus Name) and scroll down to F300001. Click OK twice and new variable pH should appear at bottom of file tree on left. The Current Value: should read what you see on the UDA screen for pH.
Always open the DSM before opening LabVIEW for smooth communication with the UDA2182.
All subsequent VIs written to use the UDA2182 outputs should be contained within this new LabVIEW Project in order to access the .lvlib with the newly created Modbus connections and Network Variables. If you need to begin a completely new project, repeat entirety of Step 3.
There seem to be endless chances to mess up the naming within the structure in such a way that communication with the UDA is lost. We recommend that you name your DSM process in such a way that it is recognizable as part of the DSM (e.g., UDA2182_DSM) and your library in a similar fashion (UDA2182_LIB.lvlib) and your UDA variable reader program similarly (UDA2182_READER.vi).