04-06-2017 08:46 AM
hi ,
i run a code for CAN Bus Communication in Labwindows CVI and it works so now i need to know how to create a sequence in teststand using this code and how to excute it
thank you
04-07-2017 10:08 AM
Hi ahmadkochbati92,
To call a CVI code module in TestStand, click the CVI icon at the top "Insertion Palette" and choose the type of step you would like to use (Action Step, Pass/Fail Test, Numeric Limit Test, etc.) and drag in into your sequence. Then in the "Step Settings" pane, specify the module file path. You may find this article helpful:
http://www.ni.com/product-documentation/10369/en/
04-10-2017 03:17 AM
hi
thank you for your response i put the CVI code in the code source file and in the module i put the path of Call CVI code module.dll,when i execute the sequence in teststand my product don't work as in Labwindows CVI with the same CVI code and i need to know if i must have a GUI in teststand or not .
ps: i need to exucute steps in process cause in instance of Labwindows CVI it works
best regards
04-10-2017 04:17 PM
Hi ahmedkochbati92,
I am a bit confused about you question. What is your desired behavior? And what problem are you running into at the moment? What do you mean by "product does not work as in LabWindows CVI"?
04-11-2017 05:16 AM
hello Nolan H
my objectif is to create a sequence using a CVI code module for a CAN communication,the CVI code run properly.
i build a DLL from my CVI.c code, i have a problem in parameters value expression and the result failed .
i need to know if i must build a dll from my CVI code and call it in Module in step setting or i call the 'CallCVICodeModule.dll' like i found in the document .
thank you
04-12-2017 01:39 PM
Hi ahmedkoshbati92,
You can call both DLLs and CVI code modules in TestStand. I would recommend just calling a CVI code module if you have already built the code in CVI. It looks like you are running into problems with the parameters of your module function. The parameters are essentially the inputs and outputs of your code module. Here is some more information on this:
http://zone.ni.com/reference/en-XX/help/370052M-01/tsref/infotopics/pane_module_cvi/
04-17-2017 07:59 AM
Hello
thank you for your response i need to know what i put in the Module in the step settings pane ??
the file path of the DLL that i build from my CVI code or other DLL ??
best regards
04-18-2017 09:27 AM
Hi,
Can you clarify what you mean by the "other" DLL? You should set it to point to the DLL that contains the function you are calling within TestStand.