コード例 #1
0
        public Ke2500(byte address, NationalInstruments.NI4882.TimeoutValue timeout)
        {
            gpib_ = new GpibDriver(address, timeout);

            DefaultSettings_ = new Ke2500Settings( );

            this.Reset( );
        }
コード例 #2
0
        public AnAQ6315(byte address, NationalInstruments.NI4882.TimeoutValue timeout)
        {
            gpib_ = new GpibDriver(address, timeout);
            //gpib_.Reset(  );
            //gpib_.Write( "INIT" );
            GpibIdentity id;

            id = gpib_.GetIdentity( );

#if !TEST
            //   if( id.model.Substring( 0, 5 ) != "86140" )
            //     throw new AnAQ6315Error( "Invalid model number" );
            // TODO: Design way to test firmware version
            //if( id.firmwareVersion < "B.05.00" )
            // throw AnAQ6315Error( "Invalid firmware version" );
#endif

            Initialise(false);
            //DoWaitForOperations = true;
            //StopSpectralApplication( );
            DoWaitForOperations = false;
        }
コード例 #3
0
 public Ke2510(byte address, NationalInstruments.NI4882.TimeoutValue timeout)
 {
     gpib_ = new GpibDriver(address, timeout);
     del   = new StabilizationDelegate(StabilizeTemperature);
 }