A device for deep well sampling when drilling for, or production of, oil and gas, includes a chamber for receiving samples and a valve for opening and closing such chamber. The device includes a hydraulic system for operating the valve. The hydraulic system, a control panel and control of the sampling device are operated by an electric system located in the panel from which signals are sent via a combined lifting and electric conducting cable.