@@ -6,7 +6,7 @@ Streams analog input data from [Measurement Computing](https://www.mccdaq.com/)
66
77- Continuous hardware-paced acquisition via ` ulAInScan ` (no dropped samples)
88- ** Scaled mode** : calibrated voltage output as ` cf_float32 `
9- - ** Raw mode** : integer ADC counts matching device resolution (` cf_int16 ` for 12/16-bit, ` cf_int32 ` for 18/24-bit)
9+ - ** Raw mode** : integer ADC counts matching device resolution (` cf_int16 ` for 12/16-bit, ` cf_int32 ` for 18/24-bit), offset by the midpoint (0V = 0).
1010- LSL stream metadata includes voltage range, resolution, and scaling coefficients for offline reconstruction
1111- Automatic FIFO overrun recovery (restarts scan transparently on USB scheduling delays)
1212- Per-device capability queries: supported voltage ranges, resolution, max scan rate
@@ -145,7 +145,7 @@ Options:
145145 --high-chan N High channel (default: 5)
146146 -r, --rate RATE Sample rate in Hz (default: 16384)
147147 --range VALUE Voltage range (uldaq Range enum value, default: auto)
148- --raw Output raw integer ADC counts instead of scaled voltage
148+ --raw Output raw integer ADC instead of scaled voltage
149149```
150150
151151Examples:
@@ -160,7 +160,7 @@ MCCOutletCLI --list-ranges -d 0
160160# Stream 6 channels at 16384 Hz (scaled voltage)
161161MCCOutletCLI -d 0 --low-chan 0 --high-chan 5 --rate 16384
162162
163- # Stream raw ADC counts
163+ # Stream raw ADC integers
164164MCCOutletCLI --raw --device-name USB-1608FS
165165
166166# Use a config file
@@ -192,14 +192,14 @@ Outputs calibrated voltage as `cf_float32`. Channel units are volts (`V`).
192192
193193### Raw Mode (` --raw ` )
194194
195- Outputs uncalibrated ADC counts . The LSL channel format is selected based on the device's ADC resolution:
195+ Outputs uncalibrated ADC offset by midpoint (0=0) . The LSL channel format is selected based on the device's ADC resolution:
196196
197- | ADC Resolution | LSL Format | Value Range |
198- | ----------------| -------------| ---------------------|
199- | 12-bit | ` cf_int16 ` | 0 - 4095 |
200- | 16-bit | ` cf_int16 ` | 0 - 65535 |
201- | 18-bit | ` cf_int32 ` | 0 - 262143 |
202- | 24-bit | ` cf_int32 ` | 0 - 16777215 |
197+ | ADC Resolution | LSL Format | Value Range |
198+ | ----------------| -------------| ----------------------- |
199+ | 12-bit | ` cf_int16 ` | -2048 - 2047 |
200+ | 16-bit | ` cf_int16 ` | -32768 - 32767 |
201+ | 18-bit | ` cf_int32 ` | -116072 - 116071 |
202+ | 24-bit | ` cf_int32 ` | -83886078 - 83886077 |
203203
204204### Stream Metadata
205205
0 commit comments