![]() |
GEN DAQ API
4.0
Controlling GEN Series tethered Mainframes
|
Header file for the GEN DAQ API. More...
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
Typedefs | |
typedef uint32_t | GHSConnectionHandle |
A unique identifier per mainframe connection. More... | |
typedef void * | GHSSettingsPtr |
Pointer to a blob containing all mainframe settings. More... | |
typedef char | GHSSlotID |
Identifier of the slot used to address recorders. Consists of a capital letter (e.g. 'A'). | |
typedef enum GHSReturnValue | GHSReturnValue |
All possible API return values. More... | |
typedef enum GHSAcquisitionState | GHSAcquisitionState |
Acquisition states. | |
typedef enum GHSSyncStatus | GHSSyncStatus |
Master timebase synchronization status values. | |
typedef enum GHSEnableDisable | GHSEnableDisable |
Enable/Disable values used in various methods. | |
typedef enum GHSChannelType | GHSChannelType |
Physical channel types. | |
typedef enum GHSStorageLocation | GHSStorageLocation |
Storage locations. | |
typedef enum GHSUserMode | GHSUserMode |
User modes. | |
typedef enum GHSTriggerMode | GHSTriggerMode |
Trigger modes. | |
typedef enum GHSDirection | GHSDirection |
Directions of level crossing detection. | |
typedef enum GHSSignalCoupling | GHSSignalCoupling |
Signal coupling values. | |
typedef enum GHSInputCoupling | GHSInputCoupling |
Input coupling values that define what signals from the input BNCs are passed on to the amplifier. | |
typedef enum GHSFilterType | GHSFilterType |
Filter types. | |
typedef enum GHSAmplifierMode | GHSAmplifierMode |
Amplifier modes. | |
typedef enum GHSExcitationType | GHSExcitationType |
Excitation types. | |
typedef enum GHSSweepRecordingMode | GHSSweepRecordingMode |
Sweep recording modes. | |
typedef enum GHSContinuousRecordingMode | GHSContinuousRecordingMode |
Continuous recording modes. | |
typedef enum GHSTimerCounterMode | GHSTimerCounterMode |
Timer/counter channel modes. | |
typedef enum GHSFunctionCallType | GHSFunctionCallType |
Function call type. | |
typedef enum GHSRecordingDataSource | GHSRecordingDataSource |
Recording data source. | |
typedef enum GHSTriggerArmState | GHSTriggerArmState |
Trigger arm state. | |
typedef enum GHSSweepTriggerMode | GHSSweepTriggerMode |
Sweep trigger mode. | |
typedef enum GHSAccess | GHSAccess |
Client access (permission). | |
Functions | |
GHSReturnValue | GHSConnect (const char *ipAddress, unsigned short portno, GHSConnectionHandle *conHandle, uint32_t *serverAPIVersion) |
Establishes a connection to the mainframe. More... | |
GHSReturnValue | GHSDisconnect (GHSConnectionHandle conHandle) |
Disconnects from a connected mainframe. More... | |
uint32_t | GHSGetClientAPIVersion (void) |
Returns the API version number of this client. More... | |
GHSReturnValue | GHSGetCurrentAccess (GHSConnectionHandle conHandle, GHSAccess *access) |
Returns the current access permissions for this client. More... | |
GHSReturnValue | GHSStartPreview (GHSConnectionHandle conHandle) |
Starts preview mode. More... | |
GHSReturnValue | GHSStopPreview (GHSConnectionHandle conHandle) |
Stops preview mode. More... | |
GHSReturnValue | GHSStartRecording (GHSConnectionHandle conHandle) |
Starts a recording on local storage. More... | |
GHSReturnValue | GHSPauseRecording (GHSConnectionHandle conHandle) |
Pauses a started recording. More... | |
GHSReturnValue | GHSResumeRecording (GHSConnectionHandle conHandle) |
Resumes a paused recording. More... | |
GHSReturnValue | GHSStopRecording (GHSConnectionHandle conHandle) |
Stops a started recording. More... | |
GHSReturnValue | GHSTrigger (GHSConnectionHandle conHandle) |
Issues a trigger. More... | |
GHSReturnValue | GHSGetAcquisitionState (GHSConnectionHandle conHandle, GHSAcquisitionState *state) |
Returns the Acquisition State of the Mainframe. More... | |
GHSReturnValue | GHSGetAcquisitionTime (GHSConnectionHandle conHandle, double *acquisitionTime) |
Retrieves the current acquisition time relative to the start of acquistion. More... | |
GHSReturnValue | GHSGetAcquisitionStartTime (GHSConnectionHandle conHandle, int *year, int *day, double *seconds) |
Retrieves the absolute time of the start of acquisition. More... | |
GHSReturnValue | GHSIdentify (GHSConnectionHandle conHandle, GHSEnableDisable enabled) |
Enable or disable the identification sound of the connected mainframe. More... | |
GHSReturnValue | GHSGetDiskSpace (GHSConnectionHandle conHandle, double *total, double *available) |
Get total and available mainframe internal disk space. More... | |
GHSReturnValue | GHSGetSyncStatus (GHSConnectionHandle conHandle, GHSSyncStatus *syncStatus) |
Determine the mainframe sync status. More... | |
GHSReturnValue | GHSGetSlotCount (GHSConnectionHandle conHandle, int *slotCount) |
Retrieve the number of slots in the mainframe. More... | |
GHSReturnValue | GHSGetUserMode (GHSConnectionHandle conHandle, GHSUserMode *userMode) |
Retrieve the user mode. More... | |
GHSReturnValue | GHSSetUserMode (GHSConnectionHandle conHandle, GHSUserMode userMode) |
Set the user mode. More... | |
GHSReturnValue | GHSGetMainframeInformation (GHSConnectionHandle conHandle, char **mainframeType, char **mainframeName, char **serialNumber, char **firmwareVersion) |
Determine type, name, serial number and firmware version information for the connected mainframe. More... | |
GHSReturnValue | GHSGetStorageLocation (GHSConnectionHandle conHandle, GHSStorageLocation *storageLocation) |
Retrieve the storage location. More... | |
GHSReturnValue | GHSSetStorageLocation (GHSConnectionHandle conHandle, GHSStorageLocation storageLocation) |
Set the storage location. More... | |
GHSReturnValue | GHSGetRecordingName (GHSConnectionHandle conHandle, const char **recordingBaseName, int *recordingIndex) |
Retrieve the recording base name and recording index of the last recording file. More... | |
GHSReturnValue | GHSSetRecordingName (GHSConnectionHandle conHandle, const char *recordingBaseName, int recordingIndex) |
Set the recording base name and recording index for the next recording file. More... | |
GHSReturnValue | GHSSetRecordingBaseName (GHSConnectionHandle conHandle, const char *recordingBaseName) |
Sets the recording base name. More... | |
GHSReturnValue | GHSDeleteLastRecording (GHSConnectionHandle conHandle) |
Deletes the most recent recording from local mainframe storage. More... | |
GHSReturnValue | GHSDeleteAllRecordings (GHSConnectionHandle conHandle) |
Deletes all recordings from local mainframe storage. More... | |
GHSReturnValue | GHSGetHighLowRateStorageEnabled (GHSConnectionHandle conHandle, GHSRecordingDataSource source, GHSSlotID slotID, GHSEnableDisable *highRateEnabled, GHSEnableDisable *lowRateEnabled) |
Retrieve storage enabled status of high and low rate data for the specified recording data source. More... | |
GHSReturnValue | GHSSetHighLowRateStorageEnabled (GHSConnectionHandle conHandle, GHSRecordingDataSource source, GHSSlotID slotID, GHSEnableDisable highRateEnabled, GHSEnableDisable lowRateEnabled) |
Enable/disable storage of high and low rate data for the specified recording data source. More... | |
GHSReturnValue | GHSGetCurrentSettings (GHSConnectionHandle conHandle, GHSSettingsPtr *blob, size_t *blobSize) |
Retrieves the current mainframe settings as a blob. More... | |
GHSReturnValue | GHSSetCurrentSettings (GHSConnectionHandle conHandle, GHSSettingsPtr blob, size_t blobSize) |
Applies the mainframe settings contained in the input argument. More... | |
GHSReturnValue | GHSFreeSettings (GHSSettingsPtr blob) |
Frees the resources allocated for the settings blob. More... | |
GHSReturnValue | GHSPersistCurrentSettings (GHSConnectionHandle conHandle) |
Persists the current mainframe settings. More... | |
GHSReturnValue | GHSApplyPersistedSettings (GHSConnectionHandle conHandle) |
A mainframe might contain persisted settings (being applied upon boot). This method re-applies these settings. More... | |
GHSReturnValue | GHSGetRecorderInformation (GHSConnectionHandle conHandle, GHSSlotID slotID, char **recorderType, char **recorderName, char **serialNumber, char **firmwareVersion) |
Determine type, name, serial number and firmware version information for a recorder. More... | |
GHSReturnValue | GHSGetRecorderEnabled (GHSConnectionHandle conHandle, GHSSlotID slotID, GHSEnableDisable *enabled) |
Determine if recorder is enabled or disabled. More... | |
GHSReturnValue | GHSSetRecorderEnabled (GHSConnectionHandle conHandle, GHSSlotID slotID, GHSEnableDisable enabled) |
Enable or disable a recorder. More... | |
GHSReturnValue | GHSGetChannelCount (GHSConnectionHandle conHandle, GHSSlotID slotID, int *channelCount) |
Retrieve the number of channels for a recorder. More... | |
GHSReturnValue | GHSGetSampleRate (GHSConnectionHandle conHandle, GHSSlotID slotID, double *sampleRate) |
Determine the sample rate for a recorder. More... | |
GHSReturnValue | GHSSetSampleRate (GHSConnectionHandle conHandle, GHSSlotID slotID, double sampleRate) |
Set the sample rate for a recorder. More... | |
GHSReturnValue | GHSGetChannelType (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSChannelType *channelType) |
Determine the type of a channel. More... | |
GHSReturnValue | GHSGetChannelName (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, char **channelName) |
Determine the name of a channel. More... | |
GHSReturnValue | GHSSetChannelName (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, const char *channelName) |
Set the name for a channel. More... | |
GHSReturnValue | GHSGetChannelStorageEnabled (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSEnableDisable *enabled) |
Determine if storage is enabled or disabled for a channel. More... | |
GHSReturnValue | GHSSetChannelStorageEnabled (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSEnableDisable enabled) |
Enable or disable storage for a channel. More... | |
GHSReturnValue | GHSGetTriggerSettings (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSTriggerMode *triggerMode, double *primaryLevel, double *secondaryLevel, double *hysteresis, GHSDirection *direction) |
Determine the trigger settings for an analog channel. More... | |
GHSReturnValue | GHSSetTriggerSettings (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSTriggerMode triggerMode, double primaryLevel, double secondaryLevel, double hysteresis, GHSDirection direction) |
Set the trigger settings for an analog channel. More... | |
GHSReturnValue | GHSGetSignalCoupling (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSSignalCoupling *signalCoupling) |
Determine the signal coupling for an analog channel. More... | |
GHSReturnValue | GHSSetSignalCoupling (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSSignalCoupling signalCoupling) |
Set the signal coupling for an analog channel. More... | |
GHSReturnValue | GHSGetInputCoupling (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSInputCoupling *inputCoupling) |
Determine the input coupling for an analog channel. More... | |
GHSReturnValue | GHSSetInputCoupling (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSInputCoupling inputCoupling) |
Set the input coupling for an analog channel. More... | |
GHSReturnValue | GHSGetSpanAndOffset (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double *span, double *offset) |
Determine the span and offset for an analog channel. More... | |
GHSReturnValue | GHSSetSpanAndOffset (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double span, double offset) |
Set Span and offset for analog channels. More... | |
GHSReturnValue | GHSGetFilterTypeAndFrequency (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSFilterType *filterType, double *frequency) |
Determine the filter type and frequency for an analog channel. More... | |
GHSReturnValue | GHSSetFilterTypeAndFrequency (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSFilterType filterType, double frequency) |
Set the filter type and frequency for an analog channel. More... | |
GHSReturnValue | GHSGetExcitation (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSExcitationType *excitationType, double *excitationValue) |
Determine the excitation type and value for an analog channel. More... | |
GHSReturnValue | GHSSetExcitation (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSExcitationType excitationType, double excitationValue) |
Set the excitation type and value for an analog channel. More... | |
GHSReturnValue | GHSGetAmplifierMode (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSAmplifierMode *amplifierMode) |
Determine the amplifier mode for an analog channel. More... | |
GHSReturnValue | GHSSetAmplifierMode (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSAmplifierMode amplifierMode) |
Set the amplifier mode for an analog channel. More... | |
GHSReturnValue | GHSGetTechnicalUnits (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, char **units, double *multiplier, double *offset) |
Determine the technical units, unit multiplier and unit offset for an analog channel. More... | |
GHSReturnValue | GHSSetTechnicalUnits (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, const char *units, double multiplier, double offset) |
Set the technical units, unit multiplier and unit offset for an analog channel. More... | |
GHSReturnValue | GHSGetAutoRange (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSEnableDisable *autoRangeEnabled, double *autoRangeTime) |
Determine the auto range enable and time settings. More... | |
GHSReturnValue | GHSSetAutoRange (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSEnableDisable autoRangeEnabled, double autoRangeTime) |
Set Auto range settings for analog channels. More... | |
GHSReturnValue | GHSCmdAutoRangeNow (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double autoRangeTime) |
Command a single shot for auto range. More... | |
GHSReturnValue | GHSGetChannelCalibrationInformation (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, char **calibrationDateTime, char **verificationDateTime, char **powerVerificationDateTime, char **calibrationLab, char **verificationLab, char **powerVerificationLab) |
Retrieve calibration information for an analog channel. More... | |
GHSReturnValue | GHSGetTimerCounterMode (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSTimerCounterMode *mode) |
Determine the mode for a timer/counter channel. More... | |
GHSReturnValue | GHSSetTimerCounterMode (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSTimerCounterMode mode) |
Set the mode for a timer/counter channel. More... | |
GHSReturnValue | GHSGetTimerCounterGateTime (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double *gateTime) |
Determine the gate time for a timer/counter channel. More... | |
GHSReturnValue | GHSSetTimerCounterGateTime (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double gateTime) |
Set the gate time for a timer/counter channel. More... | |
GHSReturnValue | GHSGetTimerCounterRange (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double *lowerValue, double *upperValue) |
Determine the range for a timer/counter channel. More... | |
GHSReturnValue | GHSSetTimerCounterRange (GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double lowerValue, double upperValue) |
Set the range for a timer/counter channel. More... | |
GHSReturnValue | GHSGetSweepRecordingMode (GHSConnectionHandle conHandle, GHSSlotID slotID, GHSSweepRecordingMode *sweepRecordingMode) |
Determine the sweep recording mode for a recorder. More... | |
GHSReturnValue | GHSSetSweepRecordingMode (GHSConnectionHandle conHandle, GHSSlotID slotID, GHSSweepRecordingMode sweepRecordingMode) |
Sets the sweep recording mode for a recorder. More... | |
GHSReturnValue | GHSGetSweepLength (GHSConnectionHandle conHandle, GHSSlotID slotID, int64_t *numberOfSamples) |
Determine the sweep length in samples for a recorder. More... | |
GHSReturnValue | GHSSetSweepLength (GHSConnectionHandle conHandle, GHSSlotID slotID, int64_t numberOfSamples) |
Sets the sweep length in samples for a recorder. More... | |
GHSReturnValue | GHSGetNumberOfSweeps (GHSConnectionHandle conHandle, GHSSlotID slotID, int *numberOfSweeps) |
Determine the number of sweeps for a recorder. More... | |
GHSReturnValue | GHSSetNumberOfSweeps (GHSConnectionHandle conHandle, GHSSlotID slotID, int numberOfSweeps) |
Sets the number of sweeps for a recorder. More... | |
GHSReturnValue | GHSGetTriggerPosition (GHSConnectionHandle conHandle, GHSSlotID slotID, double *triggerPosition) |
Determine the trigger position percentage for a recorder. More... | |
GHSReturnValue | GHSSetTriggerPosition (GHSConnectionHandle conHandle, GHSSlotID slotID, double triggerPosition) |
Sets the trigger position percentage for a recorder. More... | |
GHSReturnValue | GHSGetSweepStretchEnabled (GHSConnectionHandle conHandle, GHSSlotID slotID, GHSEnableDisable *enabled) |
Determine if sweep stretch is enabled or disabled for a recorder. More... | |
GHSReturnValue | GHSSetSweepStretchEnabled (GHSConnectionHandle conHandle, GHSSlotID slotID, GHSEnableDisable enabled) |
Enable or disable sweep stretch for a recorder. More... | |
GHSReturnValue | GHSGetTriggerArmEnabled (GHSConnectionHandle conHandle, GHSEnableDisable *enabled) |
Retrieve trigger arm enabled status for a recorder. When enabled, triggers must be armed explicitly before they will be accepted. More... | |
GHSReturnValue | GHSSetTriggerArmEnabled (GHSConnectionHandle conHandle, GHSEnableDisable enabled) |
Enable or disable trigger arm. When enabled, triggers must be armed explicitly before they will be accepted. More... | |
GHSReturnValue | GHSCmdTriggerArm (GHSConnectionHandle conHandle) |
Arm the trigger, so that the next trigger will be accepted. After the next trigger occurred, triggers are disarmed automatically and need to be armed explicitly again using this function. More... | |
GHSReturnValue | GHSGetTriggerArmState (GHSConnectionHandle conHandle, GHSTriggerArmState *state) |
Retrieve the current trigger arm state. This function can be used to synchronize CmdTriggerArm function calls with the user application. More... | |
GHSReturnValue | GHSGetSweepTriggerMode (GHSConnectionHandle conHandle, GHSSlotID slotID, GHSSweepTriggerMode *mode) |
Gets the sweep trigger mode for a recorder. More... | |
GHSReturnValue | GHSSetSweepTriggerMode (GHSConnectionHandle conHandle, GHSSlotID slotID, GHSSweepTriggerMode mode) |
Sets the sweep trigger mode for a recorder. More... | |
GHSReturnValue | GHSGetTimeoutTriggerEnabled (GHSConnectionHandle conHandle, GHSEnableDisable *enabled) |
Retrieve the timeout trigger enabled status. More... | |
GHSReturnValue | GHSSetTimeoutTriggerEnabled (GHSConnectionHandle conHandle, GHSEnableDisable enabled) |
Enables or disables timeout triggers. More... | |
GHSReturnValue | GHSGetTimeoutTriggerTime (GHSConnectionHandle conHandle, double *time) |
Retrieve the timeout trigger time. More... | |
GHSReturnValue | GHSSetTimeoutTriggerTime (GHSConnectionHandle conHandle, double time) |
Sets the timeout trigger time. More... | |
GHSReturnValue | GHSGetContinuousRecordingMode (GHSConnectionHandle conHandle, GHSSlotID slotID, GHSContinuousRecordingMode *continuousMode) |
Determine the continuous recording mode for a recorder. More... | |
GHSReturnValue | GHSSetContinuousRecordingMode (GHSConnectionHandle conHandle, GHSSlotID slotID, GHSContinuousRecordingMode continuousMode) |
Set the continuous recording mode for a recorder. More... | |
GHSReturnValue | GHSGetContinuousTimeSpan (GHSConnectionHandle conHandle, GHSSlotID slotID, double *timeSpan) |
Determine the continuous recording time span for a recorder. More... | |
GHSReturnValue | GHSSetContinuousTimeSpan (GHSConnectionHandle conHandle, GHSSlotID slotID, double timeSpan) |
Set the continuous recording time span for a recorder. More... | |
GHSReturnValue | GHSGetContinuousLeadOutTime (GHSConnectionHandle conHandle, GHSSlotID slotID, double *leadOutTime) |
Determine the continuous recording lead out time for a recorder. More... | |
GHSReturnValue | GHSSetContinuousLeadOutTime (GHSConnectionHandle conHandle, GHSSlotID slotID, double leadOutTime) |
Sets the continuous recording lead out time for a recorder. More... | |
GHSReturnValue | GHSInitiateFieldBusDataTransfer (GHSConnectionHandle conHandle, int *updateRate, int *dataCount) |
Opens a new connection for the field bus data, and waits for client to connect. Once the client connects, if the acquisition state is active, data is sent to the client. Otherwise nothing is sent. More... | |
GHSReturnValue | GHSStopFieldBusDataTransfer (GHSConnectionHandle conHandle) |
Closes the socket dedicated for the field bus data and stops transfering data. The ring buffer allocated for the transfer data is deleted. More... | |
GHSReturnValue | GHSGetFieldBusDataCount (GHSConnectionHandle conHandle, int *dataCount) |
Gets the number of data that are configured to be sent through the field bus, excluding the timestamp. More... | |
GHSReturnValue | GHSGetFieldBusDataNameAndUnit (GHSConnectionHandle conHandle, int dataIndex, char **dataName, char **dataUnit) |
Gets the name of specific field bus data value, by giving the index of the data value. The number of data values can be retrieved by GHSGetFieldBusDataCount(). In case of no formulas (or reserved values acquisition state and latency) published, an error code is returned: GHSReturnValue_FieldBusError_NoFormulasDeployed. More... | |
GHSReturnValue | GHSReadNextSnapshot (GHSConnectionHandle conHandle, GHSFunctionCallType callType, double *timestamp, float *values, int *overrun) |
Retrieves the next snapshot in the buffer. The timestamp is grid aligned - as specified by the 'updateRate' argument of the GHSInitiateFieldBusDataTransfer() method. More... | |
GHSReturnValue | GHSReceiveFieldBusData (GHSConnectionHandle conHandle) |
Used to retrieve the FieldBus data from the new socket connection and write on the buffer. Can be used in a thread, if so mutual exclusion should be used with GHSStopFieldBusDataTransfer. This function should be used in a loop if continuous delivery of Async Data is desired. More... | |
GHSReturnValue | GHSRequestFieldBusSnapshot (GHSConnectionHandle conHandle, double *timestamp, int *dataCount, float *data) |
Request a single snapshot of the field bus data. In this case the timestamp received is not grid aligned. If the system is not acquiring the method returns an error code:GHSReturnValue_SystemNotRecording In case of no formulas you get the error return code back:GHSReturnValue_FieldBusError_NotConfigured if the field bus is already enabled then this method is not allowed.An error return code is returned:FieldBusError_UnavailableFunctionality. More... | |
GHSReturnValue | GHSGetCANAcqControl (GHSConnectionHandle conHandle, GHSEnableDisable *enabled, int *busID, int *msgID) |
Get the current setup of CAN acquisition control. More... | |
GHSReturnValue | GHSSetCANAcqControl (GHSConnectionHandle conHandle, GHSEnableDisable enabled, int busID, int msgID) |
Set up CAN acquisition control. More... | |
Header file for the GEN DAQ API.
HBM is committed to keep this API stable and downwards compatible as long as this is technically feasible. HBM reserves the right to change the internal implementation and therefore no rights can be derived from the implementation.
typedef uint32_t GHSConnectionHandle |
A unique identifier per mainframe connection.
It is used by all API calls to distinguish between mainframes.
typedef enum GHSReturnValue GHSReturnValue |
All possible API return values.
This enumeration will be extended and/or changed as the API grows.
typedef void* GHSSettingsPtr |
Pointer to a blob containing all mainframe settings.
The internal structure of this blob is undefined.
enum GHSAccess |
enum GHSAcquisitionState |
Acquisition states.
enum GHSAmplifierMode |
Amplifier modes.
enum GHSChannelType |
Continuous recording modes.
enum GHSDirection |
enum GHSEnableDisable |
enum GHSExcitationType |
Excitation types.
enum GHSFilterType |
Filter types.
enum GHSFunctionCallType |
enum GHSInputCoupling |
Input coupling values that define what signals from the input BNCs are passed on to the amplifier.
enum GHSReturnValue |
All possible API return values.
This enumeration will be extended and/or changed as the API grows.
enum GHSSignalCoupling |
Signal coupling values.
enum GHSStorageLocation |
Storage locations.
enum GHSSweepTriggerMode |
enum GHSSyncStatus |
Master timebase synchronization status values.
enum GHSTimerCounterMode |
Timer/counter channel modes.
enum GHSTriggerArmState |
enum GHSTriggerMode |
Trigger modes.
enum GHSUserMode |
User modes.