nisync 0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nisync/__init__.py +6 -0
- nisync/_attributes.py +35 -0
- nisync/_errorcodes.py +636 -0
- nisync/_library.py +1302 -0
- nisync/_library_singleton.py +52 -0
- nisync/_visatype.py +20 -0
- nisync/constants.py +130 -0
- nisync/enums.py +147 -0
- nisync/errors.py +87 -0
- nisync/session.py +1274 -0
- nisync-0.1.dist-info/LICENSE +23 -0
- nisync-0.1.dist-info/METADATA +143 -0
- nisync-0.1.dist-info/RECORD +14 -0
- nisync-0.1.dist-info/WHEEL +4 -0
nisync/__init__.py
ADDED
nisync/_attributes.py
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
class Attribute(object):
|
|
2
|
+
def __init__(self, attribute_id):
|
|
3
|
+
self._attribute_id = attribute_id
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AttributeViInt32(Attribute):
|
|
7
|
+
def __get__(self, session, session_type):
|
|
8
|
+
return session._get_attribute_vi_int32(self._attribute_id)
|
|
9
|
+
|
|
10
|
+
def __set__(self, session, value):
|
|
11
|
+
session._set_attribute_vi_int32(self._attribute_id, value)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class AttributeViReal64(Attribute):
|
|
15
|
+
def __get__(self, session, session_type):
|
|
16
|
+
return session._get_attribute_vi_real64(self._attribute_id)
|
|
17
|
+
|
|
18
|
+
def __set__(self, session, value):
|
|
19
|
+
session._set_attribute_vi_real64(self._attribute_id, value)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class AttributeViBoolean(Attribute):
|
|
23
|
+
def __get__(self, session, session_type):
|
|
24
|
+
return session._get_attribute_vi_boolean(self._attribute_id)
|
|
25
|
+
|
|
26
|
+
def __set__(self, session, value):
|
|
27
|
+
session._set_attribute_vi_boolean(self._attribute_id, value)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class AttributeViString(Attribute):
|
|
31
|
+
def __get__(self, session, session_type):
|
|
32
|
+
return session._get_attribute_vi_string(self._attribute_id)
|
|
33
|
+
|
|
34
|
+
def __set__(self, session, value):
|
|
35
|
+
session._set_attribute_vi_string(self._attribute_id, value)
|
nisync/_errorcodes.py
ADDED
|
@@ -0,0 +1,636 @@
|
|
|
1
|
+
# This file was generated
|
|
2
|
+
|
|
3
|
+
from nisync.enums import CtypesEnum
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Status(CtypesEnum):
|
|
7
|
+
|
|
8
|
+
#: This device is not properly calibrated.
|
|
9
|
+
#:
|
|
10
|
+
#: #define NISYNC_ERROR_CAL_UNCALIBRATED = NISYNC_WARN_BASE + 60
|
|
11
|
+
#:
|
|
12
|
+
#: nisyncerr_calUncalibrated = 1073365052
|
|
13
|
+
UNCALIBRATED = 1073365052
|
|
14
|
+
|
|
15
|
+
#: The request has been accepted by the remote device but processing has not been completed. Wait and attempt to query the property again.
|
|
16
|
+
#:
|
|
17
|
+
#: #define NISYNC_ERROR_NETWORK_CLIENT_IN_PROGRESS = NISYNC_WARN_BASE + 100
|
|
18
|
+
#:
|
|
19
|
+
#: nisyncerr_networkClientInProgress = 1073365092
|
|
20
|
+
NETWORK_CLIENT_IN_PROGRESS = 1073365092
|
|
21
|
+
|
|
22
|
+
#: The status code passed to the operation could not be interpreted.
|
|
23
|
+
#:
|
|
24
|
+
#: #define NISYNC_ERROR_UNKNOWN_STATUS = VI_WARN_UNKNOWN_STATUS
|
|
25
|
+
#:
|
|
26
|
+
#: nisyncerr_unknownStatus = 1073676421
|
|
27
|
+
UNKNOWN_STATUS = 1073676421
|
|
28
|
+
|
|
29
|
+
#: The specified instrument descriptor is invalid.
|
|
30
|
+
#:
|
|
31
|
+
#: #define NISYNC_ERROR_INVALID_DESCRIPTOR = NISYNC_ERROR_BASE + 1
|
|
32
|
+
#:
|
|
33
|
+
#: nisyncerr_invalidDescriptor = -1074118655
|
|
34
|
+
DESCRIPTOR_INVALID = -1074118655
|
|
35
|
+
|
|
36
|
+
#: The mode for this operation is invalid.
|
|
37
|
+
#:
|
|
38
|
+
#: #define NISYNC_ERROR_INVALID_MODE = NISYNC_ERROR_BASE + 2
|
|
39
|
+
#:
|
|
40
|
+
#: nisyncerr_invalidMode = -1074118654
|
|
41
|
+
MODE_INVALID = -1074118654
|
|
42
|
+
|
|
43
|
+
#: This operation requires a feature that is not supported.
|
|
44
|
+
#:
|
|
45
|
+
#: #define NISYNC_ERROR_FEATURE_NOT_SUPPORTED = NISYNC_ERROR_BASE + 3
|
|
46
|
+
#:
|
|
47
|
+
#: nisyncerr_featureNotSupported = -1074118653
|
|
48
|
+
FEATURE_NOT_SUPPORTED = -1074118653
|
|
49
|
+
|
|
50
|
+
#: There is a version mismatch.
|
|
51
|
+
#:
|
|
52
|
+
#: #define NISYNC_ERROR_VERSION_MISMATCH = NISYNC_ERROR_BASE + 4
|
|
53
|
+
#:
|
|
54
|
+
#: nisyncerr_versionMismatch = -1074118652
|
|
55
|
+
VERSION_MISMATCH = -1074118652
|
|
56
|
+
|
|
57
|
+
#: An internal software error occurred.
|
|
58
|
+
#:
|
|
59
|
+
#: #define NISYNC_ERROR_INTERNAL_SOFTWARE = NISYNC_ERROR_BASE + 5
|
|
60
|
+
#:
|
|
61
|
+
#: nisyncerr_internalSoftware = -1074118651
|
|
62
|
+
INTERNAL_SOFTWARE = -1074118651
|
|
63
|
+
|
|
64
|
+
#: An error occurred while reading or writing a file.
|
|
65
|
+
#:
|
|
66
|
+
#: #define NISYNC_ERROR_FILE_IO = NISYNC_ERROR_BASE + 6
|
|
67
|
+
#:
|
|
68
|
+
#: nisyncerr_fileIo = -1074118650
|
|
69
|
+
FILE_IO = -1074118650
|
|
70
|
+
|
|
71
|
+
#: This device does not support Reset.
|
|
72
|
+
#:
|
|
73
|
+
#: #define NISYNC_ERROR_RESET_NOT_SUPPORTED = NISYNC_ERROR_BASE + 7
|
|
74
|
+
#:
|
|
75
|
+
#: nisyncerr_resetNotSupported = -1074118649
|
|
76
|
+
RESET_NOT_SUPPORTED = -1074118649
|
|
77
|
+
|
|
78
|
+
#: A parameter for this operation is of an invalid type.
|
|
79
|
+
#:
|
|
80
|
+
#: #define NISYNC_ERROR_INVALID_TYPE = NISYNC_ERROR_BASE + 8
|
|
81
|
+
#:
|
|
82
|
+
#: nisyncerr_invalidType = -1074118648
|
|
83
|
+
TYPE_INVALID = -1074118648
|
|
84
|
+
|
|
85
|
+
#: The NI-Sync API Support is unable to communicate with the NI-Sync Runtime. To resolve this issue, install NI-Sync 18.0 or later.
|
|
86
|
+
#:
|
|
87
|
+
#: #define NISYNC_ERROR_API_SUPPORT_INCOMPATIBLE_WITH_RUNTIME = NISYNC_ERROR_BASE + 9
|
|
88
|
+
#:
|
|
89
|
+
#: nisyncerr_apiSupportIncompatibleWithRuntime = -1074118647
|
|
90
|
+
API_SUPPORT_INCOMPATIBLE_WITH_RUNTIME = -1074118647
|
|
91
|
+
|
|
92
|
+
#: An error occurred while initializing the driver.
|
|
93
|
+
#:
|
|
94
|
+
#: #define NISYNC_ERROR_DRIVER_INITIALIZATION = NISYNC_ERROR_BASE + 10
|
|
95
|
+
#:
|
|
96
|
+
#: nisyncerr_driverInitialization = -1074118646
|
|
97
|
+
DRIVER_INITIALIZATION = -1074118646
|
|
98
|
+
|
|
99
|
+
#: The driver timed out while performing an operation.
|
|
100
|
+
#:
|
|
101
|
+
#: #define NISYNC_ERROR_DRIVER_TIMEOUT = NISYNC_ERROR_BASE + 11
|
|
102
|
+
#:
|
|
103
|
+
#: nisyncerr_driverTimeout = -1074118645
|
|
104
|
+
DRIVER_TIMEOUT = -1074118645
|
|
105
|
+
|
|
106
|
+
#: A failure occurred while reading from the device.
|
|
107
|
+
#:
|
|
108
|
+
#: #define NISYNC_ERROR_READ_FAILURE = NISYNC_ERROR_BASE + 20
|
|
109
|
+
#:
|
|
110
|
+
#: nisyncerr_readFailure = -1074118636
|
|
111
|
+
READ_FAILED = -1074118636
|
|
112
|
+
|
|
113
|
+
#: A failure occurred while writing to the device.
|
|
114
|
+
#:
|
|
115
|
+
#: #define NISYNC_ERROR_WRITE_FAILURE = NISYNC_ERROR_BASE + 21
|
|
116
|
+
#:
|
|
117
|
+
#: nisyncerr_writeFailure = -1074118635
|
|
118
|
+
WRITE_FAILED = -1074118635
|
|
119
|
+
|
|
120
|
+
#: The specified device was not found.
|
|
121
|
+
#:
|
|
122
|
+
#: #define NISYNC_ERROR_DEVICE_NOT_FOUND = NISYNC_ERROR_BASE + 22
|
|
123
|
+
#:
|
|
124
|
+
#: nisyncerr_deviceNotFound = -1074118634
|
|
125
|
+
DEVICE_NOT_FOUND = -1074118634
|
|
126
|
+
|
|
127
|
+
#: The specified device is not ready.
|
|
128
|
+
#:
|
|
129
|
+
#: #define NISYNC_ERROR_DEVICE_NOT_READY = NISYNC_ERROR_BASE + 23
|
|
130
|
+
#:
|
|
131
|
+
#: nisyncerr_deviceNotReady = -1074118633
|
|
132
|
+
DEVICE_NOT_READY = -1074118633
|
|
133
|
+
|
|
134
|
+
#: An internal hardware error occurred.
|
|
135
|
+
#:
|
|
136
|
+
#: #define NISYNC_ERROR_INTERNAL_HARDWARE = NISYNC_ERROR_BASE + 24
|
|
137
|
+
#:
|
|
138
|
+
#: nisyncerr_internalHardware = -1074118632
|
|
139
|
+
INTERNAL_HARDWARE = -1074118632
|
|
140
|
+
|
|
141
|
+
#: An overflow condition occurred.
|
|
142
|
+
#:
|
|
143
|
+
#: #define NISYNC_ERROR_OVERFLOW = NISYNC_ERROR_BASE + 25
|
|
144
|
+
#:
|
|
145
|
+
#: nisyncerr_overflow = -1074118631
|
|
146
|
+
OVERFLOW = -1074118631
|
|
147
|
+
|
|
148
|
+
#: The specified device is a remote device. Remote devices are not allowed.
|
|
149
|
+
#:
|
|
150
|
+
#: #define NISYNC_ERROR_REMOTE_DEVICE = NISYNC_ERROR_BASE + 26
|
|
151
|
+
#:
|
|
152
|
+
#: nisyncerr_remoteDevice = -1074118630
|
|
153
|
+
REMOTE_DEVICE = -1074118630
|
|
154
|
+
|
|
155
|
+
#: The firmware failed to load.
|
|
156
|
+
#:
|
|
157
|
+
#: #define NISYNC_ERROR_FIRMWARE_LOAD = NISYNC_ERROR_BASE + 30
|
|
158
|
+
#:
|
|
159
|
+
#: nisyncerr_firmwareLoad = -1074118626
|
|
160
|
+
FIRMWARE_LOAD = -1074118626
|
|
161
|
+
|
|
162
|
+
#: The device is not initialized.
|
|
163
|
+
#:
|
|
164
|
+
#: #define NISYNC_ERROR_DEVICE_NOT_INITIALIZED = NISYNC_ERROR_BASE + 31
|
|
165
|
+
#:
|
|
166
|
+
#: nisyncerr_deviceNotInitialized = -1074118625
|
|
167
|
+
DEVICE_NOT_INITIALIZED = -1074118625
|
|
168
|
+
|
|
169
|
+
#: PXI_Clk10 is not present.
|
|
170
|
+
#:
|
|
171
|
+
#: #define NISYNC_ERROR_CLK10_NOT_PRESENT = NISYNC_ERROR_BASE + 32
|
|
172
|
+
#:
|
|
173
|
+
#: nisyncerr_clk10NotPresent = -1074118624
|
|
174
|
+
CLK10_NOT_PRESENT = -1074118624
|
|
175
|
+
|
|
176
|
+
#: This device does not support a PLL.
|
|
177
|
+
#:
|
|
178
|
+
#: #define NISYNC_ERROR_PLL_NOT_PRESENT = NISYNC_ERROR_BASE + 40
|
|
179
|
+
#:
|
|
180
|
+
#: nisyncerr_pllNotPresent = -1074118616
|
|
181
|
+
PLL_NOT_PRESENT = -1074118616
|
|
182
|
+
|
|
183
|
+
#: The device does not support a DDS.
|
|
184
|
+
#:
|
|
185
|
+
#: #define NISYNC_ERROR_DDS_NOT_PRESENT = NISYNC_ERROR_BASE + 41
|
|
186
|
+
#:
|
|
187
|
+
#: nisyncerr_ddsNotPresent = -1074118615
|
|
188
|
+
DDS_NOT_PRESENT = -1074118615
|
|
189
|
+
|
|
190
|
+
#: The specified attribute cannot be set because the DDS is already running.
|
|
191
|
+
#:
|
|
192
|
+
#: #define NISYNC_ERROR_DDS_ALREADY_STARTED = NISYNC_ERROR_BASE + 42
|
|
193
|
+
#:
|
|
194
|
+
#: nisyncerr_ddsAlreadyStarted = -1074118614
|
|
195
|
+
DDS_ALREADY_STARTED = -1074118614
|
|
196
|
+
|
|
197
|
+
#: The current DDS frequency is incompatible as a synchronization clock, either the DDS is off or running too fast.
|
|
198
|
+
#:
|
|
199
|
+
#: #define NISYNC_ERROR_DDS_SYNC_CLK_COMBO_INVALID = NISYNC_ERROR_BASE + 43
|
|
200
|
+
#:
|
|
201
|
+
#: nisyncerr_ddsSyncClkComboInvalid = -1074118613
|
|
202
|
+
DDS_SYNC_CLOCK_COMBO_INVALID = -1074118613
|
|
203
|
+
|
|
204
|
+
#: The specified source terminal is invalid for this operation.
|
|
205
|
+
#:
|
|
206
|
+
#: #define NISYNC_ERROR_SRC_TERMINAL_INVALID = NISYNC_ERROR_BASE + 50
|
|
207
|
+
#:
|
|
208
|
+
#: nisyncerr_srcTerminalInvalid = -1074118606
|
|
209
|
+
SOURCE_TERMINAL_INVALID = -1074118606
|
|
210
|
+
|
|
211
|
+
#: The specified destination terminal is invalid for this operation.
|
|
212
|
+
#:
|
|
213
|
+
#: #define NISYNC_ERROR_DEST_TERMINAL_INVALID = NISYNC_ERROR_BASE + 51
|
|
214
|
+
#:
|
|
215
|
+
#: nisyncerr_destTerminalInvalid = -1074118605
|
|
216
|
+
DESTINATION_TERMINAL_INVALID = -1074118605
|
|
217
|
+
|
|
218
|
+
#: The specified terminal is not connected.
|
|
219
|
+
#:
|
|
220
|
+
#: #define NISYNC_ERROR_TERMINAL_NOT_CONNECTED = NISYNC_ERROR_BASE + 52
|
|
221
|
+
#:
|
|
222
|
+
#: nisyncerr_terminalNotConnected = -1074118604
|
|
223
|
+
TERMINAL_NOT_CONNECTED = -1074118604
|
|
224
|
+
|
|
225
|
+
#: The specified synchronization clock is invalid for this operation.
|
|
226
|
+
#:
|
|
227
|
+
#: #define NISYNC_ERROR_SYNC_CLK_INVALID = NISYNC_ERROR_BASE + 53
|
|
228
|
+
#:
|
|
229
|
+
#: nisyncerr_syncClkInvalid = -1074118603
|
|
230
|
+
SYNC_CLOCK_INVALID = -1074118603
|
|
231
|
+
|
|
232
|
+
#: Terminal for the device is invalid.
|
|
233
|
+
#:
|
|
234
|
+
#: #define NISYNC_ERROR_TERMINAL_INVALID = NISYNC_ERROR_BASE + 54
|
|
235
|
+
#:
|
|
236
|
+
#: nisyncerr_terminalInvalid = -1074118602
|
|
237
|
+
TERMINAL_INVALID = -1074118602
|
|
238
|
+
|
|
239
|
+
#: Route failed because the PXI chassis is not identified. The existence of the source terminal depends on the chassis being identified. Use the Measurements & Automation Explorer (MAX) to identify your chassis.
|
|
240
|
+
#:
|
|
241
|
+
#: #define NISYNC_ERROR_SRC_TERMINAL_PXI_CHASSIS_NOT_IDENTIFIED = NISYNC_ERROR_BASE + 55
|
|
242
|
+
#:
|
|
243
|
+
#: nisyncerr_srcTerminalPxiChassisNotIdentified = -1074118601
|
|
244
|
+
SOURCE_TERMINAL_PXI_CHASSIS_NOT_IDENTIFIED = -1074118601
|
|
245
|
+
|
|
246
|
+
#: Route failed because the PXI chassis is not identified. The existence of the destination terminal depends on the chassis being identified. Use the Measurements & Automation Explorer (MAX) to identify your chassis.
|
|
247
|
+
#:
|
|
248
|
+
#: #define NISYNC_ERROR_DEST_TERMINAL_PXI_CHASSIS_NOT_IDENTIFIED = NISYNC_ERROR_BASE + 56
|
|
249
|
+
#:
|
|
250
|
+
#: nisyncerr_destTerminalPxiChassisNotIdentified = -1074118600
|
|
251
|
+
DESTINATION_TERMINAL_PXI_CHASSIS_NOT_IDENTIFIED = -1074118600
|
|
252
|
+
|
|
253
|
+
#: PXI_Star<n> is available as a source terminal only for devices in a system timing slot. To use PXI_Star<n>, move your device to a system timing slot.
|
|
254
|
+
#:
|
|
255
|
+
#: #define NISYNC_ERROR_SRC_TERMINAL_PXI_STARX_NOT_IN_SYS_TIMING_SLOT = NISYNC_ERROR_BASE + 57
|
|
256
|
+
#:
|
|
257
|
+
#: nisyncerr_srcTerminalPxiStarxNotInSysTimingSlot = -1074118599
|
|
258
|
+
SOURCE_TERMINAL_PXI_STARX_NOT_IN_SYS_TIMING_SLOT = -1074118599
|
|
259
|
+
|
|
260
|
+
#: PXI_Star<n> is available as a destination terminal only for devices in a system timing slot. To use PXI_Star<n>, move your device to a system timing slot.
|
|
261
|
+
#:
|
|
262
|
+
#: #define NISYNC_ERROR_DEST_TERMINAL_PXI_STARX_NOT_IN_SYS_TIMING_SLOT = NISYNC_ERROR_BASE + 58
|
|
263
|
+
#:
|
|
264
|
+
#: nisyncerr_destTerminalPxiStarxNotInSysTimingSlot = -1074118598
|
|
265
|
+
DESTINATION_TERMINAL_PXI_STARX_NOT_IN_SYS_TIMING_SLOT = -1074118598
|
|
266
|
+
|
|
267
|
+
#: PXI_Clk10_In is available as a destination terminal only for devices in a system timing slot. Move your device to a system timing slot.
|
|
268
|
+
#:
|
|
269
|
+
#: #define NISYNC_ERROR_DEST_TERMINAL_PXI_CLK10_IN_NOT_IN_SYS_TIMING_SLOT = NISYNC_ERROR_BASE + 59
|
|
270
|
+
#:
|
|
271
|
+
#: nisyncerr_destTerminalPxiClk10InNotInSysTimingSlot = -1074118597
|
|
272
|
+
DESTINATION_TERMINAL_PXI_CLK10_IN_NOT_IN_SYS_TIMING_SLOT = -1074118597
|
|
273
|
+
|
|
274
|
+
#: The supplied external calibration password is incorrect.
|
|
275
|
+
#:
|
|
276
|
+
#: #define NISYNC_ERROR_CAL_INCORRECT_PASSWORD = NISYNC_ERROR_BASE + 60
|
|
277
|
+
#:
|
|
278
|
+
#: nisyncerr_calIncorrectPassword = -1074118596
|
|
279
|
+
INCORRECT_PASSWORD = -1074118596
|
|
280
|
+
|
|
281
|
+
#: The external calibration password contains too many characters.
|
|
282
|
+
#:
|
|
283
|
+
#: #define NISYNC_ERROR_CAL_PASSWORD_TOO_LARGE = NISYNC_ERROR_BASE + 61
|
|
284
|
+
#:
|
|
285
|
+
#: nisyncerr_calPasswordTooLarge = -1074118595
|
|
286
|
+
PASSWORD_TOO_LARGE = -1074118595
|
|
287
|
+
|
|
288
|
+
#: The specified calibration operation is not permitted on this session type.
|
|
289
|
+
#:
|
|
290
|
+
#: #define NISYNC_ERROR_CAL_NOT_PERMITTED = NISYNC_ERROR_BASE + 62
|
|
291
|
+
#:
|
|
292
|
+
#: nisyncerr_calNotPermitted = -1074118594
|
|
293
|
+
NOT_PERMITTED = -1074118594
|
|
294
|
+
|
|
295
|
+
#: A resource necessary to complete the specified operation is not available; therefore, the operation cannot be completed.
|
|
296
|
+
#:
|
|
297
|
+
#: #define NISYNC_ERROR_RSRC_UNAVAILABLE = NISYNC_ERROR_BASE + 70
|
|
298
|
+
#:
|
|
299
|
+
#: nisyncerr_rsrcUnavailable = -1074118586
|
|
300
|
+
RESOURCE_UNAVAILABLE = -1074118586
|
|
301
|
+
|
|
302
|
+
#: A resource necessary to complete the specified operation is already reserved by a previous operation and cannot be shared; therefore, the operation cannot be completed.
|
|
303
|
+
#:
|
|
304
|
+
#: #define NISYNC_ERROR_RSRC_RESERVED = NISYNC_ERROR_BASE + 71
|
|
305
|
+
#:
|
|
306
|
+
#: nisyncerr_rsrcReserved = -1074118585
|
|
307
|
+
RESOURCE_RESERVED = -1074118585
|
|
308
|
+
|
|
309
|
+
#: A resource necessary to complete the specified operation is not reserved and should have already been; therefore, the operation cannot be completed
|
|
310
|
+
#:
|
|
311
|
+
#: #define NISYNC_ERROR_RSRC_NOT_RESERVED = NISYNC_ERROR_BASE + 72
|
|
312
|
+
#:
|
|
313
|
+
#: nisyncerr_rsrcNotReserved = -1074118584
|
|
314
|
+
RESOURCE_NOT_RESERVED = -1074118584
|
|
315
|
+
|
|
316
|
+
#: A hardware buffer necessary to complete the specified operation is unexpectedly full; therefore, the operation cannot be completed.
|
|
317
|
+
#:
|
|
318
|
+
#: #define NISYNC_ERROR_HW_BUFFER_FULL = NISYNC_ERROR_BASE + 73
|
|
319
|
+
#:
|
|
320
|
+
#: nisyncerr_hwBufferFull = -1074118583
|
|
321
|
+
HARDWARE_BUFFER_FULL = -1074118583
|
|
322
|
+
|
|
323
|
+
#: A software buffer necessary to complete the specified operation is unexpectedly full; therefore, the operation cannot be completed.
|
|
324
|
+
#:
|
|
325
|
+
#: #define NISYNC_ERROR_SW_BUFFER_FULL = NISYNC_ERROR_BASE + 74
|
|
326
|
+
#:
|
|
327
|
+
#: nisyncerr_swBufferFull = -1074118582
|
|
328
|
+
SOFTWARE_BUFFER_FULL = -1074118582
|
|
329
|
+
|
|
330
|
+
#: A network socket necessary to complete the specified operation has generated a failure; therefore, the operation cannot be completed.
|
|
331
|
+
#:
|
|
332
|
+
#: #define NISYNC_ERROR_SOCKET_FAILURE = NISYNC_ERROR_BASE + 75
|
|
333
|
+
#:
|
|
334
|
+
#: nisyncerr_socketFailure = -1074118581
|
|
335
|
+
SOCKET_FAILED = -1074118581
|
|
336
|
+
|
|
337
|
+
#: The specified operation cannot be performed because a session has been aborted or a device has been removed from the system. Handle this situation as required by the application and then, if appropriate, attempt to perform the operation again.
|
|
338
|
+
#:
|
|
339
|
+
#: #define NISYNC_ERROR_SESSION_ABORTED = NISYNC_ERROR_BASE + 76
|
|
340
|
+
#:
|
|
341
|
+
#: nisyncerr_sessionAborted = -1074118580
|
|
342
|
+
SESSION_ABORTED = -1074118580
|
|
343
|
+
|
|
344
|
+
#: The specified operation cannot be performed because a session is in the process of being aborted or a device is in the process of being removed from the system. Wait until the abort operation is complete, and attempt to perform the operation again.
|
|
345
|
+
#:
|
|
346
|
+
#: #define NISYNC_ERROR_SESSION_ABORTING = NISYNC_ERROR_BASE + 77
|
|
347
|
+
#:
|
|
348
|
+
#: nisyncerr_sessionAborting = -1074118579
|
|
349
|
+
SESSION_ABORTING = -1074118579
|
|
350
|
+
|
|
351
|
+
#: The specified operation cannot be performed since the Active Item was not specified.
|
|
352
|
+
#:
|
|
353
|
+
#: #define NISYNC_ERROR_TERMINAL_NOT_SPECIFIED = NISYNC_ERROR_BASE + 78
|
|
354
|
+
#:
|
|
355
|
+
#: nisyncerr_terminalNotSpecified = -1074118578
|
|
356
|
+
TERMINAL_NOT_SPECIFIED = -1074118578
|
|
357
|
+
|
|
358
|
+
#: A 1588 time value has overflowed. The resulting value is not accurate.
|
|
359
|
+
#:
|
|
360
|
+
#: #define NISYNC_ERROR_TIME_OVERFLOW = NISYNC_ERROR_BASE + 80
|
|
361
|
+
#:
|
|
362
|
+
#: nisyncerr_timeOverflow = -1074118576
|
|
363
|
+
TIME_OVERFLOW = -1074118576
|
|
364
|
+
|
|
365
|
+
#: The specified time value is too early to be represented as a 1588 time value.
|
|
366
|
+
#:
|
|
367
|
+
#: #define NISYNC_ERROR_TIME_TOO_EARLY = NISYNC_ERROR_BASE + 81
|
|
368
|
+
#:
|
|
369
|
+
#: nisyncerr_timeTooEarly = -1074118575
|
|
370
|
+
TIME_TOO_EARLY = -1074118575
|
|
371
|
+
|
|
372
|
+
#: The specified time value is too late to be represetned as a 1588 time value.
|
|
373
|
+
#:
|
|
374
|
+
#: #define NISYNC_ERROR_TIME_TOO_LATE = NISYNC_ERROR_BASE + 82
|
|
375
|
+
#:
|
|
376
|
+
#: nisyncerr_timeTooLate = -1074118574
|
|
377
|
+
TIME_TOO_LATE = -1074118574
|
|
378
|
+
|
|
379
|
+
#: The Precision Time Protocol (PTP) has already been started on this device; therefore, it cannot be started again.
|
|
380
|
+
#:
|
|
381
|
+
#: #define NISYNC_ERROR_PTP_ALREADY_STARTED = NISYNC_ERROR_BASE + 83
|
|
382
|
+
#:
|
|
383
|
+
#: nisyncerr_ptpAlreadyStarted = -1074118573
|
|
384
|
+
PTP_ALREADY_STARTED = -1074118573
|
|
385
|
+
|
|
386
|
+
#: The Precision Time Protocol (PTP) has not been started on this device; therefore, it cannot be stopped.
|
|
387
|
+
#:
|
|
388
|
+
#: #define NISYNC_ERROR_PTP_NOT_STARTED = NISYNC_ERROR_BASE + 84
|
|
389
|
+
#:
|
|
390
|
+
#: nisyncerr_ptpNotStarted = -1074118572
|
|
391
|
+
PTP_NOT_STARTED = -1074118572
|
|
392
|
+
|
|
393
|
+
#: The specified attribute cannot be set when the Precision Time Protocol (PTP) is in its current state.
|
|
394
|
+
#:
|
|
395
|
+
#: #define NISYNC_ERROR_INVALID_CLOCK_STATE = NISYNC_ERROR_BASE + 85
|
|
396
|
+
#:
|
|
397
|
+
#: nisyncerr_invalidClockState = -1074118571
|
|
398
|
+
CLOCK_STATE_INVALID = -1074118571
|
|
399
|
+
|
|
400
|
+
#: The IP address for the specified device cannot be determined; therefore, the specified operation cannot be completed.
|
|
401
|
+
#:
|
|
402
|
+
#: #define NISYNC_ERROR_IP_ADDRESS = NISYNC_ERROR_BASE + 86
|
|
403
|
+
#:
|
|
404
|
+
#: nisyncerr_ipAddress = -1074118570
|
|
405
|
+
IP_ADDRESS = -1074118570
|
|
406
|
+
|
|
407
|
+
#: The time for the specified future time event is too soon, or may be in the past, and cannot be programmed in the device before it would occur.
|
|
408
|
+
#:
|
|
409
|
+
#: #define NISYNC_ERROR_FUTURE_TIME_EVENT_TOO_SOON = NISYNC_ERROR_BASE + 87
|
|
410
|
+
#:
|
|
411
|
+
#: nisyncerr_futureTimeEventTooSoon = -1074118569
|
|
412
|
+
FUTURE_TIME_EVENT_TOO_SOON = -1074118569
|
|
413
|
+
|
|
414
|
+
#: A clock with the specified period is too short to be generated by the device.
|
|
415
|
+
#:
|
|
416
|
+
#: #define NISYNC_ERROR_CLOCK_PERIOD_TOO_SHORT = NISYNC_ERROR_BASE + 88
|
|
417
|
+
#:
|
|
418
|
+
#: nisyncerr_clockPeriodTooShort = -1074118568
|
|
419
|
+
CLOCK_PERIOD_TOO_SHORT = -1074118568
|
|
420
|
+
|
|
421
|
+
#: A future time event with the same time and same terminal as the specified future time event has already been created. Multiple future time events on the same terminal at the same time cannot be created.
|
|
422
|
+
#:
|
|
423
|
+
#: #define NISYNC_ERROR_DUP_FUTURE_TIME_EVENT = NISYNC_ERROR_BASE + 89
|
|
424
|
+
#:
|
|
425
|
+
#: nisyncerr_dupFutureTimeEvent = -1074118567
|
|
426
|
+
DUPLICATE_FUTURE_TIME_EVENT = -1074118567
|
|
427
|
+
|
|
428
|
+
#: The specified sync interval for this 1588 clock is different than the sync interval specified for other 1588 clocks participating in the PTP. Adjust the sync interval on this 1588 clock or the other 1588 clocks participating in the PTP to the same value.
|
|
429
|
+
#:
|
|
430
|
+
#: #define NISYNC_ERROR_SYNC_INTERVAL_MISMACH = NISYNC_ERROR_BASE + 90
|
|
431
|
+
#:
|
|
432
|
+
#: nisyncerr_syncIntervalMismach = -1074118566
|
|
433
|
+
SYNC_INTERVAL_MISMACH = -1074118566
|
|
434
|
+
|
|
435
|
+
#: The specified initial time is invalid. Initial times must be after 0 hours 1 January 2000 and before 0 hours 1 January 2100.
|
|
436
|
+
#:
|
|
437
|
+
#: #define NISYNC_ERROR_INVALID_INITIAL_TIME = NISYNC_ERROR_BASE + 91
|
|
438
|
+
#:
|
|
439
|
+
#: nisyncerr_invalidInitialTime = -1074118565
|
|
440
|
+
INITIAL_TIME_INVALID = -1074118565
|
|
441
|
+
|
|
442
|
+
#: The specified 1588 clock adjustment offset is too large. The clock adjustment cannot be more than +1 seconds or less than -1 seconds.
|
|
443
|
+
#:
|
|
444
|
+
#: #define NISYNC_ERROR_CLK_ADJ_TOO_LARGE = NISYNC_ERROR_BASE + 92
|
|
445
|
+
#:
|
|
446
|
+
#: nisyncerr_clkAdjTooLarge = -1074118564
|
|
447
|
+
CLOCK_ADJUSTMENT_TOO_LARGE = -1074118564
|
|
448
|
+
|
|
449
|
+
#: A clock with the specified period is too large to be generated by the device.
|
|
450
|
+
#:
|
|
451
|
+
#: #define NISYNC_ERROR_CLOCK_PERIOD_TOO_LARGE = NISYNC_ERROR_BASE + 93
|
|
452
|
+
#:
|
|
453
|
+
#: nisyncerr_clockPeriodTooLarge = -1074118563
|
|
454
|
+
CLOCK_PERIOD_TOO_LARGE = -1074118563
|
|
455
|
+
|
|
456
|
+
#: The network interface associated with the device was not found. Ensure that the associated NIC (network interface controller) is installed and enabled.
|
|
457
|
+
#:
|
|
458
|
+
#: #define NISYNC_ERROR_NETWORK_ADAPTER_NOT_FOUND = NISYNC_ERROR_BASE + 94
|
|
459
|
+
#:
|
|
460
|
+
#: nisyncerr_networkAdapterNotFound = -1074118562
|
|
461
|
+
NETWORK_ADAPTER_NOT_FOUND = -1074118562
|
|
462
|
+
|
|
463
|
+
#: There are no shared trigger lines between the two devices which are acceptable to both devices. Consider routing the signal through the I/O connectors of the two devices, if applicable.
|
|
464
|
+
#:
|
|
465
|
+
#: #define NISYNC_ERROR_NO_COMMON_TRIG_LINE_FOR_ROUTE = NISYNC_ERROR_BASE + 95
|
|
466
|
+
#:
|
|
467
|
+
#: nisyncerr_noCommonTrigLineForRoute = -1074118561
|
|
468
|
+
NO_COMMON_TRIGGER_LINE_FOR_ROUTE = -1074118561
|
|
469
|
+
|
|
470
|
+
#: This device does not support timestamp decimation.
|
|
471
|
+
#:
|
|
472
|
+
#: #define NISYNC_ERROR_TIMESTAMP_DECIMATION_NOT_SUPPORTED = NISYNC_ERROR_BASE + 96
|
|
473
|
+
#:
|
|
474
|
+
#: nisyncerr_timestampDecimationNotSupported = -1074118560
|
|
475
|
+
TIMESTAMP_DECIMATION_NOT_SUPPORTED = -1074118560
|
|
476
|
+
|
|
477
|
+
#: The timestamp decimation count must be greater than 0 for this device.
|
|
478
|
+
#:
|
|
479
|
+
#: #define NISYNC_ERROR_TIMESTAMP_DECIMATION_COUNT_TOO_SMALL = NISYNC_ERROR_BASE + 97
|
|
480
|
+
#:
|
|
481
|
+
#: nisyncerr_timestampDecimationCountTooSmall = -1074118559
|
|
482
|
+
TIMESTAMP_DECIMATION_COUNT_TOO_SMALL = -1074118559
|
|
483
|
+
|
|
484
|
+
#: The specified timestamp decimation count is too great for this device.
|
|
485
|
+
#:
|
|
486
|
+
#: #define NISYNC_ERROR_TIMESTAMP_DECIMATION_COUNT_TOO_LARGE = NISYNC_ERROR_BASE + 98
|
|
487
|
+
#:
|
|
488
|
+
#: nisyncerr_timestampDecimationCountTooLarge = -1074118558
|
|
489
|
+
TIMESTAMP_DECIMATION_COUNT_TOO_LARGE = -1074118558
|
|
490
|
+
|
|
491
|
+
#: The specified future time event violates the rearm time of the future time event engine.
|
|
492
|
+
#:
|
|
493
|
+
#: #define NISYNC_ERROR_FUTURE_TIME_EVENT_REARM_TIME_VIOLATION = NISYNC_ERROR_BASE + 99
|
|
494
|
+
#:
|
|
495
|
+
#: nisyncerr_futureTimeEventRearmTimeViolation = -1074118557
|
|
496
|
+
FUTURE_TIME_EVENT_REARM_TIME_VIOLATION = -1074118557
|
|
497
|
+
|
|
498
|
+
#: Board time was snapped back during measurement.
|
|
499
|
+
#:
|
|
500
|
+
#: #define NISYNC_ERROR_TIME_SNAPPED = NISYNC_ERROR_BASE + 100
|
|
501
|
+
#:
|
|
502
|
+
#: nisyncerr_timeSnapped = -1074118556
|
|
503
|
+
TIME_SNAPPED = -1074118556
|
|
504
|
+
|
|
505
|
+
#: The requested property is not supported by the time reference specified on the Active Item.
|
|
506
|
+
#:
|
|
507
|
+
#: #define NISYNC_ERROR_TR_TYPE_MISMATCH = NISYNC_ERROR_BASE + 101
|
|
508
|
+
#:
|
|
509
|
+
#: nisyncerr_trTypeMismatch = -1074118555
|
|
510
|
+
TIME_REFERENCE_TYPE_MISMATCH = -1074118555
|
|
511
|
+
|
|
512
|
+
#: The requested time reference instance was not found.
|
|
513
|
+
#:
|
|
514
|
+
#: #define NISYNC_ERROR_TR_INSTANCE_NOT_FOUND = NISYNC_ERROR_BASE + 102
|
|
515
|
+
#:
|
|
516
|
+
#: nisyncerr_trInstanceNotFound = -1074118554
|
|
517
|
+
TIME_REFERENCE_INSTANCE_NOT_FOUND = -1074118554
|
|
518
|
+
|
|
519
|
+
#: The data received from the remote device could not be interpreted. Try to perform the operation again.
|
|
520
|
+
#:
|
|
521
|
+
#: #define NISYNC_ERROR_REMOTE_DEVICE_READ_FAILURE = NISYNC_ERROR_BASE + 103
|
|
522
|
+
#:
|
|
523
|
+
#: nisyncerr_remoteDeviceReadFailure = -1074118553
|
|
524
|
+
REMOTE_DEVICE_READ_FAILED = -1074118553
|
|
525
|
+
|
|
526
|
+
#: A failure occured while communicating with the remote device. Ensure the remote device is accessible.
|
|
527
|
+
#:
|
|
528
|
+
#: #define NISYNC_ERROR_REMOTE_DEVICE_COMMUNICATION_FAILURE = NISYNC_ERROR_BASE + 104
|
|
529
|
+
#:
|
|
530
|
+
#: nisyncerr_remoteDeviceCommunicationFailure = -1074118552
|
|
531
|
+
REMOTE_DEVICE_COMMUNICATION_FAILED = -1074118552
|
|
532
|
+
|
|
533
|
+
#: Unable to load an internal library. If the error persists contact NI support.
|
|
534
|
+
#:
|
|
535
|
+
#: #define NISYNC_ERROR_LIB_LOAD_FAILURE = NISYNC_ERROR_BASE + 105
|
|
536
|
+
#:
|
|
537
|
+
#: nisyncerr_libLoadFailure = -1074118551
|
|
538
|
+
LIBRARY_LOAD_FAILED = -1074118551
|
|
539
|
+
|
|
540
|
+
#: The resource name format is invalid.
|
|
541
|
+
#:
|
|
542
|
+
#: #define NISYNC_ERROR_INVALID_RESOURCE_NAME_FORMAT = NISYNC_ERROR_BASE + 106
|
|
543
|
+
#:
|
|
544
|
+
#: nisyncerr_invalidResourceNameFormat = -1074118550
|
|
545
|
+
RESOURCE_NAME_FORMAT_INVALID = -1074118550
|
|
546
|
+
|
|
547
|
+
#: The specified time reference already exists.
|
|
548
|
+
#:
|
|
549
|
+
#: #define NISYNC_ERROR_TR_INSTANCE_ALREADY_EXISTS = NISYNC_ERROR_BASE + 107
|
|
550
|
+
#:
|
|
551
|
+
#: nisyncerr_trInstanceAlreadyExists = -1074118549
|
|
552
|
+
TIME_REFERENCE_INSTANCE_ALREADY_EXISTS = -1074118549
|
|
553
|
+
|
|
554
|
+
#: Requested resource not found on a remote device. This may be because the device was not reachable or has experienced an internal error. It may also mean you need to update software or firmware on the remote device.
|
|
555
|
+
#:
|
|
556
|
+
#: #define NISYNC_ERROR_REMOTE_DEVICE_RESOURCE_NOT_FOUND = NISYNC_ERROR_BASE + 108
|
|
557
|
+
#:
|
|
558
|
+
#: nisyncerr_remoteDeviceResourceNotFound = -1074118548
|
|
559
|
+
REMOTE_DEVICE_RESOURCE_NOT_FOUND = -1074118548
|
|
560
|
+
|
|
561
|
+
#: The time reference you are trying to enable conflicts with a time reference already running on the same interface. Disable the conflicting time reference and retry the operation.
|
|
562
|
+
#:
|
|
563
|
+
#: #define NISYNC_ERROR_CONFLICTING_TR_INSTANCES = NISYNC_ERROR_BASE + 109
|
|
564
|
+
#:
|
|
565
|
+
#: nisyncerr_conflictingTrInstances = -1074118547
|
|
566
|
+
CONFLICTING_TIME_REFERENCE_INSTANCES = -1074118547
|
|
567
|
+
|
|
568
|
+
#: The requested attribute is not currently available. This may be because the time reference is disabled, not ready, or has encountered an error.
|
|
569
|
+
#:
|
|
570
|
+
#: #define NISYNC_ERROR_TR_ATTR_NOT_FOUND = NISYNC_ERROR_BASE + 110
|
|
571
|
+
#:
|
|
572
|
+
#: nisyncerr_trAttrNotFound = -1074118546
|
|
573
|
+
TIME_REFERENCE_ATTRIBUTE_NOT_FOUND = -1074118546
|
|
574
|
+
|
|
575
|
+
#: A failure occured while communicating with a required software service running on the device. Restart the device. If the error persists, contact NI support.
|
|
576
|
+
#:
|
|
577
|
+
#: #define NISYNC_ERROR_COMMUNICATIONS_FAULT = NISYNC_ERROR_BASE + 111
|
|
578
|
+
#:
|
|
579
|
+
#: nisyncerr_communicationsFault = -1074118545
|
|
580
|
+
COMMUNICATIONS_FAILED = -1074118545
|
|
581
|
+
|
|
582
|
+
#: The specified attribute is not supported.
|
|
583
|
+
#:
|
|
584
|
+
#: #define NISYNC_ERROR_NSUP_ATTR = VI_ERROR_NSUP_ATTR
|
|
585
|
+
#:
|
|
586
|
+
#: nisyncerr_nsupAttr = -1073807331
|
|
587
|
+
ATTRIBUTE_NOT_SUPPORTED = -1073807331
|
|
588
|
+
|
|
589
|
+
#: The specified attribute state is not supported.
|
|
590
|
+
#:
|
|
591
|
+
#: #define NISYNC_ERROR_NSUP_ATTR_STATE = VI_ERROR_NSUP_ATTR_STATE
|
|
592
|
+
#:
|
|
593
|
+
#: nisyncerr_nsupAttrState = -1073807330
|
|
594
|
+
ATTRIBUTE_STATE_NOT_SUPPORTED = -1073807330
|
|
595
|
+
|
|
596
|
+
#: The specified attribute is read-only.
|
|
597
|
+
#:
|
|
598
|
+
#: #define NISYNC_ERROR_ATTR_READONLY = VI_ERROR_ATTR_READONLY
|
|
599
|
+
#:
|
|
600
|
+
#: nisyncerr_attrReadonly = -1073807329
|
|
601
|
+
ATTRIBUTE_READONLY = -1073807329
|
|
602
|
+
|
|
603
|
+
#: The specified destination terminal is in use.
|
|
604
|
+
#:
|
|
605
|
+
#: #define NISYNC_ERROR_DEST_TERMINAL_IN_USE = VI_ERROR_LINE_IN_USE
|
|
606
|
+
#:
|
|
607
|
+
#: nisyncerr_destTerminalInUse = -1073807294
|
|
608
|
+
DESTINATION_TERMINAL_IN_USE = -1073807294
|
|
609
|
+
|
|
610
|
+
#: A parameter for this operation is invalid.
|
|
611
|
+
#:
|
|
612
|
+
#: #define NISYNC_ERROR_INV_PARAMETER = VI_ERROR_INV_PARAMETER
|
|
613
|
+
#:
|
|
614
|
+
#: nisyncerr_invParameter = -1073807240
|
|
615
|
+
PARAMETER_INVALID = -1073807240
|
|
616
|
+
|
|
617
|
+
#: Insufficient system resources to perform necessary memory allocation.
|
|
618
|
+
#:
|
|
619
|
+
#: #define NISYNC_ERROR_ALLOC = VI_ERROR_ALLOC
|
|
620
|
+
#:
|
|
621
|
+
#: nisyncerr_allocationFailed = -1073807300
|
|
622
|
+
ALLOCATION_FAILED = -1073807300
|
|
623
|
+
|
|
624
|
+
#: The given session or object reference is invalid.
|
|
625
|
+
#:
|
|
626
|
+
#: #define NISYNC_ERROR_INV_OBJECT = VI_ERROR_INV_OBJECT
|
|
627
|
+
#:
|
|
628
|
+
#: nisyncerr_invalidObject = -1073807346
|
|
629
|
+
OBJECT_INVALID = -1073807346
|
|
630
|
+
|
|
631
|
+
#: Unknown system error (miscellaneous error).
|
|
632
|
+
#:
|
|
633
|
+
#: #define NISYNC_ERROR_SYSTEM_ERROR = VI_ERROR_SYSTEM_ERROR
|
|
634
|
+
#:
|
|
635
|
+
#: nisyncerr_systemError = -1073807360
|
|
636
|
+
SYSTEM_ERROR = -1073807360
|