Description |
Triggered by a channel event. |
VB Syntax |
Sub app_OnChannelEvent(ByVal eventID As Variant, ByVal chanNum As Variant) |
Variable |
(Type) - Description |
app |
An Application (object) |
eventID |
Code number of the event which occurred |
chanNum |
Channel Number of the event |
Return Type |
Not Applicable |
Default |
Not Applicable |
Examples |
Sub pna_OnChannelEvent(ByVal eventID As Variant, ByVal channelNumber As Variant) |
C++ Syntax |
HRESULT OnChannelEvent(VARIANT eventID, VARIANT channelNumber) |
Interface |
IApplication |
1792 naEventID_CHANNEL_SWEEP_COMPLETE
1793 naEventID_CHANNEL_TRIGGER_COMPLETE
1796 naEventID_SET_CHANNEL_DIRTY
1797 naEventID_CLEAR_CHANNEL_DIRTY
1801 naEventID_ALL_SWEEPS_COMPLETED_AND_PROCESSED
1805 naEventID_CHANNEL_CREATED
1806 naEventID_CHANNEL_DELETED
1876 naEventID_NO_SOURCE_ATTEN
1879 naEventID_FREQ_OFFSET_OVERRANGE_SO_TURNED_OFF
1883 naEventID_PORT_NUMBER_OUT_OF_RANGE
Errors and the SCPIStringParser Object