Author Topic: Keithley 2450 / 2470 SMU change trigger edge inside a trigger model? TRS  (Read 960 times)

0 Members and 1 Guest are viewing this topic.

Offline slow_riderTopic starter

  • Regular Contributor
  • *
  • Posts: 80
So basically I want to be able and trigger on both edges.

At the top of the file I have this code to trigger on digital in 1, rising edge:
Code: [Select]
digio.line[1].mode = digio.MODE_TRIGGER_IN
trigger.digin[1].edge = trigger.EDGE_RISING

But it seems that if I insert a similar line to #2 with EDGE_FALLING inside the trigger model it does not do anything.

Anyone knows how should I do this?

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 6597
  • Country: ca
  • Non-expert
trigger.EDGE_EITHER Detects rising- or falling-edge triggers as input.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures

Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo