@zaber/motion 8.2.0 → 8.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.
Files changed (81) hide show
  1. package/LICENSE +15 -171
  2. package/dist/binding/wasm/zaber-motion-core.wasm +0 -0
  3. package/dist/lib/ascii/axis_type.d.ts +5 -5
  4. package/dist/lib/ascii/axis_type.d.ts.map +1 -1
  5. package/dist/lib/ascii/axis_type.js +5 -5
  6. package/dist/lib/ascii/axis_type.js.map +1 -1
  7. package/dist/lib/ascii/digital_output_action.d.ts +4 -4
  8. package/dist/lib/ascii/digital_output_action.d.ts.map +1 -1
  9. package/dist/lib/ascii/digital_output_action.js +4 -4
  10. package/dist/lib/ascii/digital_output_action.js.map +1 -1
  11. package/dist/lib/ascii/io_port_type.d.ts +5 -5
  12. package/dist/lib/ascii/io_port_type.d.ts.map +1 -1
  13. package/dist/lib/ascii/io_port_type.js +5 -5
  14. package/dist/lib/ascii/io_port_type.js.map +1 -1
  15. package/dist/lib/ascii/message_type.d.ts +3 -3
  16. package/dist/lib/ascii/message_type.d.ts.map +1 -1
  17. package/dist/lib/ascii/message_type.js +3 -3
  18. package/dist/lib/ascii/message_type.js.map +1 -1
  19. package/dist/lib/ascii/oscilloscope_data_source.d.ts +2 -2
  20. package/dist/lib/ascii/oscilloscope_data_source.d.ts.map +1 -1
  21. package/dist/lib/ascii/oscilloscope_data_source.js +2 -2
  22. package/dist/lib/ascii/oscilloscope_data_source.js.map +1 -1
  23. package/dist/lib/ascii/pvt_axis_type.d.ts +2 -2
  24. package/dist/lib/ascii/pvt_axis_type.d.ts.map +1 -1
  25. package/dist/lib/ascii/pvt_axis_type.js +2 -2
  26. package/dist/lib/ascii/pvt_axis_type.js.map +1 -1
  27. package/dist/lib/ascii/pvt_mode.d.ts +3 -3
  28. package/dist/lib/ascii/pvt_mode.d.ts.map +1 -1
  29. package/dist/lib/ascii/pvt_mode.js +3 -3
  30. package/dist/lib/ascii/pvt_mode.js.map +1 -1
  31. package/dist/lib/ascii/servo_tuning_paramset.d.ts +12 -12
  32. package/dist/lib/ascii/servo_tuning_paramset.d.ts.map +1 -1
  33. package/dist/lib/ascii/servo_tuning_paramset.js +12 -12
  34. package/dist/lib/ascii/servo_tuning_paramset.js.map +1 -1
  35. package/dist/lib/ascii/stream_axis_type.d.ts +2 -2
  36. package/dist/lib/ascii/stream_axis_type.d.ts.map +1 -1
  37. package/dist/lib/ascii/stream_axis_type.js +2 -2
  38. package/dist/lib/ascii/stream_axis_type.js.map +1 -1
  39. package/dist/lib/ascii/stream_mode.d.ts +4 -4
  40. package/dist/lib/ascii/stream_mode.d.ts.map +1 -1
  41. package/dist/lib/ascii/stream_mode.js +4 -4
  42. package/dist/lib/ascii/stream_mode.js.map +1 -1
  43. package/dist/lib/ascii/trigger_action.d.ts +3 -3
  44. package/dist/lib/ascii/trigger_action.d.ts.map +1 -1
  45. package/dist/lib/ascii/trigger_action.js +3 -3
  46. package/dist/lib/ascii/trigger_action.js.map +1 -1
  47. package/dist/lib/ascii/trigger_operation.d.ts +3 -3
  48. package/dist/lib/ascii/trigger_operation.d.ts.map +1 -1
  49. package/dist/lib/ascii/trigger_operation.js +3 -3
  50. package/dist/lib/ascii/trigger_operation.js.map +1 -1
  51. package/dist/lib/binary/device_type.d.ts +3 -3
  52. package/dist/lib/binary/device_type.d.ts.map +1 -1
  53. package/dist/lib/binary/device_type.js +3 -3
  54. package/dist/lib/binary/device_type.js.map +1 -1
  55. package/dist/lib/device_db_source_type.d.ts +2 -2
  56. package/dist/lib/device_db_source_type.d.ts.map +1 -1
  57. package/dist/lib/device_db_source_type.js +2 -2
  58. package/dist/lib/device_db_source_type.js.map +1 -1
  59. package/dist/lib/device_port_type.d.ts +3 -3
  60. package/dist/lib/device_port_type.d.ts.map +1 -1
  61. package/dist/lib/device_port_type.js +3 -3
  62. package/dist/lib/device_port_type.js.map +1 -1
  63. package/dist/lib/library.js +1 -1
  64. package/dist/lib/library.js.map +1 -1
  65. package/dist/lib/log_output_mode.d.ts +4 -4
  66. package/dist/lib/log_output_mode.d.ts.map +1 -1
  67. package/dist/lib/log_output_mode.js +4 -4
  68. package/dist/lib/log_output_mode.js.map +1 -1
  69. package/dist/lib/product/process_controller_mode.d.ts +5 -5
  70. package/dist/lib/product/process_controller_mode.d.ts.map +1 -1
  71. package/dist/lib/product/process_controller_mode.js +5 -5
  72. package/dist/lib/product/process_controller_mode.js.map +1 -1
  73. package/dist/lib/product/process_controller_source_sensor.d.ts +3 -3
  74. package/dist/lib/product/process_controller_source_sensor.d.ts.map +1 -1
  75. package/dist/lib/product/process_controller_source_sensor.js +3 -3
  76. package/dist/lib/product/process_controller_source_sensor.js.map +1 -1
  77. package/dist/lib/rotation_direction.d.ts +4 -4
  78. package/dist/lib/rotation_direction.d.ts.map +1 -1
  79. package/dist/lib/rotation_direction.js +4 -4
  80. package/dist/lib/rotation_direction.js.map +1 -1
  81. package/package.json +1 -3
@@ -1 +1 @@
1
- {"version":3,"file":"process_controller_mode.js","sourceRoot":"","sources":["../../../src/product/process_controller_mode.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,qBASX;AATD,WAAY,qBAAqB;IAC/B,aAAa;IACb,qEAAU,CAAA;IACV,UAAU;IACV,+DAAO,CAAA;IACP,gBAAgB;IAChB,6EAAc,CAAA;IACd,YAAY;IACZ,qEAAU,CAAA;AACZ,CAAC,EATW,qBAAqB,qCAArB,qBAAqB,QAShC;AAED;;;GAGG;AACH,SAAgB,uBAAuB,CAAC,KAAU;IAChD,OAAO,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC,QAAQ,CAAC,KAA8B,CAAC,CAAC;AACvF,CAAC;AAFD,0DAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * Servo Tuning Parameter Set to target.\n */\nexport enum ProcessControllerMode {\n /** Manual */\n MANUAL = 0,\n /** Pid */\n PID = 1,\n /** PidHeater */\n PID_HEATER = 2,\n /** OnOff */\n ON_OFF = 3,\n}\n\n/**\n * Type guard for ProcessControllerMode.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isProcessControllerMode(value: any): value is ProcessControllerMode {\n return Object.values(ProcessControllerMode).includes(value as ProcessControllerMode);\n}\n"]}
1
+ {"version":3,"file":"process_controller_mode.js","sourceRoot":"","sources":["../../../src/product/process_controller_mode.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,qBASX;AATD,WAAY,qBAAqB;IAC/B,mDAAmD;IACnD,qEAAU,CAAA;IACV,sDAAsD;IACtD,+DAAO,CAAA;IACP,8CAA8C;IAC9C,6EAAc,CAAA;IACd,oDAAoD;IACpD,qEAAU,CAAA;AACZ,CAAC,EATW,qBAAqB,qCAArB,qBAAqB,QAShC;AAED;;;GAGG;AACH,SAAgB,uBAAuB,CAAC,KAAU;IAChD,OAAO,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC,QAAQ,CAAC,KAA8B,CAAC,CAAC;AACvF,CAAC;AAFD,0DAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * Mode of the process controller.\n */\nexport enum ProcessControllerMode {\n /** Allows direct control of the output voltage. */\n MANUAL = 0,\n /** Closed-loop PID control to maintain a setpoint. */\n PID = 1,\n /** PID control optimized for heater loads. */\n PID_HEATER = 2,\n /** Binary on/off switching based on a threshold. */\n ON_OFF = 3,\n}\n\n/**\n * Type guard for ProcessControllerMode.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isProcessControllerMode(value: any): value is ProcessControllerMode {\n return Object.values(ProcessControllerMode).includes(value as ProcessControllerMode);\n}\n"]}
@@ -1,10 +1,10 @@
1
1
  /**
2
- * Servo Tuning Parameter Set to target.
2
+ * The type of input sensor that provides feedback to the process controller.
3
3
  */
4
4
  export declare enum ProcessControllerSourceSensor {
5
- /** Thermistor */
5
+ /** Use a thermistor sensor port on the device to measure temperature. */
6
6
  THERMISTOR = 10,
7
- /** AnalogInput */
7
+ /** Use an analog input I/O channel on the device to measure voltage. */
8
8
  ANALOG_INPUT = 20
9
9
  }
10
10
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"process_controller_source_sensor.d.ts","sourceRoot":"","sources":["../../../src/product/process_controller_source_sensor.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,6BAA6B;IACvC,iBAAiB;IACjB,UAAU,KAAK;IACf,kBAAkB;IAClB,YAAY,KAAK;CAClB;AAED;;;GAGG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,6BAA6B,CAElG"}
1
+ {"version":3,"file":"process_controller_source_sensor.d.ts","sourceRoot":"","sources":["../../../src/product/process_controller_source_sensor.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,6BAA6B;IACvC,yEAAyE;IACzE,UAAU,KAAK;IACf,wEAAwE;IACxE,YAAY,KAAK;CAClB;AAED;;;GAGG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,6BAA6B,CAElG"}
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isProcessControllerSourceSensor = exports.ProcessControllerSourceSensor = void 0;
4
4
  /* This file is generated. Do not modify by hand. */
5
5
  /**
6
- * Servo Tuning Parameter Set to target.
6
+ * The type of input sensor that provides feedback to the process controller.
7
7
  */
8
8
  var ProcessControllerSourceSensor;
9
9
  (function (ProcessControllerSourceSensor) {
10
- /** Thermistor */
10
+ /** Use a thermistor sensor port on the device to measure temperature. */
11
11
  ProcessControllerSourceSensor[ProcessControllerSourceSensor["THERMISTOR"] = 10] = "THERMISTOR";
12
- /** AnalogInput */
12
+ /** Use an analog input I/O channel on the device to measure voltage. */
13
13
  ProcessControllerSourceSensor[ProcessControllerSourceSensor["ANALOG_INPUT"] = 20] = "ANALOG_INPUT";
14
14
  })(ProcessControllerSourceSensor || (exports.ProcessControllerSourceSensor = ProcessControllerSourceSensor = {}));
15
15
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"process_controller_source_sensor.js","sourceRoot":"","sources":["../../../src/product/process_controller_source_sensor.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,6BAKX;AALD,WAAY,6BAA6B;IACvC,iBAAiB;IACjB,8FAAe,CAAA;IACf,kBAAkB;IAClB,kGAAiB,CAAA;AACnB,CAAC,EALW,6BAA6B,6CAA7B,6BAA6B,QAKxC;AAED;;;GAGG;AACH,SAAgB,+BAA+B,CAAC,KAAU;IACxD,OAAO,MAAM,CAAC,MAAM,CAAC,6BAA6B,CAAC,CAAC,QAAQ,CAAC,KAAsC,CAAC,CAAC;AACvG,CAAC;AAFD,0EAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * Servo Tuning Parameter Set to target.\n */\nexport enum ProcessControllerSourceSensor {\n /** Thermistor */\n THERMISTOR = 10,\n /** AnalogInput */\n ANALOG_INPUT = 20,\n}\n\n/**\n * Type guard for ProcessControllerSourceSensor.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isProcessControllerSourceSensor(value: any): value is ProcessControllerSourceSensor {\n return Object.values(ProcessControllerSourceSensor).includes(value as ProcessControllerSourceSensor);\n}\n"]}
1
+ {"version":3,"file":"process_controller_source_sensor.js","sourceRoot":"","sources":["../../../src/product/process_controller_source_sensor.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,6BAKX;AALD,WAAY,6BAA6B;IACvC,yEAAyE;IACzE,8FAAe,CAAA;IACf,wEAAwE;IACxE,kGAAiB,CAAA;AACnB,CAAC,EALW,6BAA6B,6CAA7B,6BAA6B,QAKxC;AAED;;;GAGG;AACH,SAAgB,+BAA+B,CAAC,KAAU;IACxD,OAAO,MAAM,CAAC,MAAM,CAAC,6BAA6B,CAAC,CAAC,QAAQ,CAAC,KAAsC,CAAC,CAAC;AACvG,CAAC;AAFD,0EAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * The type of input sensor that provides feedback to the process controller.\n */\nexport enum ProcessControllerSourceSensor {\n /** Use a thermistor sensor port on the device to measure temperature. */\n THERMISTOR = 10,\n /** Use an analog input I/O channel on the device to measure voltage. */\n ANALOG_INPUT = 20,\n}\n\n/**\n * Type guard for ProcessControllerSourceSensor.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isProcessControllerSourceSensor(value: any): value is ProcessControllerSourceSensor {\n return Object.values(ProcessControllerSourceSensor).includes(value as ProcessControllerSourceSensor);\n}\n"]}
@@ -2,13 +2,13 @@
2
2
  * Direction of rotation.
3
3
  */
4
4
  export declare enum RotationDirection {
5
- /** Clockwise */
5
+ /** Rotate in the clockwise direction. */
6
6
  CLOCKWISE = 0,
7
- /** Counterclockwise */
7
+ /** Rotate in the counterclockwise direction. */
8
8
  COUNTERCLOCKWISE = 1,
9
- /** CW */
9
+ /** Shorthand alias for Clockwise. */
10
10
  CW = 0,
11
- /** CCW */
11
+ /** Shorthand alias for Counterclockwise. */
12
12
  CCW = 1
13
13
  }
14
14
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"rotation_direction.d.ts","sourceRoot":"","sources":["../../src/rotation_direction.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,iBAAiB;IAC3B,gBAAgB;IAChB,SAAS,IAAI;IACb,uBAAuB;IACvB,gBAAgB,IAAI;IACpB,SAAS;IACT,EAAE,IAAI;IACN,UAAU;IACV,GAAG,IAAI;CACR;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,iBAAiB,CAE1E"}
1
+ {"version":3,"file":"rotation_direction.d.ts","sourceRoot":"","sources":["../../src/rotation_direction.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,iBAAiB;IAC3B,yCAAyC;IACzC,SAAS,IAAI;IACb,gDAAgD;IAChD,gBAAgB,IAAI;IACpB,qCAAqC;IACrC,EAAE,IAAI;IACN,4CAA4C;IAC5C,GAAG,IAAI;CACR;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,iBAAiB,CAE1E"}
@@ -7,13 +7,13 @@ exports.isRotationDirection = exports.RotationDirection = void 0;
7
7
  */
8
8
  var RotationDirection;
9
9
  (function (RotationDirection) {
10
- /** Clockwise */
10
+ /** Rotate in the clockwise direction. */
11
11
  RotationDirection[RotationDirection["CLOCKWISE"] = 0] = "CLOCKWISE";
12
- /** Counterclockwise */
12
+ /** Rotate in the counterclockwise direction. */
13
13
  RotationDirection[RotationDirection["COUNTERCLOCKWISE"] = 1] = "COUNTERCLOCKWISE";
14
- /** CW */
14
+ /** Shorthand alias for Clockwise. */
15
15
  RotationDirection[RotationDirection["CW"] = 0] = "CW";
16
- /** CCW */
16
+ /** Shorthand alias for Counterclockwise. */
17
17
  RotationDirection[RotationDirection["CCW"] = 1] = "CCW";
18
18
  })(RotationDirection || (exports.RotationDirection = RotationDirection = {}));
19
19
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"rotation_direction.js","sourceRoot":"","sources":["../../src/rotation_direction.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,iBASX;AATD,WAAY,iBAAiB;IAC3B,gBAAgB;IAChB,mEAAa,CAAA;IACb,uBAAuB;IACvB,iFAAoB,CAAA;IACpB,SAAS;IACT,qDAAM,CAAA;IACN,UAAU;IACV,uDAAO,CAAA;AACT,CAAC,EATW,iBAAiB,iCAAjB,iBAAiB,QAS5B;AAED;;;GAGG;AACH,SAAgB,mBAAmB,CAAC,KAAU;IAC5C,OAAO,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,KAA0B,CAAC,CAAC;AAC/E,CAAC;AAFD,kDAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * Direction of rotation.\n */\nexport enum RotationDirection {\n /** Clockwise */\n CLOCKWISE = 0,\n /** Counterclockwise */\n COUNTERCLOCKWISE = 1,\n /** CW */\n CW = 0,\n /** CCW */\n CCW = 1,\n}\n\n/**\n * Type guard for RotationDirection.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isRotationDirection(value: any): value is RotationDirection {\n return Object.values(RotationDirection).includes(value as RotationDirection);\n}\n"]}
1
+ {"version":3,"file":"rotation_direction.js","sourceRoot":"","sources":["../../src/rotation_direction.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,iBASX;AATD,WAAY,iBAAiB;IAC3B,yCAAyC;IACzC,mEAAa,CAAA;IACb,gDAAgD;IAChD,iFAAoB,CAAA;IACpB,qCAAqC;IACrC,qDAAM,CAAA;IACN,4CAA4C;IAC5C,uDAAO,CAAA;AACT,CAAC,EATW,iBAAiB,iCAAjB,iBAAiB,QAS5B;AAED;;;GAGG;AACH,SAAgB,mBAAmB,CAAC,KAAU;IAC5C,OAAO,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,KAA0B,CAAC,CAAC;AAC/E,CAAC;AAFD,kDAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * Direction of rotation.\n */\nexport enum RotationDirection {\n /** Rotate in the clockwise direction. */\n CLOCKWISE = 0,\n /** Rotate in the counterclockwise direction. */\n COUNTERCLOCKWISE = 1,\n /** Shorthand alias for Clockwise. */\n CW = 0,\n /** Shorthand alias for Counterclockwise. */\n CCW = 1,\n}\n\n/**\n * Type guard for RotationDirection.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isRotationDirection(value: any): value is RotationDirection {\n return Object.values(RotationDirection).includes(value as RotationDirection);\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zaber/motion",
3
- "version": "8.2.0",
3
+ "version": "8.4.0",
4
4
  "description": "Zaber Motion Library is a multi-platform library used to operate Zaber devices.",
5
5
  "keywords": [],
6
6
  "main": "dist/lib/index.js",
@@ -78,11 +78,9 @@
78
78
  "node": ">=16.0.0"
79
79
  },
80
80
  "scripts": {
81
- "clean": "npm run clean-dist && node-pre-gyp clean",
82
81
  "install": "node-pre-gyp install --fallback-to-build",
83
82
  "pack": "npm pack",
84
83
  "build": "tsc --project tsconfig.build.json",
85
- "clean-dist": "rimraf dist",
86
84
  "generate-doc": "typedoc --out docs --target es6 --theme minimal --mode file src",
87
85
  "build-bindings": "node-pre-gyp clean configure build",
88
86
  "build-bindings-ia32": "node-pre-gyp configure build --target_arch=ia32",