Measurement Computing   Easy to Use | Easy to Integrate | Easy to Support catalog banner

DASYLab 2016 and Measurement Computing High-speed Analog and...

Expand / Collapse
 

DASYLab 2016 and Measurement Computing High-speed Analog and Digital Output Devices --Suggested block sizes for output


The Measurement Computing driver for DASYLab 2016 uses the MCC Universal Library to communicate with supported devices.

MCC devices that support hardware-paced Analog Output require large buffers to prevent data underrun errors. The UL Help and the device specifications are often not specific enough to determine correct and optimal output buffers. This article provides a table of recommended buffer sizes for supported devices. The DASYLab driver uses the block size setting to determine the buffer that is allocated for Analog and Digital Output

Note that the Analog Output and Analog Input use different hardware clocks for high-speed input and output on supported devices. You can configure the sample rates differently for each subsystem. If you want to connect the data from the Analog Input to a Analog or Digital Output, you either need to set the sample rates and block sizes the same, or you need to increase the block size for the Output modules using the Signal Analysis Data Window module. 

Problem: underruns occur when a Measurement Computing DAQ device and a DASYLab output control module use different time bases that are not in synch with each other.

Fix:   Use the same time base for both output modules: 

Set the Synchronization Time base option on the MCC output module to "Time base," and the Synchronization Time base settings option on the DASYLab output control to "<MCC Device> - Output HW."

When creating a new worksheet with DASYLab 2016, the output hardware timebase is selected by default on the MCC device. You must select the same output hardware timebase for the DASYLab output control module:

1. Double-click on the DASYLab output control module and click "Options."
2. Click the drop-down list under Time base settings and select the   "<MCC Device> - Output HW" timebase.

When opening a version 13 worksheet in version 14, you must select the output timebase hardware for both the MCC hardware device and the DASYLab output control module:

1. Double-click on the MCC output module and click "Hardware."
2. Set the Synchronization Timing option to "Timebase."
3. Click OK twice and return to the worksheet.
4. Double-click on the DASYLab output control module and select Options.
5. Set the Synchronization "Time base settings" option to   "<MCC Device> - Output HW" timebase."
6. Click OK twice and return to the worksheet.

To avoid data underruns, use the table below to select a block size for the Analog Output-HW or Digital Output-HW time base. If this table does not help you, please contact us at MCC Support. You will need details of your DASYLab license (version, type, serial number), the version of the MCC-DRV driver, the version of the Universal Library/InstaCal and the exact model of the device that you are using.

Device Max AO Scan Rate Default 1000 -
10,000
10,000 -
50,000
50,000 -
100,000
100,000 -
500,000
> 500,000
PCI-2515 1MS/s 150000 2500 8500 10000 24000 150000
PCI-2517 1MS/s 150000 2500 8500 10000 24000 150000
PCI-DAS1001 Software paced 1024 n/a n/a n/a n/a n/a
PCI-DAS1002 Software paced 1024 n/a n/a n/a n/a n/a
PCI-DAS6014 1 MS/s 1024
PCI-DAS6025 1 MS/s 1024
PCI-DAS6030 1 MS/s 1024
PCI-DAS6031 1 MS/s 1024
PCI-DAS6035 1 MS/s 1024
PCI-DAS6036 1 MS/s 1024
PCI-DAS6052 1 MS/s 1024
PCI-DAS6070 1 MS/s 1024
PCI-DAS6071 1 MS/s 1024
PCI-DAS6402-12 100KS/s/ch 1024
PCI-DAS6402-16 100KS/s/ch 1024
PMD-1208FS/USB-1208FS 10 kS/s 250
USB-1208FS-PLUS 50 kS/s 6500 1600 6500
USB-1208HS-2AO 1 MS/s 35000 5000 8500 10000 22000 35000
USB-1208HS-4AO 1 MS/s 35000 5000 8500 10000 22000 35000
USB-1408FS 50 kS/s 250
USB-1408FS-PLUS 50 kS/s 6500 1600 6500
USB-1602HS-AO 1 MS/s 48000 512 2100 3100 20000 48000
USB-1604HS-AO 1 MS/s 48000 512 2100 3100 20000 48000
USB-1608GX-2AO 250 kS/s 25000 3000 6000 8000 25000
USB-1608HS-2AO 70 kS/s 2600
USB-1616HS-2 1 MS/s 150000 2500 8500 10000 24000 150000
USB-1616HS-4 1 MS/s 150000 2500 8500 10000 24000 150000
USB-1808 500 kS/s/ch 25000 2500 3800 7000 8000 25000
USB-1808X 500 kS/s/ch 25000 2500 3800 7000 8000 25000
USB-231 5 kS/s/ch 2600
USB-234 5 kS/s/ch 2600
USB-2408-2AO 1 kS/s 700
USB-2416-4AO 1 kS/s 1024
USB-2527 1 MS/s 150000 512 2048 5000 25000 150000
USB-2537 1 MS/s 150000 512 2048 5000 25000 150000
USB-2627 1 MS/s 145000 3500 5200 7200 24000 145000
USB-2637 1 MS/s 145000 3500 5200 7200 24000 145000
USB-DIO32HS 8 MS/s 38000 2500 8500 10000 22000 38000



Rate this Article:

Add Your Comments


For comments email [email protected].

Details
Article ID: 50739

Last Modified:1/29/2018 4:11:07 PM

Article has been viewed 10,180 times.

Options