Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Starting gpascii programmatically via SSH
#11
I know a lot of this thread is related to Python, but some of my lessons learned in Java certainly apply.

Here is a Java class to connect to the Power PMAC (uses JSch for SSH2) that starts the text interpreter and allows you to get/set parameters.

The pain points in building it were figuring out the response formats and waiting for correct bytes received after different commands are sent. The src code has lots of comments that may help you Python programmers get your Python scripts working.

I also had to create a shell as mentioned above.

https://github.com/cnanders/java-deltata...-pmac-comm
Reply


Messages In This Thread
RE: Starting gpascii programmatically via SSH - cnanders - 09-13-2017, 05:57 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)