04-12-2012 08:43 AM
Hi,
I have to command a relay so i have to use labwindows to create a CVI project and call it from Test Stand.I tried to use the Write.Dig.Chan from find examples in CVI but it dosen't work!!!!!!
Could you help me please in modifying this code to call it from Test Stand and generate the 5V.
I'm using Labwindows CVI 2010, Test Stand 2010 ,and NI PCI 6220.
Regards,
Solved! Go to Solution.
04-12-2012 10:37 AM
The easiest way is to build a DLL in CVI and call that DLL in TestStand.
http://forums.ni.com/t5/LabWindows-CVI/Using-CVI-Examples-in-TestStand/td-p/1920579
04-13-2012 02:22 AM
Problem 1 - CVI code does not work
It should work.Only issue i see is the name of the card in the MAX.
Open MAX (installed with NI device drivers) and look for your card.
Ensure name of this card is same as used in the CVI ( ex "Dev1").
From the MAX you can also run test panels to check the card and its output.
Problem -2 :
For TS compatibility you need to create DLL ( example shown are of exe format)
There are CVI DLL example codes in TS example directories.
You can refer them to create DLL and call from Teststand.
04-17-2012 05:36 AM
Hi,
Thanks for responding me. I solved my problem.I did it with Labview adapter it seems to be easier and functionnal.The snapshot shows the the VI that works efficiently:)
Regards,