Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
Programming delay with CYCLONE_LAUNCH
Miguel Angel A. Jan 26, 2015 at 08:11 AM (08:11 hours)
Staff: Johnny N.

  • Hello all,

    I am using the Cyclone_control_package (with only one Cyclone PRO) and I am able to start a programming from my PC. My question is: if I want to program several times with a delay between each programming, how could I do it?

    My .cfg file is very simple:

    ;Setup commands
    OPENTYPE=IP
    SETTIMEOUT=80
    PORT=USB
    CYCLONE=XXX.XX.XXX.XX

    ;Operation commands
    SELECT XXX.XX.XXX.XX
    START
    SELECT XXX.XX.XXX.XX
    START

    And I want to put a delay between the end of the first download and the start of the second one. I tried doing a RESET but it didn't work.

    Thank you very much in advance.




    Comments

    • Miguel,

      The Cyclone Control DLL doesn't have a delay command. If you are okay with a workaround, I propose using a Windows batch file to call the cyclone_launch program. You can insert timeouts or pause until the user presses a key in the batch file. If you are just programming one image, you can just call the same cfg script as many times as necessary. If you have multiple images, then you setup a script for each image.

      For example:

      Your .bat file

      cyclone_launch image1.cfg
      timeout /t 30 /nobreak > NUL
      cyclone_launch image2.cfg
      pause
      cyclone_launch image3.cfg
      etc.

      Your .cfg file

      ;Setup commands
      OPENTYPE=IP
      SETTIMEOUT=80
      PORT=USB
      CYCLONE=XXX.XX.XXX.XX

      ;Operation commands
      SELECT XXX.XX.XXX.XX
      IMAGENUM=X
      START

      Does this help?

      Regards,
      Johnny
      P&E

  • Johnny,

    I'll do as you suggest.

    Thank you for your prompt response.

    Kind regards,

Add comment


   Want to comment? Please login or create a new PEMicro account.







© 2017 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement