Keysight V3500A User Manual page 70

Handheld rf power meter
Hide thumbs Also See for V3500A:
Table of Contents

Advertisement

3
Driver Installation and Commands
Command Name
Description
Usage
Parameters
Return Value
50
IsDeviceAvailable()
This int function checks the status of the device pointed to
by SerialNumber.
C#.NET
int SN=10973300;
int MeterAvailable=myPM.IsDeviceAvailable(SN);
Visual Basic.NET
Dim SN As Integers
SN=10973300
Dim MeterAvailable As Integer
MeterAvailable = myPM.IsDeviceAvailable(SN)
Visual C++.NET
int SN=10973300;
int MeterAvailable=myPM->IsDeviceAvailable(SN);
Visual Basic 6.0
Dim SN As Long
SN=10973300
Dim MeterAvailable As Integer
MeterAvailable=myPM.IsDeviceAvailable(SN)
Visual C++ 6.0
int SN = 10973300;
int MeterAvailable=myPM.IsDeviceAvailable(SN);
myPM refers to the created V3500A object.
SN is the serial number (32- bit signed integer) of the V3500A
being checked.
MeterAvailable is the integer variable created containing
the device status.
Returns a 32- bit integer with one of the following values:
• 0: Unavailable — the device may have been opened by
another program.
• 1: Available.
• –1: Absent—the device was not found.
V3500A User's Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents