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.6K RobotStudio
- 398 UpFeed
- 20 Tutorials
- 14 RobotApps
- 300 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 336 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 828 RAPID Programming
- 12 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings