Filter Library Camera Interface Physics

__SpmDeviceOpenData Struct Reference

#include <InterfaceDLL.h>

List of all members.


Detailed Description

Structure: SPMDEVICEOPENDATA for PROTOCOL [main program - camera dll].

Type to support the exchange of data between the CameraDLL and the main program.

 typedef struct __SpmDeviceOpenData
 {
        HANDLE          fhCyclicBuffer;                 // FileHandle to buffer storage file
        DWORD           dwMaxCyclicBufferSize;  // Maximum buffersize in Megabytes
        
        LPCRITICAL_SECTION csInUse;                     // Synchronisation object
        LPDWORD         lpdwProccessingPacket;  // Pointer to main packet processing.
 
 } SPMDEVICEOPENDATA, * LPSPMDEVICEOPENDATA;

This structure is used by the OpenDevice command. It passes a handle to the cyclic buffer file, opened by the main program. It sets the maximum available size for this file. The main program must close the file when the device is closed. The critical section object is used for synchronising access to the processing variable. This variable lpdwProccessingPacket indicates which packet, received by an UpdateFrame Notification, is currently being processed by the main for displaying.

Definition at line 680 of file InterfaceDLL.h.

Public Attributes

HANDLE fhCyclicBuffer
 FileHandle to buffer storage file.
HANDLE fhWaveFormDef
 FileHandle to waveform def. file.
HANDLE fhCameraConfig
 FileHandle to camera configuration file.
DWORD dwMaxCyclicBufferSize
 Maximum buffersize in Megabytes.
LPCRITICAL_SECTION csInUse
 Synchronisation object.
LPDWORD lpdwProccessingPacket
 Pointer to main packet processing.


The documentation for this struct was generated from the following file:
Camera Filter Library documentation © 2004-2007 by Leiden Probe Microscopy