NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Two dimension string array in teststand

Hello,
I want to pass a two dimension string array from a labWindows dll into Teststand. My labwindows dll:
 
 
#define NR_columns 12
#define NR_rows  1200
#define NR_hight   1024
 
 
int__declspec(dllexport) __stdcall  sort( char pspec[NR_columns][NR_rows][NR_hight])
{
......
 
 
}
 
 
The call of the dll in teststand looks like the attached picture in the doc file.
and I got the error message which shows the attached second picture in the doc file
what is the problem?
 
regards
samuel
 
 
 
0 Kudos
Message 1 of 2
(2,823 Views)
Hello Samuel,

I'm not experienced in LabWindows but I think the reason for this Error is the dimension of FileGlobals.loadspec in TestStand. The Error Dialog displays for this String Array [0..11][0..1200]. That's an array of 12 and 1201 elements but function is expecting 12 and 1200 elements.

I hope this helps.

Kind regards
C. Dietz
Christian

Test Engineering
digades GmbH
www.digades.com
Message 2 of 2
(2,810 Views)