Register Access
- Updated2023-07-17
- 1 minute(s) read
Register Access
Use low-level Register Access VIs to allow a LabVIEW application/library to directly read and write module registers as defined by the module designer.
Applications that use the low-level Register Access VIs are generally not portable between different module types because SLSC module vendors are free to lay out the register map differently for each module. The higher-level VIs that manipulate commands and properties provide greater compatibility between modules with similar capabilities.
Each register access requires a round trip network operation. When writing multiple registers, it is much more efficient to set properties instead. You can use the Commit Properties VI to commit the properties using a single network operation.
To access a device register, the current session must have the device reserved for read/write access, and you must have the RegisterAccess permission. The Read Register VI and the Write Register VI return an error if the register address input and the data size input do not match a valid module register or if the matching register cannot support the requested operation.