EasyManua.ls Logo

YOKOGAWA AQ6370C User Manual

YOKOGAWA AQ6370C
240 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 #24 background imageLoading...
Page #24 background image
2-11
IM AQ6370C-17EN
GP-IB Interface (GP-IB1 Port)
1
2
3
4
5
6
7
8
App
Index
Sample Program 2
Save an image of the instrument's screen to a BMP file, then use a file transfer command
to load the file onto the PC. Save the image on the PC under the file name, "C:\test.
bmp".
Const BOARD_ID = 0 'GP-IB Interface card Address
Const osa = 1 'OSA GP-IB Address
Private Sub Command1_Click()
Dim intAddrList(31) As Integer
Dim intData As Integer
Dim lngDataSize As Long
Dim strData As String
Dim intI As Integer
Dim byteData() As Byte
Dim byteSaveData() As Byte
Dim lngL As Long
'----- GP-IB Interface setting
' send IFC
Call SendIFC(BOARD_ID)
' assert th REN GPIB line
intAddrList(0) = NOADDR
Call EnableRemote(BOARD_ID, intAddrList())
' GPIB time out setting
Call ibtmo(BOARD_ID, T30s) 'Time out = 30sec
'----- send command to OSA
Call SendGPIB(osa, "CFORM1") ' Command mode set(AQ637X mode)
Call SendGPIB(osa, ":mmem:stor:grap color,bmp,""test"",int")
' Save bmp file to internal memory
Call SendGPIB(osa, ":mmem:data? ""test.bmp"",int")
' get file data from OSA
lngDataSize = RecieveBinaryGPIB(osa, byteData())
' Recieve binary block data
If byteData(0) <> Asc("#") Then ' check first data
MsgBox "Data format error"
Exit Sub
End If
'----- calculate data size
intData = byteData(1) - Asc("0")
strData = ""
For intI = 1 To intData
strData = strData + Chr(byteData(intI + 1))
Next intI
lngDataSize = Val(strData) ' data size
'----- make save data
ReDim byteSaveData(lngDataSize)
For lngL = 0 To lngDataSize - 1
byteSaveData(lngL) = byteData(lngL + intData + 2)
Next lngL
'----- save data to file
Open "c:\test.bmp" For Binary As #1
Put #1, , byteSaveData
Close #1
'----- Disconnect
Call EnableLocal(BOARD_ID, intAddrList())
MsgBox "Complete"
End Sub
2.6 Sample Program

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the YOKOGAWA AQ6370C and is the answer not in the manual?

YOKOGAWA AQ6370C Specifications

General IconGeneral
Wavelength Range600 to 1700 nm
Wavelength Accuracy (1520 to 1620 nm)±0.01 nm
Level Accuracy±0.5 dB
Polarization Dependency±0.05 dB
Measurement Speed0.2 sec (100 nm span)
Wavelength Accuracy±0.02 nm
Dynamic Range78 dB (peak ±1 nm)
Sensitivity-90 dBm
Input Power Range+20 to -80 dBm
Sweep Time0.2 to 2000 s
Display10.4-inch color LCD
InterfaceEthernet, USB
Light SourceBuilt-in calibration source
Dimensions (W x H x D)426 mm

Summary

Safety Precautions

Chapter 1 Remote Control Functions

1.1 Remote Interfaces

Describes the various types of communication interfaces available for remote control.

Chapter 2 GP-IB Interface (GP-IB1 Port)

2.1 Connecting via GP-IB

Details the physical connection process for the GP-IB1 port using a GP-IB cable.

Chapter 3 Ethernet Interface

3.1 Connecting via Ethernet

Explains how to connect the instrument to a LAN using the Ethernet interface from a PC.

Chapter 4 Serial (RS-232) Interface

4.1 Connecting via the Serial (RS-232) Interface

Describes the serial interface connection, its functions, specifications, and physical connection.

Chapter 5 GP-IB Interface (GP-IB2 Port )

5.1 Connecting via GP-IB2

Details the physical connection process for the GP-IB2 port, used for controlling external instruments.

Chapter 6 Status Registers

6.1 Status Registers

Provides an overview of the instrument's status registers, including types defined by IEEE 488-2 and SCPI.

Chapter 7 Remote Commands

7.1 Rules of Syntax and Command Types

Explains the syntax rules and classification of remote commands used for instrument control.

7.2 Table of Correspondence between Soft Keys and Remote Commands

Lists remote commands corresponding to instrument soft keys for various settings.

7.6 Instrument-Specific Commands

Details commands specific to instrument functions, organized by subsystem.

Chapter 8 Program Function

8.1 Editing a Program

Guides the user through the process of creating, editing, and managing programs on the instrument.

8.2 Executing a Program

Explains the two methods for executing programs: specifying and executing, or assigning to a soft key.

Related product manuals