LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

help debugging an internet toolkit/telnet program

I'm using internet toolkit in order to program a telnet session for an intelligent power control unit. My program appears to be working...the data LED flashes when I send info to the instrument, but it doesn't respond properly (IE the power won't be turned off/on). Is there anyway to debug this error by seeing a replica of a telnet window and see what exactly is being entered? (the commands are very picky...any spaces before or after command will throw it off). I have attatched the application if it is of any use to anyone. Right now, only case 3 and stop have the code i'm going to insert. the @@@@ is the pword being sent to the unit in order to start the session.
0 Kudos
Message 1 of 3
(2,516 Views)
Sorry, I can answer re: "seeing a replica of a telnet window and see what exactly is being entered? "

Is your "byte written 2" correct?

If not, it may be due to you send ASCII characters and not hex. Right-click on your string constant and select "hex display" to enter the values as hex.

Do you have any indication the password is working correctly i.e. does a led light to indicate logged on?

Don't have that toolkit installed on this machine so that's as far as I can go for now.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 3
(2,516 Views)
Hi Ben, thanks for the input. Unfortunately it isn't the 'byte written 2', it isn't the ASCII situation, and I have no LED to indicate that the password worked correctly and logged me on. The only thing I have is an led letting me know that there is information being sent to the unit remotely. If there is any other suggestions you have they would be appreciated. Thanks again.
Bryan
0 Kudos
Message 3 of 3
(2,516 Views)