[AX10412 - 16 Ch. Isolated Temp/Voltage Measurement Module] Function: ax10412Init Description: Initialize the device. int ax10412Init(int base_addr, int function); base_addr: I/O base address of the device. function: Function ID. Remarks: This function should be called once before the device performming any data I/O functions. The function ID could be either of the constants listing below or any combinition of them: ID_FUNC_AI ID_FUNC_AI_IRQ ID_FUNC_DI ID_FUNC_DO ID_FUNC_ALL Return Values: This function will return an error code defined in the ERROR CODE LIST of AXDDR include file(axddr.h). Please be sure to check this returned value to determine whether the function call succeed or not. If there're no any error occured, the return value should be ERR_NOERR. Otherwise, the value will be the one defined in ERROR CODE LIST. Function: ax10412Term Description: Terminate the device driver. int ax10412Term(int base_addr); base_addr: I/O base address of the device. Remarks: This function should be called once if the device will no longer performming any data I/O functions. Usually at the end of you data acquisition/control processes. Return Values: This function will return an error code defined in the ERROR CODE LIST of AXDDR include file(axddr.h). Please be sure to check this returned value to determine whether the function call succeed or not. If there're no any error occured, the return value should be ERR_NOERR. Otherwise, the value will be the one defined in ERROR CODE LIST. Function: ax10412GetDevAtbu Description: Retrieve the device attribute. int ax10412GetDevAtbu(LPDEVATBU lpDevAtbu); lpDevAtbu: Pointer to the DEVATBU struct, which stores the device attribute. Return Values: This function will return an error code defined in the ERROR CODE LIST of AXDDR include file(axddr.h). Please be sure to check this returned value to determine whether the function call succeed or not. If there're no any error occured, the return value should be ERR_NOERR. Otherwise, the value will be the one defined in ERROR CODE LIST. Function: ax10412DI Description: Digital input function for a specified channel. int ax10412DI(int base_addr, int chan, int* data); base_addr: I/O base address of the device. chan: Channel to perform DI function. data: Storage for digital input status. Remarks: This function will retrieve the one and only specified channel for it's digital input status. The status value will stored in the third parameter, data, where '1' stands for 'HIGH' status, and '0' for 'LOW' one. Return Values: This function will return an error code defined in the ERROR CODE LIST of AXDDR include file(axddr.h). Please be sure to check this returned value to determine whether the function call succeed or not. If there're no any error occured, the return value should be ERR_NOERR. Otherwise, the value will be the one defined in ERROR CODE LIST. Function: ax10412DI_P Description: Digital input function for a specified port(8-bit). int ax10412DI_P(int base_addr, int* data); base_addr: I/O base address of the device. data: Storage for digital input status. Remarks: This function will retrieve all the digital input status of channels in the same port at one time. Return Values: This function will return an error code defined in the ERROR CODE LIST of AXDDR include file(axddr.h). Please be sure to check this returned value to determine whether the function call succeed or not. If there're no any error occured, the return value should be ERR_NOERR. Otherwise, the value will be the one defined in ERROR CODE LIST. Function: ax10412DO Description: Digital output function for the specified channel. int ax10412DO(int base_addr, int chan, int data); base_addr: I/O base address of the device. chan: channel to proform digital output function. data: Digital output status.0:LOW, 1:HIGH. Remarks: Use this function to output a LOW or HIGH signal to the specified channel. Return Values: This function will return an error code defined in the ERROR CODE LIST of AXDDR include file(axddr.h). Please be sure to check this returned value to determine whether the function call succeed or not. If there're no any error occured, the return value should be ERR_NOERR. Otherwise, the value will be the one defined in ERROR CODE LIST. Function: ax10412DO_P Description: Digital output function for a specified port(8-bit). int ax10412DO_P(int base_addr, int data); base_addr: I/O base address of the device. data: Digital output status for a port(8-channel). Remarks: Use this function to output signals(LOW/HIGH) at one time for channels in the same port. Return Values: This function will return an error code defined in the ERROR CODE LIST of AXDDR include file(axddr.h). Please be sure to check this returned value to determine whether the function call succeed or not. If there're no any error occured, the return value should be ERR_NOERR. Otherwise, the value will be the one defined in ERROR CODE LIST. Function: ax10412AI Description: Analog input function for specified channel. int ax10412AI(int base_addr, int chan, int gaincode, float* pfdata); base_addr: I/O base address of the device. chan: channel to perform analog input function. gaincode: Gain code of the device. High byte determines the AI resolution, where 0:12-bit and 1:16-bit resolution. Low byte determines input range as follows: 0:+- 5V 1:+- 0.5V 2:+- 0.05V 3:+- 0.01V 4:0~ 10V 5:0~ 1V 6:0~ 0.1V 7:0~ 0.02V 8:+- 10V pfdata: Pointer to storage of analog input data. Remarks: This function uses software triggered method to perform an analog input function. The gaincode should be set according to the users maunal of the device. Return Values: This function will return an error code defined in the ERROR CODE LIST of AXDDR include file(axddr.h). Please be sure to check this returned value to determine whether the function call succeed or not. If there're no any error occured, the return value should be ERR_NOERR. Otherwise, the value will be the one defined in ERROR CODE LIST. Function: ax10412CJC Description: Retrieve the CJC value of the device. int ax10412CJC(int base_addr, int GainCode, float* pCJC); base_addr: I/O base address of the device. GainCode: Gain code of the device. High byte determines the AI resolution, where 0:12-bit and 1:16-bit resolution. Low byte determines input range as follows: 0:+- 5V 1:+- 0.5V 2:+- 0.05V 3:+- 0.01V 4:0~ 10V 5:0~ 1V 6:0~ 0.1V 7:0~ 0.02V 8:+- 10V pCJC: Pointer to storage of CJC value. Return Values: This function will return an error code defined in the ERROR CODE LIST of AXDDR include file(axddr.h). Please be sure to check this returned value to determine whether the function call succeed or not. If there're no any error occured, the return value should be ERR_NOERR. Otherwise, the value will be the one defined in ERROR CODE LIST. Function: ax10412Temp Description: Temperature measuring function int ax10412Temp(int base_addr, int chan, int GainCode, int ThermoType, float* pfdata); base_addr: I/O base address of the device. chan: Channel number. GainCode: Gain code of the device. High byte determines the AI resolution, where 0:12-bit and 1:16-bit resolution. Low byte determines input range as follows: 0:+- 5V 1:+- 0.5V 2:+- 0.05V 3:+- 0.01V 4:0~ 10V 5:0~ 1V 6:0~ 0.1V 7:0~ 0.02V 8:+- 10V ThermoType: Thermocouple type. The value will be one of follows: ID_JTYPE ID_KTYPE ID_TTYPE ID_ETYPE ID_RTYPE ID_STYPE pfdata: Pointer to storage of temperature value. Return Values: This function will return an error code defined in the ERROR CODE LIST of AXDDR include file(axddr.h). Please be sure to check this returned value to determine whether the function call succeed or not. If there're no any error occured, the return value should be ERR_NOERR. Otherwise, the value will be the one defined in ERROR CODE LIST.Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.