Agilent Technologies InfiniiVision 3000 DSO-X 3054A Manual de Serviço Página 923

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 970
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 922
Programming Examples 37
Agilent InfiniiVision 3000 X-Series Oscilloscopes Programmer's Guide 923
nLength);
CheckVisaStatus(nViStatus);
// Write the data to the formatted I/O write buffer.
nViStatus = visa32.viBufWrite(m_nSession, DataArray, nLength,
out nBytesWritten);
CheckVisaStatus(nViStatus);
// Check for inst errors.
CheckInstrumentErrors(strCommand);
return nBytesWritten;
}
public StringBuilder DoQueryString(string strQuery)
{
// Send the query.
VisaSendCommandOrQuery(strQuery);
// Get the result string.
StringBuilder strResults = new StringBuilder(1000);
strResults = VisaGetResultString();
// Check for inst errors.
CheckInstrumentErrors(strQuery);
// Return string results.
return strResults;
}
public double DoQueryNumber(string strQuery)
{
// Send the query.
VisaSendCommandOrQuery(strQuery);
// Get the result string.
double fResults;
fResults = VisaGetResultNumber();
// Check for inst errors.
CheckInstrumentErrors(strQuery);
// Return string results.
return fResults;
}
public double[] DoQueryNumbers(string strQuery)
{
// Send the query.
VisaSendCommandOrQuery(strQuery);
// Get the result string.
double[] fResultsArray;
fResultsArray = VisaGetResultNumbers();
// Check for inst errors.
CheckInstrumentErrors(strQuery);
Vista de página 922
1 2 ... 918 919 920 921 922 923 924 925 926 927 928 ... 969 970

Comentários a estes Manuais

Sem comentários