NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Action sequence error with direct Module C file

Hi,
 
After create a Sequence to call a DLL that includes another call function in tha same project failed (I posted a question), I try to do different way with call directly C function with the same method (call function that call anther function in the same project) ... it also failed (I attache a zip file)
 
Note: If I insert the second function in the same file with the first function, then it works fine (same as build a DLL), the problem is I have a lot of existed working functions that call anther function in the same project ... how can I use them with TestStand in order to re-write all my functions?
 
*) I hope that we can avoid re-merge all functions in the same single file ... it will be painfull & a mess!
 
Thanks for any help Smiley Sad
0 Kudos
Message 1 of 3
(3,031 Views)
Sorry for me not finding your post dealing with the problem of having an exported function that cannot call a function in a different .C file.
You can do it, see the attached example (including a CVI DLL project with 2 .C files, the .DLL and a .SEQ with two steps).
 
Do you have a good reason to work with .C and .OBJ files?  I would always prefer to use a DLL.
Hope this helps, Guenter
0 Kudos
Message 2 of 3
(3,017 Views)
Thank for help, it works as I wanted to have. The reason I tried to call directly .c file because I was not able to use dll as your DemoDLL
 
Many thanks Smiley Happy  Smiley Happy Smiley Happy
0 Kudos
Message 3 of 3
(3,007 Views)