loading

Add to this Thread


Steven Gentner from United States 5 year
Danny,

There should have been a

Dim myListX() As Object

before that line. Plus, if you don't have that array in RR then it will error since the array will not be created. I've attached a small robofile that does create that array just for testing. We have also updated the example program download (API.zip) to include a ubound check which is needed to check if the array has actually been filled with anything which is needed in VB. Note, the examples are meant to be very simple so not all checks are done.

    Dim myListX() As Object

    rr.GetIntArrayVariable("BLOB_LABEL_X", myListX)            'myListX and myListY are null

    If IsArray(myListX) Then
      If UBound(myListX) > 0 Then
        MsgBox(CStr(myListX(0)))
      End If
    End If

STeven.

Pick Avatar
* Question/Comment - Only <b>, <i>, <u> tags are allowed. All others will be escaped.
Use the tags [image1], [image2], etc. to place the images within your question/comment.
Upload Images (.jpg, .png, .gif) < 300K, robofiles (.robo) or Zip files (.zip) < 300K.

If you have any questions/issues about RoboRealm or image processing this is your chance to ask a question. Your question and any responses will be posted to the forum section of the website for others to read and learn from.

Note that any submission will be considered property of RoboRealm. If you do not wish your images to be displayed as part of the RoboRealm site please do not submit those images. Any submission may be removed from the website at the discretion of RoboRealm personnel.