Jump to content

mmmm

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by mmmm

  1. Thank you for the response. 

    I had a hard time understanding that DIO 24 is idxChannel 0, but I was able to solve it.

    I have one more question.

    I want to check the generated pattern with a logic analyzer. So, I'm trying a sample program of DigitalIn_Acquisition.py.

    But the y-axis value of the graph is always 0.

    Is this correct?

    How can I display the generated square wave(1kHz,50%duty)?

    Thanks.

    code.jpg

    pyplot.jpg

  2. Hi.

    I'm using digitai discovery.
    I want to generate a pattern using SDK (python).

    What I want to do can be done in Waveforms by following the steps below.
     Select:Patterns --> Add:Signals --> Select:DIO24 --> Type:clock, Output:PP, Idle:Initial, Freq:1kHz, Duty:50% --> Run!

    But I don't know how to do it using SDK(python).

    Could you tell me a sample program?

    Thanks.

×
×
  • Create New...