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
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings