![Saluki S3602 Series Скачать руководство пользователя страница 267](http://html2.mh-extra.com/html/saluki/s3602-series/s3602-series_user-manual_3674132267.webp)
Tel: 886.2.2175 2930 Email: [email protected]
www.salukitec.com
267
}
9.3.5.
Reading of Frequency Marker
/*************************************************************************/
The following example shows how to read the frequency scale information.
/*************************************************************************/
void ReadMarker ()
{
ViStatus status;
long retCnt;
char rd_Buf_Marker[VI_READ_BUFLEN]; // #define VI_READ_BUFLEN 20
// open the frequency marker 1 and query the frequency marker peak (frequency and amplitude)
status = viWrite(analyzer, ":CALC:MARKER ON;MARKER: FUNCtion:EXECute MAXimum\n", 25, &retCnt);
// read the X-axis information
status = viWrite(analyzer, ":CALC:MARK:X?; ", 15, &retCnt);
status = viRead(analyzer, rd_Buf_Marker, 30, &retCnt);
// read the Y-axis coordinate information
status = viWrite(analyzer, ":CALC:MARK:Y?; ", 15, &retCnt);
status = viRead(analyzer, rd_Buf_Marker, 30, &retCnt);
}
9.3.6.
Reading of trace Data /
*************************************************************************/
The following example shows how to read the trace data of the vector network analyzer. /
*************************************************************************/
void QueryData ()
{
ViStatus status;
long retCnt = 0;
int points= 0
// #define VI_READ_BUFLEN 1000000
char rd_Buf_BigData[VI_READ_DATABUFLEN];
char rd_Buf_Data[VI_READ_BUFLEN]; // #define VI_READ_BUFLEN 20
// selection of measurement