WinDaq™ Direct Acquisition Manual

Welcome to the web-based Data Acquisition portal for DATAQ instruments. This guide will help you connect your hardware, configure channels, apply math, and log data securely and locally on your own machine.

Supported Hardware Models:
This portal provides native web-based support for the following DATAQ instruments:
DI-1100, DI-2008, DI-2108, DI-2108P, DI-2160, DI-4108-E/M, DI-4208-E/M, DI-4718B-E, and DI-4730.
System & Browser Requirements:
This portal communicates directly with your hardware using the Web Serial API. Because of this, it has specific platform requirements:

Note: MacBooks and Chromebooks are fully supported as long as one of the proper browsers listed above is installed and used. iPads and iPhones are strictly not supported, as Apple blocks hardware communication APIs on iOS devices.

Prerequisite: Enable Universal CDC Mode

Before using the WinDaq™ Direct Acquisition portal, your device must be set to Universal CDC Mode so the browser can communicate with it.

  1. Plug the device into your computer's USB port.
  2. Observe the status LED on the device:
    • 🟡 Blinking Yellow: Stop! You are already in Universal CDC mode. You are ready to connect.
    • 🟢 Blinking Green: The device is in standard Windows WinDaq (LibUSB) mode and needs to be switched.
  3. To switch modes: Cycle the power to the instrument. Once the LED turns green, push and hold the button (the LED will turn white) until the LED turns red. Release the button, and it should turn to blinking yellow to indicate it is in Universal mode.
Note: If you ever need to exit Universal mode to use the standard desktop WinDaq software, simply repeat the same press-and-hold action. A blinking green LED will confirm you are back in Windows WinDaq mode.

1. Connecting to the Hardware

Click the Connect Device button. Your browser will prompt you to select a hardware port. WinDaq Direct looks for a device matching the DATAQ hardware signatures (it may be labeled "Generic Bulk Device" depending on your OS) and display it in the pop up. Select it and click Connect.


Connection Errors: If the portal fails to open the serial port, the device is likely already in use by another application (such as the desktop WinDaq software). Please close any conflicting programs and try again.

Hardware Limitation: The ChannelStretch option is not supported in this web portal, so you can use only one device at a time.

2. Channel Configuration & Display

The configuration table will automatically adapt its settings based on the exact hardware model connected.

3. The Math Channel (M1)

You can create a virtual channel that computes data in real-time using standard JavaScript arithmetic. Use the channel numbers CH1 through CH11 as variables.

Time-Domain Variable Syntax:
Example (Derivative): CH1(T) - CH1(T-1)

Standard Math Examples:

Addition: CH1 + CH2 Scaling: CH1 * 1.5 Complex: (CH1 - CH2) / CH11

Advanced Signal Analysis Functions:
The math compiler can evaluate waveforms by searching the history buffer for cycle events. It defaults to an auto-calculated midpoint threshold, or you can supply an absolute threshold as the second variable.

Frequency (Auto Lvl): FREQ(CH1) Frequency (Abs Lvl): FREQ(CH1, 2.5) RMS Value (Auto Lvl): RMS(CH1) RMS Value (Abs Lvl): RMS(CH1, 0) Moving Avg (10 Pts): MA(CH1) Moving Avg (X Pts): MA(CH1, 20)

Scientific Math Functions: You can also use standard Javascript Math operations (case-sensitive). You do not need to type "Math.", just use the function name directly:

abs(x) - Absolute value
sqrt(x) - Square root
sin(x) - Sine (radians)
cos(x) - Cosine (radians)
tan(x) - Tangent (radians)
log(x) - Natural log (ln)
log10(x) - Base-10 log
exp(x) - E^x
pow(x, y) - x to power of y
round(x) - Round nearest
ceil(x) - Round up
floor(x) - Round down
PI - Constant π (~3.141)
E - Constant E (~2.718)

Complex Combination Example: abs(CH1(T) - CH2(T)) * sqrt(CH3)

4. Target Sample Rate

Enter your desired total throughput frequency (Hz/channel). The portal will iterate through your hardware's internal constraints to find the mathematical configuration that gets you as close to your target as physically possible.

Note for DI-2160 Users: When the DI-2160 is connected, this box changes to a Target Interval (sec) setting. Entering 1 forces the instrument to report a new line of data exactly once every 1 second.
Performance Note: The stable streaming performance of this web portal is capped at approximately 10,000 samples per second (10 kHz) in total throughput rate, depending entirely on your specific computer and browser hardware capabilities. Expect performance to degrade if pushed beyond these limits.

5. Trigger Sweep & Analytics

By default, the waveform chart scrolls continuously like a chart recorder. Enabling Trigger Sweep changes the display into a digital storage oscilloscope. The chart will freeze and only update when a specific signal condition is met.

Interactive Analytics Tools

Note: The XY Plot, FFT, and DIO tools are not applicable to and are hidden when the DI-2160 is connected.

6. Data Logging to CSV

  1. Click Record and specify the name and location for your CSV on your PC and start recording
  2. Pausing & Resuming: During an active recording, the button will turn into a Pause button. You can temporarily suspend data recording by clicking it. Whenever you resume, a timestamp marker is automatically injected into the file (e.g., # --- Resumed at 2026-05-14T13:27:31.468Z ---) so your analysis tools know a time-gap occurred.
  3. Insert Event: Insert an user event marker to the data stream, with or without comment.
  4. When finished, click Close File to safely seal the document.

7. Saving & Loading Configurations

Because the portal writes all of your setup rules (enabled channels, voltage scales, TC types, filters, and math equations) directly into the top of the CSV file, your data files act as configuration templates!

Click Load Config from Reference CSV and select an older log file. The portal will parse the headers and perfectly recreate your exact hardware setup automatically.

8. Automated Test Sequencer (Advanced)

The Test Sequencer allows you to build powerful, automated state-machine logic to control data logging, digital outputs, and test durations without writing any code. Click the ⚙️ Sequencer button at the top of the screen next to the Start/Stop controls.

Clicking the Sequencer button opens a dual-tabbed interface:

Critical Security Note regarding Automated Logging: Because modern web browsers strictly protect your local hard drive, a web script cannot open a "Save File" dialog window on its own. To use the Sequencer's Resume/Pause Log actions, you must "Arm" the sequence first: Click the standard physical 🔴 Record button on the UI to select your file, then immediately click Pause. The Sequencer can then freely resume and pause that active, pre-approved file in the background.