Exemplo n.º 1
0
        public ONIController()
        {
            DAQ = new oni.Context();

            // Set block read size
            // TODO: this should be a context option along with the paths
            DAQ.SetBlockReadSize(8192);
        }
Exemplo n.º 2
0
        public ONIController(string config_path,
                             string read_path,
                             string signal_path)
        {
            DAQ = new oni.Context(config_path, read_path, signal_path);

            // Set block read size
            // TODO: this should be a context option along with the paths
            DAQ.SetBlockReadSize(8192);
        }