1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Solved] relay writeall bug

Discussion in 'Relay Modules' started by Jonathan Taylor, Aug 20, 2015.

  1. Jonathan Taylor

    Jonathan Taylor New Member

    Joined:
    Aug 20, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Gender:
    Male
    Location:
    Stuart, FL
    I am writing a C++ program in Visual Studio to interact with URMC32 32 Channel USB Relay Module. I am able to successfully send seemingly every command except for relay writeall XXXXXXXX. I have seen posts on the web from other developers who experience this same problem (including in other languages), but I cannot find a solution! This command works fine via Hyper Terminal or PuTTY, but fails via WriteFile() in C++. From what I can see, a command cannot be sent which exceeds a certain character length (20?). What am I missing?

    (Firmware version: 00000006)
     
    Last edited: Aug 20, 2015
  2. admin

    admin Administrator Staff Member

    Joined:
    Jan 23, 2015
    Messages:
    169
    Likes Received:
    11
    Trophy Points:
    18
    Hi Jonathan,

    This is a known issue that was present in older firmware versions. This is fixed in the later version (latest version as of today is V8). Please feel free to get in touch with us any time for free update to the latest firmware version.

    Thanks,
    Tom
     
  3. Jonathan Taylor

    Jonathan Taylor New Member

    Joined:
    Aug 20, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Gender:
    Male
    Location:
    Stuart, FL
    That did it. I applied the firmware update I was sent and that fixed the bug! Thanks, Tom!
     
  4. admin

    admin Administrator Staff Member

    Joined:
    Jan 23, 2015
    Messages:
    169
    Likes Received:
    11
    Trophy Points:
    18
    Thanks Jonathan.

    Marking the thread solved.

    Thanks,
    Tom
     

Share This Page