Agilent Technologies DP235, DP240 Buffer size, Banks for SMAR, Calibration, DMA Data Transfers

Models: DC140 DC110 DC211 DC135 DP105 DP106 DP211 DP235 DP210 DP111 DP1400 DP110 DP214 DP212 DP240

1 66
Download 66 pages 37.45 Kb
Page 52
Image 52

Buffer size

Upon startup of the application, the available physical memory on the computer is checked. The total data buffer size is then limited to the available memory minus 10% of the total memory. It is also possible to limit the total data buffer size to a fixed value with the -bnoption (where n is the limit in MB, e.g. -b200 will limit the buffer to 200 MB). The data buffer is then shared among the active channels.

When the total acquisition memory (sum over all active channels) exceeds the data buffer size limit, readout of the data will be partial. The special operation modes such as Segments Average, Average, Digital Filter and FFT are not supported with partial data readout.

Partial readout is controlled with the Very Long Memory panel (menu Options ->Very Long Memory...). The first segment and the first sample to read out can be specified. Note that if the buffer is large enough for at least 1 full segment, only full segments will be read (i.e. first sample control is ignored).

When saving data to file, you will be prompted for a maximum number of segments per file.

Banks for SMAR

Some of the 10-bit Family modules are capable of acquiring data and being read out simultaneously. The -Bnoption allows the internal memory of the digitizer to be divided into n banks. To observe the improved acquisition trigger rate achievable in this mode it is suggested to set up the desired conditions and then turn the event display off. The trigger out signal can be used to monitor the trigger rate; an interval width trigger can be used to check if triggers are missing.

Calibration

Before operation, the instruments must undergo an internal calibration. As this calibration can only proceed sequentially for each channel, the initialization time of AcqirisLive can become significant for systems with many channels. Therefore, it can sometimes be desirable to be able to start the application quickly by skipping the calibration (which must then be done "manually" before collecting correct data).

DMA Data Transfers

By default, data transfers on the PCI bus between the digitizer memory and the PC are done in DMA (Direct Memory Access) mode, which allows the fastest transfer speeds (up to about 130 MB/s peak, 100 MB/s sustained acquisition data rate). These very high data rates are not well supported by all hardware configurations (PC motherboard), and system hangs due to endless retries on the PCI bus have been observed on some machines. Such problems disappear when switching DMA mode off (data transfer rate is then about 2.8 MB/s).

Please note that switching DMA data transfer mode off precludes the use of acquisition interrupts. The –i switch will therefore be ignored when –n is used.

Process Priority

When the program checks for an event from the operating system (e.g. to react to user input), it can put itself to sleep for a specified period of time. This gives other applications more processor time, but limits the performance of AcqirisLive in terms of maximum acquisition rate. The default is not to go to sleep, but this can be overridden to allow better performance for other applications. Note that this sleep policy is only in effect while the acquisition is running. When the acquisition stops, the sleep policy is always reset to the longest sleep period.

Acquisition Interrupts

When performing acquisitions, there are 2 possible ways to wait for the acquisition to complete: polling or using a hardware interrupt.

-p Polling: AcqirisLive runs as a single thread process. After an acquisition is started, the instruments are regularly polled to check when the acquisition is complete. The user interface is still alive, but the latency for reading the data after the acquisition may vary.

-i Hardware interrupt: In this mode, AcqirisLive is run as a multi-thread process. After starting an acquisition, a new thread is created to wait for the hardware interrupt indicating that the acquisition completed. This thread is put to sleep, and wakes up upon reception of the interrupt from the instrument, or after a 2 seconds timeout.

Please note that switching the DMA data transfer mode off precludes the use of acquisition interrupts. The –i switch will therefore be ignored when –n is used.

Transient Recorder mode

The application will start in the Transient Recorder mode as opposed to the oscilloscope mode

User Manual: Family of 8-bit Digitizers

Page 52 of 66

Page 52
Image 52
Agilent Technologies DP235, DP240, DP212 Buffer size, Banks for SMAR, Calibration, DMA Data Transfers, Process Priority