Esempio n. 1
0
 /// <summary>
 /// 设置多个通道高亮触发脉宽
 /// </summary>
 /// <param name="HBTriggerWidthArray"></param>
 /// <param name="len"></param>
 /// <returns></returns>
 public int SetMultiHBTriggerWidth(HBTriggerWidth[] HBTriggerWidthArray, int len)
 {
     OPTControllerAPI.HBTriggerWidthItem[] arr = new OPTControllerAPI.HBTriggerWidthItem[len];
     for (int i = 0; i < HBTriggerWidthArray.Length; i++)
     {
         arr[i].channel        = HBTriggerWidthArray[i].channel;
         arr[i].HBTriggerWidth = HBTriggerWidthArray[i].Width;
     }
     return(opt.SetMultiHBTriggerWidth(arr, len));
 }