CreateEvent
|
![]() ![]() ![]() |
|
[in] unsigned int msgID
|
Integer value specifying the numerical ID of the event.
|
|
[in] const char* name
|
Name of the event to be created. Should not be NULL or empty.
|
|
[in] const char* parentCategory
|
Parent category under which the event sub-category will be created. The category must be created by a prior call to CreateEventCategory.
|
[in] bool evTimestamp
|
If TRUE, the event will contain the Timestamp feature.
|
[in] bool evChannelID
|
If TRUE, the event will contain the ChannelID feature.
|
[in] bool evFrameID
|
If TRUE, the event will contain the FrameID feature.
|
S_OK
|
Success
|
E_FAIL
|
Failure
|
E_NOINTERFACE
|
Parent category does not exist
|
|
m_pCamera->CreateEventCategory ("EventControl");
|
m_pCamera->CreateEvent (0x8e94, "AcquisitionTrigger", "EventControl", True, False, False);
|
|
|
|
<Category Name="EventAcquisitionTriggerData" NameSpace="Standard">
|
<pFeature>EventAcquisitionTrigger</pFeature>
|
<pFeature>EventAcquisitionTriggerTimestamp</pFeature>
|
</Category>
|
|
<IntReg Name="regEventAcquisitionTrigger">
|
<Address>0x1014C</Address>
|
<Length>4</Length>
|
<AccessMode>RO</AccessMode>
|
<pPort>Device</pPort>
|
<Sign>Unsigned</Sign>
|
<Endianess>BigEndian</Endianess>
|
</IntReg>
|
|
<IntReg Name="regEventAcquisitionTriggerTimestamp">
|
<Address>0x8</Address>
|
<Length>8</Length>
|
<AccessMode>RO</AccessMode>
|
<pPort>EventAcquisitionTriggerPort</pPort>
|
<Sign>Unsigned</Sign>
|
<Endianess>BigEndian</Endianess>
|
</IntReg>
|
|
<Port Name="EventAcquisitionTriggerPort">
|
<EventID>8e94</EventID>
|
</Port>
|