Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

DLL paremeter problem with TestStand

Dear All,

I made a DLL for my application.And When I call this dll from TestStand program I can not reach with my functions paremeters.

There is error on screen:

                                        No Paremeter Information error bar says

                                               This function does not have a paremeter information in the DLL.

 

I have to  adjust the dll functions paremeters.But ı can not do this yet.

 

 

Measurement Studio is ver 6.0

There is no error while creating the dll.

 

Thank you very much

Best Regards,

0 Kudos
Message 1 of 6
(7,834 Views)

Hi MuratTUNC,

 

In order for TestStand to recognize the parameters of the function, you need to use a type library with your dll.  More information on how to add a type library can be found here:

 

http://msdn.microsoft.com/en-us/library/aa266425(VS.60).aspx

 

Let me know if you have any other questions!

 

Al B.
Staff Software Engineer - TestStand
CTA/CLD
0 Kudos
Message 2 of 6
(7,799 Views)
Thanks for your useful information.I did my purpose correctly ,But I have a problem, In CVI directory(version 6.0) we have serial.c file.For example ın this c file we have a function which is , int DLLSTDCALL ConfigCallBack (int panel, int control, int event, void *callbackData, int eventData1,int eventData2); I made a dll from this source correctly (there is no error message),and when I called this dll from Test Stand ,the program gived this message; The paremeter information for this function could not be read. Paremeter name 'callbackData' is of an unsupported type. So,I should the serial dll in my project but I can not see dll's function paremeters from the Test Stand. Thank you very much, Best Regards... Mura Tunç Test&Automation Engineer Grundig Electronics in Turkey
0 Kudos
Message 3 of 6
(7,783 Views)

Hi Mura,

 

The message you are seeing is not an error; it is just warning you that TestStand cannot find the prototype for your dll. To get the prototype, it is necessary to declare the function in the .h file of your dll source in addition to declaring in the c file. If you are still having problems, please let me know, but in the meantime you can manually enter the parameters for the module, and it will work.  Hope this helps!

Al B.
Staff Software Engineer - TestStand
CTA/CLD
0 Kudos
Message 4 of 6
(7,759 Views)

Hi ,

I made a labview dll(ver 8.2.1) which is working correctly.I use this dll with testSatnd 2.0.I am calling this dll and I get a correct result for my applications.I can give and take paremeters correctly. I want to see the resultant image on the front panel,but I can not see the front panel of the dll VI.In my application I am sending my color paremeters to the labview dll,and I want to see the color datas image on the User Interface of the dll.I can make image processing things correctly but I can not see the User interface.

 

Thank you very much,Best Regards,

 

Murat Tunç

İstanbul Turkey

0 Kudos
Message 5 of 6
(7,542 Views)

Hi Murat,

 

Have you tried checking the "show vi front panel when called" in the specify module selection?  This should show the front panel of the LabVIEW dll.  Let me know if you are still having problems!

Al B.
Staff Software Engineer - TestStand
CTA/CLD
0 Kudos
Message 6 of 6
(7,525 Views)