"Control a Device" window not working?
fogled@mizzou
Posts: 549
This was brought to my attention by a co-worker working on a Massio RPM system, but... the upshot is that "Control a Device" window doesn't seem to be working, at least for sending strings. We can try sending strings to a serial port (I've tried doing this to several different systems now, never get any notifications strings go in or out), but the notifications window never shows any strings out or in from the RS232 port. It's been so long since i've used that function in NetLinx Studio that I'm once again flummoxed, can't figure out why it isn't working.
0
Comments
Tried correctly formatting the string (D'oh!), still no luck.
Correct, you won't see strings go out from Control A Device in Notifications but they are going out and you will see feedback if the device is returning strings. Loopback is good advice as well. Assuming of course that the 232 port has feedback enabled by either having a STRING: DATA_EVENT or RXON has been issued to the port or CREATE_BUFFER is in play. Also assuming the 232 port is not malfunctioning due to a dried out capacitor.
Control A Device for RS-232 ports works perfectly fine, use it all the time.
You should probably see a doctor and get that checked out as a precautionary measure.
That's the answer I was looking for. I consider it irritating and nonsensical that it won't show what's going out of the port under those conditions, but as long as I know that's how it works, I can deal with it. The only piece of the puzzle that didn't fit was that the device does return strings from programmed code, but I didn't see anything coming back from the device when I send the same command using Control a Device. I just re-tried it, and it looks like we never had the string formatted correctly in earlier tests. All the other failed tests were some other version of Joe's information as well; using a port that didn't have any handling code, etc.