Argantix KDC 80-62 Manuel d'utilisateur Page 37

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 120
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 36
Programming Manual
Query Syntax MEASure:ARRay:CURRent[:DC]? [<n>,<n>]
FETCh:ARRay:CURRent[:DC]? [<n>,<n>]
Parameters Optional block and offset parameters <n>,<n>. Where the first value
<n> is the number of 256 sample blocks to transfer and the second
value <n> is the first block (offset) to start with. Number of blocks is
from 1 to 16, offset is from 0 to 15.
Examples MEAS:ARR:CURR? FETC:ARR:CURR? 4,0
Returned Parameters <BNRD> 4096 data points in arbitrary block data format
Related Commands MEAS:ARR:VOLT SENS:SWE
MEASure:ARRay:MODE
This command selects the waveform array data format to be used. The default mode is binary
(BIN) which uses an IEEE floating point data format in which each data sample is transferred as
a 4 byte floating point binary data word. Alternatively, an ASCII format may be selected (ASCii)
in which each data sample is sent as 8 ASCII Hex values representing the 4 byte IEEE floating
point data. Note that the transfer mode only applies to measurement array queries. All other
measurement queries always return ASCII data. Note that at power on, the default mode is
always set to binary (BIN).
Syntax MEASure:ARRay:MODe
Parameters BIN | ASCii
Examples MEAS:ARR:MOD ASC
Related Commands MEAS:ARR:VOLT MEAS:ARR:CURR
Note: The MEAS:ARR:MOD command is provided to allow waveform data transfers in ASCII on
DBCS versions of MS Windows. Examples of DBCS versions are Chinese, Korean, Japanese
etc. On most Windows versions, the binary mode can be used as it reduces the amount of data
transferred and thus provides better throughput.
Note: KDC units with firmware revision 1.06 through 1.12 have a parser error that requires
different parameters to be sent with the MEAS:ARR:MOD command. For units with this firmware
revision, use MAST instead of BIN and use APAR instead of ASC.
The ASCII mode will double the number of characters transferred so provisions for a larger
receive buffer on the PC may have to be made. In binary mode, the maximum data size for the
complete acquisition buffer is 16KB. In ASCII mode, the maximum data size for the complete
acquisition buffer is 32KB. The block size and block offset parameters may be used to reduce
the amount of data transferred if the entire acquisition buffer is not needed by the end-user or
application program.
Acquisition data is fomratetted in an IEEE floating point format to reduce data size. The following
VB6 sample program illustrates how to convert to native floating point data formats.
Conversion function sample VB6. Converting waveform data from either transfer mode to a
single precision value can be accomplished using the following sample routine:
Public Function StringToIEEEFloat(ByVal sData As String, ByVal bAsciiMode As Boolean) As
Single
'=============================================================
'bAsciiMode flag is used if data is received as 8 ascii chars
'representing Hex 0-9,A-F. If bAsciiMode flag is false, then
'data is process as 4 char representing a byte each. Ascii
'mode is needed for DCBS windows
'=============================================================
Dim i As Integer
Dim j As Integer
Dim iChar As Integer
Dim expo As Long
Dim mantisse As Long
36 KDC Series DC Power Supplies
Vue de la page 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 119 120

Commentaires sur ces manuels

Pas de commentaire