|
xpci3xxx 1.00.00
|
Macros | |
| #define | CMD_xpci3xxx_InitAnalogInput _IOR(xpci3xxx_MAGIC, 10,long) |
| Initializes one analog input channel. | |
| #define | CMD_xpci3xxx_StartAnalogInput _IOR(xpci3xxx_MAGIC, 11,long) |
| Starts the conversion of one analog input channel. | |
| #define | CMD_xpci3xxx_ReadAnalogInputBit _IOR(xpci3xxx_MAGIC, 12,long) |
| Reads the End Of Conversion Bit of the analog input conversion. | |
| #define | CMD_xpci3xxx_ReadAnalogInputValue _IOR(xpci3xxx_MAGIC, 13,long) |
| Reads the value of the analog input channel. | |
| #define | CMD_xpci3xxx_EnableDisableAnalogInputHardwareTrigger _IOR(xpci3xxx_MAGIC, 40,long) |
| Analog Input Hardware Trigger control. | |
| #define | CMD_xpci3xxx_GetAnalogInputHardwareTriggerStatus _IOR(xpci3xxx_MAGIC, 41,long) |
| Returns the current status of the trigger and the input state. | |
| #define | CMD_xpci3xxx_EnableDisableAnalogInputSoftwareTrigger _IOR(xpci3xxx_MAGIC, 42,long) |
| Control the Analog Input Software Trigger. | |
| #define | CMD_xpci3xxx_AnalogInputSoftwareTrigger _IOR(xpci3xxx_MAGIC, 43,long) |
| Triggers the analog input acquisition. | |
| #define | CMD_xpci3xxx_GetAnalogInputSoftwareTriggerStatus _IOR(xpci3xxx_MAGIC, 44,long) |
| Returns the status of the software trigger. | |
| #define | CMD_xpci3xxx_EnableDisableAnalogInputHardwareGate _IOR(xpci3xxx_MAGIC, 45,long) |
| Controls the analog input hardware gate. | |
| #define | CMD_xpci3xxx_GetAnalogInputHardwareGateStatus _IOR(xpci3xxx_MAGIC, 46,long) |
| Returns the state of the input (active or not) | |
| #define CMD_xpci3xxx_AnalogInputSoftwareTrigger _IOR(xpci3xxx_MAGIC, 43,long) |
Triggers the analog input acquisition.
| NULL | (ignored) |
| 0 | Success |
| 1 | Internal error |
| 2 | No analog input functionality available |
Definition at line 858 of file xpci3xxx.h.
| #define CMD_xpci3xxx_EnableDisableAnalogInputHardwareGate _IOR(xpci3xxx_MAGIC, 45,long) |
Controls the analog input hardware gate.
Enable and initialize, or disable, the analog input hardware gate.
| [in] | uint8_t | arg[2] Parameters |
ADDIDATA_HIGH:If the hardware gate is used, it is active to "1"
| 0 | Success |
| 1 | Internal error |
| 2 | Wrong hardware gate parameter |
| 3 | Wrong hardware gate level parameter |
| 4 | No analog input functionality available |
| 5 | A conversion is already started |
Definition at line 889 of file xpci3xxx.h.
| #define CMD_xpci3xxx_EnableDisableAnalogInputHardwareTrigger _IOR(xpci3xxx_MAGIC, 40,long) |
Analog Input Hardware Trigger control.
Enable and initialize the analog input hardware trigger (if present) or disable this trigger.
| [in] | uint32_t | arg[4] Parameters |
| 0 | Success |
| 1 | Internal error |
| 2 | Wrong hardware trigger parameter |
| 3 | Wrong hardware trigger level parameter |
| 4 | Wrong hardware trigger action parameter |
| 5 | Wrong hardware trigger count parameter |
| 6 | No analog input functionality available |
| 7 | A conversion is already started |
Definition at line 806 of file xpci3xxx.h.
| #define CMD_xpci3xxx_EnableDisableAnalogInputSoftwareTrigger _IOR(xpci3xxx_MAGIC, 42,long) |
Control the Analog Input Software Trigger.
Enable and initialize or disable the analog input software trigger.
| [in] | uint8_t | arg[2] |
| 0 | Success |
| 1 | Internal error |
| 2 | Wrong software trigger parameter |
| 3 | Wrong software trigger action parameter |
| 4 | No analog input functionality available |
| 5 | A conversion is already started |
Definition at line 848 of file xpci3xxx.h.
| #define CMD_xpci3xxx_GetAnalogInputHardwareGateStatus _IOR(xpci3xxx_MAGIC, 46,long) |
Returns the state of the input (active or not)
| [out] | uint8_t* | arg = 0: not active (Low state) | 1 : active (High state) |
| 0 | Success |
| 1 | Internal error |
| 2 | No analog input functionality available |
Definition at line 900 of file xpci3xxx.h.
| #define CMD_xpci3xxx_GetAnalogInputHardwareTriggerStatus _IOR(xpci3xxx_MAGIC, 41,long) |
Returns the current status of the trigger and the input state.
| [out] | uint32_t | arg[3] Results |
| 0 | Success |
| 1 | Internal error |
| 2 | No analog input functionality available |
Definition at line 820 of file xpci3xxx.h.
| #define CMD_xpci3xxx_GetAnalogInputSoftwareTriggerStatus _IOR(xpci3xxx_MAGIC, 44,long) |
Returns the status of the software trigger.
| [out] | uint8_t* | arg = 0: Software trigger did not occur | 1: Software trigger occurred |
| 0 | Success |
| 1 | Internal error |
| 2 | No analog input functionality available |
Definition at line 869 of file xpci3xxx.h.
| #define CMD_xpci3xxx_InitAnalogInput _IOR(xpci3xxx_MAGIC, 10,long) |
Initializes one analog input channel.
| [in] | (uint8_t | *)arg[4] Parameters |
| 0 | Success |
| 1 | Internal error |
| 2 | Wrong channel number |
| 3 | Wrong single/diff value |
| 4 | Wrong gain |
| 5 | Wrong polarity |
| 6 | A conversion is already started |
| 7 | Requested single/diff parameter not supported by the board |
Definition at line 461 of file xpci3xxx.h.
| #define CMD_xpci3xxx_ReadAnalogInputBit _IOR(xpci3xxx_MAGIC, 12,long) |
Reads the End Of Conversion Bit of the analog input conversion.
| [out] | (uint8_t | *arg) Status of the EOC bit = 0: no analog input conversion finished | 1: analog input conversion finished |
| 0 | Success |
| 1 | Internal error |
Definition at line 494 of file xpci3xxx.h.
| #define CMD_xpci3xxx_ReadAnalogInputValue _IOR(xpci3xxx_MAGIC, 13,long) |
Reads the value of the analog input channel.
| [out] | uint32_t | *arg = Value of the analog input channel |
| 0 | Success |
| 1 | Internal error |
Definition at line 503 of file xpci3xxx.h.
| #define CMD_xpci3xxx_StartAnalogInput _IOR(xpci3xxx_MAGIC, 11,long) |
Starts the conversion of one analog input channel.
| [in] | uint16_t | arg[3] |
| 0 | Success |
| 1 | Internal error |
| 2 | Wrong channel number |
| 3 | Channel not initialized |
| 4 | Wrong convert time unit |
| 5 | Wrong convert time |
| 6 | A conversion is already started |
Definition at line 484 of file xpci3xxx.h.