Table of ContentsConnecting to the 24/7 Data Acquisition Module Converter Noise and Effective Resolution Other Sources of Noise and Offset Error Tips For Measuring Small Voltages Addressing the 24/7 WildCard Using Module Select Jumpers Initializing the 24/7 Data Acquisition Wildcard Specifying the Reference Voltage Calibration Options Single- and Multi-Channel Sampling Continuous Sampling from a Single Channel |
24/7 Data Acquisition Wildcard Users GuideFORTH: Buffer_Off ( -- )
Turns the buffered input off. This is the default state after power ups and resets. FORTH: Buffer_On ( -- ) Allows high source impedances to be used at the analog field inputs by buffering the input signal through an amplifier. This results in a small DC offset voltage developed across the source impedance but not a gain error since the offset current is fixed at 1 nA. The offset voltage can be calculated using Equation 1. With the buffer on, the input voltage is also limited to the range 50 mV - 3.5 V. FORTH: Init_AD24 ( b -- flag | b = Wildcard number ) Initializes the 24/7 Data Acquisition Wildcard by starting the timeslicer, turning on the SPI, disconnecting the analog field inputs from the analog to digital converter, and resetting the analog to digital converter. Returns a false flag if the Wildcard number is not valid. Valid Wildcards are MODULE0, MODULE1, MODULE2, MODULE3, MODULE4, MODULE5, MODULE6, and MODULE7. This routine does not change the SPI settings. The SPI settings are changed before each read or write operation to the analog to digital converter and then restored when the operation is complete. This Wildcard is fully compatible with any routine that uses the SPI as long as that routine gets (using GET) and releases (using RELEASE) the SPI resource variable properly. FORTH: Read_Digital_IO ( -- nibble )
Reads the 3 digital I/O lines on the 24/7 Data Acquisition Wildcard. The data is returned in the least significant nibble. The least significant bit of the returned byte indicates the status of the data ready line as shown in the following figure. The other three bits are uncommitted.
FORTH: Read_FS_Cal ( -- ud | ud = fs cal value including error flag) Reads the full scale calibration information from the analog to digital converter for the current channel and settings. Start_Conversion must be called before attempting to read the full scale calibration information or invalid calibration information will be returned. This routine checks the data ready line before reading the calibration coefficient. It checks the data ready line to make sure that a calibration is not occurring. If the converter is in the midst of a calibration sequence, this routine will wait up to 10 sample periods (the delay associated with a Full Self Calibration). If the data ready line does not return low within the delay time, it will return a timeout error (0x09) in the lower 8 bits of the returned 32-bit value, otherwise the lower 8 bits will be zero. FORTH: Read_Zero_Cal ( -- ud | ud = zero cal value including error flag) Reads the zero scale calibration information from the analog to digital converter for the current channel and settings. Start_Conversion must be called before attempting to read the zero calibration information or invalid calibration information will be returned. This routine checks the data ready line before reading the calibration coefficient. It checks the data ready line to make sure that a calibration is not occurring. If the converter is in the midst of a calibration sequence, this routine will wait up to 10 sample periods (the delay associated with a Full Self Calibration). If the data ready line does not return low within the delay time, it will return a timeout error (0x09) in the lower 8 bits of the returned 32-bit value, otherwise the lower 8 bits will be zero. |
Home|Site Map|Products|Manuals|Resources|Order|About Us
Copyright (c) 2006 Mosaic Industries, Inc.
Your source for single board computers, embedded controllers, and operator interfaces for instruments and automation