Jump to content

ysrevol

Members
  • Posts

    18
  • Joined

  • Last visited

Posts posted by ysrevol

  1. 2 hours ago, ysrevol said:

    Dear Fausto,

    I run it as instructed and it worked well.
    Thank you very much for your kind comment. ^^

    I have one more question.
    Is there a way to adjust the number of pulses?
      When I set it up as shown below to make only 3 pulses come out, the pulses come out continuously.

    image.png.dbc504d17049d788af409ad57d9aa84c.png

    Thanks to the solution you provided, I can go further. Thank you again.

    Regards,

    YoungSik Kim. 

     

    I found the answer.

    All you have to do is set the input "secRun" of "F Dwf Digital Out Run Set" to pulse period accurately and adjust the number of repeats!!

    thank you,
    I started to become interested in AD2 and labview. ^^

    Regards

    YoungSik Kim

  2. On 12/2/2023 at 9:11 AM, Fausto said:

    Hello @ysrevol.

    Add a While Loop before the F Dwf Device Close All.vi to manually control when to stop the output pulses.

    image.png

     

    Regards,

    Fausto

    Dear Fausto,

    I run it as instructed and it worked well.
    Thank you very much for your kind comment. ^^

    I have one more question.
    Is there a way to adjust the number of pulses?
      When I set it up as shown below to make only 3 pulses come out, the pulses come out continuously.

    image.png.dbc504d17049d788af409ad57d9aa84c.png

    Thanks to the solution you provided, I can go further. Thank you again.

    Regards,

    YoungSik Kim. 

     

  3. I found out today that there is a "labview" board.
    I want to create a pulse with LabView using AD2 (Analog discovery2). Among the Python programs included in the Waveform SDK, "DigitalOut_Pulse.py" was translated into LabView. 

    When I set the frequency and duty and run it, the result is in the attached picture. Only a single pulse comes out. . I thought the execution result would be pulse trains with the set frequency and duty that repeats infinitely. However, only a single pulse appears.

    I would be very grateful if you could tell me what I have set up incorrectly.

    fig. 1 (pulse.vi) 

    image.thumb.png.14aacafc2d046898c8cbc6465d8dafeb.png

    fig. 2 

    image.thumb.png.dd07a0908418e511a1b462db9924592c.png

    DigitalOut_Pulse.py pulse.vi

  4. I am a beginner in labview and python.

    I implemented a pulse on digital IO 0:1 using Labview using Analog discovery 2.

    However, the change in pulse width was about +/-0.8msec. If there are any methods or related examples that can implement a precise pulse width (+/-0.1ms or less) with labview, please Let me know them.

    image.thumb.png.ef028716e51b46f7ca84d8bb7cd0b326.png

    image.png.474b49006873098a27430923322a0aad.png

    DIO_pul_delay.vi Digital_IO_pulse_start_stop_init.vi

  5. I want to control analog Discovery 2 using labview.
    A program that reads a signal, wavegen(W1) with Channel 1(mso/1) of the MSO. However, if I insert [MSO Configure Analyst Edge trigger vi]  (figure(a-2)), If I make a start, it won't work, so only "Ctrl+ALt+Del" can start labview anew.
    If [MSO Configure Analyst Edge trigger vi] is not included (figure (a-1)) it works well (figure (a-1) result). What did I make a mistake? I'd be very grateful if you could tell me the bug I made.

    Please understand that the Lab View program cannot be uploaded due to my company policy.

     

    image.thumb.png.60ce5cdda8bbf7203e0c36e0e01f5622.png

     

    (a-1)

    image.png.9c3db4bd365b6d36d0a57c856ff97ce4.png

    (a-2)

    image.png.80cd4e5b27fe8404110a1fb1815fe0a9.png

    image.png.90adb8ee57e7bc9afc970f5d7c892c49.png

    (a-1) results 

    image.png.34a92abe23c6548ed5fa717274fbb1a4.png

     

     

  6. When installing waveforms new version (digilent.waveforms_v3.20.1_64bit.exe), the following error occurs. Is there any solution?

    I am using window 10 (64bit).

    image.png.8933743ffb1d65e7f54655fd0c5a2061.png

     

    There seems to be a problem with the install from the version that connects and uses two AD2 units.

    digilent.waveforms_beta_v3.19.17_64bit installs without problems.

    I am trying to connect and use two AD2 units. Please solve the problem.

     

×
×
  • Create New...