Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PowerPmacComLib
#1
I purchased this but there is no documentation. Where can I get the documentation? I need to know how to do simple communication to the controller.

I need to communicate with the Power PMAC with a send command and get response capability.

With Turbo PMAC we used Interop.PCOMMSERVERLib.dll.

MyPort.GetResponseEx(mDevicePort, CommandString, True, Response, Status)
Reply
#2
There is sample code with the Power PMAC Development Kit

example

communication = Connect.CreateSyncGpascii(DevProp.Protocol, communication)

They have a command similar to what you are looking for!

Dim response As New List(Of String)
Dim commands As New List(Of String)
commands.add("P200")
commands.Add("Motor[1].ActPos")

Dim communicationStatus As Status = communication.GetResponse(commands, response)

Sorry for the zombie reply, but hopefully someone finds this useful.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)