Skip to main content
Submitted by tejswrp on Sun, 01/15/2017 - 23:54

Hi,
I followed the procedure mentioned in Page 5 of Galil Widget Quick Start Document. I used C# to develop Galil Suite to control the motor. The UI was working fine and for one of my application I have to use a Label(available in C# Toolbox) to display the current position of the motor immediatly after connecting the GUI to the drive. I ve been trying with GWCommand and Galil Command "RP A" for displaying the Position of the motor in the label box of C#. These attempts are unsuccesful. Kindly help me in this regard. Thank You

Comments 4

KushalP on 01/16/2017 - 17:00

Hi tejswrp,

If the goal is to display information such as reference position then there are two specific tools you can use. GWPoll allows the reading of any general Galil command. This would include commands such as RPA, or TPA. The other approach is to use GWComs. GWComs allows for data record events. The controller can send a data record that contains all of the information regarding I/O, position data etc. This data can then be printed onto labels and displayed in an HMI/GUI.

Refer to the GalilWidgets source document for more details.

If you have any additional questions you can email me at kushalp at galil dot com.

tejswrp on 01/17/2017 - 02:06

Thanks for the help kushalp. Can you please tell me what is wrong with the following syntax:
gwComs1.GWCommand("RPA");
Error:
The best overload method for match for GalilWidgets.GwComs.GwCommand(ref string,bool) has invalid arguments.

Kindly help me in this regard. Thank You

KushalP on 01/24/2017 - 16:39

This was resolved via email.

tejswrp on 01/24/2017 - 20:54

Thank You