NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to access NI data type CNiReal64Vector using DLL Flexible Prototype Adapter

I have a function, Ex. FindMax(CNiReal64Vector*, double* MaxValue),  in DLL and I expect TestStand to call this function using DLL Flexible Prototype Adapter. Unfortunately I couldn't expose this function in .odl from DLL because MIDL compiler can't recognize CNiReal64Vector.  TestStand can recognize certain custom type parameter that are defined by GUIDs. But I searched the NI web site and didn't find the GUID for CNiReal64Vector.

I understand I can use regular double array and array size to pass data between DLL and TestStand. However it would be nice if CNiReal64Vector can be accessed through Flexible Prototype Adapter. Or something like SAFEARRAY can be used by both TestSatand and DLL?

Anybody can give me better idea?

 

Kathy

0 Kudos
Message 1 of 2
(2,760 Views)
Hi Kathy,

I already posted a reply to a similar post you made here. Please let me know if this does not answer your question.

Regards,
0 Kudos
Message 2 of 2
(2,739 Views)