DEMO-BOARD

The DEMO-BOARD is a software simulation of a data acquisition device that simulates analog input and digital I/O operations.

The DEMO-BOARD supports the following features. Refer to the Notes on Python Support for information about using this board with the UL Python API for Windows.

Analog input

Functions

UL: cbAIn(), cbAInScan(), cbATrig(), cbFileAInScan()

UL for .NET: AIn(), AInScan(), ATrig(), FileAInScan()

Python*: a_in(), a_in_scan(), a_trig()

*InstaCal is required to detect the DEMO-BOARD.

Options

BACKGROUND, CONTINUOUS, SINGLEIO, DMAIO

HighChan

7 max

Rate

300000

Digital I/O

Functions

UL: cbDIn(), cbDBitIn(), cbDInScan(), cbDOut(), cbDBitOut(), cbDOutScan(), cbDConfigPort()

UL for .NET: DIn(), DBitIn(), DInScan(), DOut(), DBitOut(), DOutScan(), DConfigPort()

Python: d_in(), d_bit_in(), d_in_scan(), d_out(), d_bit_out(), d_out_scan(), d_config_port()

PortNum

FIRSTPORTA, FIRSTPORTB

AUXPORT

DataValue

0 to 255 using FIRSTPORTA, FIRSTPORTB, or AUXPORT

BitNum

0 to 15 using FIRSTPORTA

0 to 7 using AUXPORT

Using the DEMO-BOARD

Analog input

The DEMO-BOARD simulates eight channels of 16-bit analog input. InstaCal is used to configure the following waveforms on the analog input channels:

The data file is a streamer file, so any data that has been previously saved in a streamer file can be used as a source of demo data by the board. Data files are named DEMO0.DAT through DEMO7.DAT. When a data file is assigned to a channel, the library tries to extract data for that channel from the streamer file. If data for that channel does not exist, then the first (and possibly only) channel data in the streamer is extracted and used.

For example, DEMO2.DAT is assigned as the data source for channel 5 on the DEMO-BOARD. The library will try to extract data from the file that corresponds to channel 5. If DEMO2.DAT has scan data that corresponds to channels 0 through 15, then channel 5 data is extracted. If DEMO2.DAT only has data for a single channel, the data for that channel is used as the data source for channel 5.

Digital I/O

The DEMO-BOARD simulates the following: