Netlinx Studio Control a Device with Serial Problems
cmatkin
Senior Member
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
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
-
Yes, same issue here. You won't get any notifications with Control a Device. That's just the way it works.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.
-
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 -
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. -
Good tip
Thanks for the tip. Hopefully future revs of Netlinx Studio Control a Device/Notifications will support SEND_STRING the same way that Telnet does.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.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums