Sample code
Sample codes for Keysight 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
– Custom channel: User can group eight DI bits to form a new DI channel or
To view the sample code
Select Sample Code on the Keysight Modular Products Installation Menu and
choose the type of language. See the following figure.
Keysight U2600A Series User's Guide
if user tries to write the value after the trigger has been executed.
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.
Getting Started
29
1