Clearing the User-Accessible EEPROM on an NI-DAQmx Supported DeviceHardware: Multifunction DAQ (MIO)>>M Series
Problem: I need to clear all the user-accessible memory on my device for security reasons. I know that volatile memory loses its contents when the device is powered off, but non-volatile memory retains its contents. The EEPROM is the only non-volatile memory on NI-DAQmx supported devices. How do I clear the user accessible portion of it? Solution: Many NI-DAQmx supported devices store calibration constants on the EEPROM, but this area of the EEPROM is not user accessible (can only be written to by the driver). This is written every time the device is calibrated. There is no factory default for these values. The user configurable area of the memory should typically have nothing on it. This section of the memory contains the device start up states, the 5 character user defined information, and the calibration password. To clear these values, first set them to a known value and then check these values to ensure they have not been changed. The start up states for the device are used by the driver to determine the power up states of the digital lines. This functionality is not directly user accessible. The values are changed in the driver internally through the DAQmxSetDigitalPowerUpStates function. These values are tri-state by factory default. To confirm the start up states check the device properties in Measurement and Automation Explorer. The calibration information stores 5 bytes of user defined calibration information. This is changed with the DAQmx Set Calibration User Defined Information function in the DAQmx API. Run the attached VI to clear this, or complete the following steps in LabVIEW : The external calibration password is 4 bytes maximum and is used to store the password for external calibration access. This can be set with the DAQmxChangeExternalCalibrationPassword function. The factory default is "NI". To ensure the password has not been changed, Use the DAQmx Initalize External Calibration function with the password input as "NI". If the password has not been changed, a 0 will be returned for the error. Related Links: KnowledgeBase 3WBH6BE1: Letter of Volatility for M-Series DAQ Devices KnowledgeBase 46AE31NP: Letter of Volatility for Analog Output Devices KnowledgeBase 3CPA3SHS: Letter of Volatility for E-Series DAQ Devices KnowledgeBase 41O95AE1: Letter of Volatility for S Series DAQ Devices
KnowledgeBase 3CP8R8HS: Letter of Volatility for Static DIO and TIO Devices KnowledgeBase 3ILHF3Z6: Letter of Volatility for DSA Devices KnowledgeBase 4A6J2B9X: Letter of Volatility for R Series Devices KnowledgeBase 3E7I88R9: Letter of Volatility for HSDIO Devices KnowledgeBase 3AHD58V4: Letter of Volatility for Serial Devices KnowledgeBase 2MHH5F7N: Memory Buffer of GPIB Interfaces and Letter of Volatility KnowledgeBase 3HFJTAPK: Letter of Volatility for Some FieldPoint Modules KnowledgeBase 3HO93H5Z: Letter of Volatility for RF Devices Attachments:
Report Date: 12/18/2007 Last Updated: 08/25/2008 Document ID: 4GHLANQE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
