@zaber/motion 2.14.7 → 2.15.1

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.
Files changed (35) hide show
  1. package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
  2. package/dist/lib/ascii/axis.d.ts +4 -0
  3. package/dist/lib/ascii/axis.js +4 -0
  4. package/dist/lib/ascii/axis.js.map +1 -1
  5. package/dist/lib/ascii/lockstep.d.ts +4 -0
  6. package/dist/lib/ascii/lockstep.js +4 -0
  7. package/dist/lib/ascii/lockstep.js.map +1 -1
  8. package/dist/lib/ascii/oscilloscope.d.ts +20 -2
  9. package/dist/lib/ascii/oscilloscope.js +42 -2
  10. package/dist/lib/ascii/oscilloscope.js.map +1 -1
  11. package/dist/lib/ascii/setting_constants.d.ts +135 -71
  12. package/dist/lib/ascii/setting_constants.js +135 -71
  13. package/dist/lib/ascii/setting_constants.js.map +1 -1
  14. package/dist/lib/ascii/storage.d.ts +26 -0
  15. package/dist/lib/ascii/storage.js +56 -0
  16. package/dist/lib/ascii/storage.js.map +1 -1
  17. package/dist/lib/binary/binary_settings.d.ts +1 -2
  18. package/dist/lib/binary/binary_settings.js +1 -2
  19. package/dist/lib/binary/binary_settings.js.map +1 -1
  20. package/dist/lib/binary/command_code.d.ts +1 -2
  21. package/dist/lib/binary/command_code.js +0 -1
  22. package/dist/lib/binary/command_code.js.map +1 -1
  23. package/dist/lib/binary/reply_code.d.ts +0 -1
  24. package/dist/lib/binary/reply_code.js +0 -1
  25. package/dist/lib/binary/reply_code.js.map +1 -1
  26. package/dist/lib/exceptions/set_device_state_exception_data.d.ts +12 -0
  27. package/dist/lib/exceptions/set_device_state_exception_data.js +3 -0
  28. package/dist/lib/exceptions/set_device_state_exception_data.js.map +1 -1
  29. package/dist/lib/exceptions/set_peripheral_state_exception_data.d.ts +8 -0
  30. package/dist/lib/exceptions/set_peripheral_state_exception_data.js +2 -0
  31. package/dist/lib/exceptions/set_peripheral_state_exception_data.js.map +1 -1
  32. package/dist/lib/protobufs/main_pb.d.ts +70 -4
  33. package/dist/lib/protobufs/main_pb.js +547 -29
  34. package/dist/lib/protobufs/main_pb.js.map +1 -1
  35. package/package.json +1 -1
@@ -80,6 +80,7 @@ goog.exportSymbol('zaber.motion.protobufs.DeviceSetStorageNumberRequest', null,
80
80
  goog.exportSymbol('zaber.motion.protobufs.DeviceSetStorageRequest', null, proto);
81
81
  goog.exportSymbol('zaber.motion.protobufs.DeviceSetUnitConversionsRequest', null, proto);
82
82
  goog.exportSymbol('zaber.motion.protobufs.DeviceStopRequest', null, proto);
83
+ goog.exportSymbol('zaber.motion.protobufs.DeviceStorageListKeysRequest', null, proto);
83
84
  goog.exportSymbol('zaber.motion.protobufs.DeviceStorageRequest', null, proto);
84
85
  goog.exportSymbol('zaber.motion.protobufs.DeviceWaitUntilIdleRequest', null, proto);
85
86
  goog.exportSymbol('zaber.motion.protobufs.DisconnectedEvent', null, proto);
@@ -188,6 +189,7 @@ goog.exportSymbol('zaber.motion.protobufs.StreamWaitAnalogInputRequest', null, p
188
189
  goog.exportSymbol('zaber.motion.protobufs.StreamWaitDigitalInputRequest', null, proto);
189
190
  goog.exportSymbol('zaber.motion.protobufs.StreamWaitRequest', null, proto);
190
191
  goog.exportSymbol('zaber.motion.protobufs.StreamWaitUntilIdleRequest', null, proto);
192
+ goog.exportSymbol('zaber.motion.protobufs.StringArrayResponse', null, proto);
191
193
  goog.exportSymbol('zaber.motion.protobufs.StringResponse', null, proto);
192
194
  goog.exportSymbol('zaber.motion.protobufs.TestEvent', null, proto);
193
195
  goog.exportSymbol('zaber.motion.protobufs.TestRequest', null, proto);
@@ -385,6 +387,27 @@ if (goog.DEBUG && !COMPILED) {
385
387
  */
386
388
  proto.zaber.motion.protobufs.StringResponse.displayName = 'proto.zaber.motion.protobufs.StringResponse';
387
389
  }
390
+ /**
391
+ * Generated by JsPbCodeGenerator.
392
+ * @param {Array=} opt_data Optional initial data array, typically from a
393
+ * server response, or constructed directly in Javascript. The array is used
394
+ * in place and becomes part of the constructed object. It is not cloned.
395
+ * If no data is provided, the constructed object will be empty, but still
396
+ * valid.
397
+ * @extends {jspb.Message}
398
+ * @constructor
399
+ */
400
+ proto.zaber.motion.protobufs.StringArrayResponse = function(opt_data) {
401
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.StringArrayResponse.repeatedFields_, null);
402
+ };
403
+ goog.inherits(proto.zaber.motion.protobufs.StringArrayResponse, jspb.Message);
404
+ if (goog.DEBUG && !COMPILED) {
405
+ /**
406
+ * @public
407
+ * @override
408
+ */
409
+ proto.zaber.motion.protobufs.StringArrayResponse.displayName = 'proto.zaber.motion.protobufs.StringArrayResponse';
410
+ }
388
411
  /**
389
412
  * Generated by JsPbCodeGenerator.
390
413
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -4165,6 +4188,27 @@ if (goog.DEBUG && !COMPILED) {
4165
4188
  */
4166
4189
  proto.zaber.motion.protobufs.DeviceStorageRequest.displayName = 'proto.zaber.motion.protobufs.DeviceStorageRequest';
4167
4190
  }
4191
+ /**
4192
+ * Generated by JsPbCodeGenerator.
4193
+ * @param {Array=} opt_data Optional initial data array, typically from a
4194
+ * server response, or constructed directly in Javascript. The array is used
4195
+ * in place and becomes part of the constructed object. It is not cloned.
4196
+ * If no data is provided, the constructed object will be empty, but still
4197
+ * valid.
4198
+ * @extends {jspb.Message}
4199
+ * @constructor
4200
+ */
4201
+ proto.zaber.motion.protobufs.DeviceStorageListKeysRequest = function(opt_data) {
4202
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4203
+ };
4204
+ goog.inherits(proto.zaber.motion.protobufs.DeviceStorageListKeysRequest, jspb.Message);
4205
+ if (goog.DEBUG && !COMPILED) {
4206
+ /**
4207
+ * @public
4208
+ * @override
4209
+ */
4210
+ proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.displayName = 'proto.zaber.motion.protobufs.DeviceStorageListKeysRequest';
4211
+ }
4168
4212
  /**
4169
4213
  * Generated by JsPbCodeGenerator.
4170
4214
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -5287,6 +5331,162 @@ proto.zaber.motion.protobufs.StringResponse.prototype.setValue = function(value)
5287
5331
 
5288
5332
 
5289
5333
 
5334
+ /**
5335
+ * List of repeated fields within this message type.
5336
+ * @private {!Array<number>}
5337
+ * @const
5338
+ */
5339
+ proto.zaber.motion.protobufs.StringArrayResponse.repeatedFields_ = [1];
5340
+
5341
+
5342
+
5343
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5344
+ /**
5345
+ * Creates an object representation of this proto.
5346
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5347
+ * Optional fields that are not set will be set to undefined.
5348
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5349
+ * For the list of reserved names please see:
5350
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5351
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5352
+ * JSPB instance for transitional soy proto support:
5353
+ * http://goto/soy-param-migration
5354
+ * @return {!Object}
5355
+ */
5356
+ proto.zaber.motion.protobufs.StringArrayResponse.prototype.toObject = function(opt_includeInstance) {
5357
+ return proto.zaber.motion.protobufs.StringArrayResponse.toObject(opt_includeInstance, this);
5358
+ };
5359
+
5360
+
5361
+ /**
5362
+ * Static version of the {@see toObject} method.
5363
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5364
+ * the JSPB instance for transitional soy proto support:
5365
+ * http://goto/soy-param-migration
5366
+ * @param {!proto.zaber.motion.protobufs.StringArrayResponse} msg The msg instance to transform.
5367
+ * @return {!Object}
5368
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5369
+ */
5370
+ proto.zaber.motion.protobufs.StringArrayResponse.toObject = function(includeInstance, msg) {
5371
+ var f, obj = {
5372
+ valuesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
5373
+ };
5374
+
5375
+ if (includeInstance) {
5376
+ obj.$jspbMessageInstance = msg;
5377
+ }
5378
+ return obj;
5379
+ };
5380
+ }
5381
+
5382
+
5383
+ /**
5384
+ * Deserializes binary data (in protobuf wire format).
5385
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5386
+ * @return {!proto.zaber.motion.protobufs.StringArrayResponse}
5387
+ */
5388
+ proto.zaber.motion.protobufs.StringArrayResponse.deserializeBinary = function(bytes) {
5389
+ var reader = new jspb.BinaryReader(bytes);
5390
+ var msg = new proto.zaber.motion.protobufs.StringArrayResponse;
5391
+ return proto.zaber.motion.protobufs.StringArrayResponse.deserializeBinaryFromReader(msg, reader);
5392
+ };
5393
+
5394
+
5395
+ /**
5396
+ * Deserializes binary data (in protobuf wire format) from the
5397
+ * given reader into the given message object.
5398
+ * @param {!proto.zaber.motion.protobufs.StringArrayResponse} msg The message object to deserialize into.
5399
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5400
+ * @return {!proto.zaber.motion.protobufs.StringArrayResponse}
5401
+ */
5402
+ proto.zaber.motion.protobufs.StringArrayResponse.deserializeBinaryFromReader = function(msg, reader) {
5403
+ while (reader.nextField()) {
5404
+ if (reader.isEndGroup()) {
5405
+ break;
5406
+ }
5407
+ var field = reader.getFieldNumber();
5408
+ switch (field) {
5409
+ case 1:
5410
+ var value = /** @type {string} */ (reader.readString());
5411
+ msg.addValues(value);
5412
+ break;
5413
+ default:
5414
+ reader.skipField();
5415
+ break;
5416
+ }
5417
+ }
5418
+ return msg;
5419
+ };
5420
+
5421
+
5422
+ /**
5423
+ * Serializes the message to binary data (in protobuf wire format).
5424
+ * @return {!Uint8Array}
5425
+ */
5426
+ proto.zaber.motion.protobufs.StringArrayResponse.prototype.serializeBinary = function() {
5427
+ var writer = new jspb.BinaryWriter();
5428
+ proto.zaber.motion.protobufs.StringArrayResponse.serializeBinaryToWriter(this, writer);
5429
+ return writer.getResultBuffer();
5430
+ };
5431
+
5432
+
5433
+ /**
5434
+ * Serializes the given message to binary data (in protobuf wire
5435
+ * format), writing to the given BinaryWriter.
5436
+ * @param {!proto.zaber.motion.protobufs.StringArrayResponse} message
5437
+ * @param {!jspb.BinaryWriter} writer
5438
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5439
+ */
5440
+ proto.zaber.motion.protobufs.StringArrayResponse.serializeBinaryToWriter = function(message, writer) {
5441
+ var f = undefined;
5442
+ f = message.getValuesList();
5443
+ if (f.length > 0) {
5444
+ writer.writeRepeatedString(
5445
+ 1,
5446
+ f
5447
+ );
5448
+ }
5449
+ };
5450
+
5451
+
5452
+ /**
5453
+ * repeated string values = 1;
5454
+ * @return {!Array<string>}
5455
+ */
5456
+ proto.zaber.motion.protobufs.StringArrayResponse.prototype.getValuesList = function() {
5457
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
5458
+ };
5459
+
5460
+
5461
+ /**
5462
+ * @param {!Array<string>} value
5463
+ * @return {!proto.zaber.motion.protobufs.StringArrayResponse} returns this
5464
+ */
5465
+ proto.zaber.motion.protobufs.StringArrayResponse.prototype.setValuesList = function(value) {
5466
+ return jspb.Message.setField(this, 1, value || []);
5467
+ };
5468
+
5469
+
5470
+ /**
5471
+ * @param {string} value
5472
+ * @param {number=} opt_index
5473
+ * @return {!proto.zaber.motion.protobufs.StringArrayResponse} returns this
5474
+ */
5475
+ proto.zaber.motion.protobufs.StringArrayResponse.prototype.addValues = function(value, opt_index) {
5476
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
5477
+ };
5478
+
5479
+
5480
+ /**
5481
+ * Clears the list making it empty but non-null.
5482
+ * @return {!proto.zaber.motion.protobufs.StringArrayResponse} returns this
5483
+ */
5484
+ proto.zaber.motion.protobufs.StringArrayResponse.prototype.clearValuesList = function() {
5485
+ return this.setValuesList([]);
5486
+ };
5487
+
5488
+
5489
+
5290
5490
 
5291
5491
 
5292
5492
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -8314,7 +8514,7 @@ proto.zaber.motion.protobufs.BinaryCommandFailedExceptionData.prototype.setRespo
8314
8514
  * @private {!Array<number>}
8315
8515
  * @const
8316
8516
  */
8317
- proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.repeatedFields_ = [2,4];
8517
+ proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.repeatedFields_ = [2,4,5];
8318
8518
 
8319
8519
 
8320
8520
 
@@ -8350,7 +8550,8 @@ proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.toObject = function
8350
8550
  axisNumber: jspb.Message.getFieldWithDefault(msg, 1, 0),
8351
8551
  settingsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
8352
8552
  servoTuning: jspb.Message.getFieldWithDefault(msg, 3, ""),
8353
- storageList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
8553
+ storageList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
8554
+ storedPositionsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
8354
8555
  };
8355
8556
 
8356
8557
  if (includeInstance) {
@@ -8403,6 +8604,10 @@ proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.deserializeBinaryFr
8403
8604
  var value = /** @type {string} */ (reader.readString());
8404
8605
  msg.addStorage(value);
8405
8606
  break;
8607
+ case 5:
8608
+ var value = /** @type {string} */ (reader.readString());
8609
+ msg.addStoredPositions(value);
8610
+ break;
8406
8611
  default:
8407
8612
  reader.skipField();
8408
8613
  break;
@@ -8460,6 +8665,13 @@ proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.serializeBinaryToWr
8460
8665
  f
8461
8666
  );
8462
8667
  }
8668
+ f = message.getStoredPositionsList();
8669
+ if (f.length > 0) {
8670
+ writer.writeRepeatedString(
8671
+ 5,
8672
+ f
8673
+ );
8674
+ }
8463
8675
  };
8464
8676
 
8465
8677
 
@@ -8573,13 +8785,50 @@ proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.prototype.clearStor
8573
8785
  };
8574
8786
 
8575
8787
 
8788
+ /**
8789
+ * repeated string stored_positions = 5;
8790
+ * @return {!Array<string>}
8791
+ */
8792
+ proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.prototype.getStoredPositionsList = function() {
8793
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
8794
+ };
8795
+
8796
+
8797
+ /**
8798
+ * @param {!Array<string>} value
8799
+ * @return {!proto.zaber.motion.protobufs.SetPeripheralStateExceptionData} returns this
8800
+ */
8801
+ proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.prototype.setStoredPositionsList = function(value) {
8802
+ return jspb.Message.setField(this, 5, value || []);
8803
+ };
8804
+
8805
+
8806
+ /**
8807
+ * @param {string} value
8808
+ * @param {number=} opt_index
8809
+ * @return {!proto.zaber.motion.protobufs.SetPeripheralStateExceptionData} returns this
8810
+ */
8811
+ proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.prototype.addStoredPositions = function(value, opt_index) {
8812
+ return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
8813
+ };
8814
+
8815
+
8816
+ /**
8817
+ * Clears the list making it empty but non-null.
8818
+ * @return {!proto.zaber.motion.protobufs.SetPeripheralStateExceptionData} returns this
8819
+ */
8820
+ proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.prototype.clearStoredPositionsList = function() {
8821
+ return this.setStoredPositionsList([]);
8822
+ };
8823
+
8824
+
8576
8825
 
8577
8826
  /**
8578
8827
  * List of repeated fields within this message type.
8579
8828
  * @private {!Array<number>}
8580
8829
  * @const
8581
8830
  */
8582
- proto.zaber.motion.protobufs.SetDeviceStateExceptionData.repeatedFields_ = [2,3,4,5,8];
8831
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.repeatedFields_ = [2,3,4,5,7,8];
8583
8832
 
8584
8833
 
8585
8834
 
@@ -8617,9 +8866,9 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.toObject = function(inc
8617
8866
  settingsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
8618
8867
  streamBuffersList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
8619
8868
  triggersList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
8620
- ipConfig: jspb.Message.getFieldWithDefault(msg, 6, ""),
8621
- servoTuning: jspb.Message.getFieldWithDefault(msg, 7, ""),
8622
- storageList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
8869
+ servoTuning: jspb.Message.getFieldWithDefault(msg, 6, ""),
8870
+ storageList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
8871
+ storedPositionsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
8623
8872
  };
8624
8873
 
8625
8874
  if (includeInstance) {
@@ -8675,15 +8924,15 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.deserializeBinaryFromRe
8675
8924
  break;
8676
8925
  case 6:
8677
8926
  var value = /** @type {string} */ (reader.readString());
8678
- msg.setIpConfig(value);
8927
+ msg.setServoTuning(value);
8679
8928
  break;
8680
8929
  case 7:
8681
8930
  var value = /** @type {string} */ (reader.readString());
8682
- msg.setServoTuning(value);
8931
+ msg.addStorage(value);
8683
8932
  break;
8684
8933
  case 8:
8685
8934
  var value = /** @type {string} */ (reader.readString());
8686
- msg.addStorage(value);
8935
+ msg.addStoredPositions(value);
8687
8936
  break;
8688
8937
  default:
8689
8938
  reader.skipField();
@@ -8743,21 +8992,21 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.serializeBinaryToWriter
8743
8992
  f
8744
8993
  );
8745
8994
  }
8746
- f = message.getIpConfig();
8995
+ f = message.getServoTuning();
8747
8996
  if (f.length > 0) {
8748
8997
  writer.writeString(
8749
8998
  6,
8750
8999
  f
8751
9000
  );
8752
9001
  }
8753
- f = message.getServoTuning();
9002
+ f = message.getStorageList();
8754
9003
  if (f.length > 0) {
8755
- writer.writeString(
9004
+ writer.writeRepeatedString(
8756
9005
  7,
8757
9006
  f
8758
9007
  );
8759
9008
  }
8760
- f = message.getStorageList();
9009
+ f = message.getStoredPositionsList();
8761
9010
  if (f.length > 0) {
8762
9011
  writer.writeRepeatedString(
8763
9012
  8,
@@ -8917,10 +9166,10 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.clearTriggers
8917
9166
 
8918
9167
 
8919
9168
  /**
8920
- * optional string ip_config = 6;
9169
+ * optional string servo_tuning = 6;
8921
9170
  * @return {string}
8922
9171
  */
8923
- proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.getIpConfig = function() {
9172
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.getServoTuning = function() {
8924
9173
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
8925
9174
  };
8926
9175
 
@@ -8929,34 +9178,53 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.getIpConfig =
8929
9178
  * @param {string} value
8930
9179
  * @return {!proto.zaber.motion.protobufs.SetDeviceStateExceptionData} returns this
8931
9180
  */
8932
- proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.setIpConfig = function(value) {
9181
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.setServoTuning = function(value) {
8933
9182
  return jspb.Message.setProto3StringField(this, 6, value);
8934
9183
  };
8935
9184
 
8936
9185
 
8937
9186
  /**
8938
- * optional string servo_tuning = 7;
8939
- * @return {string}
9187
+ * repeated string storage = 7;
9188
+ * @return {!Array<string>}
8940
9189
  */
8941
- proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.getServoTuning = function() {
8942
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
9190
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.getStorageList = function() {
9191
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 7));
9192
+ };
9193
+
9194
+
9195
+ /**
9196
+ * @param {!Array<string>} value
9197
+ * @return {!proto.zaber.motion.protobufs.SetDeviceStateExceptionData} returns this
9198
+ */
9199
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.setStorageList = function(value) {
9200
+ return jspb.Message.setField(this, 7, value || []);
8943
9201
  };
8944
9202
 
8945
9203
 
8946
9204
  /**
8947
9205
  * @param {string} value
9206
+ * @param {number=} opt_index
8948
9207
  * @return {!proto.zaber.motion.protobufs.SetDeviceStateExceptionData} returns this
8949
9208
  */
8950
- proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.setServoTuning = function(value) {
8951
- return jspb.Message.setProto3StringField(this, 7, value);
9209
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.addStorage = function(value, opt_index) {
9210
+ return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
8952
9211
  };
8953
9212
 
8954
9213
 
8955
9214
  /**
8956
- * repeated string storage = 8;
9215
+ * Clears the list making it empty but non-null.
9216
+ * @return {!proto.zaber.motion.protobufs.SetDeviceStateExceptionData} returns this
9217
+ */
9218
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.clearStorageList = function() {
9219
+ return this.setStorageList([]);
9220
+ };
9221
+
9222
+
9223
+ /**
9224
+ * repeated string stored_positions = 8;
8957
9225
  * @return {!Array<string>}
8958
9226
  */
8959
- proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.getStorageList = function() {
9227
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.getStoredPositionsList = function() {
8960
9228
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 8));
8961
9229
  };
8962
9230
 
@@ -8965,7 +9233,7 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.getStorageLis
8965
9233
  * @param {!Array<string>} value
8966
9234
  * @return {!proto.zaber.motion.protobufs.SetDeviceStateExceptionData} returns this
8967
9235
  */
8968
- proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.setStorageList = function(value) {
9236
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.setStoredPositionsList = function(value) {
8969
9237
  return jspb.Message.setField(this, 8, value || []);
8970
9238
  };
8971
9239
 
@@ -8975,7 +9243,7 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.setStorageLis
8975
9243
  * @param {number=} opt_index
8976
9244
  * @return {!proto.zaber.motion.protobufs.SetDeviceStateExceptionData} returns this
8977
9245
  */
8978
- proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.addStorage = function(value, opt_index) {
9246
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.addStoredPositions = function(value, opt_index) {
8979
9247
  return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
8980
9248
  };
8981
9249
 
@@ -8984,8 +9252,8 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.addStorage =
8984
9252
  * Clears the list making it empty but non-null.
8985
9253
  * @return {!proto.zaber.motion.protobufs.SetDeviceStateExceptionData} returns this
8986
9254
  */
8987
- proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.clearStorageList = function() {
8988
- return this.setStorageList([]);
9255
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.clearStoredPositionsList = function() {
9256
+ return this.setStoredPositionsList([]);
8989
9257
  };
8990
9258
 
8991
9259
 
@@ -22303,7 +22571,8 @@ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.toObject = function(in
22303
22571
  var f, obj = {
22304
22572
  interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
22305
22573
  device: jspb.Message.getFieldWithDefault(msg, 2, 0),
22306
- start: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
22574
+ start: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
22575
+ captureLength: jspb.Message.getFieldWithDefault(msg, 4, 0)
22307
22576
  };
22308
22577
 
22309
22578
  if (includeInstance) {
@@ -22352,6 +22621,10 @@ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.deserializeBinaryFromR
22352
22621
  var value = /** @type {boolean} */ (reader.readBool());
22353
22622
  msg.setStart(value);
22354
22623
  break;
22624
+ case 4:
22625
+ var value = /** @type {number} */ (reader.readInt32());
22626
+ msg.setCaptureLength(value);
22627
+ break;
22355
22628
  default:
22356
22629
  reader.skipField();
22357
22630
  break;
@@ -22402,6 +22675,13 @@ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.serializeBinaryToWrite
22402
22675
  f
22403
22676
  );
22404
22677
  }
22678
+ f = message.getCaptureLength();
22679
+ if (f !== 0) {
22680
+ writer.writeInt32(
22681
+ 4,
22682
+ f
22683
+ );
22684
+ }
22405
22685
  };
22406
22686
 
22407
22687
 
@@ -22459,6 +22739,24 @@ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.setStart = f
22459
22739
  };
22460
22740
 
22461
22741
 
22742
+ /**
22743
+ * optional int32 capture_length = 4;
22744
+ * @return {number}
22745
+ */
22746
+ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.getCaptureLength = function() {
22747
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
22748
+ };
22749
+
22750
+
22751
+ /**
22752
+ * @param {number} value
22753
+ * @return {!proto.zaber.motion.protobufs.OscilloscopeStartStopRequest} returns this
22754
+ */
22755
+ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.setCaptureLength = function(value) {
22756
+ return jspb.Message.setProto3IntField(this, 4, value);
22757
+ };
22758
+
22759
+
22462
22760
 
22463
22761
  /**
22464
22762
  * List of repeated fields within this message type.
@@ -44156,6 +44454,226 @@ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.setKey = function(va
44156
44454
 
44157
44455
 
44158
44456
 
44457
+
44458
+
44459
+ if (jspb.Message.GENERATE_TO_OBJECT) {
44460
+ /**
44461
+ * Creates an object representation of this proto.
44462
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
44463
+ * Optional fields that are not set will be set to undefined.
44464
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
44465
+ * For the list of reserved names please see:
44466
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
44467
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
44468
+ * JSPB instance for transitional soy proto support:
44469
+ * http://goto/soy-param-migration
44470
+ * @return {!Object}
44471
+ */
44472
+ proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.toObject = function(opt_includeInstance) {
44473
+ return proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.toObject(opt_includeInstance, this);
44474
+ };
44475
+
44476
+
44477
+ /**
44478
+ * Static version of the {@see toObject} method.
44479
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
44480
+ * the JSPB instance for transitional soy proto support:
44481
+ * http://goto/soy-param-migration
44482
+ * @param {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} msg The msg instance to transform.
44483
+ * @return {!Object}
44484
+ * @suppress {unusedLocalVariables} f is only used for nested messages
44485
+ */
44486
+ proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.toObject = function(includeInstance, msg) {
44487
+ var f, obj = {
44488
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
44489
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
44490
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
44491
+ prefix: jspb.Message.getFieldWithDefault(msg, 4, "")
44492
+ };
44493
+
44494
+ if (includeInstance) {
44495
+ obj.$jspbMessageInstance = msg;
44496
+ }
44497
+ return obj;
44498
+ };
44499
+ }
44500
+
44501
+
44502
+ /**
44503
+ * Deserializes binary data (in protobuf wire format).
44504
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
44505
+ * @return {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest}
44506
+ */
44507
+ proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.deserializeBinary = function(bytes) {
44508
+ var reader = new jspb.BinaryReader(bytes);
44509
+ var msg = new proto.zaber.motion.protobufs.DeviceStorageListKeysRequest;
44510
+ return proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.deserializeBinaryFromReader(msg, reader);
44511
+ };
44512
+
44513
+
44514
+ /**
44515
+ * Deserializes binary data (in protobuf wire format) from the
44516
+ * given reader into the given message object.
44517
+ * @param {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} msg The message object to deserialize into.
44518
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
44519
+ * @return {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest}
44520
+ */
44521
+ proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.deserializeBinaryFromReader = function(msg, reader) {
44522
+ while (reader.nextField()) {
44523
+ if (reader.isEndGroup()) {
44524
+ break;
44525
+ }
44526
+ var field = reader.getFieldNumber();
44527
+ switch (field) {
44528
+ case 1:
44529
+ var value = /** @type {number} */ (reader.readInt32());
44530
+ msg.setInterfaceId(value);
44531
+ break;
44532
+ case 2:
44533
+ var value = /** @type {number} */ (reader.readInt32());
44534
+ msg.setDevice(value);
44535
+ break;
44536
+ case 3:
44537
+ var value = /** @type {number} */ (reader.readInt32());
44538
+ msg.setAxis(value);
44539
+ break;
44540
+ case 4:
44541
+ var value = /** @type {string} */ (reader.readString());
44542
+ msg.setPrefix(value);
44543
+ break;
44544
+ default:
44545
+ reader.skipField();
44546
+ break;
44547
+ }
44548
+ }
44549
+ return msg;
44550
+ };
44551
+
44552
+
44553
+ /**
44554
+ * Serializes the message to binary data (in protobuf wire format).
44555
+ * @return {!Uint8Array}
44556
+ */
44557
+ proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.serializeBinary = function() {
44558
+ var writer = new jspb.BinaryWriter();
44559
+ proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.serializeBinaryToWriter(this, writer);
44560
+ return writer.getResultBuffer();
44561
+ };
44562
+
44563
+
44564
+ /**
44565
+ * Serializes the given message to binary data (in protobuf wire
44566
+ * format), writing to the given BinaryWriter.
44567
+ * @param {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} message
44568
+ * @param {!jspb.BinaryWriter} writer
44569
+ * @suppress {unusedLocalVariables} f is only used for nested messages
44570
+ */
44571
+ proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.serializeBinaryToWriter = function(message, writer) {
44572
+ var f = undefined;
44573
+ f = message.getInterfaceId();
44574
+ if (f !== 0) {
44575
+ writer.writeInt32(
44576
+ 1,
44577
+ f
44578
+ );
44579
+ }
44580
+ f = message.getDevice();
44581
+ if (f !== 0) {
44582
+ writer.writeInt32(
44583
+ 2,
44584
+ f
44585
+ );
44586
+ }
44587
+ f = message.getAxis();
44588
+ if (f !== 0) {
44589
+ writer.writeInt32(
44590
+ 3,
44591
+ f
44592
+ );
44593
+ }
44594
+ f = message.getPrefix();
44595
+ if (f.length > 0) {
44596
+ writer.writeString(
44597
+ 4,
44598
+ f
44599
+ );
44600
+ }
44601
+ };
44602
+
44603
+
44604
+ /**
44605
+ * optional int32 interface_id = 1;
44606
+ * @return {number}
44607
+ */
44608
+ proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.getInterfaceId = function() {
44609
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
44610
+ };
44611
+
44612
+
44613
+ /**
44614
+ * @param {number} value
44615
+ * @return {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} returns this
44616
+ */
44617
+ proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.setInterfaceId = function(value) {
44618
+ return jspb.Message.setProto3IntField(this, 1, value);
44619
+ };
44620
+
44621
+
44622
+ /**
44623
+ * optional int32 device = 2;
44624
+ * @return {number}
44625
+ */
44626
+ proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.getDevice = function() {
44627
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
44628
+ };
44629
+
44630
+
44631
+ /**
44632
+ * @param {number} value
44633
+ * @return {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} returns this
44634
+ */
44635
+ proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.setDevice = function(value) {
44636
+ return jspb.Message.setProto3IntField(this, 2, value);
44637
+ };
44638
+
44639
+
44640
+ /**
44641
+ * optional int32 axis = 3;
44642
+ * @return {number}
44643
+ */
44644
+ proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.getAxis = function() {
44645
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
44646
+ };
44647
+
44648
+
44649
+ /**
44650
+ * @param {number} value
44651
+ * @return {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} returns this
44652
+ */
44653
+ proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.setAxis = function(value) {
44654
+ return jspb.Message.setProto3IntField(this, 3, value);
44655
+ };
44656
+
44657
+
44658
+ /**
44659
+ * optional string prefix = 4;
44660
+ * @return {string}
44661
+ */
44662
+ proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.getPrefix = function() {
44663
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
44664
+ };
44665
+
44666
+
44667
+ /**
44668
+ * @param {string} value
44669
+ * @return {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} returns this
44670
+ */
44671
+ proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.setPrefix = function(value) {
44672
+ return jspb.Message.setProto3StringField(this, 4, value);
44673
+ };
44674
+
44675
+
44676
+
44159
44677
  /**
44160
44678
  * List of repeated fields within this message type.
44161
44679
  * @private {!Array<number>}