07-11-2017 07:16 AM
Hi everybody,
I have one issue with NI Teststand 2016 and have no clue what's the problem. Short summary:
I have a .seq that has only one vi. where it is used three calls to dll functions. This .dll is developed by customer and is used to communicated with product via interface program. The thing is that everything works ok in Development mode, if i change Labview adapter to use Run time i get no errors, but this .vi gives me a negative (false) result that connection to UUT was not successful. Why there is a difference between development environment and run time? Please help.
Solved! Go to Solution.
07-12-2017 05:54 PM
@Arvydas,
If you make your code into a LabVIEW executable that includes the dlls, do you see the same behavior?
07-13-2017 02:08 AM
@ t@nim@t0R,
Thank for the reply, but a vi in development environment and as executable works fine. In the dll i am connecting to application using "Main computer" name as "localhost". When i build an exacutable .alias file is created with this info. I was wondering maybe this name is different somehow at Teststand when labview adapter is changed to Run-time? Just a guess, but still i am out with things what to check.
07-13-2017
04:02 PM
- last edited on
12-04-2024
01:42 PM
by
Content Cleaner
Just to clarify, what behavior do you see when you use the executable in Teststand with the runtime environment selected?
Also, it may be useful to you to refer to the following document:
07-13-2017 10:53 PM
Ok i will check the doc. By the way when i run vi as executable in teststand everything works ok, but in that i case i need somehow to extract reference from that vi.
07-14-2017 04:38 AM
Huge thanks, your link helped. It is fixed now. 🙂
07-14-2017 11:17 AM
Great to hear!
Can you post what you did to reach the solution, so that future users who may reference this forum can use your knowledge?