Esempio n. 1
0
 //コンストラクタ
 public NIDaqCommunicator(Sequences _seq)
 {
     seq = _seq;
     taskManager = TaskManager.GetInstance();
     taskManager.addTaskEndEventHandler(TaskEnd);
     repeatCount = 0;
     currentRepeatCount = 0;
     isRepeatEnabled = false;
 }
Esempio n. 2
0
 //コンストラクタ
 public NIDaqCommunicator(Sequences _seq)
 {
     seq         = _seq;
     taskManager = TaskManager.GetInstance();
     taskManager.addTaskEndEventHandler(TaskEnd);
     repeatCount        = 0;
     currentRepeatCount = 0;
     isRepeatEnabled    = false;
 }
Esempio n. 3
0
        // コンストラクタ
        public MainWindow()
        {
            myInstance = this;

            //			DebugWindow.WriteLine("初期化");
            InitializeComponent();
            WriteMessage("初期化\n");

            //動作スレッドの初期化
            //			DebugWindow.WriteLine("シーケンス作成");
            WriteMessage("シーケンス作成\n");
            seq = new Sequences();
            seq.getCurrentSequence().bindGridUI(SequenceGrid);
            //			seq.getCurrentSequence().addAllAnalogOutput();
            communicator = new NIDaqCommunicator(seq);

            //ウィンドウをどこでもつかめるように
            this.MouseLeftButtonDown += (sender, e) => this.DragMove();

            TaskManager.GetInstance().addAllTaskEndEventHandler(Callback_SystemStop);
        }