EXAMPLE PROGRAMS

This page provides example programs to help you get started with your own application. The example programs are cross referenced to their application notes when one is available.

Visual Basic exe files will need Microsoft's VB6_Runtime_Files if you do not have Visual Studio 6 on your computer. Click here to download the VB6_Runtime_Files

Serial Programs

M95kybd.zip - An interactive program that lets a user control ICS's 4895 and any GPIB Instruments connected to the 4895 by entering commands from the computer keyboard. 4895 users should copy or adapt the 4895 initialization sequence for their programs.

SERkybd.zip - An interactive program that lets a user control ICS Electronics and other companies devices that have serial interfaces by entering commands from the computer keyboard. See AB23-2

GPIB Programs

AB48-36main.zip - A C language program that shows how to read partial blocks of data with ICS's 488.2V3 Driver. See AB48-36 for program documentation.

AB48-44_Programs.zip - A zip file with 32-bit and 64-bit example programs for Visual Basic and Visual C++. See AB48-44 for program documentation and 32 to 64-bit conversion instructions.

Delphi_GPIB_Explorer_v12.zip - An Ingear (Borland) Delphi example program for controlling GPIB devices from a Delphi program. See AB48-41a for program documentation and ICS's 488.2V3 Driver Manual for command descriptions.

4863_LabVIEW.zip provides sample VIs for controlling and ICS 4863 GPIB to Digital Interface. See AB48-31 for program documentation.

4864_LabVIEW.zip provides sample VIs for controlling and ICS 4864 GPIB to Relay Interface. See AB48-29 for program documentation.

ICS2Mod.exe - An Visual Basic program that lets a user control Watlow F4 Temperature Controllers from an ICS 4894 or 4804 GPIB-to-Serial Interface. Major disadvantage is that the 4894 and 4804 do not process the Modbus RTU protocol and push it back to the PC. See AB48-24 for documentation and AB48-25 for an improved method using Model 4899 and 4809 Interfaces.

TempCtlr.zip. - An Visual Basic program that lets a user control Watlow F4 Temperature Controllers from an ICS 4899 or 4809 GPIB-to-Serial Interface using simple commands. See AB48-25 for documentation and AB48-25 for an improved method using Model 4899 and 4809 Interfaces.

Dev_example.zip - An Visual Basic program that shows how a 488-PCI, 488-PCIlt o a 488-PCM controller using ICS's 488.2 Driver can be used as a device interface. See AB48-28 and the 488.2 Driver Manual for program documentation.

ibnotify_app.zip - A C language program that shows how ibnotify can be used to handle an asynchronous event. See AB48-32 for program documentation and the 488.2V3 Driver Manual for more information about ibnotify.

VBdemo.zip - A Visual Basic 6 example program that shows how to control GPIB devices from a interactive VB6 program. See AB48-35 for hints on program organization and ICS's 488.2V3 Driver Manual for command descriptions.

VB_File_Xfr_Demo.zip - A Visual Basic 6 program that shows how to read or write large files with a GPIB instrument. See AB48-37 for program documentation.

VBdemo.NET.zip - A Visual Basic .NET (2005) example program that shows how to control GPIB devices from a VB.NET program. See AB48-39 for program documentation and ICS's 488.2V3 Driver Manual for command descriptions.

VBFileDemo.NET.zip - A Visual Basic .NET (2005) example program that shows how add file handling capability for GPIB devices in a VB.NET program. See AB48-42 for program documentation and ICS's 488.2V3 Driver Manual for command descriptions.

VXI-11/Ethernet/LAN Programs

SCPI_example.zip - A C example program that shows how to control VXI-11.3 Instruments (ICS 8063) with SCPI commands from a Windows PC. See AB80-16 for program documentation.

SICL_kybd.zip - A Visual Basic example program that shows how to control VXI-11.2 GPIB Gateways (ICS 8065) and GPIB devices or VXI-11.3 Instruments with Agilent's SICL Library. See AB80-2 for program documentation.

VISA_kybd.zip - A Visual Basic example program that shows how to control GPIB devices, VXI-11.2 GPIB Gateways (ICS 8065) and GPIB devices or VXI-11.3 Instruments with an Agilent VISA Library. National Instruments VISA may be used for GPIB and VXI-11.3 Instruments but does not have VXI-11.2 capability.

TCL.zip - A TCL Script example for controlling GPIB Devices with ICS's 8065 GPIB Gateway. See AB80-6 for program documentation.

GPIB-Utils - A Linux program that includes controlling GPIB Devices with ICS's 8065 GPIB Gateway. See AB80-9 for program documentation.

ab80_12main 2.c - An rpc coding example for controlling GPIB Devices with ICS's 8065 GPIB Gateway. The example was written for an Apple MAC but can be used on most Linux/Unix computers. See AB80-12 for program documentation.

ab80_14main 2.c - An rpc coding example for controlling VXI-11.3 compliant instruments like ICS's 80xx series Interfaces. The example was written for an Apple MAC but can be used on most Linux/Unix computers. See AB80-14 for program documentation.

ab80_17 WebClient- An C Language example for writing and querying webserver parameters. See AB80-17 for program documentation.

 

ICS Electronics Example Programs for GPIB, Serial and VXI-11 Ethernet interfaces