Esempio n. 1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="boardNum"></param>
 public JYPXIe69529(int boardNum)
 {
     aitask              = new JYPXIe69529AITask(boardNum);
     EventQueue          = new Queue <JYCommon.WaitEvent>(8);
     _waitUntilDoneEvent = new JYCommon.WaitEvent(() => _taskDone);
     NumOfChannels       = 8;
 }
Esempio n. 2
0
 public JYPXIe69529AITaskImpl(int boardId)
 {
     AITask              = new JYPXIe69529AITask(boardId);
     AITask.Mode         = JYPXIe69529.AIMode.Continuous;
     AITask.Trigger.Type = AITriggerType.Immediate;
     //AITask.Trigger.Type = JYPXIe69529.AITriggerType.Analog;
     //AITask.Trigger.Analog.Source = JYPXIe69529.AIAnalogTriggerSource.CH0;
     //AITask.Trigger.Analog.Threshold = 0.1;
 }