Announcement

Collapse
No announcement yet.

hs.OpenComPort

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    hs.OpenComPort

    Is this still working in HS4?
    hs.OpenComPort(10, "115200,n,8,1", 1, "P1.vb", "main")
    script P1.vb does not start and I know data is receiving on com10...
    Peter

    http://ohh.pcgsm.nl

    #2
    Bump. I'm having the same problem with hs.OpenComPortTerm under Windows 10. I know the port is working as I can run Teraterm with a null modem cable between two ports and see data.
    "if I have seen further [than others], it is by standing on the shoulders of giants." --Sir Isaac Newton (1675)

    Comment


      #3
      Works fine here. I use this to open a comport to control my Samsung TV. Windows 10 Latest HS4.

      hs.OpenComPort(1, "9600,n,8,1", 0, "CallBack.vb", "RData")

      Comment


        #4
        Hmm. I don't remember what it's for but I see your third parm is 0 while mine and peter's are 1. I wonder.

        I opened HSCS-1413 to document what I'm seeing.

        Ken
        "if I have seen further [than others], it is by standing on the shoulders of giants." --Sir Isaac Newton (1675)

        Comment


          #5
          Parm 3 is Operating Mode 0 = raw and.1 = strings mode. It's possible that only strings mode is not working.
          "if I have seen further [than others], it is by standing on the shoulders of giants." --Sir Isaac Newton (1675)

          Comment


            #6
            If you haven't already, you should contact support. It sounds like there may be a problem with callback on this function.
            Mike____________________________________________________________ __________________
            HS3 Pro Edition 3.0.0.548, NUC i3

            HW: Stargate | NX8e | CAV6.6 | Squeezebox | PCS | WGL 800RF | RFXCOM | Vantage Pro | Green-Eye | Edgeport/8 | Way2Call | Ecobee3 | EtherRain | Ubiquiti

            Comment


              #7
              Has anyone made any progress on this? I'm having the same problem on HS4.

              Comment

              Working...
              X