GEN DAQ API  4.0
Controlling GEN Series tethered Mainframes
GEN_DAQ_API.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2009 HBM Netherlands B.V.
3  * Schutweg 15a
4  * 5145 NP Waalwijk
5  * The Netherlands
6  * http://www.hbm.com
7  *
8  * Permission is hereby granted, free of charge, to any person obtaining a copy
9  * of this software and associated documentation files (the "Software"), to deal
10  * in the Software without restriction, including without limitation the rights
11  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12  * copies of the Software, and to permit persons to whom the Software is
13  * furnished to do so, subject to the following conditions:
14  *
15  * The above copyright notice and this permission notice shall be included in
16  * all copies or substantial portions of the Software.
17  *
18  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24  * THE SOFTWARE.
25  */
26 
42 #ifndef GEN_DAQ_API_H
43 #define GEN_DAQ_API_H
44 
45 #include <stddef.h>
46 #include <stdint.h>
47 
48 #if defined(__cplusplus)
49 extern "C" { /* Make sure we have C-declarations in C++ programs */
50 #endif
51 
57  typedef uint32_t GHSConnectionHandle;
58 
64  typedef void* GHSSettingsPtr;
65 
69  typedef char GHSSlotID;
70 
76  typedef enum GHSReturnValue
77  {
176  } GHSReturnValue;
177 
181  typedef enum GHSAcquisitionState
182  {
196 
200  typedef enum GHSSyncStatus
201  {
220  } GHSSyncStatus;
221 
225  typedef enum GHSEnableDisable
226  {
232 
236  typedef enum GHSChannelType
237  {
246  } GHSChannelType;
247 
251  typedef enum GHSStorageLocation
252  {
262 
266  typedef enum GHSUserMode
267  {
276  } GHSUserMode;
277 
281  typedef enum GHSTriggerMode
282  {
299  } GHSTriggerMode;
300 
304  typedef enum GHSDirection
305  {
310  } GHSDirection;
311 
315  typedef enum GHSSignalCoupling
316  {
328  GHSSigCpl_DC_Frequency = 5,
330  GHSSigCpl_AC_Frequency = 6,
332  GHSSigCpl_DC_TrueRMS = 7,
334  GHSSigCpl_AC_TrueRMS = 8,
336  GHSSigCpl_DC_ExternalProbe = 9,
338  GHSSigCpl_AC_ExternalProbe = 10,
350  GHSSigCpl_Charge = 16
352 
356  typedef enum GHSInputCoupling
357  {
369 
373  typedef enum GHSFilterType
374  {
399  } GHSFilterType;
400 
404  typedef enum GHSAmplifierMode
405  {
425 
429  typedef enum GHSExcitationType
430  {
444 
449  {
457 
462  {
474 
478  typedef enum GHSTimerCounterMode
479  {
511 
515  typedef enum GHSFunctionCallType
516  {
522 
527  {
533 
537  typedef enum GHSTriggerArmState
538  {
544 
548  typedef enum GHSSweepTriggerMode
549  {
557 
561  typedef enum GHSAccess
562  {
567  } GHSAccess;
568 
587  GHSReturnValue GHSConnect(const char *ipAddress, unsigned short portno, GHSConnectionHandle *conHandle, uint32_t *serverAPIVersion);
588 
601 
612  uint32_t GHSGetClientAPIVersion(void);
613 
629 
647 
660 
675 
688 
701 
714 
726 
737 
748  GHSReturnValue GHSGetAcquisitionTime(GHSConnectionHandle conHandle, double *acquisitionTime);
749 
762  GHSReturnValue GHSGetAcquisitionStartTime(GHSConnectionHandle conHandle, int *year, int *day, double *seconds);
763 
779 
790  GHSReturnValue GHSGetDiskSpace(GHSConnectionHandle conHandle, double *total, double *available);
791 
802 
812  GHSReturnValue GHSGetSlotCount(GHSConnectionHandle conHandle, int *slotCount);
813 
825 
839 
854  GHSReturnValue GHSGetMainframeInformation(GHSConnectionHandle conHandle, char **mainframeType, char **mainframeName, char **serialNumber, char **firmwareVersion);
855 
872 
886 
900  GHSReturnValue GHSGetRecordingName(GHSConnectionHandle conHandle, const char **recordingBaseName, int *recordingIndex);
901 
916  GHSReturnValue GHSSetRecordingName(GHSConnectionHandle conHandle, const char *recordingBaseName, int recordingIndex);
917 
933  GHSReturnValue GHSSetRecordingBaseName(GHSConnectionHandle conHandle, const char *recordingBaseName);
934 
947 
960 
976 
994 
1018  GHSReturnValue GHSGetCurrentSettings(GHSConnectionHandle conHandle, GHSSettingsPtr *blob, size_t *blobSize);
1019 
1038  GHSReturnValue GHSSetCurrentSettings(GHSConnectionHandle conHandle, GHSSettingsPtr blob, size_t blobSize);
1039 
1050 
1066 
1085 
1107  GHSReturnValue GHSGetRecorderInformation(GHSConnectionHandle conHandle, GHSSlotID slotID, char **recorderType, char **recorderName, char **serialNumber, char **firmwareVersion);
1108 
1121 
1136 
1147  GHSReturnValue GHSGetChannelCount(GHSConnectionHandle conHandle, GHSSlotID slotID, int *channelCount);
1148 
1160  GHSReturnValue GHSGetSampleRate(GHSConnectionHandle conHandle, GHSSlotID slotID, double *sampleRate);
1161 
1177  GHSReturnValue GHSSetSampleRate(GHSConnectionHandle conHandle, GHSSlotID slotID, double sampleRate);
1178 
1195  GHSReturnValue GHSGetChannelType(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSChannelType *channelType);
1196 
1211  GHSReturnValue GHSGetChannelName(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, char **channelName);
1212 
1227  GHSReturnValue GHSSetChannelName(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, const char *channelName);
1228 
1241  GHSReturnValue GHSGetChannelStorageEnabled(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSEnableDisable *enabled);
1242 
1257  GHSReturnValue GHSSetChannelStorageEnabled(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSEnableDisable enabled);
1258 
1282  GHSReturnValue GHSGetTriggerSettings(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSTriggerMode *triggerMode, double *primaryLevel, double *secondaryLevel, double *hysteresis, GHSDirection *direction);
1283 
1304  GHSReturnValue GHSSetTriggerSettings(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSTriggerMode triggerMode, double primaryLevel, double secondaryLevel, double hysteresis, GHSDirection direction);
1305 
1318  GHSReturnValue GHSGetSignalCoupling(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSSignalCoupling *signalCoupling);
1319 
1334  GHSReturnValue GHSSetSignalCoupling(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSSignalCoupling signalCoupling);
1335 
1348  GHSReturnValue GHSGetInputCoupling(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSInputCoupling *inputCoupling);
1349 
1365  GHSReturnValue GHSSetInputCoupling(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSInputCoupling inputCoupling);
1366 
1380  GHSReturnValue GHSGetSpanAndOffset(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double *span, double *offset);
1381 
1395  GHSReturnValue GHSSetSpanAndOffset(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double span, double offset);
1396 
1410  GHSReturnValue GHSGetFilterTypeAndFrequency(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSFilterType *filterType, double *frequency);
1411 
1428  GHSReturnValue GHSSetFilterTypeAndFrequency(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSFilterType filterType, double frequency);
1429 
1443  GHSReturnValue GHSGetExcitation(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSExcitationType *excitationType, double *excitationValue);
1444 
1462  GHSReturnValue GHSSetExcitation(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSExcitationType excitationType, double excitationValue);
1463 
1476  GHSReturnValue GHSGetAmplifierMode(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSAmplifierMode *amplifierMode);
1477 
1493  GHSReturnValue GHSSetAmplifierMode(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSAmplifierMode amplifierMode);
1494 
1511  GHSReturnValue GHSGetTechnicalUnits(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, char **units, double *multiplier, double *offset);
1512 
1529  GHSReturnValue GHSSetTechnicalUnits(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, const char *units, double multiplier, double offset);
1530 
1544  GHSReturnValue GHSGetAutoRange(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSEnableDisable *autoRangeEnabled, double *autoRangeTime);
1545 
1559  GHSReturnValue GHSSetAutoRange(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSEnableDisable autoRangeEnabled, double autoRangeTime);
1560 
1574  GHSReturnValue GHSCmdAutoRangeNow(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double autoRangeTime);
1575 
1594  GHSReturnValue GHSGetChannelCalibrationInformation(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, char** calibrationDateTime, char** verificationDateTime, char** powerVerificationDateTime, char** calibrationLab, char** verificationLab, char** powerVerificationLab);
1595 
1615  GHSReturnValue GHSGetTimerCounterMode(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSTimerCounterMode *mode);
1616 
1632  GHSReturnValue GHSSetTimerCounterMode(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSTimerCounterMode mode);
1633 
1646  GHSReturnValue GHSGetTimerCounterGateTime(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double *gateTime);
1647 
1663  GHSReturnValue GHSSetTimerCounterGateTime(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double gateTime);
1664 
1678  GHSReturnValue GHSGetTimerCounterRange(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double *lowerValue, double *upperValue);
1679 
1698  GHSReturnValue GHSSetTimerCounterRange(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double lowerValue, double upperValue);
1699 
1717 
1732 
1744  GHSReturnValue GHSGetSweepLength(GHSConnectionHandle conHandle, GHSSlotID slotID, int64_t *numberOfSamples);
1745 
1759  GHSReturnValue GHSSetSweepLength(GHSConnectionHandle conHandle, GHSSlotID slotID, int64_t numberOfSamples);
1760 
1772  GHSReturnValue GHSGetNumberOfSweeps(GHSConnectionHandle conHandle, GHSSlotID slotID, int *numberOfSweeps);
1773 
1787  GHSReturnValue GHSSetNumberOfSweeps(GHSConnectionHandle conHandle, GHSSlotID slotID, int numberOfSweeps);
1788 
1800  GHSReturnValue GHSGetTriggerPosition(GHSConnectionHandle conHandle, GHSSlotID slotID, double *triggerPosition);
1801 
1815  GHSReturnValue GHSSetTriggerPosition(GHSConnectionHandle conHandle, GHSSlotID slotID, double triggerPosition);
1816 
1832 
1850 
1863 
1878 
1892 
1905 
1918 
1935 
1947 
1964 
1976 
1990 
2008 
2023 
2035  GHSReturnValue GHSGetContinuousTimeSpan(GHSConnectionHandle conHandle, GHSSlotID slotID, double *timeSpan);
2036 
2050  GHSReturnValue GHSSetContinuousTimeSpan(GHSConnectionHandle conHandle, GHSSlotID slotID, double timeSpan);
2051 
2063  GHSReturnValue GHSGetContinuousLeadOutTime(GHSConnectionHandle conHandle, GHSSlotID slotID, double *leadOutTime);
2064 
2078  GHSReturnValue GHSSetContinuousLeadOutTime(GHSConnectionHandle conHandle, GHSSlotID slotID, double leadOutTime);
2079 
2105  GHSReturnValue GHSInitiateFieldBusDataTransfer(GHSConnectionHandle conHandle, int *updateRate, int *dataCount);
2106 
2121 
2131  GHSReturnValue GHSGetFieldBusDataCount(GHSConnectionHandle conHandle, int *dataCount);
2132 
2145  GHSReturnValue GHSGetFieldBusDataNameAndUnit(GHSConnectionHandle conHandle, int dataIndex, char **dataName, char **dataUnit);
2146 
2162  GHSReturnValue GHSReadNextSnapshot(GHSConnectionHandle conHandle, GHSFunctionCallType callType, double *timestamp, float *values, int *overrun);
2163 
2178 
2195  GHSReturnValue GHSRequestFieldBusSnapshot(GHSConnectionHandle conHandle, double *timestamp, int *dataCount, float *data);
2196 
2214  GHSReturnValue GHSGetCANAcqControl(GHSConnectionHandle conHandle, GHSEnableDisable *enabled, int *busID, int *msgID);
2215 
2230  GHSReturnValue GHSSetCANAcqControl(GHSConnectionHandle conHandle, GHSEnableDisable enabled, int busID, int msgID);
2231 
2232 #if defined(__cplusplus)
2233 }
2234 #endif
2235 
2236 #endif /* GEN_DAQ_API_H */
GHSReturnValue GHSSetFilterTypeAndFrequency(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSFilterType filterType, double frequency)
Set the filter type and frequency for an analog channel.
Acquire a continuous stream of data.
Definition: GEN_DAQ_API.h:273
GHSReturnValue GHSSetTimeoutTriggerTime(GHSConnectionHandle conHandle, double time)
Sets the timeout trigger time.
GHSReturnValue GHSGetSweepStretchEnabled(GHSConnectionHandle conHandle, GHSSlotID slotID, GHSEnableDisable *enabled)
Determine if sweep stretch is enabled or disabled for a recorder.
The specified CAN bus could not be found.
Definition: GEN_DAQ_API.h:171
Measure the current flowing from +input to -input.
Definition: GEN_DAQ_API.h:365
The specified CAN message ID is invalid.
Definition: GEN_DAQ_API.h:175
GHSReturnValue GHSSetContinuousRecordingMode(GHSConnectionHandle conHandle, GHSSlotID slotID, GHSContinuousRecordingMode continuousMode)
Set the continuous recording mode for a recorder.
Quadrature frequency timer/counter channel mode.
Definition: GEN_DAQ_API.h:491
GHSReturnValue GHSGetFieldBusDataCount(GHSConnectionHandle conHandle, int *dataCount)
Gets the number of data that are configured to be sent through the field bus, excluding the timestamp...
GHSReturnValue GHSConnect(const char *ipAddress, unsigned short portno, GHSConnectionHandle *conHandle, uint32_t *serverAPIVersion)
Establishes a connection to the mainframe.
GHSTriggerMode
Trigger modes.
Definition: GEN_DAQ_API.h:281
GHSReturnValue GHSSetSweepRecordingMode(GHSConnectionHandle conHandle, GHSSlotID slotID, GHSSweepRecordingMode sweepRecordingMode)
Sets the sweep recording mode for a recorder.
Preview or recording can not be started because the system is not idle.
Definition: GEN_DAQ_API.h:91
Charge amplifier mode.
Definition: GEN_DAQ_API.h:419
GHSReturnValue GHSFreeSettings(GHSSettingsPtr blob)
Frees the resources allocated for the settings blob.
GHSReturnValue GHSSetAutoRange(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSEnableDisable autoRangeEnabled, double autoRangeTime)
Set Auto range settings for analog channels.
The trigger position percentage is not valid.
Definition: GEN_DAQ_API.h:131
We are not synced to GMR1000 PTP master.
Definition: GEN_DAQ_API.h:217
Quadradure double precision.
Definition: GEN_DAQ_API.h:346
Mainframe is in preview state.
Definition: GEN_DAQ_API.h:194
GHSReturnValue GHSSetSweepLength(GHSConnectionHandle conHandle, GHSSlotID slotID, int64_t numberOfSamples)
Sets the sweep length in samples for a recorder.
GHSReturnValue GHSGetAmplifierMode(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSAmplifierMode *amplifierMode)
Determine the amplifier mode for an analog channel.
GHSReturnValue GHSGetChannelName(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, char **channelName)
Determine the name of a channel.
Create a sweep recording on a stop trigger.
Definition: GEN_DAQ_API.h:555
GHSReturnValue GHSSetInputCoupling(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSInputCoupling inputCoupling)
Set the input coupling for an analog channel.
Connection was broken or client not logged on.
Definition: GEN_DAQ_API.h:113
Pre-trigger sweep recording mode.
Definition: GEN_DAQ_API.h:455
We are not synced to a OTMC100 PTP master.
Definition: GEN_DAQ_API.h:219
Voltage strobed excitation type.
Definition: GEN_DAQ_API.h:438
The sweep mode referred to does not exist.
Definition: GEN_DAQ_API.h:133
The indicated recording could not be found.
Definition: GEN_DAQ_API.h:117
Bi-directional angle timer/counter channel mode.
Definition: GEN_DAQ_API.h:507
Create a sweep recording for the first trigger only.
Definition: GEN_DAQ_API.h:551
GHSReturnValue GHSGetChannelType(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSChannelType *channelType)
Determine the type of a channel.
GHSReturnValue GHSSetExcitation(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSExcitationType excitationType, double excitationValue)
Set the excitation type and value for an analog channel.
GHSReturnValue GHSGetTimerCounterMode(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSTimerCounterMode *mode)
Determine the mode for a timer/counter channel.
Create a sweep recording for all triggers.
Definition: GEN_DAQ_API.h:553
Uni-directional RPM timer/counter channel mode.
Definition: GEN_DAQ_API.h:481
The size for the allocated buffer is not enough.
Definition: GEN_DAQ_API.h:167
FIR filter.
Definition: GEN_DAQ_API.h:382
GHSReturnValue GHSGetChannelCount(GHSConnectionHandle conHandle, GHSSlotID slotID, int *channelCount)
Retrieve the number of channels for a recorder.
GHSReturnValue GHSGetTimeoutTriggerEnabled(GHSConnectionHandle conHandle, GHSEnableDisable *enabled)
Retrieve the timeout trigger enabled status.
GHSSignalCoupling
Signal coupling values.
Definition: GEN_DAQ_API.h:315
GHSReturnValue
All possible API return values.
Definition: GEN_DAQ_API.h:76
GHSReturnValue GHSGetChannelStorageEnabled(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSEnableDisable *enabled)
Determine if storage is enabled or disabled for a channel.
GHSReturnValue GHSSetTriggerArmEnabled(GHSConnectionHandle conHandle, GHSEnableDisable enabled)
Enable or disable trigger arm. When enabled, triggers must be armed explicitly before they will be ac...
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.
GHSReturnValue GHSGetAcquisitionState(GHSConnectionHandle conHandle, GHSAcquisitionState *state)
Returns the Acquisition State of the Mainframe.
Analog Channel.
Definition: GEN_DAQ_API.h:241
The mainframe disk is full.
Definition: GEN_DAQ_API.h:109
Bi-directional frequency timer/counter channel mode.
Definition: GEN_DAQ_API.h:489
The mainframe could not create a recording.
Definition: GEN_DAQ_API.h:111
GHSReturnValue GHSGetDiskSpace(GHSConnectionHandle conHandle, double *total, double *available)
Get total and available mainframe internal disk space.
GHSReturnValue GHSGetUserMode(GHSConnectionHandle conHandle, GHSUserMode *userMode)
Retrieve the user mode.
GHSReturnValue GHSStopPreview(GHSConnectionHandle conHandle)
Stops preview mode.
Quadrature angle timer/counter channel mode.
Definition: GEN_DAQ_API.h:499
Storage on local disk #2 (like SCSI or SATA).
Definition: GEN_DAQ_API.h:260
Synchronous real-time formulas.
Definition: GEN_DAQ_API.h:531
GHSInputCoupling
Input coupling values that define what signals from the input BNCs are passed on to the amplifier.
Definition: GEN_DAQ_API.h:356
Storage on local disk #1 (like SCSI or SATA).
Definition: GEN_DAQ_API.h:258
Quadradure precision.
Definition: GEN_DAQ_API.h:348
Thermo couple amplifier mode.
Definition: GEN_DAQ_API.h:415
GHSReturnValue GHSSetUserMode(GHSConnectionHandle conHandle, GHSUserMode userMode)
Set the user mode.
GHSReturnValue GHSGetContinuousLeadOutTime(GHSConnectionHandle conHandle, GHSSlotID slotID, double *leadOutTime)
Determine the continuous recording lead out time for a recorder.
GHSContinuousRecordingMode
Continuous recording modes.
Definition: GEN_DAQ_API.h:461
Method is not defined in the Mainframe side.
Definition: GEN_DAQ_API.h:149
Accelerometer (ICP) amplifier mode.
Definition: GEN_DAQ_API.h:413
FieldBusError: FieldBus is not connected.
Definition: GEN_DAQ_API.h:163
Data is acquired in a circular buffer of specified length.
Definition: GEN_DAQ_API.h:468
Sample-rate is not supported by this recorder.
Definition: GEN_DAQ_API.h:97
GHSReturnValue GHSSetTriggerPosition(GHSConnectionHandle conHandle, GHSSlotID slotID, double triggerPosition)
Sets the trigger position percentage for a recorder.
The ipAddress provided is not formatted properly. ("127.0.0.1")
Definition: GEN_DAQ_API.h:105
Mainframe is recording.
Definition: GEN_DAQ_API.h:186
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.
The API call did not complete in time on the mainframe.
Definition: GEN_DAQ_API.h:107
Differential voltage amplifier mode with excitation.
Definition: GEN_DAQ_API.h:417
Reserved to distinguish zero initialized GHSAcquisitionState. Should never be returned.
Definition: GEN_DAQ_API.h:184
Measure RMS of AC component.
Definition: GEN_DAQ_API.h:326
GHSReturnValue GHSGetTimerCounterRange(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double *lowerValue, double *upperValue)
Determine the range for a timer/counter channel.
Butterworth filter.
Definition: GEN_DAQ_API.h:378
Reserved to distinguish zero initialized GHSContinuousRecordingMode. Should never be returned.
Definition: GEN_DAQ_API.h:464
Triggers are disarmed.
Definition: GEN_DAQ_API.h:540
The function call blocks execution.
Definition: GEN_DAQ_API.h:520
GHSReturnValue GHSSetRecordingBaseName(GHSConnectionHandle conHandle, const char *recordingBaseName)
Sets the recording base name.
Event Channel.
Definition: GEN_DAQ_API.h:243
Differential voltage amplifier mode.
Definition: GEN_DAQ_API.h:409
Reserved to distinguish zero initialized GHSChannelType. Should never be returned.
Definition: GEN_DAQ_API.h:239
An invalid UTF-8 character was found.
Definition: GEN_DAQ_API.h:143
GHSReturnValue GHSSetSignalCoupling(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSSignalCoupling signalCoupling)
Set the signal coupling for an analog channel.
Wideband filter.
Definition: GEN_DAQ_API.h:386
Not yet in sync with external signal: both master.
Definition: GEN_DAQ_API.h:205
GHSReturnValue GHSTrigger(GHSConnectionHandle conHandle)
Issues a trigger.
GHSReturnValue GHSDisconnect(GHSConnectionHandle conHandle)
Disconnects from a connected mainframe.
GHSReturnValue GHSGetRecorderEnabled(GHSConnectionHandle conHandle, GHSSlotID slotID, GHSEnableDisable *enabled)
Determine if recorder is enabled or disabled.
Bi-directional RPM timer/counter channel mode.
Definition: GEN_DAQ_API.h:483
GHSReturnValue GHSResumeRecording(GHSConnectionHandle conHandle)
Resumes a paused recording.
GHSReturnValue GHSGetTimerCounterGateTime(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double *gateTime)
Determine the gate time for a timer/counter channel.
GHSExcitationType
Excitation types.
Definition: GEN_DAQ_API.h:429
Enable.
Definition: GEN_DAQ_API.h:230
Undefined error occurred.
Definition: GEN_DAQ_API.h:83
Current excitation type.
Definition: GEN_DAQ_API.h:436
Unsupported data type in the method.
Definition: GEN_DAQ_API.h:147
GHSReturnValue GHSSetTimerCounterMode(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSTimerCounterMode mode)
Set the mode for a timer/counter channel.
Sigma delta wide band filter.
Definition: GEN_DAQ_API.h:392
Acquire a single, triggered event.
Definition: GEN_DAQ_API.h:271
GHSReturnValue GHSSetChannelName(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, const char *channelName)
Set the name for a channel.
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.
FieldBusError: FieldBusRing Buffer handle is null.
Definition: GEN_DAQ_API.h:159
void * GHSSettingsPtr
Pointer to a blob containing all mainframe settings.
Definition: GEN_DAQ_API.h:64
Bi-directional angle timer/counter channel mode with reference position.
Definition: GEN_DAQ_API.h:509
GHSReturnValue GHSSetContinuousLeadOutTime(GHSConnectionHandle conHandle, GHSSlotID slotID, double leadOutTime)
Sets the continuous recording lead out time for a recorder.
GHSReturnValue GHSGetSpanAndOffset(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double *span, double *offset)
Determine the span and offset for an analog channel.
GHSReturnValue GHSCmdAutoRangeNow(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double autoRangeTime)
Command a single shot for auto range.
GHSAcquisitionState
Acquisition states.
Definition: GEN_DAQ_API.h:181
4..20mA current amplifier mode.
Definition: GEN_DAQ_API.h:421
Reserved to distinguish zero initialized GHSReturnValues. Should never be returned.
Definition: GEN_DAQ_API.h:79
GHSReturnValue GHSSetTimerCounterRange(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double lowerValue, double upperValue)
Set the range for a timer/counter channel.
Measure the difference between +input and -input without having a connection to ground.
Definition: GEN_DAQ_API.h:367
GHSFilterType
Filter types.
Definition: GEN_DAQ_API.h:373
GHSReturnValue GHSApplyPersistedSettings(GHSConnectionHandle conHandle)
A mainframe might contain persisted settings (being applied upon boot). This method re-applies these ...
The slot referred to does not contain a recorder.
Definition: GEN_DAQ_API.h:85
GHSReturnValue GHSGetCurrentAccess(GHSConnectionHandle conHandle, GHSAccess *access)
Returns the current access permissions for this client.
Field bus is not supported in this mainframe.
Definition: GEN_DAQ_API.h:169
GHSReturnValue GHSSetTimerCounterGateTime(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double gateTime)
Set the gate time for a timer/counter channel.
Reserved to distinguish zero initialized GHSSweepRecordingMode. Should never be returned.
Definition: GEN_DAQ_API.h:451
GHSReturnValue GHSGetInputCoupling(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSInputCoupling *inputCoupling)
Determine the input coupling for an analog channel.
Dual trigger mode.
Definition: GEN_DAQ_API.h:288
Voltage sense stobed excitation type.
Definition: GEN_DAQ_API.h:440
GHSReturnValue GHSPersistCurrentSettings(GHSConnectionHandle conHandle)
Persists the current mainframe settings.
Sigma delta filter.
Definition: GEN_DAQ_API.h:394
A connection could not be established because there was already a connection.
Definition: GEN_DAQ_API.h:121
GHSReturnValue GHSSetContinuousTimeSpan(GHSConnectionHandle conHandle, GHSSlotID slotID, double timeSpan)
Set the continuous recording time span for a recorder.
FieldBusError: FieldBus Packet is of an invalid size.
Definition: GEN_DAQ_API.h:161
GHSReturnValue GHSSetRecorderEnabled(GHSConnectionHandle conHandle, GHSSlotID slotID, GHSEnableDisable enabled)
Enable or disable a recorder.
PLL phase is locked and accurate.
Definition: GEN_DAQ_API.h:209
uint32_t GHSGetClientAPIVersion(void)
Returns the API version number of this client.
Mainframe stopped recording but data is not saved yet.
Definition: GEN_DAQ_API.h:190
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.
FieldBusError: Requesting snapshot not available when fieldbus is already enabled.
Definition: GEN_DAQ_API.h:157
Elliptic filter.
Definition: GEN_DAQ_API.h:380
uint32_t GHSConnectionHandle
A unique identifier per mainframe connection.
Definition: GEN_DAQ_API.h:57
Voltage excitation type.
Definition: GEN_DAQ_API.h:432
GHSReturnValue GHSSetCANAcqControl(GHSConnectionHandle conHandle, GHSEnableDisable enabled, int busID, int msgID)
Set up CAN acquisition control.
GHSStorageLocation
Storage locations.
Definition: GEN_DAQ_API.h:251
GHSReturnValue GHSGetSyncStatus(GHSConnectionHandle conHandle, GHSSyncStatus *syncStatus)
Determine the mainframe sync status.
Quadrature counter reset.
Definition: GEN_DAQ_API.h:342
GHSReturnValue GHSCmdTriggerArm(GHSConnectionHandle conHandle)
Arm the trigger, so that the next trigger will be accepted. After the next trigger occurred,...
Ground the input.
Definition: GEN_DAQ_API.h:318
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 conne...
A connection could not be established with the provided IP and Port number.
Definition: GEN_DAQ_API.h:103
There are no formulas deployed for FieldBus(excluding timestamp)
Definition: GEN_DAQ_API.h:165
GHSAmplifierMode
Amplifier modes.
Definition: GEN_DAQ_API.h:404
The recording name was not valid.
Definition: GEN_DAQ_API.h:123
Reserved to distinguish zero initialized GHSSyncStatus. Should never be returned.
Definition: GEN_DAQ_API.h:203
Recording can not be resumed because the system is not paused.
Definition: GEN_DAQ_API.h:95
Reserved to distinguish zero initialized GHSUserMode. Should never be returned.
Definition: GEN_DAQ_API.h:269
No external 1PPS pulse was received for some time.
Definition: GEN_DAQ_API.h:213
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.
GHSReturnValue GHSSetRecordingName(GHSConnectionHandle conHandle, const char *recordingBaseName, int recordingIndex)
Set the recording base name and recording index for the next recording file.
Continuous acquisition without a specific stop condition.
Definition: GEN_DAQ_API.h:466
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.
GHSReturnValue GHSGetSampleRate(GHSConnectionHandle conHandle, GHSSlotID slotID, double *sampleRate)
Determine the sample rate for a recorder.
GHSReturnValue GHSGetContinuousTimeSpan(GHSConnectionHandle conHandle, GHSSlotID slotID, double *timeSpan)
Determine the continuous recording time span for a recorder.
Bessel AA filter.
Definition: GEN_DAQ_API.h:388
char GHSSlotID
Identifier of the slot used to address recorders. Consists of a capital letter (e....
Definition: GEN_DAQ_API.h:69
The function call doe not block execution.
Definition: GEN_DAQ_API.h:518
GHSUserMode
User modes.
Definition: GEN_DAQ_API.h:266
Reference voltage or reference signal.
Definition: GEN_DAQ_API.h:340
GHSAccess
Client access (permission).
Definition: GEN_DAQ_API.h:561
GHSReturnValue GHSGetTriggerPosition(GHSConnectionHandle conHandle, GHSSlotID slotID, double *triggerPosition)
Determine the trigger position percentage for a recorder.
GHSReturnValue GHSStartRecording(GHSConnectionHandle conHandle)
Starts a recording on local storage.
Normal sweep recording mode.
Definition: GEN_DAQ_API.h:453
The setter method succeeded but the value has been adapted.
Definition: GEN_DAQ_API.h:141
GHSReturnValue GHSGetAcquisitionTime(GHSConnectionHandle conHandle, double *acquisitionTime)
Retrieves the current acquisition time relative to the start of acquistion.
GHSSweepTriggerMode
Sweep trigger mode.
Definition: GEN_DAQ_API.h:548
Stop after specified total time is acquired.
Definition: GEN_DAQ_API.h:470
GHSSyncStatus
Master timebase synchronization status values.
Definition: GEN_DAQ_API.h:200
Measure RMS without offset correction.
Definition: GEN_DAQ_API.h:324
The current sweep mode does not support setting the trigger position.
Definition: GEN_DAQ_API.h:139
GHSDirection
Directions of level crossing detection.
Definition: GEN_DAQ_API.h:304
No trigger mode.
Definition: GEN_DAQ_API.h:284
GHSReturnValue GHSSetSweepStretchEnabled(GHSConnectionHandle conHandle, GHSSlotID slotID, GHSEnableDisable enabled)
Enable or disable sweep stretch for a recorder.
Measure AC component.
Definition: GEN_DAQ_API.h:322
Mainframe is in pause state.
Definition: GEN_DAQ_API.h:188
GHSReturnValue GHSGetSlotCount(GHSConnectionHandle conHandle, int *slotCount)
Retrieve the number of slots in the mainframe.
Quadrature angle timer/counter channel mode with reference position.
Definition: GEN_DAQ_API.h:501
GHSReturnValue GHSGetAcquisitionStartTime(GHSConnectionHandle conHandle, int *year, int *day, double *seconds)
Retrieves the absolute time of the start of acquisition.
PLL phase was lost and a restart is not allowed now.
Definition: GEN_DAQ_API.h:211
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 alig...
Uni-directional angle timer/counter channel mode.
Definition: GEN_DAQ_API.h:503
GHSReturnValue GHSStopFieldBusDataTransfer(GHSConnectionHandle conHandle)
Closes the socket dedicated for the field bus data and stops transfering data. The ring buffer alloca...
Undefined Error Message.
Definition: GEN_DAQ_API.h:153
The mainframe is not configured for local storage.
Definition: GEN_DAQ_API.h:115
Triggers are armed.
Definition: GEN_DAQ_API.h:542
Uni-directional angle timer/counter channel mode with reference position.
Definition: GEN_DAQ_API.h:505
GHSReturnValue GHSPauseRecording(GHSConnectionHandle conHandle)
Pauses a started recording.
GHSReturnValue GHSGetSignalCoupling(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSSignalCoupling *signalCoupling)
Determine the signal coupling for an analog channel.
GHSReturnValue GHSGetSweepTriggerMode(GHSConnectionHandle conHandle, GHSSlotID slotID, GHSSweepTriggerMode *mode)
Gets the sweep trigger mode for a recorder.
GHSReturnValue GHSGetCurrentSettings(GHSConnectionHandle conHandle, GHSSettingsPtr *blob, size_t *blobSize)
Retrieves the current mainframe settings as a blob.
GHSChannelType
Physical channel types.
Definition: GEN_DAQ_API.h:236
GHSReturnValue GHSIdentify(GHSConnectionHandle conHandle, GHSEnableDisable enabled)
Enable or disable the identification sound of the connected mainframe.
Timer Counter Channel.
Definition: GEN_DAQ_API.h:245
FieldBusError: Field bus is not configured to publish any data.
Definition: GEN_DAQ_API.h:155
Voltage sense excitation type.
Definition: GEN_DAQ_API.h:434
Falling edge level crossing detection direction.
Definition: GEN_DAQ_API.h:309
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.
GHSReturnValue GHSSetTimeoutTriggerEnabled(GHSConnectionHandle conHandle, GHSEnableDisable enabled)
Enables or disables timeout triggers.
GHSReturnValue GHSGetFilterTypeAndFrequency(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSFilterType *filterType, double *frequency)
Determine the filter type and frequency for an analog channel.
Measure directly.
Definition: GEN_DAQ_API.h:320
Measure the difference between +input and -input.
Definition: GEN_DAQ_API.h:363
PLL is coarse synced.
Definition: GEN_DAQ_API.h:215
GHSTriggerArmState
Trigger arm state.
Definition: GEN_DAQ_API.h:537
Current strobed excitation type.
Definition: GEN_DAQ_API.h:442
Reserved to distinguish zero initialized GHSStorageLocation. Should never be returned.
Definition: GEN_DAQ_API.h:254
The slot referred to does not exist on this mainframe.
Definition: GEN_DAQ_API.h:89
Duplicate channel name within a recorder.
Definition: GEN_DAQ_API.h:145
Invalid JSON Format received in the Mainframe side.
Definition: GEN_DAQ_API.h:151
Error for Write access.
Definition: GEN_DAQ_API.h:173
Dual window trigger mode.
Definition: GEN_DAQ_API.h:292
GHSReturnValue GHSGetSweepLength(GHSConnectionHandle conHandle, GHSSlotID slotID, int64_t *numberOfSamples)
Determine the sweep length in samples for a recorder.
GHSReturnValue GHSStopRecording(GHSConnectionHandle conHandle)
Stops a started recording.
Synchronous recorder channels.
Definition: GEN_DAQ_API.h:529
Measure the voltage on the +input.
Definition: GEN_DAQ_API.h:359
GHSReturnValue GHSGetStorageLocation(GHSConnectionHandle conHandle, GHSStorageLocation *storageLocation)
Retrieve the storage location.
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....
GHSReturnValue GHSGetTriggerArmState(GHSConnectionHandle conHandle, GHSTriggerArmState *state)
Retrieve the current trigger arm state. This function can be used to synchronize CmdTriggerArm functi...
GHSFunctionCallType
Function call type.
Definition: GEN_DAQ_API.h:515
Recording can not be paused or stopped because the system is not recording. FieldBus is also not avai...
Definition: GEN_DAQ_API.h:93
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 'updat...
GHSReturnValue GHSSetSampleRate(GHSConnectionHandle conHandle, GHSSlotID slotID, double sampleRate)
Set the sample rate for a recorder.
Uni-directional count timer/counter channel mode.
Definition: GEN_DAQ_API.h:493
Quadrature count timer/counter channel mode.
Definition: GEN_DAQ_API.h:497
GHSReturnValue GHSGetAutoRange(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSEnableDisable *autoRangeEnabled, double *autoRangeTime)
Determine the auto range enable and time settings.
GHSReturnValue GHSSetChannelStorageEnabled(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSEnableDisable enabled)
Enable or disable storage for a channel.
GHSReturnValue GHSGetTimeoutTriggerTime(GHSConnectionHandle conHandle, double *time)
Retrieve the timeout trigger time.
GHSEnableDisable
Enable/Disable values used in various methods.
Definition: GEN_DAQ_API.h:225
There are no recorders in the mainframe.
Definition: GEN_DAQ_API.h:135
GHSReturnValue GHSSetSweepTriggerMode(GHSConnectionHandle conHandle, GHSSlotID slotID, GHSSweepTriggerMode mode)
Sets the sweep trigger mode for a recorder.
Quadrature RPM timer/counter channel mode.
Definition: GEN_DAQ_API.h:485
Quadradure single precision.
Definition: GEN_DAQ_API.h:344
Bi-directional count timer/counter channel mode.
Definition: GEN_DAQ_API.h:495
GHSReturnValue GHSReceiveFieldBusData(GHSConnectionHandle conHandle)
Used to retrieve the FieldBus data from the new socket connection and write on the buffer....
Bridge amplifier mode.
Definition: GEN_DAQ_API.h:411
Butterworth AA filter.
Definition: GEN_DAQ_API.h:390
The user mode reffered to does not exist.
Definition: GEN_DAQ_API.h:127
GHSReturnValue GHSGetNumberOfSweeps(GHSConnectionHandle conHandle, GHSSlotID slotID, int *numberOfSweeps)
Determine the number of sweeps for a recorder.
Resistance type temperature sensor amplifier mode.
Definition: GEN_DAQ_API.h:423
GHSSweepRecordingMode
Sweep recording modes.
Definition: GEN_DAQ_API.h:448
Acquire a continuous stream of data with triggered events.
Definition: GEN_DAQ_API.h:275
Basic trigger mode.
Definition: GEN_DAQ_API.h:286
GHSReturnValue GHSSetStorageLocation(GHSConnectionHandle conHandle, GHSStorageLocation storageLocation)
Set the storage location.
Client has read and write access.
Definition: GEN_DAQ_API.h:566
Rising edge level crossing detection direction.
Definition: GEN_DAQ_API.h:307
GHSReturnValue GHSGetRecordingName(GHSConnectionHandle conHandle, const char **recordingBaseName, int *recordingIndex)
Retrieve the recording base name and recording index of the last recording file.
FIR 3dB filter.
Definition: GEN_DAQ_API.h:398
GHSTimerCounterMode
Timer/counter channel modes.
Definition: GEN_DAQ_API.h:478
GHSRecordingDataSource
Recording data source.
Definition: GEN_DAQ_API.h:526
Uni-directional frequency timer/counter channel mode.
Definition: GEN_DAQ_API.h:487
IIR filter.
Definition: GEN_DAQ_API.h:384
GHSReturnValue GHSSetSpanAndOffset(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, double span, double offset)
Set Span and offset for analog channels.
Client has read-only access.
Definition: GEN_DAQ_API.h:564
GHSReturnValue GHSGetContinuousRecordingMode(GHSConnectionHandle conHandle, GHSSlotID slotID, GHSContinuousRecordingMode *continuousMode)
Determine the continuous recording mode for a recorder.
GHSReturnValue GHSGetTriggerArmEnabled(GHSConnectionHandle conHandle, GHSEnableDisable *enabled)
Retrieve trigger arm enabled status for a recorder. When enabled, triggers must be armed explicitly b...
No amplifier mode. Should never be returned.
Definition: GEN_DAQ_API.h:407
Function call succeeded.
Definition: GEN_DAQ_API.h:81
Band pass filter.
Definition: GEN_DAQ_API.h:396
GHSReturnValue GHSSetAmplifierMode(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSAmplifierMode amplifierMode)
Set the amplifier mode for an analog channel.
Mainframe is idle and ready to be put into other states.
Definition: GEN_DAQ_API.h:192
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.
GHSReturnValue GHSSetCurrentSettings(GHSConnectionHandle conHandle, GHSSettingsPtr blob, size_t blobSize)
Applies the mainframe settings contained in the input argument.
Use both trigger levels as qualifiers.
Definition: GEN_DAQ_API.h:298
PLL is busy locking the phase of the master.
Definition: GEN_DAQ_API.h:207
Sequential trigger mode.
Definition: GEN_DAQ_API.h:294
The continuous recording mode referred to does not exist.
Definition: GEN_DAQ_API.h:137
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.
Bessel filter.
Definition: GEN_DAQ_API.h:376
GHSReturnValue GHSGetSweepRecordingMode(GHSConnectionHandle conHandle, GHSSlotID slotID, GHSSweepRecordingMode *sweepRecordingMode)
Determine the sweep recording mode for a recorder.
PC storage.
Definition: GEN_DAQ_API.h:256
The connection-handle does not refer to a valid connected mainframe.
Definition: GEN_DAQ_API.h:99
Preview can not be stopped because the system is not in preview.
Definition: GEN_DAQ_API.h:119
Use primary trigger level as qualifier.
Definition: GEN_DAQ_API.h:296
Stop when a trigger occurs.
Definition: GEN_DAQ_API.h:472
GHSReturnValue GHSDeleteLastRecording(GHSConnectionHandle conHandle)
Deletes the most recent recording from local mainframe storage.
Window trigger mode.
Definition: GEN_DAQ_API.h:290
Disable.
Definition: GEN_DAQ_API.h:228
The channel specified has a type that is not supported for this method.
Definition: GEN_DAQ_API.h:129
GHSReturnValue GHSSetNumberOfSweeps(GHSConnectionHandle conHandle, GHSSlotID slotID, int numberOfSweeps)
Sets the number of sweeps for a recorder.
GHSReturnValue GHSDeleteAllRecordings(GHSConnectionHandle conHandle)
Deletes all recordings from local mainframe storage.
GHSReturnValue GHSStartPreview(GHSConnectionHandle conHandle)
Starts preview mode.
The channel referred to does not exist on this recorder.
Definition: GEN_DAQ_API.h:125
Passed pointer is a null pointer.
Definition: GEN_DAQ_API.h:87
The client API (with this header file) is incompatible with the version on the server.
Definition: GEN_DAQ_API.h:101
Measure the voltage on the -input.
Definition: GEN_DAQ_API.h:361
GHSReturnValue GHSGetExcitation(GHSConnectionHandle conHandle, GHSSlotID slotID, int channelIndex, GHSExcitationType *excitationType, double *excitationValue)
Determine the excitation type and value for an analog channel.
GHSReturnValue GHSGetCANAcqControl(GHSConnectionHandle conHandle, GHSEnableDisable *enabled, int *busID, int *msgID)
Get the current setup of CAN acquisition control.