Chapter 3 Example Programs
3.1 LAN Visual Basic Example Programs
LAN Sample Programs 1
This program connects to 8423 and do the sending and receiving of a command.
When push a command execute button and input the command
that wants to transmit it to the column of a command it is transmitted.
The answer is displayed to a text box, in the case of the command that is included (? ).
LAN Sample Programs 1 Visual Basic 6
LAN Sample Programs 1 Visual Basic 2005 Express Edition
LAN Sample Programs 2
This command connects to 8423 and do the acquisition of measurement data.
Using the :MEMORY:MAXPOINT? query, this program checks whether data can be output from memory.
Next, the program specifies the channel and point for output, using the :MEMORY:POINT command.
To capture data in ASCII format use the :MEMORY:ADATA? query,
and to capture data as voltage values use the :MEMORY:VDATA? query.
LAN Sample Programs 2 Visual Basic 6
LAN Sample Programs 2 Visual Basic 2005 Express Edition
LAN Sample Programs 3
This program connects to 8423 and take the value of each CH and attach to EXCEL.
A data acquisition interval is able to set up it at later intervals than one second.
EXCEL needs to be installed.
GetTickCount of WinAPI is being used.
LAN Sample Programs 3 Visual Basic 6
LAN Sample Programs 3 Visual Basic 2005 Express Edition
3.2@USB Visual Basic Example Programs
USB Sample Programs 1
This program connects to 8423 and do the sending and receiving of a command.
When push a command execute button and input the command
that wants to transmit it to the column of a command it is transmitted.
The answer is displayed to a text box, in the case of the command that is included (? ).
USB Sample Programs 1 Visual Basic 6
USB Sample Programs 1 Visual Basic 2005 Express Edition
USB Sample Programs 2
This command connects to 8423 and do the acquisition of measurement data.
Using the :MEMORY:MAXPOINT? query, this program checks whether data can be output from memory.
Next, the program specifies the channel and point for output, using the :MEMORY:POINT command.
To capture data in ASCII format use the :MEMORY:ADATA? query,
and to capture data as voltage values use the :MEMORY:VDATA? query.
USB Sample Programs 2 Visual Basic 6
USB Sample Programs 2 Visual Basic 2005 Express Edition
USB Sample Programs 3
This program connects to 8423 and take the value of each CH and attach to EXCEL.
A data acquisition interval is able to set up it at later intervals than one second.
EXCEL needs to be installed.
GetTickCount of WinAPI is being used.
USB Sample Programs 3 Visual Basic 6
USB Sample Programs 3 Visual Basic 2005 Express Edition