NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

pass cluster through DLL to Teststand

I have to pass  Time Stamp & number thr'  a cluster in a DLL to Teststand

 

thts  generating error  System Level Exception.[Error Code: -17502] 

 

 

the Cluster ProdOrder(in pic ) is generating Issues

0 Kudos
Message 1 of 15
(5,615 Views)

the Custom datatype tht I have to generate for this Cluster in teststand  cld be also   the culprit

 

 

I have added the Mytypes ini file  where I have defined     the datatype as ProdorderMYINI

Download All
0 Kudos
Message 2 of 15
(5,608 Views)

the dll file

0 Kudos
Message 3 of 15
(5,607 Views)

Hi Aparab,

 

Thank you for your message.

 

Could you please have a look at this document:

Passing Structured Data Types Between TestStand and a LabVIEW DLL

http://digital.ni.com/public.nsf/allkb/22BF02003B4588808625717F003ECD67

 

Thanks

Julien De Freitas

Applications Engineering Group Leader / Certified LabVIEW Developer (CLD)
National Instruments Switzerland
0 Kudos
Message 4 of 15
(5,582 Views)

Thanks Julien,

 

have already taken care of the doc.

0 Kudos
Message 5 of 15
(5,580 Views)

Hi Aparab,

 

have you already seen this Knowledge Base:

http://digital.ni.com/public.nsf/allkb/901B5E1C33A102A18625671C007C501F?OpenDocument

 

Thanks

Julien De Freitas

Applications Engineering Group Leader / Certified LabVIEW Developer (CLD)
National Instruments Switzerland
0 Kudos
Message 6 of 15
(5,564 Views)

thanks

 

but i am using a DLL adapter  & not activex

0 Kudos
Message 7 of 15
(5,559 Views)

Hi,

 

Could you please configure the DLL adapter?

 

Thank you

 

Julien De Freitas

Applications Engineering Group Leader / Certified LabVIEW Developer (CLD)
National Instruments Switzerland
0 Kudos
Message 8 of 15
(5,556 Views)

 

 

Hi,

 

as u see in the png the dll adapter has only 1 imp setting the struct packing which  I have set already

 

regards

akshay

0 Kudos
Message 9 of 15
(5,553 Views)

Hi,

 

could you please check the settings for your custom data type in TestStand. I am sending you a screenshot.

 

Thanks

Julien De Freitas

Applications Engineering Group Leader / Certified LabVIEW Developer (CLD)
National Instruments Switzerland
0 Kudos
Message 10 of 15
(5,546 Views)