@zaber/motion 6.3.0 → 6.4.0
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.
- package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
- package/dist/lib/ascii/device_io.d.ts +72 -72
- package/dist/lib/ascii/device_io.d.ts.map +1 -1
- package/dist/lib/ascii/device_io.js +176 -176
- package/dist/lib/ascii/device_io.js.map +1 -1
- package/dist/lib/ascii/index.d.ts +2 -0
- package/dist/lib/ascii/index.d.ts.map +1 -1
- package/dist/lib/ascii/index.js +2 -0
- package/dist/lib/ascii/index.js.map +1 -1
- package/dist/lib/ascii/pvt_io.d.ts +100 -0
- package/dist/lib/ascii/pvt_io.d.ts.map +1 -0
- package/dist/lib/ascii/pvt_io.js +318 -0
- package/dist/lib/ascii/pvt_io.js.map +1 -0
- package/dist/lib/ascii/pvt_sequence.d.ts +36 -24
- package/dist/lib/ascii/pvt_sequence.d.ts.map +1 -1
- package/dist/lib/ascii/pvt_sequence.js +92 -78
- package/dist/lib/ascii/pvt_sequence.js.map +1 -1
- package/dist/lib/ascii/stream.d.ts +55 -39
- package/dist/lib/ascii/stream.d.ts.map +1 -1
- package/dist/lib/ascii/stream.js +134 -116
- package/dist/lib/ascii/stream.js.map +1 -1
- package/dist/lib/ascii/stream_io.d.ts +115 -0
- package/dist/lib/ascii/stream_io.d.ts.map +1 -0
- package/dist/lib/ascii/stream_io.js +348 -0
- package/dist/lib/ascii/stream_io.js.map +1 -0
- package/dist/lib/library.js +1 -1
- package/dist/lib/library.js.map +1 -1
- package/dist/lib/requests/index.d.ts +6 -0
- package/dist/lib/requests/index.d.ts.map +1 -1
- package/dist/lib/requests/index.js +6 -0
- package/dist/lib/requests/index.js.map +1 -1
- package/dist/lib/requests/stream_cancel_all_outputs_schedule_request.d.ts +15 -0
- package/dist/lib/requests/stream_cancel_all_outputs_schedule_request.d.ts.map +1 -0
- package/dist/lib/requests/stream_cancel_all_outputs_schedule_request.js +36 -0
- package/dist/lib/requests/stream_cancel_all_outputs_schedule_request.js.map +1 -0
- package/dist/lib/requests/stream_cancel_output_schedule_request.d.ts +15 -0
- package/dist/lib/requests/stream_cancel_output_schedule_request.d.ts.map +1 -0
- package/dist/lib/requests/stream_cancel_output_schedule_request.js +35 -0
- package/dist/lib/requests/stream_cancel_output_schedule_request.js.map +1 -0
- package/dist/lib/requests/stream_set_all_analog_outputs_schedule_request.d.ts +18 -0
- package/dist/lib/requests/stream_set_all_analog_outputs_schedule_request.d.ts.map +1 -0
- package/dist/lib/requests/stream_set_all_analog_outputs_schedule_request.js +41 -0
- package/dist/lib/requests/stream_set_all_analog_outputs_schedule_request.js.map +1 -0
- package/dist/lib/requests/stream_set_all_digital_outputs_schedule_request.d.ts +19 -0
- package/dist/lib/requests/stream_set_all_digital_outputs_schedule_request.d.ts.map +1 -0
- package/dist/lib/requests/stream_set_all_digital_outputs_schedule_request.js +42 -0
- package/dist/lib/requests/stream_set_all_digital_outputs_schedule_request.js.map +1 -0
- package/dist/lib/requests/stream_set_analog_output_schedule_request.d.ts +19 -0
- package/dist/lib/requests/stream_set_analog_output_schedule_request.d.ts.map +1 -0
- package/dist/lib/requests/stream_set_analog_output_schedule_request.js +42 -0
- package/dist/lib/requests/stream_set_analog_output_schedule_request.js.map +1 -0
- package/dist/lib/requests/stream_set_digital_output_schedule_request.d.ts +20 -0
- package/dist/lib/requests/stream_set_digital_output_schedule_request.d.ts.map +1 -0
- package/dist/lib/requests/stream_set_digital_output_schedule_request.js +43 -0
- package/dist/lib/requests/stream_set_digital_output_schedule_request.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
|
|
3
|
+
// ============= DO NOT EDIT DIRECTLY ============= //
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.StreamIo = void 0;
|
|
29
|
+
const units_1 = require("../units");
|
|
30
|
+
const gateway = __importStar(require("../gateway"));
|
|
31
|
+
const requests = __importStar(require("../requests"));
|
|
32
|
+
/**
|
|
33
|
+
* Class providing access to I/O for a stream.
|
|
34
|
+
*/
|
|
35
|
+
class StreamIo {
|
|
36
|
+
constructor(device, streamId) {
|
|
37
|
+
this._device = device;
|
|
38
|
+
this._streamId = streamId;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Sets value for the specified digital output channel.
|
|
42
|
+
* @param channelNumber Channel number starting at 1.
|
|
43
|
+
* @param value The type of action to perform on the channel.
|
|
44
|
+
*/
|
|
45
|
+
async setDigitalOutput(channelNumber, value) {
|
|
46
|
+
const request = {
|
|
47
|
+
...requests.StreamSetDigitalOutputRequest.DEFAULT,
|
|
48
|
+
interfaceId: this._device.connection.interfaceId,
|
|
49
|
+
device: this._device.deviceAddress,
|
|
50
|
+
streamId: this._streamId,
|
|
51
|
+
channelNumber: channelNumber,
|
|
52
|
+
value: value,
|
|
53
|
+
toBinary() {
|
|
54
|
+
return requests.StreamSetDigitalOutputRequest.toBinary(this);
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
await gateway.callAsync('device/stream_set_digital_output', request);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Sets values for all digital output channels.
|
|
61
|
+
* @param values The type of action to perform on the channel.
|
|
62
|
+
*/
|
|
63
|
+
async setAllDigitalOutputs(values) {
|
|
64
|
+
const request = {
|
|
65
|
+
...requests.StreamSetAllDigitalOutputsRequest.DEFAULT,
|
|
66
|
+
interfaceId: this._device.connection.interfaceId,
|
|
67
|
+
device: this._device.deviceAddress,
|
|
68
|
+
streamId: this._streamId,
|
|
69
|
+
values: values,
|
|
70
|
+
toBinary() {
|
|
71
|
+
return requests.StreamSetAllDigitalOutputsRequest.toBinary(this);
|
|
72
|
+
},
|
|
73
|
+
};
|
|
74
|
+
await gateway.callAsync('device/stream_set_all_digital_outputs', request);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Sets current and future value for the specified digital output channel.
|
|
78
|
+
* Requires at least Firmware 7.37.
|
|
79
|
+
* @param channelNumber Channel number starting at 1.
|
|
80
|
+
* @param value The type of action to perform immediately on the channel.
|
|
81
|
+
* @param futureValue The type of action to perform in the future on the channel.
|
|
82
|
+
* @param delay Delay between setting current value and setting future value.
|
|
83
|
+
* @param [unit=Units.NATIVE] Units of time.
|
|
84
|
+
*/
|
|
85
|
+
async setDigitalOutputSchedule(channelNumber, value, futureValue, delay, unit = units_1.Units.NATIVE) {
|
|
86
|
+
if (delay <= 0) {
|
|
87
|
+
throw new TypeError('Delay must be a positive value.');
|
|
88
|
+
}
|
|
89
|
+
const request = {
|
|
90
|
+
...requests.StreamSetDigitalOutputScheduleRequest.DEFAULT,
|
|
91
|
+
interfaceId: this._device.connection.interfaceId,
|
|
92
|
+
device: this._device.deviceAddress,
|
|
93
|
+
streamId: this._streamId,
|
|
94
|
+
channelNumber: channelNumber,
|
|
95
|
+
value: value,
|
|
96
|
+
futureValue: futureValue,
|
|
97
|
+
delay: delay,
|
|
98
|
+
unit: unit,
|
|
99
|
+
toBinary() {
|
|
100
|
+
return requests.StreamSetDigitalOutputScheduleRequest.toBinary(this);
|
|
101
|
+
},
|
|
102
|
+
};
|
|
103
|
+
await gateway.callAsync('device/stream_set_digital_output_schedule', request);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Sets current and future values for all digital output channels.
|
|
107
|
+
* Requires at least Firmware 7.37.
|
|
108
|
+
* @param values The type of actions to perform immediately on output channels.
|
|
109
|
+
* @param futureValues The type of actions to perform in the future on output channels.
|
|
110
|
+
* @param delay Delay between setting current values and setting future values.
|
|
111
|
+
* @param [unit=Units.NATIVE] Units of time.
|
|
112
|
+
*/
|
|
113
|
+
async setAllDigitalOutputsSchedule(values, futureValues, delay, unit = units_1.Units.NATIVE) {
|
|
114
|
+
if (delay <= 0) {
|
|
115
|
+
throw new TypeError('Delay must be a positive value.');
|
|
116
|
+
}
|
|
117
|
+
const request = {
|
|
118
|
+
...requests.StreamSetAllDigitalOutputsScheduleRequest.DEFAULT,
|
|
119
|
+
interfaceId: this._device.connection.interfaceId,
|
|
120
|
+
device: this._device.deviceAddress,
|
|
121
|
+
streamId: this._streamId,
|
|
122
|
+
values: values,
|
|
123
|
+
futureValues: futureValues,
|
|
124
|
+
delay: delay,
|
|
125
|
+
unit: unit,
|
|
126
|
+
toBinary() {
|
|
127
|
+
return requests.StreamSetAllDigitalOutputsScheduleRequest.toBinary(this);
|
|
128
|
+
},
|
|
129
|
+
};
|
|
130
|
+
await gateway.callAsync('device/stream_set_all_digital_outputs_schedule', request);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Sets value for the specified analog output channel.
|
|
134
|
+
* @param channelNumber Channel number starting at 1.
|
|
135
|
+
* @param value Value to set the output channel voltage to.
|
|
136
|
+
*/
|
|
137
|
+
async setAnalogOutput(channelNumber, value) {
|
|
138
|
+
const request = {
|
|
139
|
+
...requests.StreamSetAnalogOutputRequest.DEFAULT,
|
|
140
|
+
interfaceId: this._device.connection.interfaceId,
|
|
141
|
+
device: this._device.deviceAddress,
|
|
142
|
+
streamId: this._streamId,
|
|
143
|
+
channelNumber: channelNumber,
|
|
144
|
+
value: value,
|
|
145
|
+
toBinary() {
|
|
146
|
+
return requests.StreamSetAnalogOutputRequest.toBinary(this);
|
|
147
|
+
},
|
|
148
|
+
};
|
|
149
|
+
await gateway.callAsync('device/stream_set_analog_output', request);
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Sets values for all analog output channels.
|
|
153
|
+
* @param values Voltage values to set the output channels to.
|
|
154
|
+
*/
|
|
155
|
+
async setAllAnalogOutputs(values) {
|
|
156
|
+
const request = {
|
|
157
|
+
...requests.StreamSetAllAnalogOutputsRequest.DEFAULT,
|
|
158
|
+
interfaceId: this._device.connection.interfaceId,
|
|
159
|
+
device: this._device.deviceAddress,
|
|
160
|
+
streamId: this._streamId,
|
|
161
|
+
values: values,
|
|
162
|
+
toBinary() {
|
|
163
|
+
return requests.StreamSetAllAnalogOutputsRequest.toBinary(this);
|
|
164
|
+
},
|
|
165
|
+
};
|
|
166
|
+
await gateway.callAsync('device/stream_set_all_analog_outputs', request);
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Sets current and future value for the specified analog output channel.
|
|
170
|
+
* Requires at least Firmware 7.38.
|
|
171
|
+
* @param channelNumber Channel number starting at 1.
|
|
172
|
+
* @param value Value to set the output channel voltage to immediately.
|
|
173
|
+
* @param futureValue Value to set the output channel voltage to in the future.
|
|
174
|
+
* @param delay Delay between setting current value and setting future value.
|
|
175
|
+
* @param [unit=Units.NATIVE] Units of time.
|
|
176
|
+
*/
|
|
177
|
+
async setAnalogOutputSchedule(channelNumber, value, futureValue, delay, unit = units_1.Units.NATIVE) {
|
|
178
|
+
if (delay <= 0) {
|
|
179
|
+
throw new TypeError('Delay must be a positive value.');
|
|
180
|
+
}
|
|
181
|
+
const request = {
|
|
182
|
+
...requests.StreamSetAnalogOutputScheduleRequest.DEFAULT,
|
|
183
|
+
interfaceId: this._device.connection.interfaceId,
|
|
184
|
+
device: this._device.deviceAddress,
|
|
185
|
+
streamId: this._streamId,
|
|
186
|
+
channelNumber: channelNumber,
|
|
187
|
+
value: value,
|
|
188
|
+
futureValue: futureValue,
|
|
189
|
+
delay: delay,
|
|
190
|
+
unit: unit,
|
|
191
|
+
toBinary() {
|
|
192
|
+
return requests.StreamSetAnalogOutputScheduleRequest.toBinary(this);
|
|
193
|
+
},
|
|
194
|
+
};
|
|
195
|
+
await gateway.callAsync('device/stream_set_analog_output_schedule', request);
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Sets current and future values for all analog output channels.
|
|
199
|
+
* Requires at least Firmware 7.38.
|
|
200
|
+
* @param values Voltage values to set the output channels to immediately.
|
|
201
|
+
* @param futureValues Voltage values to set the output channels to in the future.
|
|
202
|
+
* @param delay Delay between setting current values and setting future values.
|
|
203
|
+
* @param [unit=Units.NATIVE] Units of time.
|
|
204
|
+
*/
|
|
205
|
+
async setAllAnalogOutputsSchedule(values, futureValues, delay, unit = units_1.Units.NATIVE) {
|
|
206
|
+
if (delay <= 0) {
|
|
207
|
+
throw new TypeError('Delay must be a positive value.');
|
|
208
|
+
}
|
|
209
|
+
const request = {
|
|
210
|
+
...requests.StreamSetAllAnalogOutputsScheduleRequest.DEFAULT,
|
|
211
|
+
interfaceId: this._device.connection.interfaceId,
|
|
212
|
+
device: this._device.deviceAddress,
|
|
213
|
+
streamId: this._streamId,
|
|
214
|
+
values: values,
|
|
215
|
+
futureValues: futureValues,
|
|
216
|
+
delay: delay,
|
|
217
|
+
unit: unit,
|
|
218
|
+
toBinary() {
|
|
219
|
+
return requests.StreamSetAllAnalogOutputsScheduleRequest.toBinary(this);
|
|
220
|
+
},
|
|
221
|
+
};
|
|
222
|
+
await gateway.callAsync('device/stream_set_all_analog_outputs_schedule', request);
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Cancels a scheduled digital output action.
|
|
226
|
+
* Requires at least Firmware 7.37.
|
|
227
|
+
* @param channelNumber Channel number starting at 1.
|
|
228
|
+
*/
|
|
229
|
+
async cancelDigitalOutputSchedule(channelNumber) {
|
|
230
|
+
const request = {
|
|
231
|
+
...requests.StreamCancelOutputScheduleRequest.DEFAULT,
|
|
232
|
+
interfaceId: this._device.connection.interfaceId,
|
|
233
|
+
device: this._device.deviceAddress,
|
|
234
|
+
analog: false,
|
|
235
|
+
streamId: this._streamId,
|
|
236
|
+
channelNumber: channelNumber,
|
|
237
|
+
toBinary() {
|
|
238
|
+
return requests.StreamCancelOutputScheduleRequest.toBinary(this);
|
|
239
|
+
},
|
|
240
|
+
};
|
|
241
|
+
await gateway.callAsync('device/stream_cancel_output_schedule', request);
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Cancel all scheduled digital output actions.
|
|
245
|
+
* Requires at least Firmware 7.37.
|
|
246
|
+
* @param [channels=[]] Optionally specify which channels to cancel.
|
|
247
|
+
* Array length must be empty or equal to the number of channels on device.
|
|
248
|
+
* Specifying "True" for a channel will cancel the scheduled digital output action for that channel.
|
|
249
|
+
*/
|
|
250
|
+
async cancelAllDigitalOutputsSchedule(channels = []) {
|
|
251
|
+
const request = {
|
|
252
|
+
...requests.StreamCancelAllOutputsScheduleRequest.DEFAULT,
|
|
253
|
+
interfaceId: this._device.connection.interfaceId,
|
|
254
|
+
device: this._device.deviceAddress,
|
|
255
|
+
analog: false,
|
|
256
|
+
streamId: this._streamId,
|
|
257
|
+
channels: channels,
|
|
258
|
+
toBinary() {
|
|
259
|
+
return requests.StreamCancelAllOutputsScheduleRequest.toBinary(this);
|
|
260
|
+
},
|
|
261
|
+
};
|
|
262
|
+
await gateway.callAsync('device/stream_cancel_all_outputs_schedule', request);
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Cancels a scheduled analog output value.
|
|
266
|
+
* Requires at least Firmware 7.38.
|
|
267
|
+
* @param channelNumber Channel number starting at 1.
|
|
268
|
+
*/
|
|
269
|
+
async cancelAnalogOutputSchedule(channelNumber) {
|
|
270
|
+
const request = {
|
|
271
|
+
...requests.StreamCancelOutputScheduleRequest.DEFAULT,
|
|
272
|
+
interfaceId: this._device.connection.interfaceId,
|
|
273
|
+
device: this._device.deviceAddress,
|
|
274
|
+
analog: true,
|
|
275
|
+
streamId: this._streamId,
|
|
276
|
+
channelNumber: channelNumber,
|
|
277
|
+
toBinary() {
|
|
278
|
+
return requests.StreamCancelOutputScheduleRequest.toBinary(this);
|
|
279
|
+
},
|
|
280
|
+
};
|
|
281
|
+
await gateway.callAsync('device/stream_cancel_output_schedule', request);
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Cancel all scheduled analog output actions.
|
|
285
|
+
* Requires at least Firmware 7.38.
|
|
286
|
+
* @param [channels=[]] Optionally specify which channels to cancel.
|
|
287
|
+
* Array length must be empty or equal to the number of channels on device.
|
|
288
|
+
* Specifying "True" for a channel will cancel the scheduled analog output value for that channel.
|
|
289
|
+
*/
|
|
290
|
+
async cancelAllAnalogOutputsSchedule(channels = []) {
|
|
291
|
+
const request = {
|
|
292
|
+
...requests.StreamCancelAllOutputsScheduleRequest.DEFAULT,
|
|
293
|
+
interfaceId: this._device.connection.interfaceId,
|
|
294
|
+
device: this._device.deviceAddress,
|
|
295
|
+
analog: true,
|
|
296
|
+
streamId: this._streamId,
|
|
297
|
+
channels: channels,
|
|
298
|
+
toBinary() {
|
|
299
|
+
return requests.StreamCancelAllOutputsScheduleRequest.toBinary(this);
|
|
300
|
+
},
|
|
301
|
+
};
|
|
302
|
+
await gateway.callAsync('device/stream_cancel_all_outputs_schedule', request);
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* Wait for a digital input channel to reach a given value.
|
|
306
|
+
* @param channelNumber The number of the digital input channel.
|
|
307
|
+
* Channel numbers are numbered from one.
|
|
308
|
+
* @param value The value that the stream should wait for.
|
|
309
|
+
*/
|
|
310
|
+
async waitDigitalInput(channelNumber, value) {
|
|
311
|
+
const request = {
|
|
312
|
+
...requests.StreamWaitDigitalInputRequest.DEFAULT,
|
|
313
|
+
interfaceId: this._device.connection.interfaceId,
|
|
314
|
+
device: this._device.deviceAddress,
|
|
315
|
+
streamId: this._streamId,
|
|
316
|
+
channelNumber: channelNumber,
|
|
317
|
+
value: value,
|
|
318
|
+
toBinary() {
|
|
319
|
+
return requests.StreamWaitDigitalInputRequest.toBinary(this);
|
|
320
|
+
},
|
|
321
|
+
};
|
|
322
|
+
await gateway.callAsync('device/stream_wait_digital_input', request);
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Wait for the value of a analog input channel to reach a condition concerning a given value.
|
|
326
|
+
* @param channelNumber The number of the analog input channel.
|
|
327
|
+
* Channel numbers are numbered from one.
|
|
328
|
+
* @param condition A condition (e.g. <, <=, ==, !=).
|
|
329
|
+
* @param value The value that the condition concerns, in Volts.
|
|
330
|
+
*/
|
|
331
|
+
async waitAnalogInput(channelNumber, condition, value) {
|
|
332
|
+
const request = {
|
|
333
|
+
...requests.StreamWaitAnalogInputRequest.DEFAULT,
|
|
334
|
+
interfaceId: this._device.connection.interfaceId,
|
|
335
|
+
device: this._device.deviceAddress,
|
|
336
|
+
streamId: this._streamId,
|
|
337
|
+
channelNumber: channelNumber,
|
|
338
|
+
condition: condition,
|
|
339
|
+
value: value,
|
|
340
|
+
toBinary() {
|
|
341
|
+
return requests.StreamWaitAnalogInputRequest.toBinary(this);
|
|
342
|
+
},
|
|
343
|
+
};
|
|
344
|
+
await gateway.callAsync('device/stream_wait_analog_input', request);
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
exports.StreamIo = StreamIo;
|
|
348
|
+
//# sourceMappingURL=stream_io.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stream_io.js","sourceRoot":"","sources":["../../../src/ascii/stream_io.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;AAGtD,oCAA+C;AAC/C,oDAAsC;AACtC,sDAAwC;AAGxC;;GAEG;AACH,MAAa,QAAQ;IAKnB,YAAY,MAAc,EAAE,QAAgB;QAC1C,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;IAC5B,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,gBAAgB,CAC3B,aAAqB,EACrB,KAA0B;QAE1B,MAAM,OAAO,GAA6D;YACxE,GAAG,QAAQ,CAAC,6BAA6B,CAAC,OAAO;YACjD,WAAW,EAAE,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW;YAChD,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,aAAa;YAClC,QAAQ,EAAE,IAAI,CAAC,SAAS;YACxB,aAAa,EAAE,aAAa;YAC5B,KAAK,EAAE,KAAK;YACZ,QAAQ;gBACN,OAAO,QAAQ,CAAC,6BAA6B,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC/D,CAAC;SACF,CAAC;QAEF,MAAM,OAAO,CAAC,SAAS,CAAC,kCAAkC,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,oBAAoB,CAC/B,MAA6B;QAE7B,MAAM,OAAO,GAAiE;YAC5E,GAAG,QAAQ,CAAC,iCAAiC,CAAC,OAAO;YACrD,WAAW,EAAE,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW;YAChD,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,aAAa;YAClC,QAAQ,EAAE,IAAI,CAAC,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\nimport { Device } from './device';\nimport { Time, Native, Units } from '../units';\nimport * as gateway from '../gateway';\nimport * as requests from '../requests';\nimport { DigitalOutputAction } from './digital_output_action';\n\n/**\n * Class providing access to I/O for a stream.\n */\nexport class StreamIo {\n private _device: Device;\n\n private _streamId: number;\n\n constructor(device: Device, streamId: number) {\n this._device = device;\n this._streamId = streamId;\n }\n\n /**\n * Sets value for the specified digital output channel.\n * @param channelNumber Channel number starting at 1.\n * @param value The type of action to perform on the channel.\n */\n public async setDigitalOutput(\n channelNumber: number,\n value: DigitalOutputAction\n ): Promise<void> {\n const request: requests.StreamSetDigitalOutputRequest & gateway.Message = {\n ...requests.StreamSetDigitalOutputRequest.DEFAULT,\n interfaceId: this._device.connection.interfaceId,\n device: this._device.deviceAddress,\n streamId: this._streamId,\n channelNumber: channelNumber,\n value: value,\n toBinary() {\n return requests.StreamSetDigitalOutputRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/stream_set_digital_output', request);\n }\n\n /**\n * Sets values for all digital output channels.\n * @param values The type of action to perform on the channel.\n */\n public async setAllDigitalOutputs(\n values: DigitalOutputAction[]\n ): Promise<void> {\n const request: requests.StreamSetAllDigitalOutputsRequest & gateway.Message = {\n ...requests.StreamSetAllDigitalOutputsRequest.DEFAULT,\n interfaceId: this._device.connection.interfaceId,\n device: this._device.deviceAddress,\n streamId: this._streamId,\n values: values,\n toBinary() {\n return requests.StreamSetAllDigitalOutputsRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/stream_set_all_digital_outputs', request);\n }\n\n /**\n * Sets current and future value for the specified digital output channel.\n * Requires at least Firmware 7.37.\n * @param channelNumber Channel number starting at 1.\n * @param value The type of action to perform immediately on the channel.\n * @param futureValue The type of action to perform in the future on the channel.\n * @param delay Delay between setting current value and setting future value.\n * @param [unit=Units.NATIVE] Units of time.\n */\n public async setDigitalOutputSchedule(\n channelNumber: number,\n value: DigitalOutputAction,\n futureValue: DigitalOutputAction,\n delay: number,\n unit: Time | Native = Units.NATIVE\n ): Promise<void> {\n if (delay <= 0) {\n throw new TypeError('Delay must be a positive value.');\n }\n const request: requests.StreamSetDigitalOutputScheduleRequest & gateway.Message = {\n ...requests.StreamSetDigitalOutputScheduleRequest.DEFAULT,\n interfaceId: this._device.connection.interfaceId,\n device: this._device.deviceAddress,\n streamId: this._streamId,\n channelNumber: channelNumber,\n value: value,\n futureValue: futureValue,\n delay: delay,\n unit: unit,\n toBinary() {\n return requests.StreamSetDigitalOutputScheduleRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/stream_set_digital_output_schedule', request);\n }\n\n /**\n * Sets current and future values for all digital output channels.\n * Requires at least Firmware 7.37.\n * @param values The type of actions to perform immediately on output channels.\n * @param futureValues The type of actions to perform in the future on output channels.\n * @param delay Delay between setting current values and setting future values.\n * @param [unit=Units.NATIVE] Units of time.\n */\n public async setAllDigitalOutputsSchedule(\n values: DigitalOutputAction[],\n futureValues: DigitalOutputAction[],\n delay: number,\n unit: Time | Native = Units.NATIVE\n ): Promise<void> {\n if (delay <= 0) {\n throw new TypeError('Delay must be a positive value.');\n }\n const request: requests.StreamSetAllDigitalOutputsScheduleRequest & gateway.Message = {\n ...requests.StreamSetAllDigitalOutputsScheduleRequest.DEFAULT,\n interfaceId: this._device.connection.interfaceId,\n device: this._device.deviceAddress,\n streamId: this._streamId,\n values: values,\n futureValues: futureValues,\n delay: delay,\n unit: unit,\n toBinary() {\n return requests.StreamSetAllDigitalOutputsScheduleRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/stream_set_all_digital_outputs_schedule', request);\n }\n\n /**\n * Sets value for the specified analog output channel.\n * @param channelNumber Channel number starting at 1.\n * @param value Value to set the output channel voltage to.\n */\n public async setAnalogOutput(\n channelNumber: number,\n value: number\n ): Promise<void> {\n const request: requests.StreamSetAnalogOutputRequest & gateway.Message = {\n ...requests.StreamSetAnalogOutputRequest.DEFAULT,\n interfaceId: this._device.connection.interfaceId,\n device: this._device.deviceAddress,\n streamId: this._streamId,\n channelNumber: channelNumber,\n value: value,\n toBinary() {\n return requests.StreamSetAnalogOutputRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/stream_set_analog_output', request);\n }\n\n /**\n * Sets values for all analog output channels.\n * @param values Voltage values to set the output channels to.\n */\n public async setAllAnalogOutputs(\n values: number[]\n ): Promise<void> {\n const request: requests.StreamSetAllAnalogOutputsRequest & gateway.Message = {\n ...requests.StreamSetAllAnalogOutputsRequest.DEFAULT,\n interfaceId: this._device.connection.interfaceId,\n device: this._device.deviceAddress,\n streamId: this._streamId,\n values: values,\n toBinary() {\n return requests.StreamSetAllAnalogOutputsRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/stream_set_all_analog_outputs', request);\n }\n\n /**\n * Sets current and future value for the specified analog output channel.\n * Requires at least Firmware 7.38.\n * @param channelNumber Channel number starting at 1.\n * @param value Value to set the output channel voltage to immediately.\n * @param futureValue Value to set the output channel voltage to in the future.\n * @param delay Delay between setting current value and setting future value.\n * @param [unit=Units.NATIVE] Units of time.\n */\n public async setAnalogOutputSchedule(\n channelNumber: number,\n value: number,\n futureValue: number,\n delay: number,\n unit: Time | Native = Units.NATIVE\n ): Promise<void> {\n if (delay <= 0) {\n throw new TypeError('Delay must be a positive value.');\n }\n const request: requests.StreamSetAnalogOutputScheduleRequest & gateway.Message = {\n ...requests.StreamSetAnalogOutputScheduleRequest.DEFAULT,\n interfaceId: this._device.connection.interfaceId,\n device: this._device.deviceAddress,\n streamId: this._streamId,\n channelNumber: channelNumber,\n value: value,\n futureValue: futureValue,\n delay: delay,\n unit: unit,\n toBinary() {\n return requests.StreamSetAnalogOutputScheduleRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/stream_set_analog_output_schedule', request);\n }\n\n /**\n * Sets current and future values for all analog output channels.\n * Requires at least Firmware 7.38.\n * @param values Voltage values to set the output channels to immediately.\n * @param futureValues Voltage values to set the output channels to in the future.\n * @param delay Delay between setting current values and setting future values.\n * @param [unit=Units.NATIVE] Units of time.\n */\n public async setAllAnalogOutputsSchedule(\n values: number[],\n futureValues: number[],\n delay: number,\n unit: Time | Native = Units.NATIVE\n ): Promise<void> {\n if (delay <= 0) {\n throw new TypeError('Delay must be a positive value.');\n }\n const request: requests.StreamSetAllAnalogOutputsScheduleRequest & gateway.Message = {\n ...requests.StreamSetAllAnalogOutputsScheduleRequest.DEFAULT,\n interfaceId: this._device.connection.interfaceId,\n device: this._device.deviceAddress,\n streamId: this._streamId,\n values: values,\n futureValues: futureValues,\n delay: delay,\n unit: unit,\n toBinary() {\n return requests.StreamSetAllAnalogOutputsScheduleRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/stream_set_all_analog_outputs_schedule', request);\n }\n\n /**\n * Cancels a scheduled digital output action.\n * Requires at least Firmware 7.37.\n * @param channelNumber Channel number starting at 1.\n */\n public async cancelDigitalOutputSchedule(\n channelNumber: number\n ): Promise<void> {\n const request: requests.StreamCancelOutputScheduleRequest & gateway.Message = {\n ...requests.StreamCancelOutputScheduleRequest.DEFAULT,\n interfaceId: this._device.connection.interfaceId,\n device: this._device.deviceAddress,\n analog: false,\n streamId: this._streamId,\n channelNumber: channelNumber,\n toBinary() {\n return requests.StreamCancelOutputScheduleRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/stream_cancel_output_schedule', request);\n }\n\n /**\n * Cancel all scheduled digital output actions.\n * Requires at least Firmware 7.37.\n * @param [channels=[]] Optionally specify which channels to cancel.\n * Array length must be empty or equal to the number of channels on device.\n * Specifying \"True\" for a channel will cancel the scheduled digital output action for that channel.\n */\n public async cancelAllDigitalOutputsSchedule(\n channels: boolean[] = []\n ): Promise<void> {\n const request: requests.StreamCancelAllOutputsScheduleRequest & gateway.Message = {\n ...requests.StreamCancelAllOutputsScheduleRequest.DEFAULT,\n interfaceId: this._device.connection.interfaceId,\n device: this._device.deviceAddress,\n analog: false,\n streamId: this._streamId,\n channels: channels,\n toBinary() {\n return requests.StreamCancelAllOutputsScheduleRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/stream_cancel_all_outputs_schedule', request);\n }\n\n /**\n * Cancels a scheduled analog output value.\n * Requires at least Firmware 7.38.\n * @param channelNumber Channel number starting at 1.\n */\n public async cancelAnalogOutputSchedule(\n channelNumber: number\n ): Promise<void> {\n const request: requests.StreamCancelOutputScheduleRequest & gateway.Message = {\n ...requests.StreamCancelOutputScheduleRequest.DEFAULT,\n interfaceId: this._device.connection.interfaceId,\n device: this._device.deviceAddress,\n analog: true,\n streamId: this._streamId,\n channelNumber: channelNumber,\n toBinary() {\n return requests.StreamCancelOutputScheduleRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/stream_cancel_output_schedule', request);\n }\n\n /**\n * Cancel all scheduled analog output actions.\n * Requires at least Firmware 7.38.\n * @param [channels=[]] Optionally specify which channels to cancel.\n * Array length must be empty or equal to the number of channels on device.\n * Specifying \"True\" for a channel will cancel the scheduled analog output value for that channel.\n */\n public async cancelAllAnalogOutputsSchedule(\n channels: boolean[] = []\n ): Promise<void> {\n const request: requests.StreamCancelAllOutputsScheduleRequest & gateway.Message = {\n ...requests.StreamCancelAllOutputsScheduleRequest.DEFAULT,\n interfaceId: this._device.connection.interfaceId,\n device: this._device.deviceAddress,\n analog: true,\n streamId: this._streamId,\n channels: channels,\n toBinary() {\n return requests.StreamCancelAllOutputsScheduleRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/stream_cancel_all_outputs_schedule', request);\n }\n\n /**\n * Wait for a digital input channel to reach a given value.\n * @param channelNumber The number of the digital input channel.\n * Channel numbers are numbered from one.\n * @param value The value that the stream should wait for.\n */\n public async waitDigitalInput(\n channelNumber: number,\n value: boolean\n ): Promise<void> {\n const request: requests.StreamWaitDigitalInputRequest & gateway.Message = {\n ...requests.StreamWaitDigitalInputRequest.DEFAULT,\n interfaceId: this._device.connection.interfaceId,\n device: this._device.deviceAddress,\n streamId: this._streamId,\n channelNumber: channelNumber,\n value: value,\n toBinary() {\n return requests.StreamWaitDigitalInputRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/stream_wait_digital_input', request);\n }\n\n /**\n * Wait for the value of a analog input channel to reach a condition concerning a given value.\n * @param channelNumber The number of the analog input channel.\n * Channel numbers are numbered from one.\n * @param condition A condition (e.g. <, <=, ==, !=).\n * @param value The value that the condition concerns, in Volts.\n */\n public async waitAnalogInput(\n channelNumber: number,\n condition: string,\n value: number\n ): Promise<void> {\n const request: requests.StreamWaitAnalogInputRequest & gateway.Message = {\n ...requests.StreamWaitAnalogInputRequest.DEFAULT,\n interfaceId: this._device.connection.interfaceId,\n device: this._device.deviceAddress,\n streamId: this._streamId,\n channelNumber: channelNumber,\n condition: condition,\n value: value,\n toBinary() {\n return requests.StreamWaitAnalogInputRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/stream_wait_analog_input', request);\n }\n}\n\nnamespace StreamIo {\n}\n"]}
|
package/dist/lib/library.js
CHANGED
package/dist/lib/library.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"library.js","sourceRoot":"","sources":["../../src/library.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtD,mDAAqC;AACrC,qDAAuC;AAIvC,MAAa,OAAO;IAClB;;;;OAIG;IACI,MAAM,CAAC,YAAY,CACxB,IAAmB,EACnB,QAAiB;QAEjB,MAAM,OAAO,GAAmD;YAC9D,GAAG,QAAQ,CAAC,mBAAmB,CAAC,OAAO;YACvC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,QAAQ;YAClB,QAAQ;gBACN,OAAO,QAAQ,CAAC,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACrD,CAAC;SACF,CAAC;QAEF,OAAO,CAAC,QAAQ,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,iBAAiB,CAC7B,UAA8B,EAC9B,aAAsB;QAEtB,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,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC;IACzD,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,oBAAoB,CAChC,MAAc;QAEd,MAAM,OAAO,GAA0C;YACrD,GAAG,QAAQ,CAAC,UAAU,CAAC,OAAO;YAC9B,KAAK,EAAE,MAAM;YACb,QAAQ;gBACN,OAAO,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC5C,CAAC;SACF,CAAC;QAEF,OAAO,CAAC,QAAQ,CAAC,iCAAiC,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,YAAY;QACxB,MAAM,OAAO,GAAmD;YAC9D,GAAG,QAAQ,CAAC,mBAAmB,CAAC,OAAO;YACvC,IAAI,EAAE,IAAI;YACV,OAAO,EAAE,OAAO;YAChB,QAAQ;gBACN,OAAO,QAAQ,CAAC,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACrD,CAAC;SACF,CAAC;QAEF,OAAO,CAAC,QAAQ,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;CACF;AAtID,0BAsIC;AAED,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from './gateway';\nimport * as requests from './requests';\nimport { LogOutputMode } from './log_output_mode';\nimport { DeviceDbSourceType } from './device_db_source_type';\n\nexport class Library {\n /**\n * Sets library logging output.\n * @param mode Logging output mode.\n * @param filePath Path of the file to open.\n */\n public static setLogOutput(\n mode: LogOutputMode,\n filePath?: string\n ): void {\n const request: requests.SetLogOutputRequest & gateway.Message = {\n ...requests.SetLogOutputRequest.DEFAULT,\n mode: mode,\n filePath: filePath,\n toBinary() {\n return requests.SetLogOutputRequest.toBinary(this);\n },\n };\n\n gateway.callSync('logging/set_output', request);\n }\n\n /**\n * Sets source of Device DB data. Allows selection of a web service or a local file.\n * @param sourceType Source type.\n * @param urlOrFilePath URL of the web service or path to the local file.\n * Leave empty for the default URL of Zaber web service.\n */\n public static setDeviceDbSource(\n sourceType: DeviceDbSourceType,\n urlOrFilePath?: string\n ): void {\n const request: requests.SetDeviceDbSourceRequest & gateway.Message = {\n ...requests.SetDeviceDbSourceRequest.DEFAULT,\n sourceType: sourceType,\n urlOrFilePath: urlOrFilePath,\n toBinary() {\n return requests.SetDeviceDbSourceRequest.toBinary(this);\n },\n };\n\n gateway.callSync('device_db/set_source', request);\n }\n\n /**\n * Enables Device DB store.\n * The store uses filesystem to save information obtained from the Device DB.\n * The stored data are later used instead of the Device DB.\n * @param storeLocation Specifies relative or absolute path of the folder used by the store.\n * If left empty defaults to a folder in user home directory.\n * Must be accessible by the process.\n */\n public static enableDeviceDbStore(\n storeLocation?: string\n ): void {\n const request: requests.ToggleDeviceDbStoreRequest & gateway.Message = {\n ...requests.ToggleDeviceDbStoreRequest.DEFAULT,\n toggleOn: true,\n storeLocation: storeLocation,\n toBinary() {\n return requests.ToggleDeviceDbStoreRequest.toBinary(this);\n },\n };\n\n gateway.callSync('device_db/toggle_store', request);\n }\n\n /**\n * Disables Device DB store.\n */\n public static disableDeviceDbStore(): void {\n const request: requests.ToggleDeviceDbStoreRequest & gateway.Message = {\n ...requests.ToggleDeviceDbStoreRequest.DEFAULT,\n toBinary() {\n return requests.ToggleDeviceDbStoreRequest.toBinary(this);\n },\n };\n\n gateway.callSync('device_db/toggle_store', request);\n }\n\n /**\n * Disables certain customer checks (like FF flag).\n * @param mode Whether to turn internal mode on or off.\n */\n public static setInternalMode(\n mode: boolean\n ): void {\n const request: requests.SetInternalModeRequest & gateway.Message = {\n ...requests.SetInternalModeRequest.DEFAULT,\n mode: mode,\n toBinary() {\n return requests.SetInternalModeRequest.toBinary(this);\n },\n };\n\n gateway.callSync('library/set_internal_mode', request);\n }\n\n /**\n * Sets the period between polling for IDLE during movements.\n * Caution: Setting the period too low may cause performance issues.\n * @param period Period in milliseconds.\n * Negative value restores the default period.\n */\n public static setIdlePollingPeriod(\n period: number\n ): void {\n const request: requests.IntRequest & gateway.Message = {\n ...requests.IntRequest.DEFAULT,\n value: period,\n toBinary() {\n return requests.IntRequest.toBinary(this);\n },\n };\n\n gateway.callSync('library/set_idle_polling_period', request);\n }\n\n /**\n * Throws an error if the version of the loaded shared library does not match the caller's version.\n */\n public static checkVersion(): void {\n const request: requests.CheckVersionRequest & gateway.Message = {\n ...requests.CheckVersionRequest.DEFAULT,\n host: 'js',\n version: '6.
|
|
1
|
+
{"version":3,"file":"library.js","sourceRoot":"","sources":["../../src/library.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtD,mDAAqC;AACrC,qDAAuC;AAIvC,MAAa,OAAO;IAClB;;;;OAIG;IACI,MAAM,CAAC,YAAY,CACxB,IAAmB,EACnB,QAAiB;QAEjB,MAAM,OAAO,GAAmD;YAC9D,GAAG,QAAQ,CAAC,mBAAmB,CAAC,OAAO;YACvC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,QAAQ;YAClB,QAAQ;gBACN,OAAO,QAAQ,CAAC,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACrD,CAAC;SACF,CAAC;QAEF,OAAO,CAAC,QAAQ,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,iBAAiB,CAC7B,UAA8B,EAC9B,aAAsB;QAEtB,MAAM,OAAO,GAAwD;YACnE,GAAG,QAAQ,CAAC,wBAAwB,CAAC,OAAO;YAC5C,UAAU,EAAE,UAAU;YACtB,aAAa,EAAE,aAAa;YAC5B,QAAQ;gBACN,OAAO,QAAQ,CAAC,wBAAwB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC1D,CAAC;SACF,CAAC;QAE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Q,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC5C,CAAC;SACF,CAAC;QAEF,OAAO,CAAC,QAAQ,CAAC,iCAAiC,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,YAAY;QACxB,MAAM,OAAO,GAAmD;YAC9D,GAAG,QAAQ,CAAC,mBAAmB,CAAC,OAAO;YACvC,IAAI,EAAE,IAAI;YACV,OAAO,EAAE,OAAO;YAChB,QAAQ;gBACN,OAAO,QAAQ,CAAC,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACrD,CAAC;SACF,CAAC;QAEF,OAAO,CAAC,QAAQ,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;CACF;AAtID,0BAsIC;AAED,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from './gateway';\nimport * as requests from './requests';\nimport { LogOutputMode } from './log_output_mode';\nimport { DeviceDbSourceType } from './device_db_source_type';\n\nexport class Library {\n /**\n * Sets library logging output.\n * @param mode Logging output mode.\n * @param filePath Path of the file to open.\n */\n public static setLogOutput(\n mode: LogOutputMode,\n filePath?: string\n ): void {\n const request: requests.SetLogOutputRequest & gateway.Message = {\n ...requests.SetLogOutputRequest.DEFAULT,\n mode: mode,\n filePath: filePath,\n toBinary() {\n return requests.SetLogOutputRequest.toBinary(this);\n },\n };\n\n gateway.callSync('logging/set_output', request);\n }\n\n /**\n * Sets source of Device DB data. Allows selection of a web service or a local file.\n * @param sourceType Source type.\n * @param urlOrFilePath URL of the web service or path to the local file.\n * Leave empty for the default URL of Zaber web service.\n */\n public static setDeviceDbSource(\n sourceType: DeviceDbSourceType,\n urlOrFilePath?: string\n ): void {\n const request: requests.SetDeviceDbSourceRequest & gateway.Message = {\n ...requests.SetDeviceDbSourceRequest.DEFAULT,\n sourceType: sourceType,\n urlOrFilePath: urlOrFilePath,\n toBinary() {\n return requests.SetDeviceDbSourceRequest.toBinary(this);\n },\n };\n\n gateway.callSync('device_db/set_source', request);\n }\n\n /**\n * Enables Device DB store.\n * The store uses filesystem to save information obtained from the Device DB.\n * The stored data are later used instead of the Device DB.\n * @param storeLocation Specifies relative or absolute path of the folder used by the store.\n * If left empty defaults to a folder in user home directory.\n * Must be accessible by the process.\n */\n public static enableDeviceDbStore(\n storeLocation?: string\n ): void {\n const request: requests.ToggleDeviceDbStoreRequest & gateway.Message = {\n ...requests.ToggleDeviceDbStoreRequest.DEFAULT,\n toggleOn: true,\n storeLocation: storeLocation,\n toBinary() {\n return requests.ToggleDeviceDbStoreRequest.toBinary(this);\n },\n };\n\n gateway.callSync('device_db/toggle_store', request);\n }\n\n /**\n * Disables Device DB store.\n */\n public static disableDeviceDbStore(): void {\n const request: requests.ToggleDeviceDbStoreRequest & gateway.Message = {\n ...requests.ToggleDeviceDbStoreRequest.DEFAULT,\n toBinary() {\n return requests.ToggleDeviceDbStoreRequest.toBinary(this);\n },\n };\n\n gateway.callSync('device_db/toggle_store', request);\n }\n\n /**\n * Disables certain customer checks (like FF flag).\n * @param mode Whether to turn internal mode on or off.\n */\n public static setInternalMode(\n mode: boolean\n ): void {\n const request: requests.SetInternalModeRequest & gateway.Message = {\n ...requests.SetInternalModeRequest.DEFAULT,\n mode: mode,\n toBinary() {\n return requests.SetInternalModeRequest.toBinary(this);\n },\n };\n\n gateway.callSync('library/set_internal_mode', request);\n }\n\n /**\n * Sets the period between polling for IDLE during movements.\n * Caution: Setting the period too low may cause performance issues.\n * @param period Period in milliseconds.\n * Negative value restores the default period.\n */\n public static setIdlePollingPeriod(\n period: number\n ): void {\n const request: requests.IntRequest & gateway.Message = {\n ...requests.IntRequest.DEFAULT,\n value: period,\n toBinary() {\n return requests.IntRequest.toBinary(this);\n },\n };\n\n gateway.callSync('library/set_idle_polling_period', request);\n }\n\n /**\n * Throws an error if the version of the loaded shared library does not match the caller's version.\n */\n public static checkVersion(): void {\n const request: requests.CheckVersionRequest & gateway.Message = {\n ...requests.CheckVersionRequest.DEFAULT,\n host: 'js',\n version: '6.4.0',\n toBinary() {\n return requests.CheckVersionRequest.toBinary(this);\n },\n };\n\n gateway.callSync('library/check_version', request);\n }\n}\n\ngateway.addInitCallback(Library.checkVersion);\n"]}
|
|
@@ -145,6 +145,8 @@ export * from './stream_buffer_get_content_request';
|
|
|
145
145
|
export * from './stream_buffer_get_content_response';
|
|
146
146
|
export * from './stream_buffer_list';
|
|
147
147
|
export * from './stream_call_request';
|
|
148
|
+
export * from './stream_cancel_all_outputs_schedule_request';
|
|
149
|
+
export * from './stream_cancel_output_schedule_request';
|
|
148
150
|
export * from './stream_circle_request';
|
|
149
151
|
export * from './stream_empty_request';
|
|
150
152
|
export * from './stream_generic_command_batch_request';
|
|
@@ -157,9 +159,13 @@ export * from './stream_line_request';
|
|
|
157
159
|
export * from './stream_mode_response';
|
|
158
160
|
export * from './stream_segment_type';
|
|
159
161
|
export * from './stream_set_all_analog_outputs_request';
|
|
162
|
+
export * from './stream_set_all_analog_outputs_schedule_request';
|
|
160
163
|
export * from './stream_set_all_digital_outputs_request';
|
|
164
|
+
export * from './stream_set_all_digital_outputs_schedule_request';
|
|
161
165
|
export * from './stream_set_analog_output_request';
|
|
166
|
+
export * from './stream_set_analog_output_schedule_request';
|
|
162
167
|
export * from './stream_set_digital_output_request';
|
|
168
|
+
export * from './stream_set_digital_output_schedule_request';
|
|
163
169
|
export * from './stream_set_max_centripetal_acceleration_request';
|
|
164
170
|
export * from './stream_set_max_speed_request';
|
|
165
171
|
export * from './stream_set_max_tangential_acceleration_request';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/requests/index.ts"],"names":[],"mappings":"AACA,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AAC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AACrD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,wCAAwC,CAAC;AACvD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oCAAoC,CAAC;AACnD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qCAAqC,CAAC;AACpD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0CAA0C,CAAC;AACzD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yCAAyC,CAAC;AACxD,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,2BAA2B,CAAC"}
|
|
@@ -162,6 +162,8 @@ __exportStar(require("./stream_buffer_get_content_request"), exports);
|
|
|
162
162
|
__exportStar(require("./stream_buffer_get_content_response"), exports);
|
|
163
163
|
__exportStar(require("./stream_buffer_list"), exports);
|
|
164
164
|
__exportStar(require("./stream_call_request"), exports);
|
|
165
|
+
__exportStar(require("./stream_cancel_all_outputs_schedule_request"), exports);
|
|
166
|
+
__exportStar(require("./stream_cancel_output_schedule_request"), exports);
|
|
165
167
|
__exportStar(require("./stream_circle_request"), exports);
|
|
166
168
|
__exportStar(require("./stream_empty_request"), exports);
|
|
167
169
|
__exportStar(require("./stream_generic_command_batch_request"), exports);
|
|
@@ -174,9 +176,13 @@ __exportStar(require("./stream_line_request"), exports);
|
|
|
174
176
|
__exportStar(require("./stream_mode_response"), exports);
|
|
175
177
|
__exportStar(require("./stream_segment_type"), exports);
|
|
176
178
|
__exportStar(require("./stream_set_all_analog_outputs_request"), exports);
|
|
179
|
+
__exportStar(require("./stream_set_all_analog_outputs_schedule_request"), exports);
|
|
177
180
|
__exportStar(require("./stream_set_all_digital_outputs_request"), exports);
|
|
181
|
+
__exportStar(require("./stream_set_all_digital_outputs_schedule_request"), exports);
|
|
178
182
|
__exportStar(require("./stream_set_analog_output_request"), exports);
|
|
183
|
+
__exportStar(require("./stream_set_analog_output_schedule_request"), exports);
|
|
179
184
|
__exportStar(require("./stream_set_digital_output_request"), exports);
|
|
185
|
+
__exportStar(require("./stream_set_digital_output_schedule_request"), exports);
|
|
180
186
|
__exportStar(require("./stream_set_max_centripetal_acceleration_request"), exports);
|
|
181
187
|
__exportStar(require("./stream_set_max_speed_request"), exports);
|
|
182
188
|
__exportStar(require("./stream_set_max_tangential_acceleration_request"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAoD;AACpD,wDAAsC;AACtC,uDAAqC;AACrC,6DAA2C;AAC3C,sDAAoC;AACpC,uDAAqC;AACrC,mDAAiC;AACjC,2DAAyC;AACzC,iEAA+C;AAC/C,kEAAgD;AAChD,sEAAoD;AACpD,+DAA6C;AAC7C,+DAA6C;AAC7C,sEAAoD;AACpD,+DAA6C;AAC7C,sEAAoD;AACpD,8DAA4C;AAC5C,oEAAkD;AAClD,kDAAgC;AAChC,gEAA8C;AAC9C,0DAAwC;AACxC,+CAA6B;AAC7B,0DAAwC;AACxC,0DAAwC;AACxC,mEAAiD;AACjD,mEAAiD;AACjD,kEAAgD;AAChD,mEAAiD;AACjD,+EAA6D;AAC7D,0EAAwD;AACxD,mEAAiD;AACjD,0DAAwC;AACxC,2DAAyC;AACzC,yDAAuC;AACvC,qEAAmD;AACnD,sEAAoD;AACpD,sEAAoD;AACpD,uEAAqD;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AAC5C,sEAAoD;AACpD,4DAA0C;AAC1C,gEAA8C;AAC9C,2EAAyD;AACzD,8DAA4C;AAC5C,mDAAiC;AACjC,0DAAwC;AACxC,2DAAyC;AACzC,4DAA0C;AAC1C,6DAA2C;AAC3C,0EAAwD;AACxD,mEAAiD;AACjD,mEAAiD;AACjD,4DAA0C","sourcesContent":["/* This file is generated. Do not modify by hand. */\nexport * from './alert_event_wrapper';\nexport * from './axes_empty_request';\nexport * from './axes_get_setting_request';\nexport * from './axes_move_request';\nexport * from './axis_empty_request';\nexport * from './axis_move_type';\nexport * from './axis_to_string_request';\nexport * from './binary_device_detect_request';\nexport * from './binary_device_detect_response';\nexport * from './binary_device_get_setting_request';\nexport * from './binary_device_home_request';\nexport * from './binary_device_move_request';\nexport * from './binary_device_set_setting_request';\nexport * from './binary_device_stop_request';\nexport * from './binary_generic_with_units_request';\nexport * from './binary_message_collection';\nexport * from './binary_reply_only_event_wrapper';\nexport * from './bool_response';\nexport * from './can_set_state_axis_response';\nexport * from './can_set_state_request';\nexport * from './channel_on';\nexport * from './channel_set_intensity';\nexport * from './check_version_request';\nexport * from './custom_interface_close_request';\nexport * from './custom_interface_open_response';\nexport * from './custom_interface_read_request';\nexport * from './custom_interface_write_request';\nexport * from './device_cancel_all_outputs_schedule_request';\nexport * from './device_cancel_output_schedule_request';\nexport * from './device_convert_setting_request';\nexport * from './device_detect_request';\nexport * from './device_detect_response';\nexport * from './device_empty_request';\nexport * from './device_get_all_analog_io_request';\nexport * from './device_get_all_analog_io_response';\nexport * from './device_get_all_digital_io_request';\nexport * from './device_get_all_digital_io_response';\nexport * from './device_get_analog_io_request';\nexport * from './device_get_digital_io_request';\nexport * from './device_get_setting_request';\nexport * from './device_get_storage_request';\nexport * from './device_get_warnings_request';\nexport * from './device_get_warnings_response';\nexport * from './device_home_request';\nexport * from './device_identify_request';\nexport * from './device_move_request';\nexport * from './device_multi_get_setting_request';\nexport * from './device_on_all_request';\nexport * from './device_on_all_response';\nexport * from './device_renumber_request';\nexport * from './device_set_all_analog_outputs_request';\nexport * from './device_set_all_analog_outputs_schedule_request';\nexport * from './device_set_all_digital_outputs_request';\nexport * from './device_set_all_digital_outputs_schedule_request';\nexport * from './device_set_analog_output_request';\nexport * from './device_set_analog_output_schedule_request';\nexport * from './device_set_digital_output_request';\nexport * from './device_set_digital_output_schedule_request';\nexport * from './device_set_setting_request';\nexport * from './device_set_setting_str_request';\nexport * from './device_set_storage_bool_request';\nexport * from './device_set_storage_number_request';\nexport * from './device_set_storage_request';\nexport * from './device_set_unit_conversions_request';\nexport * from './device_stop_request';\nexport * from './device_storage_list_keys_request';\nexport * from './device_storage_request';\nexport * from './device_type';\nexport * from './device_wait_until_idle_request';\nexport * from './disconnected_event';\nexport * from './double_array_response';\nexport * from './double_response';\nexport * from './empty_request';\nexport * from './errors';\nexport * from './find_device_request';\nexport * from './find_device_response';\nexport * from './forget_devices_request';\nexport * from './gateway_event';\nexport * from './gateway_request';\nexport * from './gateway_response';\nexport * from './generic_binary_request';\nexport * from './generic_command_request';\nexport * from './generic_command_response_collection';\nexport * from './get_all_io_port_labels_response';\nexport * from './get_axis_setting_results';\nexport * from './get_io_port_label_request';\nexport * from './get_setting_results';\nexport * from './get_simple_tuning_param_definition_response';\nexport * from './int_array_response';\nexport * from './int_request';\nexport * from './int_response';\nexport * from './interface_empty_request';\nexport * from './interface_type';\nexport * from './load_paramset';\nexport * from './lockstep_disable_request';\nexport * from './lockstep_empty_request';\nexport * from './lockstep_enable_request';\nexport * from './lockstep_get_axis_numbers_response';\nexport * from './lockstep_get_request';\nexport * from './lockstep_home_request';\nexport * from './lockstep_move_request';\nexport * from './lockstep_set_request';\nexport * from './lockstep_stop_request';\nexport * from './lockstep_wait_until_idle_request';\nexport * from './microscope_config_response';\nexport * from './microscope_empty_request';\nexport * from './microscope_init_request';\nexport * from './objective_changer_change_request';\nexport * from './objective_changer_create_response';\nexport * from './objective_changer_get_current_response';\nexport * from './objective_changer_request';\nexport * from './objective_changer_set_request';\nexport * from './open_binary_interface_request';\nexport * from './open_interface_request';\nexport * from './open_interface_response';\nexport * from './oscilloscope_add_io_channel_request';\nexport * from './oscilloscope_add_setting_channel_request';\nexport * from './oscilloscope_data_get_request';\nexport * from './oscilloscope_data_get_sample_time_request';\nexport * from './oscilloscope_data_get_samples_response';\nexport * from './oscilloscope_data_identifier';\nexport * from './oscilloscope_read_response';\nexport * from './oscilloscope_request';\nexport * from './oscilloscope_start_request';\nexport * from './prepare_command_request';\nexport * from './process_on';\nexport * from './pvt_point_request';\nexport * from './response_type';\nexport * from './servo_tuning_paramset_response';\nexport * from './servo_tuning_request';\nexport * from './set_device_db_source_request';\nexport * from './set_interface_checksum_enabled_request';\nexport * from './set_interface_timeout_request';\nexport * from './set_internal_mode_request';\nexport * from './set_io_port_label_request';\nexport * from './set_log_output_request';\nexport * from './set_process_controller_source';\nexport * from './set_servo_tuning_pid_request';\nexport * from './set_servo_tuning_request';\nexport * from './set_simple_tuning';\nexport * from './set_state_request';\nexport * from './stream_arc_request';\nexport * from './stream_buffer_erase_request';\nexport * from './stream_buffer_get_content_request';\nexport * from './stream_buffer_get_content_response';\nexport * from './stream_buffer_list';\nexport * from './stream_call_request';\nexport * from './stream_circle_request';\nexport * from './stream_empty_request';\nexport * from './stream_generic_command_batch_request';\nexport * from './stream_generic_command_request';\nexport * from './stream_get_axes_response';\nexport * from './stream_get_max_centripetal_acceleration_request';\nexport * from './stream_get_max_speed_request';\nexport * from './stream_get_max_tangential_acceleration_request';\nexport * from './stream_line_request';\nexport * from './stream_mode_response';\nexport * from './stream_segment_type';\nexport * from './stream_set_all_analog_outputs_request';\nexport * from './stream_set_all_digital_outputs_request';\nexport * from './stream_set_analog_output_request';\nexport * from './stream_set_digital_output_request';\nexport * from './stream_set_max_centripetal_acceleration_request';\nexport * from './stream_set_max_speed_request';\nexport * from './stream_set_max_tangential_acceleration_request';\nexport * from './stream_setup_live_composite_request';\nexport * from './stream_setup_live_request';\nexport * from './stream_setup_store_arbitrary_axes_request';\nexport * from './stream_setup_store_composite_request';\nexport * from './stream_setup_store_request';\nexport * from './stream_wait_analog_input_request';\nexport * from './stream_wait_digital_input_request';\nexport * from './stream_wait_request';\nexport * from './stream_wait_until_idle_request';\nexport * from './string_array_response';\nexport * from './string_response';\nexport * from './test_event';\nexport * from './test_request';\nexport * from './test_response';\nexport * from './test_response_long';\nexport * from './toggle_device_db_store_request';\nexport * from './tools_list_serial_ports_response';\nexport * from './translator_create_from_device_request';\nexport * from './translator_create_live_request';\nexport * from './translator_create_request';\nexport * from './translator_create_response';\nexport * from './translator_empty_request';\nexport * from './translator_flush_live_request';\nexport * from './translator_flush_response';\nexport * from './translator_get_axis_offset_request';\nexport * from './translator_get_axis_position_request';\nexport * from './translator_set_axis_position_request';\nexport * from './translator_set_feed_rate_override_request';\nexport * from './translator_set_traverse_rate_request';\nexport * from './translator_translate_request';\nexport * from './trigger_clear_action_request';\nexport * from './trigger_empty_request';\nexport * from './trigger_enable_request';\nexport * from './trigger_enabled_states';\nexport * from './trigger_fire_at_interval_request';\nexport * from './trigger_fire_when_distance_travelled_request';\nexport * from './trigger_fire_when_io_request';\nexport * from './trigger_fire_when_request';\nexport * from './trigger_fire_when_setting_request';\nexport * from './trigger_on_fire_request';\nexport * from './trigger_on_fire_set_request';\nexport * from './trigger_on_fire_set_to_setting_request';\nexport * from './trigger_set_label_request';\nexport * from './trigger_states';\nexport * from './unit_get_enum_request';\nexport * from './unit_get_enum_response';\nexport * from './unit_get_symbol_request';\nexport * from './unit_get_symbol_response';\nexport * from './unknown_binary_response_event_wrapper';\nexport * from './unknown_response_event_wrapper';\nexport * from './wait_to_clear_warnings_request';\nexport * from './wait_to_respond_request';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAoD;AACpD,wDAAsC;AACtC,uDAAqC;AACrC,6DAA2C;AAC3C,sDAAoC;AACpC,uDAAqC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jE,wEAAsD;AACtD,8DAA4C;AAC5C,8EAA4D;AAC5D,yEAAuD;AACvD,+DAA6C;AAC7C,qEAAmD;AACnD,sEAAoD;AACpD,wDAAsC;AACtC,mEAAiD;AACjD,0DAAwC;AACxC,oDAAkC;AAClC,+CAA6B;AAC7B,iDAA+B;AAC/B,kDAAgC;AAChC,uDAAqC;AACrC,mEAAiD;AACjD,qEAAmD;AACnD,0EAAwD;AACxD,mEAAiD;AACjD,8DAA4C;AAC5C,+DAA6C;AAC7C,6DAA2C;AAC3C,kEAAgD;AAChD,8DAA4C;AAC5C,uEAAqD;AACrD,yEAAuD;AACvD,yEAAuD;AACvD,8EAA4D;AAC5D,yEAAuD;AACvD,iEAA+C;AAC/C,iEAA+C;AAC/C,0DAAwC;AACxC,2DAAyC;AACzC,2DAAyC;AACzC,qEAAmD;AACnD,iFAA+D;AAC/D,iEAA+C;AAC/C,8DAA4C;AAC5C,sEAAoD;AACpD,4DAA0C;AAC1C,gEAA8C;AAC9C,2EAAyD;AACzD,8DAA4C;AAC5C,mDAAiC;AACjC,0DAAwC;AACxC,2DAAyC;AACzC,4DAA0C;AAC1C,6DAA2C;AAC3C,0EAAwD;AACxD,mEAAiD;AACjD,mEAAiD;AACjD,4DAA0C","sourcesContent":["/* This file is generated. Do not modify by hand. */\nexport * from './alert_event_wrapper';\nexport * from './axes_empty_request';\nexport * from './axes_get_setting_request';\nexport * from './axes_move_request';\nexport * from './axis_empty_request';\nexport * from './axis_move_type';\nexport * from './axis_to_string_request';\nexport * from './binary_device_detect_request';\nexport * from './binary_device_detect_response';\nexport * from './binary_device_get_setting_request';\nexport * from './binary_device_home_request';\nexport * from './binary_device_move_request';\nexport * from './binary_device_set_setting_request';\nexport * from './binary_device_stop_request';\nexport * from './binary_generic_with_units_request';\nexport * from './binary_message_collection';\nexport * from './binary_reply_only_event_wrapper';\nexport * from './bool_response';\nexport * from './can_set_state_axis_response';\nexport * from './can_set_state_request';\nexport * from './channel_on';\nexport * from './channel_set_intensity';\nexport * from './check_version_request';\nexport * from './custom_interface_close_request';\nexport * from './custom_interface_open_response';\nexport * from './custom_interface_read_request';\nexport * from './custom_interface_write_request';\nexport * from './device_cancel_all_outputs_schedule_request';\nexport * from './device_cancel_output_schedule_request';\nexport * from './device_convert_setting_request';\nexport * from './device_detect_request';\nexport * from './device_detect_response';\nexport * from './device_empty_request';\nexport * from './device_get_all_analog_io_request';\nexport * from './device_get_all_analog_io_response';\nexport * from './device_get_all_digital_io_request';\nexport * from './device_get_all_digital_io_response';\nexport * from './device_get_analog_io_request';\nexport * from './device_get_digital_io_request';\nexport * from './device_get_setting_request';\nexport * from './device_get_storage_request';\nexport * from './device_get_warnings_request';\nexport * from './device_get_warnings_response';\nexport * from './device_home_request';\nexport * from './device_identify_request';\nexport * from './device_move_request';\nexport * from './device_multi_get_setting_request';\nexport * from './device_on_all_request';\nexport * from './device_on_all_response';\nexport * from './device_renumber_request';\nexport * from './device_set_all_analog_outputs_request';\nexport * from './device_set_all_analog_outputs_schedule_request';\nexport * from './device_set_all_digital_outputs_request';\nexport * from './device_set_all_digital_outputs_schedule_request';\nexport * from './device_set_analog_output_request';\nexport * from './device_set_analog_output_schedule_request';\nexport * from './device_set_digital_output_request';\nexport * from './device_set_digital_output_schedule_request';\nexport * from './device_set_setting_request';\nexport * from './device_set_setting_str_request';\nexport * from './device_set_storage_bool_request';\nexport * from './device_set_storage_number_request';\nexport * from './device_set_storage_request';\nexport * from './device_set_unit_conversions_request';\nexport * from './device_stop_request';\nexport * from './device_storage_list_keys_request';\nexport * from './device_storage_request';\nexport * from './device_type';\nexport * from './device_wait_until_idle_request';\nexport * from './disconnected_event';\nexport * from './double_array_response';\nexport * from './double_response';\nexport * from './empty_request';\nexport * from './errors';\nexport * from './find_device_request';\nexport * from './find_device_response';\nexport * from './forget_devices_request';\nexport * from './gateway_event';\nexport * from './gateway_request';\nexport * from './gateway_response';\nexport * from './generic_binary_request';\nexport * from './generic_command_request';\nexport * from './generic_command_response_collection';\nexport * from './get_all_io_port_labels_response';\nexport * from './get_axis_setting_results';\nexport * from './get_io_port_label_request';\nexport * from './get_setting_results';\nexport * from './get_simple_tuning_param_definition_response';\nexport * from './int_array_response';\nexport * from './int_request';\nexport * from './int_response';\nexport * from './interface_empty_request';\nexport * from './interface_type';\nexport * from './load_paramset';\nexport * from './lockstep_disable_request';\nexport * from './lockstep_empty_request';\nexport * from './lockstep_enable_request';\nexport * from './lockstep_get_axis_numbers_response';\nexport * from './lockstep_get_request';\nexport * from './lockstep_home_request';\nexport * from './lockstep_move_request';\nexport * from './lockstep_set_request';\nexport * from './lockstep_stop_request';\nexport * from './lockstep_wait_until_idle_request';\nexport * from './microscope_config_response';\nexport * from './microscope_empty_request';\nexport * from './microscope_init_request';\nexport * from './objective_changer_change_request';\nexport * from './objective_changer_create_response';\nexport * from './objective_changer_get_current_response';\nexport * from './objective_changer_request';\nexport * from './objective_changer_set_request';\nexport * from './open_binary_interface_request';\nexport * from './open_interface_request';\nexport * from './open_interface_response';\nexport * from './oscilloscope_add_io_channel_request';\nexport * from './oscilloscope_add_setting_channel_request';\nexport * from './oscilloscope_data_get_request';\nexport * from './oscilloscope_data_get_sample_time_request';\nexport * from './oscilloscope_data_get_samples_response';\nexport * from './oscilloscope_data_identifier';\nexport * from './oscilloscope_read_response';\nexport * from './oscilloscope_request';\nexport * from './oscilloscope_start_request';\nexport * from './prepare_command_request';\nexport * from './process_on';\nexport * from './pvt_point_request';\nexport * from './response_type';\nexport * from './servo_tuning_paramset_response';\nexport * from './servo_tuning_request';\nexport * from './set_device_db_source_request';\nexport * from './set_interface_checksum_enabled_request';\nexport * from './set_interface_timeout_request';\nexport * from './set_internal_mode_request';\nexport * from './set_io_port_label_request';\nexport * from './set_log_output_request';\nexport * from './set_process_controller_source';\nexport * from './set_servo_tuning_pid_request';\nexport * from './set_servo_tuning_request';\nexport * from './set_simple_tuning';\nexport * from './set_state_request';\nexport * from './stream_arc_request';\nexport * from './stream_buffer_erase_request';\nexport * from './stream_buffer_get_content_request';\nexport * from './stream_buffer_get_content_response';\nexport * from './stream_buffer_list';\nexport * from './stream_call_request';\nexport * from './stream_cancel_all_outputs_schedule_request';\nexport * from './stream_cancel_output_schedule_request';\nexport * from './stream_circle_request';\nexport * from './stream_empty_request';\nexport * from './stream_generic_command_batch_request';\nexport * from './stream_generic_command_request';\nexport * from './stream_get_axes_response';\nexport * from './stream_get_max_centripetal_acceleration_request';\nexport * from './stream_get_max_speed_request';\nexport * from './stream_get_max_tangential_acceleration_request';\nexport * from './stream_line_request';\nexport * from './stream_mode_response';\nexport * from './stream_segment_type';\nexport * from './stream_set_all_analog_outputs_request';\nexport * from './stream_set_all_analog_outputs_schedule_request';\nexport * from './stream_set_all_digital_outputs_request';\nexport * from './stream_set_all_digital_outputs_schedule_request';\nexport * from './stream_set_analog_output_request';\nexport * from './stream_set_analog_output_schedule_request';\nexport * from './stream_set_digital_output_request';\nexport * from './stream_set_digital_output_schedule_request';\nexport * from './stream_set_max_centripetal_acceleration_request';\nexport * from './stream_set_max_speed_request';\nexport * from './stream_set_max_tangential_acceleration_request';\nexport * from './stream_setup_live_composite_request';\nexport * from './stream_setup_live_request';\nexport * from './stream_setup_store_arbitrary_axes_request';\nexport * from './stream_setup_store_composite_request';\nexport * from './stream_setup_store_request';\nexport * from './stream_wait_analog_input_request';\nexport * from './stream_wait_digital_input_request';\nexport * from './stream_wait_request';\nexport * from './stream_wait_until_idle_request';\nexport * from './string_array_response';\nexport * from './string_response';\nexport * from './test_event';\nexport * from './test_request';\nexport * from './test_response';\nexport * from './test_response_long';\nexport * from './toggle_device_db_store_request';\nexport * from './tools_list_serial_ports_response';\nexport * from './translator_create_from_device_request';\nexport * from './translator_create_live_request';\nexport * from './translator_create_request';\nexport * from './translator_create_response';\nexport * from './translator_empty_request';\nexport * from './translator_flush_live_request';\nexport * from './translator_flush_response';\nexport * from './translator_get_axis_offset_request';\nexport * from './translator_get_axis_position_request';\nexport * from './translator_set_axis_position_request';\nexport * from './translator_set_feed_rate_override_request';\nexport * from './translator_set_traverse_rate_request';\nexport * from './translator_translate_request';\nexport * from './trigger_clear_action_request';\nexport * from './trigger_empty_request';\nexport * from './trigger_enable_request';\nexport * from './trigger_enabled_states';\nexport * from './trigger_fire_at_interval_request';\nexport * from './trigger_fire_when_distance_travelled_request';\nexport * from './trigger_fire_when_io_request';\nexport * from './trigger_fire_when_request';\nexport * from './trigger_fire_when_setting_request';\nexport * from './trigger_on_fire_request';\nexport * from './trigger_on_fire_set_request';\nexport * from './trigger_on_fire_set_to_setting_request';\nexport * from './trigger_set_label_request';\nexport * from './trigger_states';\nexport * from './unit_get_enum_request';\nexport * from './unit_get_enum_response';\nexport * from './unit_get_symbol_request';\nexport * from './unit_get_symbol_response';\nexport * from './unknown_binary_response_event_wrapper';\nexport * from './unknown_response_event_wrapper';\nexport * from './wait_to_clear_warnings_request';\nexport * from './wait_to_respond_request';\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface StreamCancelAllOutputsScheduleRequest {
|
|
2
|
+
interfaceId: number;
|
|
3
|
+
device: number;
|
|
4
|
+
streamId: number;
|
|
5
|
+
pvt: boolean;
|
|
6
|
+
analog: boolean;
|
|
7
|
+
channels: boolean[];
|
|
8
|
+
}
|
|
9
|
+
export declare const StreamCancelAllOutputsScheduleRequest: {
|
|
10
|
+
fromBinary: (buffer: Uint8Array) => StreamCancelAllOutputsScheduleRequest;
|
|
11
|
+
toBinary: (value: StreamCancelAllOutputsScheduleRequest) => Uint8Array;
|
|
12
|
+
DEFAULT: Readonly<StreamCancelAllOutputsScheduleRequest>;
|
|
13
|
+
sanitize: (value: StreamCancelAllOutputsScheduleRequest) => StreamCancelAllOutputsScheduleRequest;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=stream_cancel_all_outputs_schedule_request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stream_cancel_all_outputs_schedule_request.d.ts","sourceRoot":"","sources":["../../../src/requests/stream_cancel_all_outputs_schedule_request.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,qCAAqC;IACpD,WAAW,EAAE,MAAM,CAAC;IAEpB,MAAM,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,MAAM,CAAC;IAEjB,GAAG,EAAE,OAAO,CAAC;IAEb,MAAM,EAAE,OAAO,CAAC;IAEhB,QAAQ,EAAE,OAAO,EAAE,CAAC;CAErB;AAED,eAAO,MAAM,qCAAqC;yBAC3B,UAAU,KAAG,qCAAqC;sBACrD,qCAAqC,KAAG,UAAU;;sBASlD,qCAAqC,KAAG,qCAAqC;CAYhG,CAAC"}
|