Sample code
U2600A Quick Start Guide
Sample codes for Agilent VEE, LabView and Microsoft (C#, C++, VB7 and
VB6) are provided to help you get started and familiarized with the
instrument. The sample codes provided for each language are as follows.
• Example1: Demonstrates the initialization of the instrument
• ReadWriteChannel: Read data from instrument and write data to
instrument
• Interrupt: Demonstrates how the interrupt function works
• Trigger: Demonstrates how the trigger function works. An error will
be shown if user tries to write the value after the trigger has been
executed.
• Custom channel: User can group eight DI bits to form a new DI
channel or group eight DO bits to form a new DO channel. The new DI
or DO channels can then be used to perform normal DIO operation.
To view the sample code
Select Sample Code on the Agilent Modular Products Installation Menu
and choose the type of language. See the following figure.
19