DMA Scale and Offset
- Updated2025-10-27
- 1 minute(s) read
Scale and offset are useful for converting the DMA FIFO value (DFV) to a usable value that corresponds to a real-world measurement.
The following table displays equations that show how scale and offset convert DFV to voltage value (VV) for read channels of different data types, and VV to DFV for write channels of different data types.
| Data type | Read or Write | Equation |
|---|---|---|
|
I8, U8, I16, U16, I32, U32, I64, U64, Boolean |
Read |
|
|
I8, U8, I16, U16, I32, U32, I64, U64, Boolean |
Write |
|
|
FXPI32, FXPU32,FXPI64, FXPU64 |
Read |
|
|
FXPI32, FXPU32,FXPI64, FXPU64 |
Write |
|
|
PWM |
Read |
|
|
PWM |
Write |
|
|
|
||