Microsoft LPF-00004 Manual del operador Pagina 128

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 157
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 127
Page 110 PROGRAMMER'S GUIDE
C
YBER
A
MP
380, COPYRIGHT MARCH 2002, AXON INSTRUMENTS, INC.
15) integer GetChannelStatus (integer Channel, ref string StatusText)
This procedure returns the status information about the specified channel. The status information
includes the gain and filter settings, any attached probe type, notch filter setting, offset, couplings, etc.
The format of the status information is the same as returned by the CyberAmp.
16) integer GetOverloadStatus (ref integer ChannelMask)
This procedure returns a mask of bits corresponding to the channels of the CyberAmp that have
their overload flip-flop set. The least significant bit corresponds to channel 1, and the next bit to
channel 2, etc. A side effect of calling this procedure call is that the overload flip-flops for all
channels in the CyberAmp are reset.
17) integer SendRawText (ref string OutText, ref string ResultText)
This procedure sends the commands that are in OutText to the CyberAmp, with no editing other
than pre-pending the necessary command prefix "AT" and any device number specified by a prior
call to SetDeviceNumber. Any text that is returned by the CyberAmp after the command is
returned via the argument ResultText. The procedure return value has the value SUCCESS if no
error occurred and will return BADCOMMAND if the CyberAmp determined that there was an
error in one or more of the commands.
18) integer SaveCurrentState ( )
This procedure causes the CyberAmp to write the current channel setup into the unit's EEPROM.
When the CyberAmp is powered up, the previously saved setup information is read from the
EEPROM and used to configure all the channels. Any changes to the channel setup that are not
saved in the EEPROM will be lost if the CyberAmp is powered off.
19) integer FlushCommands ( )
This procedure will force any buffered CyberAmp commands to be sent to the unit. If there are no
buffered commands pending, then this procedure will do nothing but return a SUCCESS result. As a
precaution, a call to this procedure should be made before any calling program exits.
20) integer GetLastError ( )
This procedure returns the last return value generated by a call to a routine in the support library.
This allows simple coding of calls to the library procedures, as in the following BASIC fragment.
.
.
if GetStatus(Rslt$) then
ProcessErrorResult(GetLastError( ))
end if
.
.
21) integer GetLastReception (ref string ResultText)
This procedure returns any text that was transmitted by the CyberAmp in response to the last
command. The ResultText is returned unedited, but without the terminating ">".
22) integer GetLibraryVersion (ref string VersionText)
This procedure returns a string that contains the version number for the support library. This
version number is only changed when the calling sequence of one or more support routines is
changed.
Vista de pagina 127
1 2 ... 123 124 125 126 127 128 129 130 131 132 133 ... 156 157

Comentarios a estos manuales

Sin comentarios