Download Universal Library for LabVIEW TM
Transcript
AOut.VI Description: Sets the value of a D/A output. Summary: Inputs: BoardNum [U32] - The board number when installed with InstaCal. Can be 0 to 100. Channel [I32] - A/D channel number DataValue [U16] - Value to set D/A to Range [I32] - A/D Range code Outputs: ErrCode [I32] - Error code Explanation of the Arguments: BoardNum - refers to the board number associated with the board when it was installed with the configuration program. The specified board must have a D/A. Channel - The maximum allowable channel depends on which type of D/A board is being used. DataValue - Must be in the range 0 - N where N is the value 2 ^ Resolution - 1 of the converter. Range - If the selected A/D board does not have a programmable range feature, this argument will be ignored. Otherwise the gain can be set to any of the following ranges that are supported by the selected A/D board. Refer to board-specific information for the list of ranges supported by each board. BIP10VOLTS BIP5VOLTS BIP2PT5VOLTS BIP1PT67VOLTS BIP1PT25VOLTS BIP1VOLTS BIPPT625VOLTS BIPPT5VOLTS BIPPT1VOLTS BIPPT05VOLTS BIPPT01VOLTS BIPPT005VOLTS +/- 10 volts +/- 5 volts +/- 2.5 volts +/- 1.67 volts +/- 1.25 volts +/- 1 volts +/- 0.625 volts +/- 0.5 volts +/- 0.1 volts +/-0.05 volts +/- 001 volts +/- 0.005 volts UNI10VOLTS UNI5VOLTS UNI2PT5VOLTS UNI2VOLTS UNI1PT67VOLTS UNI1PT25VOLTS UNI1VOLTS UNIPT1VOLTS UNIPT01VOLTS MA4TO20 MA2TO10 MA1TO5 MAPT5TO2PT5 0 to 10 volts 0 to 5 volts 0 to 2.5 volts 0 to 2 volts 0 to 1.67 volts 0 to 1.25 volts 0 to 1 volts 0 to 0.1 volts 0 to 0.01 volts 4 to 20 mA 2 to 10 mA 1 to 5 mA 0.5 to 2.5 mA For Simultaneous-Update Boards: If you have set the simultaneous update jumper for simultaneous operation, you should use AOutScan.VI for simultaneous update of multiple channels. AOut.VI always writes the D/A data then reads the D/A, which causes the D/A output to be updated. 18