Home AMX User Forum NetLinx Studio

Netlinx Studio Control a Device with Serial Problems

Hi all,
I am programming in Netlinx Studio 2.5.0.163.
I am trying to control a serial device via the ?Control Device? menu and watch the to/from messages in the Notifications window.

My settings are as follows.

?Device Notification Settings?.
Device: 3
Port: 1
System: 3
And only Strings To/From Devices ticked.

Device Notifications enabled..

?Control a Device?.
Device: 3
Port: 1
System: 3
Message to Send: "'op 01 select.source ?',$0D"
String and String to Expressions Ticked.

When I push the ?Send to Device? it seems that Netlinx studio does not send it. I get no response in the Device Notifications Window.

Does any one else have the same issues or have a solution to fix it.

Regards
Craig

Comments

  • Joe HebertJoe Hebert Posts: 2,159
    cmatkin wrote:
    When I push the ?Send to Device? it seems that Netlinx studio does not send it. I get no response in the Device Notifications Window. Does any one else have the same issues or have a solution to fix it.
    Yes, same issue here. You won't get any notifications with Control a Device. That's just the way it works. :(
  • cmatkincmatkin Posts: 86
    Umm, that?s strange.
    I had it working for a day and then for the last week it does not work. It should.
    How else can you debug 30 rs232 devices easily?

    Regards
    craig
  • HedbergHedberg Posts: 671
    sending test strings, manipulating channel status, switching relays and using send_command -- these are all things that can be done quite easily through a Telnet session. And, when you send a string via telnet, it shows up in your diagnostics so you can see what went out followed by what comes back in. Too cool.

    I think you can do a telnet session through the Netlinx terminal window though I'm not sure. Or, you can use hyperterm in Windows -- though I'm not a fan of that program. I find running the Windows Telnet client more to my liking. Also, there are a bunch of nice free or low cost terminal emulation programs around. One that was recommended to me by a very experienced AMX programmer is Indigo by shade blue. It's not expensive and it is very powerful and not too hard to use.
  • Joe HebertJoe Hebert Posts: 2,159
    Good tip
    Hedberg wrote:
    when you send a string via telnet, it shows up in your diagnostics so you can see what went out followed by what comes back in.
    Thanks for the tip. Hopefully future revs of Netlinx Studio Control a Device/Notifications will support SEND_STRING the same way that Telnet does.
Sign In or Register to comment.