GX5055, File.
Returns the channel output rising and falling slew rate.
DioGetOutputSlewRate (nHandle, nChannel, pdRisingEdge, pdFallingEdge, pdBias, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
DIO Master board handle, Board handle or File board handle. |
nChannel |
SHORT |
If Board Handle was passed:Channel number in the DIO board, each board has 32 I/O channels. I/O channels number range is 0-31.If Master Board Handle was passed:Channel number in the DIO domain, each DIO board adds 32 I/O channels. I/O channels number range is 0-991 (1 master and 30 slaves). |
pdRisingEdge |
PDOUBLE |
Output rising slew rate values are 0.1V ns to 1.2V/ns. |
pdFallingEdge |
PDOUBLE |
Output falling slew rate, values are 0.1V ns to 1.2V/ns. |
pdBias |
PDOUBLE |
Returns the driver output bias current, values are 0-7.The driver output stage has a programmable bias current to allow applications that require slower edge rates to consume less power. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
Each channel’s input high and low voltage threshold comparators have timing capability with the following characteristics:
● Each output driver has a separate and independent adjustments for the rising and falling slew rate
● Each output driver output stage has a programmable bias current to allow applications that require slower edge rates to consume less power.
● Separate and independent delay circuitry for each channel.
Channels output rising and falling slew rates can be read back and set dynamically at any time even while the DIO is running mode.
The following example returns channel output rising and falling slew rate:
DOUBLE dRisingEdge, dFallingEdge, dBias;
DioGetOutputSlewRate (nHandle, 0, &dRisingEdge, &dFallingEdge, &dBias, &nStatus);
DioSetupOutputSlewRate, DioSetupInputLoadCommutatingVoltage, DioSetupInputLoadResistance, DioSetupInputThresholdVoltages, DioGetErrorString