NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting parameters from .net dll

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

0 Kudos
Message 1 of 4
(3,204 Views)

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.

0 Kudos
Message 2 of 4
(3,200 Views)

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

0 Kudos
Message 3 of 4
(3,198 Views)

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.

 

0 Kudos
Message 4 of 4
(3,165 Views)