09-08-2011 03:44 AM
Hello,
I've encountered a problem with getting variables (parameters ?) data from called .dll sequence.
The dll file I've created in Visual Basic 2008 and compiled into dll.
The function is working in TestStand when called, getting records from MS Access database.
When dll is running, a barcode can be scanned (or typed) into a richtextbox and the read database records shown on screen in textboxes.
I would need the barcode data (richtextbox) and the textboxes' content from the .net dll assembly.
I've read examples but unfortunately couldn't manage to get these datas as I would need to use them in the teststand steps later on.
Any help would be highly appreciated.
Thanks.
kopisti
09-08-2011 09:01 AM
Upload an example sequence with what you've tried and the include the DLL. We have no way of knowing anything specific about your situation without those.
09-08-2011 09:48 AM
What version of TestStand are you using? Also please state specifically what the question or problem is that you are having. It isn't clear to me from your description. Passing parameters in and out of .NET modules is pretty straightforward from TestStand if using the .NET adapter. You just specify the variables you want to pass or store the data in for the parameters.
Hope this helps,
-Doug
09-12-2011 02:03 AM
Thanks for your reply.
In the meantime I managed to solve the problem with TS functions, so I don't need to call a .dll.