LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

why is adapter support file keeps running?

Please look into attchement
0 Kudos
Message 1 of 5
(3,278 Views)
Sonet,

This is more of a TestStand issue, I'll let the guys at TestStand know that you need some help here. However I was able to find an example that you may find usefull.

Programmatically Quit TSCVIRun Project

http://venus.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3E98B56A4E034080020E74861&p_node=DZ52195&p_submitted=N&p_rank=&p_answer=&p_source=Internal

Hope this helps,

Juan Carlos
N.I.
0 Kudos
Message 2 of 5
(3,278 Views)
Hello Sonet -

When you say the 'return type is string' are you creating a dll function who's return value is a string? TestStand's CVI adapter step types only support functions that return VOID or some sort of numeric value(int, double, float, short, long, etc...). Our DLL flexible adapter step types are similar. Your best bet is to pass your string/char buffer as a parameter to your function and make use of the ability to share data 'by reference' with your code.

If this isn't an answer to your question, please provide a function prototype and description of how you are calling it from TestStand and I will try again.

Regards,

Elaine R.
National Instruments
http://www.ni.com/support
0 Kudos
Message 3 of 5
(3,278 Views)
Hi Elaine ,

Thanks for ur reply.Please look into attchment

Best Regards
Sonet
Download All
0 Kudos
Message 4 of 5
(3,278 Views)
Hi Juan,
Thanks a lot for ur reply.Programmatically Quit TSCVIRun is working great

Best Regards
Sonet
0 Kudos
Message 5 of 5
(3,278 Views)