WW SDK and IRC5 arrays [WebWare SDK]
Hi there,
has anybody experienced problems when reading array in IRC5 from a ww SDK app ?
here is some example, which returns an error -550:
Option Explicit
Dim status As Integer
Dim i As Integer
Dim ad As S4Array
Private Sub Form_Load()
Set ad = CreateObject("S4Array")
ad.Type = "num"
status = ad.SetDimensions(2, 1, 15, 1, 16, 0, 0)
Label3.Caption = CStr(status)
' here the result indicates everything OK..
End Sub
Private Sub Command1_Click()
Dim MyNum As Single
status = Helper1.S4ProgramNumVarRead("nFKnr", 0, MyNum)
' here the result indicates everything OK..
'now comes the call givinb an error:
status = Helper1.S4ProgramVariableRead("nSLE", 1, ad)
Label3.Caption = CStr(status)
' here the result indicates nothing OK.. -550
:
:
Who can give me some help.
I've used vb 6 with interlink 4.5 and a testrack with 5.06.01.03 installed.
Regards
Thomas
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