NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

array of strings from teststand to cvi

How can I pass an array of strings from TestStand to CVI.
0 Kudos
Message 1 of 2
(2,892 Views)

Steve,

 

I am not sure what you are trying to accomplish but if you are using the LabWindows/CVI adapter to call a code module you have four options:

 

1. C String(const):

 void __declspec(dllexport) Foo(const char *arg1[1024]) 

2. Unicode String (const):

void __declspec(dllexport) Foo4(const wchar_t *arg1[1024]) 

3. CString Buffer:

 void __declspec(dllexport) Foo2(char arg1[1024][1024]) 

4. Unicode String Buffer:

 void __declspec(dllexport) Foo4(wchar_t arg1[1024][1024])

 

For more information about using TestStand with LabWindows/CVI please refer to the  UisngLabWindowsCVIwithTestStand.pdf manual.

 

Regards.

 

 

Message 2 of 2
(2,876 Views)