write rapid data
patlepro
✭
At the click of a button, i would like to write the index of a combobox in a variable "NoProd" in the controller ?????????
Here is the code but it<s not finish....
private void btnProduction_click(object sender, EventArgs e)
{
int selectedIndex = cbxChoix.SelectedIndex;
Object selectedItem = cbxChoix.SelectedItem;
MessageBox.Show("Selected Item Text: " + selectedItem.ToString() + "
" +
"Index: " + selectedIndex.ToString());
RapidData rd = aController.Rapid.GetRapidData("T_ROB1", "MainModule", "NoProd");
????? like rd.value = selectedIndex; but it doesn't work.
}
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 799 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings