03-07-2012 04:15 AM
Hi,
I'm learning my self to use both Labwindows and Test Stand and i have some problems.
I want to generate 5V from my NI PCI 6509 in order to drive relays so i think to use the C code from Finder Examples in Labwindows(WriteDigChan.prj).
I tried to call this CVI code from Test Stand but I couldn't.I need to insert the WriteDigChan.dll in "Module".I don't find the .dll so i tried to create it but it dosen't work at all.
Is that .dll necessary?
Any suggestion please!
Best Regards,
03-07-2012 04:13 PM
Yes, that dll is necessary. I don't have CVI on my machine but if I recall correctly there should be full working examples, including dlls, in the Example folder for CVI.
03-08-2012 01:23 AM
Ok that's understood....but "if i call correctly" that is what i need would tell me please how i CORRECTLY call a cvi from Test Stand.
Regards,
03-08-2012 01:28 AM
checkout the example "computer.seq" in <teststand>\Examples\Demo\C\
03-08-2012 02:56 AM
It always shows me this error 😞
03-08-2012 03:08 AM
is function a defined as a DLLEXPORT?
03-08-2012 03:37 AM
No..should i declare my function with DLLSTDCALL!
Regards,
03-08-2012 03:38 AM
i mean DLLExport sorry
03-08-2012 05:13 AM
You need to export the functions that you want visible for other external applications, such as teststand, to use.
Checkout the computer.prj associated with computer.seq example.
03-08-2012 06:19 AM
OK i'll try,thanks.
Regards,