Home AMX User Forum NetLinx Studio

No string RX?

Hopefully, this is just a brainfart. For some reason, I can't see any RX strings in diagnostics on my COM ports. I see the RX light come on on the front panel of my DVX-2155HD, but no data is updated.

Here's some snippets of code (the device is a RS485 lighting controller)
    DATA_EVENT[dvLighting]
    {
	ONLINE:
	{
	    SEND_COMMAND dvLighting,'SET BAUD 9600,N,8,1, 485 ENABLE'
	    SEND_COMMAND dvLighting,'RXON'
	}
	STRING:
	{
	    SEND_STRING 0,"'Lights: ',DATA.TEXT,$0d"
	}
    }

I know the light control is working from the Master to the lighting controller, because, well, the lights change. I have tried assigning a variable = to DATA.TEXT to monitor it in debug, but it stay empty, as well.

Any suggestions?

Comments

  • ericmedleyericmedley Posts: 4,177
    Sounds like you might have the "Dead capacitor of death" problem. There was a problem with NI masters where a capacitor on the board would dry out and quit working. the result was everything seems to be physically working but no strings were making it inot the device.

    You might check your other serial ports too. If they are dead to then this is your problem. If it is, then you should send it in to AMX and they'll solder on a new cap for you.

    I suppose it might be the port itself is just dead by itself. You can test this by hooking up your laptop and sending strings to it to see if it sees it.in diagnostics.
  • Thanks for the response. I hope it isn't a cap problem - this is a brand new DVX2155-HD!

    Also, the Rx light stays off with the bad capacitor issue, right? Mine lights up.

    Sent from my MB860 using Tapatalk 2
  • viningvining Posts: 4,368
    This isn't a Duet mod is it? If so use the passback command.
  • Nope - just straight serial commands.

    Sent from my MB860 using Tapatalk 2
  • Do you mean Notifications, or Diagnostics?

    If you meant Notification, is the port on another master? I'm not clear on the who-gets-what rules for Notifications, but I know that's been a problem for me in the past.

    If you meant Diagnostics, did you try using "msg on" in Telnet?
  • viningvining Posts: 4,368
    Is that dev combined (DEFINE_COMBINE) to a virtual. I don't use this myself but on a recent takeover project that did I'm pretty sure rx wasn't coming in to my dev string handler either but would to the virtual dev handler. Of course I could be recollecting completely wrong.

    When it doubt start off with the definition and make sure your DPS is correct.
  • The device isn't combined. I've tried sending the input to 0, but no luck, either.

    Oh, well. I need to get Tech Support on the phone tomorrow anyway, so I'll run it up the flagpole there.
Sign In or Register to comment.