The CogPrio type exposes the following members.
| Name | Description | |
|---|---|---|
| CreateDefaultEvents |
Create and return set of default precision i/o events for this hardware.
Adds an "InputChanged_" event for each input line. The event for input line 0 is named "InputChanged_0" and so on... The input events are _CAUSED_ by any signal transition on the dedicated input line. The input events are not configured with a _RESPONSE_. Adds an "PulseOutput_" event for each output line. The event for output line 0 is named "PulseOutput_0" and so on... The output events _RESPOND_ by pulsing the the dedicated output line high for 10.0ms. The output events are not configured with a _CAUSE_ and only occcur as a result direct user scheduling. This method creates and returns a collection of events. Note that you need to assign the returned collection of default events to the Comm Card Prio object (i.e. mPrio.Events = mPrio.CreateDefaultEvents()) if you wish to actually configure and use these events on the hardware. | |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| DisableEvents |
Disables all configured events from firing.
| |
| Dispose | ||
| EnableEvents |
Enables the configured events.
| |
| Equals | (Inherited from Object.) | |
| GetBanks |
Returns an array of the supported I/O banks of the current hardware.
| |
| GetBankType |
Returns the type (input, output, etc...) of a given I/O bank
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetNumLines |
Returns the number of I/O lines the hardware supports in the given bank.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| IsBankSupported |
Returns true if the hardware supports the given I/O bank.
| |
| IsInputBank |
Returns true if the bank is an input bank.
| |
| IsLineSupported |
Returns true if the hardware supports the given I/O bank.
| |
| IsOutputBank |
Returns true if the bank is an output bank.
| |
| ReadState |
Get the current state of the I/O interface.
| |
| ResumeAndRaiseChangedEvent |
Re-enables raising of the Changed event after SuspendChangedEvent
has been called, and raises the Changed event if the
ChangedEventSuspended count is reduced to zero and any changes were
made while events were suspended. Must be called once for each call to
SuspendChangedEvent.
(Inherited from CogSerializableChangedEventBase.) | |
| SetEncoderCount |
Set the encoder count.
Note that current hardware platforms only report 32-bits of encoder data. This means that, depending on the hardware, the encoder may rollover (go back to 0) when the encoder count reaches 4294967295, (0xFFFFFFFF). On platforms like this only the lower 32 bits of the encoderCount argument are used when calling SetEncoderCount()... So don't try to set the encoder count to a negative number or a number greater than 4294967295. | |
| SetOutput |
Set an output line.
| |
| SetOutputs(CogPrioBankConstants, Int64) |
Set multiple output lines at the same time.
| |
| SetOutputs(CogPrioBankConstants, Int64, Int64) |
Set multiple output lines at the same time.
| |
| SetValid |
Cognex Internal Use Only
(Inherited from CogPrioEventConfigObjectBase.) | |
| SetValid(Boolean, String ) |
Cognex Internal Use Only
(Inherited from CogPrioEventConfigObjectBase.) | |
| SuspendChangedEvent |
Temporarily suspends the raising of the Changed event. May be called
more than once, and a corresponding call to ResumeAndRaiseChangedEvent
must be made for each call to SuspendChangedEvent.
(Inherited from CogSerializableChangedEventBase.) | |
| ToString | (Inherited from Object.) |