Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
RapidDatabinding source "FP SDK 5.14"
Hydron
✭
Hello. I am to developing an aplication in c# to make some changes to rapid data more faster. My problem is that i already have many modules, that basicly are the same program , but have diferent data values, so when i drag rapiddatabindingsource to designer, i need to enter task, module and, variable names, but since i want my application to work with all the other modules this doesnA't work. All the other modules have the same task and variable names.
Any ideas?? Thanks...
0
Comments
-
Hi hydron,Could you do some screenshots to describe the problem, or some code?IF I understand your problem, couldn't you have a list with all the different modules, like this, so the user selects the module to work with, then whenever that is changed change the rapiddatabinder to accomodate?John
Developer Center0 -
Thank you very much.I think that should do, Ill try code0 -
HiRegarding your other questions.First go through the FlexPendant SDK Application manual chapter:"Using the FlexPendant SDK - Using the Controller API - Accessing the controller", there you will find the code examples you need.Also when it comes to the databinding, remember to utilize the
SuspendBinding/ResumeBindingwhen the user switches focus and/or modules.John
Developer Center0 -
Ok.Thank you very mutch, I was able to make it work with this code.Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.ClickDim TaskName As String = "T_ROB1"
Dim modulantal As Integer = robotController1.Rapid.GetTask(TaskName).GetModules.Length
ComboBox1.Items.Clear()For i = 0 To modulantal - 1
Dim modul As RapidDomain.Module = robotController1.Rapid.GetTask(TaskName).GetModules(i)
ComboBox1.Items.Add(modul.Name)Next
ComboBox1.SelectedIndex = 0End Sub
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
TextBox1.Text = ComboBox1.TextEnd Sub
Now i need a code or an example to add a checkbox and with that checkbox change the value of a boolean variable from true to false.That variable is stored on the module that i choose from the combobox (ComboBox1.Text)Best regards0
Categories
- All Categories
- 5.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings
