/// <summary>
        /// Constructor for Idex rotary valve
        /// </summary>
        public IdexRotaryValve()
        {
            // Create and open single instance of com port if needed
            if (ComPort == null)
            {
                ComPort = new ComPortManager
                {
                    PortName = "COM21",
                    BaudRate = "19200",
                    DataBits = "8",
                    Parity   = "None",
                    StopBits = "1",
                    AutoEOL  = true,
                    CurrentTransmissionType = ComPortManager.TransmissionType.Text,
                    // TODO:  ComPort should not know anything about displaying data!!!
#warning ComPortManager needs DisplayWindow set to RichTextBox presently! Change to JBL message event!
                    //DisplayWindow = frmMain.rtbValveDisplay
                };

                if (!ComPort.IsPortOpen)
                {
                    ComPort.OpenPort();
                    ComPort.NewLine = "\r"; // Commands and responses end with <CR> on rotary valve
                }
            }
        }
        public HamiltonSyringe(PumpAddress addr)
        {
            PumpAddress = addr;

            // Create and open single instance of com port if needed
            if (ComPort == null)
            {
                ComPort = new ComPortManager
                {
                    PortName = "COM18",
                    BaudRate = "9600",
                    DataBits = "8",
                    Parity   = "None",
                    StopBits = "1",
                    AutoEOL  = true,
                    CurrentTransmissionType = ComPortManager.TransmissionType.Text,
                    // TODO:  ComPort should not know anything about displaying data!!!
#warning ComPortManager needs DisplayWindow set to RichTextBox presently! Change to JBL message event!
                    //DisplayWindow = frmMain.ExerciserOutput
                };
            }

            if (!ComPort.IsPortOpen)
            {
                ComPort.OpenPort();
            }
        }