EasyManuals Logo
Home>Tektronix>Measuring Instruments>TDSUSB2

Tektronix TDSUSB2 User Manual

Tektronix TDSUSB2
233 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #155 background imageLoading...
Page #155 background image
R-GPIB Commands Sample Program
the application.
3
*/
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include "decl-32.h"
/* Forward Declarations */
int start_application(int scope);
int exit_application(int scope);
int do_single_test (int scope);
int recall_setup( int scope, char *lename);
void display_results(int scope);
/* parameters needed to access
the device driver handler */
#dene BDINDEX 0 // Board Index
#dene PRIMARY_ADDR_OF_DMM 1 // Primary addre ss of device
#dene NO_SECONDARY_ADDR 0 // Secondary address of device
#dene TIMEOUT T10s // Timeout value = 10 seconds
#dene EOTMODE 1 // Enable the END message
#dene EOSMODE 0 // Disable the EOS mode
char ErrorMnemonic[21][5] = {"EDVR", "ECIC", "ENOL", "EADR", "EARG",
"ESAC", "EABO", "ENEB", "EDMA", "",
"EOIP", "ECAP", "EFSO", "", "EBUS",
"ESTB", "ESRQ", "", "", "", "ETAB"};
/*
After e ach GPIB call, the application checks whether the call
succeeded. If an NI-488.2 call fails, the GPIB driver sets the
corresponding bit in the global status variable. If the call
failed, this procedure prints an error m essage, takes
the device ofine and exits.
*/
void GPIBCleanup(int ud, char* ErrorMsg)
TDSUSB2 Universal Serial Bus Measurements Package 143

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tektronix TDSUSB2 and is the answer not in the manual?

Tektronix TDSUSB2 Specifications

General IconGeneral
BrandTektronix
ModelTDSUSB2
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals