NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how integrate a CVI code in Test Stand

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,

 

 

0 Kudos
Message 1 of 10
(4,102 Views)

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.

CTA, CLA, MTFBWY
0 Kudos
Message 2 of 10
(4,076 Views)

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,

0 Kudos
Message 3 of 10
(4,066 Views)

checkout the example "computer.seq" in <teststand>\Examples\Demo\C\

 

 

Regards
Ray Farmer
0 Kudos
Message 4 of 10
(4,064 Views)

It always shows me this error 😞

0 Kudos
Message 5 of 10
(4,060 Views)

is function a defined as a DLLEXPORT?

 

 

Regards
Ray Farmer
0 Kudos
Message 6 of 10
(4,056 Views)

No..should i declare my function with DLLSTDCALL!

Regards,

0 Kudos
Message 7 of 10
(4,053 Views)

i mean DLLExport sorry 

0 Kudos
Message 8 of 10
(4,052 Views)

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.

Regards
Ray Farmer
0 Kudos
Message 9 of 10
(4,044 Views)

OK i'll try,thanks.

Regards,

0 Kudos
Message 10 of 10
(4,042 Views)