NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

teststand array with visual basic

Hi

I have a function under VB 6.0 which need an array of string
Ex :

Public sub example(ByRef test() As String)
End Sub

But on TestStand when i call this function, using a array defined on TestStand as a Array Of String for the function parameter, it doesn't work.

The error message is : "Incorrect Parameter"

So Is it possible to use array between TestTand and Visual Basic, and if yes How ?

Thanks You

S.Guillon
0 Kudos
Message 1 of 2
(2,963 Views)
Hi,

There is an example in the Examples 'C:\TestStand\Examples\AccessingArrays\' which will help.

It access the array by passing the sequence context as such
Public Sub SetStringArray(SeqContext As SequenceContext)

Hope this helps
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 2
(2,963 Views)