I am trying to use External Trigger Input Pin TI for initiating dual-channel analog capture in ADALM2000 using the python binding.
I am unable to find the exact ways of implementing the same from the document and have the following queries.
-
is this possible..?
-
if yes, is the below code correct
# Get Trigger Object
trig=ain.getTrigger()
# Set Analog Trigger Mode as External on TI pin
trig.setAnalogMode(0,libm2k.EXTERNAL)
trig.setAnalogMode(1,libm2k.EXTERNAL)
# set Analog Channel 1 External Trigger Condition as RISING_EDGE_DIGITAL on TI Pin
trig.setAnalogExternalCondition(0,libm2k.RISING_EDGE_DIGITAL)
# set Analog Channel 2 External Trigger Condition as RISING_EDGE_DIGITAL on TI Pin
trig.setAnalogExternalCondition(1,libm2k.RISING_EDGE_DIGITAL)
-
if not, is there an alternative way for doing the same?
Thanks in advance. 🤝
I am trying to use External Trigger Input Pin TI for initiating dual-channel analog capture in ADALM2000 using the python binding.
I am unable to find the exact ways of implementing the same from the document and have the following queries.
is this possible..?
if yes, is the below code correct
if not, is there an alternative way for doing the same?
Thanks in advance. 🤝