固高脉冲卡默认输出电压改为10V

master
lhiven 1 week ago
parent d062eea589
commit 0159dad4c9

@ -139,7 +139,7 @@ namespace Rs.Motion.GugaoPulse
{ {
LogHelper.Debug($"{apiResult} = mc_pulse.GT_ClrSts({short.Parse(row["cardid"].ToString())}, 1, 8);"); LogHelper.Debug($"{apiResult} = mc_pulse.GT_ClrSts({short.Parse(row["cardid"].ToString())}, 1, 8);");
} }
short value = 32767 * 5 / 10; short value = 32767;// * 5 / 10;
apiResult = mc_pulse.GT_SetDac(short.Parse(row["cardid"].ToString()), 11, ref value, 1); apiResult = mc_pulse.GT_SetDac(short.Parse(row["cardid"].ToString()), 11, ref value, 1);
MessageQueue.Instance.Insert($"GT_SetDac ret={apiResult}"); MessageQueue.Instance.Insert($"GT_SetDac ret={apiResult}");
} }

Loading…
Cancel
Save