SDK 5.07 Do Not use FillFromString?
TommyT
✭
Straight from the SDK 5.07 release notes:
Compatibility with FlexPendant SDK 5.06:
? FlexPendant SDK 5.07 is not compatible with 5.06. You need to rebuild your
5.06 application.
? ArrayData type has changed from struct to class. The type definition is also
moved from
ABB.Robotics.dll to ABB.Robotics.Controllers.dll.
Dont use FIllFromString When you create a rapid data
? GrantDemandRejectedException is replaced by MasterRejectException
"Don't use FillFromString when you create a rapid data"
What should I use in place of FillFromString? The following is working code in 5.06:
Dim temp_num As Num
EditButton.Text = textbox1.Text
temp_num.FillFromString(textbox1.Text)
rd = ctrl.Rapid.GetRapidData("T_INF", "User", recipe_parameter)
If rd Is Nothing Then
Throw New Exception("Rapid Access Error reading variable")
Else
rd.Value = temp_num
End If
Tommy Thompson - Propack
0
Comments
-
Try this:
Dim rd As RapidDomain.RapidData
Dim iRD As IRapidData
Dim txt1 As New System.Windows.Forms.TextBoxiRD = rd.Value()
Dim iNum As Num = CType(iRD, Num)
Dim intVal As Integer = CType(Val(txt1.Text), Integer)
iNum.FillFromNum(intVal)
rd.Value = iNumRussell Drown0 -
The Robot Application Builder-FlexPendant SDK User's Guide still instructs us to use the FillFromString method. Can someone from ABB please provide an explanation as to why the Release Notes are not reccommending the use of FillFromString? Is there currently a problem with its functionality or is it just going to be obsoleted in the future? I am using FillFromString a lot in my code and I would like to know how it is going to affect me. Thanks......Debbie0
-
The note in the readme file only refers to the ArrayData type.
You should not use FillFromString of ArrayData, but it's OK to use it for other types. I'm sorry for the confusion.
/Olov
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)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings