Jump to content

mkaravitis

Members
  • Posts

    1
  • Joined

  • Last visited

    Never

mkaravitis's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. We are using a Mightex CCD line camera. Their dll and example code in VC++ has the following: ------------------------------------------------- // Structure ------------------------------------------------- typedef struct { int CameraID; int ExposureTime; int TimeStamp; int TriggerOccurred; int TriggerEventCount; int OverSaturated; int LightShieldAverageValue; } TProcessedDataProperty; ------------------------------------------------- // Function ------------------------------------------------- void _cdecl FrameCallBack( int __, int __, int __, TProcessedDataProperty* Attributes, unsigned char *FrameData ) { // Code here... ..... .... ... .. . } ------------------------------------------------- // dll function ------------------------------------------------- SDK_API CCDUSB_InstallFrameHooker( int __, FrameDataCallBack FrameCallBack ); The structure (TProcessedDataProperty) is called in the function (FrameCallBack), which in return is called as an argument in the dll function (CCDUSB_InstallFrameHooker). This dll funcion is third party vendor dll who don't have LabVIEW support, but is necessary to use this dll in order to access the CCD camera data. We have implemented the structure as a cluster in LabVIEW. But how do we implement the following in LabVIEW? (1) the FrameCallBack function that takes a pointer to structure argument (TProcessedDataProperty* Attributes), and (2) how do we pass the pointer to FrameCallBack function as an argument to the CCDUSB_InstallFrameHooker dll function? -- Thanks, Gautam.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.