I have function in DLL:
unsinged long MyFunction( void *pHandle, OverCurrentProtection *pStatus);
Parameter *pStatus is of a type OverCurrentProtection that is defined in c++ as:
structOverCurrentProtection : OverVoltageProtection
{
uint32_t current_ma
uint32_t current_A
}
and the parent class of a OverCurrentProtection is OverVoltageProtection, that is defined as:
structOverVoltageProtection
{
uint32_t testFinished;
uint32_t rec = 0;
}
When I try to import DLL using Import Shared Library wizard the function is not recognized.
My Questions:
1. How can function be defined using Call library function node?
2. How should function be defined in c++ so that Labview will be able to recognize it?