int rn_anaOutVolts(int handle, int channel,
float voltage, struct rn_dacCalTable *tables,
int reserved);
Sets an analog output channel to a voltage using previously set calibration constants to obtain the desired
voltage. Remember to run the rn_anaOutRdCalib() function before executing this function so the
calibration table will contain valid data. Here's an example.
for(channel=0; channel < 8; channel++) {
rn_anaOutRdCalib(device0, channel, &DacCalTable1, 0);
}
If the D/A Converter Card is set to the asynchronous mode of operation (the default mode), the output
channel will be updated at the time the raw data are being written.
If the D/A Converter Card is set to the synchronous mode of operation, all the D/A converter outputs will
be updated with the raw data values previously written (or default value of zero) when the
rn_anaOutStrobe function is executed.
The voltage range of the D/A converter outputs will be 0–10 V (default) or one of the other voltage range
options previously set with the rn_anaInConfig() function. Make sure that the DCIN for the D/A
Converter Card is at least 3 V more than the maximum voltage of the D/A converter output voltage range
you will be selecting.
Configuration
Voltage Ranges
Code
0
1
2 *
3
4
5
Channels 0–1
0–2.5 V
0–5 V
0–10 V
0–5 V
0–10 V
0–20 V
Channels 2–7
0–10 V
0–10 V
0–10 V
0–20 V
0–20 V
0–20 V
* Default setting after reset
PARAMETERS
handle is an address index to device information. Use rn_device() or rn_find() to establish the
handle.
channel is the channel number (0 to 7) corresponding to AOUT0–AOUT7
voltage is the desired output voltage, which must be less than or equal to the maximum voltage in the
voltage range specified by the rn_anaInConfig() function
rn_dacCalTable *tables is a pointer to a table structure that contains the calibration constants
for channels 0–7 for the selected mode
reserved is reserved for future use. Set to 0.
RETURN VALUE
The status byte from the previous command and a return pointer to the voltage input data. -1 means that
device information indicates the D/A Converter Card is not connected to the master.
SEE ALSO
rn_anaOutConfig, rn_anaOut, rn_anaOutStrobe
94
RabbitNet Peripheral Cards
相关PDF资料
101-0954 KIT DEV RABBIT RCM3360/3370 INTL
101-1050-BE-00025 ADPT USB 2 A FEMALE-2 5PIN .25M
10112627-101LF MINI-SAS HD 1X2 EXT PCB
10112628-101LF MINI-SAS HD 1X4 EXT PCB
10136-3000PC CONN MINI-D 36POS SOLDER PLUG
10136-6000EC CONN MDR PLUG 36POS IDC GOLD
10150-4CZ3PL CONN MDR PLUG 50POS VERT T/H
10150-72E2PC CONN MINI-D 50POS R/A PLUG
相关代理商/技术参数
101-0689 功能描述:开发板和工具包 - 其他处理器 Serial-to-Ethernet RoHS:否 制造商:Freescale Semiconductor 产品:Development Systems 工具用于评估:P3041 核心:e500mc 接口类型:I2C, SPI, USB 工作电源电压:
101-0690 功能描述:KIT SERIAL-ETHERNET APPLICATION RoHS:否 类别:编程器,开发系统 >> 评估演示板和套件 系列:RabbitCore 3000 产品培训模块:Obsolescence Mitigation Program 标准包装:1 系列:- 主要目的:电源管理,电池充电器 嵌入式:否 已用 IC / 零件:MAX8903A 主要属性:1 芯锂离子电池 次要属性:状态 LED 已供物品:板
101-0691 功能描述:模块化系统 - SOM RCM3300 RABBITCORE RoHS:否 制造商:Digi International 外观尺寸:ConnectCore 9P 处理器类型:ARM926EJ-S 频率:150 MHz 存储容量:8 MB, 16 MB 存储类型:NOR Flash, SDRAM 接口类型:I2C, SPI, UART 工作电源电压:3.3 V 最大工作温度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
101-0697 功能描述:单板计算机 BL2102 Bottom Mnt RoHS:否 制造商:Ampro By ADLINK 外观尺寸:EPIC 处理器类型:Intel Atom D510 频率:1.66 GHz 存储容量:2 GB (max) 存储类型:DDR2, L2 Cache 接口类型:Ethernet, PS/2, SATA, Serial, USB 工作电源电压:5 V, 12 V 功耗:13 W 最大工作温度:+ 70 C 尺寸:165.1 mm x 114.3 mm
101-0698 功能描述:模块化系统 - SOM RCM3310 RABBITCORE RoHS:否 制造商:Digi International 外观尺寸:ConnectCore 9P 处理器类型:ARM926EJ-S 频率:150 MHz 存储容量:8 MB, 16 MB 存储类型:NOR Flash, SDRAM 接口类型:I2C, SPI, UART 工作电源电压:3.3 V 最大工作温度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
10-106C 制造商:Datak Corporation 功能描述:
10106DC 制造商:Freescale Semiconductor 功能描述:10106DC
10106F 制造商:North American Philips Discrete Products Div 功能描述:Logic Circuit, Dual 3-Input NOR, 16 Pin, Ceramic, DIP