本文整理汇总了Python中Hardware.toggleIgloos方法的典型用法代码示例。如果您正苦于以下问题:Python Hardware.toggleIgloos方法的具体用法?Python Hardware.toggleIgloos怎么用?Python Hardware.toggleIgloos使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Hardware
的用法示例。
在下文中一共展示了Hardware.toggleIgloos方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: powerEnable
# 需要导入模块: import Hardware [as 别名]
# 或者: from Hardware import toggleIgloos [as 别名]
# powerEnable(b)
# chargeInjectOn(slots,b)
# #chargeInjectOff(slots,b)
# printDaisyChain(slots,b)
# setPedestalDAC(slots,6,b) #6bits->12fc is default
# #setCapID0pedestal(slots,0,b)
# # setCapID1pedestal(slots,1,b)
# # setCapID2pedestal(slots,1,b)
# # setCapID3pedestal(slots,1,b)
# # setFixRangeModeOn(slots,3,b)
# setChargeInjectDAC(slots,2880,b)
# print '\n\n\n\n\n AFTER CHANGES: \n'
# printDaisyChain(slots,b)
# Print ID given bus and slots
# printID(bus, slots)
# mySlots = [2,5,7,8,10]
# printID(b,slots)
# print 'open = ', h.openChannel(2,b)
# print 'power = ', h.powerEnable(2,b)
# print 'reset = ', h.magicReset(2,b)
#
# print 'open = ', h.openChannel(18,b)
# print 'power = ', h.powerEnable(1,b)
# print 'reset = ', h.magicReset(1,b)
# ip = h.iglooPower(2,b)
h.toggleIgloos(b)