Advantech MIC-3369C Installationsanleitung Seite 94

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 161
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 93
Dialogic
®
System Release 6.1 CompactPCI for Windows
®
Release Update 94
dx_resetch( )
Description
The dx_resetch( ) function recovers a channel that is “stuck” (busy or hung) and in a recoverable
state, and brings it to an idle and usable state. This function blocks all other functions from
operating on the channel until the function completes.
In synchronous mode, 0 is returned if the function completes successfully, and -1 is returned in
case of error.
In asynchronous mode, the TDX_RESET event is generated to indicate that the channel was
recovered and is in an idle and usable state. The TDX_RESETERR event is generated to indicate
that the channel is not recoverable. Issuing any other media calls on this channel will result in an
error.
Cautions
The dx_resetch( ) function is intended for use on channels that are stuck and not responding.
Do not use it in place of dx_stopch( ). Use dx_resetch( ) only if you do not receive an event
within 30 seconds of when it’s expected. Overuse of this function creates unnecessary
overhead and may affect system performance.
Name: dx_resetch (chdev, mode)
Inputs: int chdev
valid channel device handle
int mode
mode of operation
Returns: 0 if success
-1 if failure
Includes: srllib.h
dxxxlib.h
Category: I/O
Mode: asynchronous or synchronous
Platform: DM3
Parameter Description
chdev Specifies the valid device handle obtained when the channel was opened
using dx_open( )
mode Specifies the mode of operation:
EV_ASYNC – asynchronous mode. The calling thread returns
immediately so it can process media functionality on other channels.
EV_SYNC – synchronous mode. The calling thread waits until the
channel is recovered or discovers that the channel is not in a
recoverable state.
Seitenansicht 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 160 161

Kommentare zu diesen Handbüchern

Keine Kommentare