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

Continuous analog input scan featuring mixed input signals with...

Expand / Collapse
 

Continuous analog input scan featuring mixed input signals with the USB-2408/2416


Attached to this article are examples showing some advanced programming features of the USB-2408 and USB-2416

They demonstrate the following:

  • Discover the device without having to use InstaCal.
  • Programmatically set the analog inputs:

    • Channel 0 to Differential, Temperature, user selected TC Type, data rate to 100 Hz, and enable open TC detect.

    • Channel 1 to Single Ended, data rate to 100 Hz

  • Convert the returned data in a 1D interleaved array to a 2D for use by other objects

  • Display the data 3 ways

  • Write the first elements array data to a csv file.

Requirements:

  • InstaCal and Universal library 6.51 or greater must be installed.

  • Microsoft® Visual Studio 2010 or greater.

  • To run the program, you must have a USB-2408 series or USB-2416 series device.

  • A thermocouple or jumper across CH0H and CH0L.

  • A single ended analog input signal source.



Rate this Article:

Attachments


AInScan_MixedSig_ToCSVfile_CS.zip AInScan_MixedSig_ToCSVfile_CS.zip (50.99 KB, 549 views)

AInScanBkgndCont_MixedSignals_VB.zip AInScanBkgndCont_MixedSignals_VB.zip (52.51 KB, 538 views)

Add Your Comments


For comments email TechSupport@mccdaq.com.

Details
Article ID: 50614

Last Modified:9/1/2016 7:33:09 AM

Article has been viewed 1,649 times.

Options