Reference Materials > List of Sample Programs

Previous | Next

List of Sample Programs

The following sample programs are generally included in a WinDaq software  installation (found in the program folder as designated during installation). This chart gives a quick reference and short description of what each program does. These and more sample programs can be found on the web in the Developer Forum at http://support.dataq.com/viewforum.php?f=15.

Name of Sample Program

Active X Controls Used

Description

Visual Basic Programs

AddWaveforms.vbp

DataqSdk

DQChart

WriteDataqFile

Acquires readings from 3 channels and adds them together to make one waveform. Click Here to download.

DataqSdk.vbp

DataqSdk

DQChart

Demonstrates basic DataqSdk functionality using a multitude of methods and properties. Click Here to download.

DataqSdkDevice.vbp

DataqSdk

DQChart

Demonstrates how to make a hardware device selectable to the user ensuring correct settings for DeviceID and DeviceDriver. Click Here to download.

DataqSdkTimer.vbp

DataqSdk

DQChart

Demonstrates basic DataqSdk functionality using a timer rather than EventPoint and NewData. Click Here to download.

DataqSdkTrigger.vbp

DataqSdk

DQChart

Demonstrates triggering using trigger properties. Click Here to download.

ExtractingDataFromVariant.vbp

DataqSdk

DQChart

Extracts information from data variant (i.e., getting a reading from each channel). Also converts channel data to volts. Click Here to download.

PlottingDigitalBits.vbp

DataqSdk

DQChart

Acquires and displays data from digital ports. Click Here to download.

ReadFile.vbp

DQChart

ReadDataqFile

Demonstrates basic ReadDataqFile properties and methods. Click Here to download.

ReadFileSingleDataPoint.vbp

ReadDataqFile

Demonstrates how to read data points (rather than view waveforms) one sample at a time. Click Here to download.

WinDaqDAOutput.vbp

WinDaq

DQChart

Demonstrates DAOutput method. Click Here to download.

WinDaqDerivative.vbp

WinDaq

DQChart

Demonstrates how to create derivatives of data stream you are eavesdropping on. Click Here to download.

WinDaqDigitalOutput.vbp

WinDaq

DQChart

Demonstrates eavesdropping and sending data to the digital out ports (DigitalOutput). Click Here to download.

WinDaqStream.vbp

WinDaq

DQChart

Very basic program demonstrating WinDaq Control use. Click Here to download.

WriteFile.vbp

DataqSdk

DQChart

WriteDataqFile

Demonstrates basic WriteDataqFile properties and methods. Click Here to download.

WriteFileCalculated.vbp

DataqSdk

DQChart

WriteDataqFile

Demonstrates saving a calculated channel to file. Click Here to download.

WSASTARTUP.vbp

DataqSdk

DQChart

Demonstrates code required for programming multiple Ethernet Devices. See also Programming for Multiple Ethernet Products. Click Here to Download.

LabView Programs

DataqSDK.vi

DataqSdk

Demonstrates basic DataqSdk Control functionality (not available on the web).

FileReader.vi

ReadDataqFile

Demonstrates basic ReadDataqFile Control functionality (not available on the web).

WdqShare.vi

WinDaq

Demonstrates basic WinDaq Control functionality (not available on the web).

C++ Programs

SDK

DataqSdk

DQChart

Demonstrates basic DataqSdk Control functionality. Click Here to download.

 

Top