Home AMX User Forum NetLinx Studio

SEND_STRING problem

I am trying to control device, and I have some Windows program that is working ok.

I use Serial port monitor to see traffic, and try to copy Tx to NetLinx.

It look like this
 02 0A 00 01 01 01 10 65 86 03  

command look like this
    SEND_STRING dvPortovi,"$02,$0A,$00,$01,$01,$01,$10,$65,$86,$03"

but I dont have respone.

Port is set ok, any other ideas ?

Comments

  • ericmedleyericmedley Posts: 4,177
    VladaPUB wrote: »
    I am trying to control device, and I have some Windows program that is working ok.

    I use Serial port monitor to see traffic, and try to copy Tx to NetLinx.

    It look like this
     02 0A 00 01 01 01 10 65 86 03  
    

    command look like this
        SEND_STRING dvPortovi,"$02,$0A,$00,$01,$01,$01,$10,$65,$86,$03"
    

    but I dont have respone.

    Port is set ok, any other ideas ?

    Does the string need an <LF> or <CR> at the end? Most terminal programs will add this for you when you hit the Return key.

    Try adding a $0d or $0d,$0a at the end.
  • DHawthorneDHawthorne Posts: 4,584
    Often $03 will replace the CR character when it's used. Worth trying, but I wouldn't hope too strongly :).

    If it isn't a CR issue, your string looks just fine. It could be anything from a device issue to a bad wire though, there just isn't enough to go by.
  • Monitor a few other strings that perform different functions and post them please. What device are you working with?
Sign In or Register to comment.