GoWebScan API
GoWebScanSettings.h
Go to the documentation of this file.
1 /**
2 * @file GoWebScanSettings.h
3 * @brief Declares a GoWebScanProcess object.
4 *
5 * @internal
6 * Copyright (C) 2017-2026 by LMI Technologies Inc.
7 * Licensed under the MIT License.
8 * Redistributed files must retain the above copyright notice.
9 */
10 
11 #ifndef GO_WEB_SCAN_SETTINGS_H
12 #define GO_WEB_SCAN_SETTINGS_H
13 
15 #include <kApi/Data/kXml.h>
16 #include <kApi/Data/kArrayList.h>
17 #include <kApi/Data/kString.h>
18 
19 /**
20 * @class GoWebScanSettings
21 * @extends kObject
22 * @ingroup GoWebScanSdk-Config
23 * @brief Represents a container for user-configurable settings of the system. The class
24 * reads and writes the settings from/to an XML. These settings describe the
25 * configuration and orientation of the system, processing parameters, and desired
26 * outputs. The format of the XML is similar to the chroma+scan 3x00 station settings
27 * but is not directly equivalent as additional parameters have been added. However,
28 * for any fields that exist in both formats, the chroma+scan 3x00 values can be reused.
29 * The settings are divided into system-level settings (GoWebScanSettings),
30 * group settings (GoWebScanSettingsGroup), and sensor settings
31 * (GoWebScanSettingsSensor).
32 * @see GoWebScanSettingsGroup, GoWebScanSettingsSensor
33 */
35 
36 /**
37 * @class GoWebScanSettingsGroup
38 * @extends kObject
39 * @ingroup GoWebScanSdk-Config
40 * @brief Represents a container for user-configurable settings of a group within the
41 * system. Groups represent planes (top or bottom).
42 */
44 
45 /**
46 * @class GoWebScanSettingsSensor
47 * @extends kObject
48 * @ingroup GoWebScanSdk-Config
49 * @brief Represents a container for user-configurable settings of a sensor within the
50 * system. For systems with vision, a GoWebScanSettingsSensor object represents
51 * a pair of vision and profile sensors (sensor mounted together).
52 */
54 
55 /*
56 * GoWebScanSettings
57 */
58 
59 /**
60  * Constructs a GoWebScanSettings object.
61  *
62  * @public @memberof GoWebScanSettings
63  * @param settings Receives the constructed GoWebScanSettings object.
64  * @param allocator Memory allocator (or kNULL for default).
65  * @return Operation status.
66  */
67 GoWebScanFx(kStatus) GoWebScanSettings_Construct(GoWebScanSettings* settings, kAlloc allocator);
68 
69 /**
70  * Loads the settings XML from a specified path and constructs and initializes a
71  * GoWebScanSettings object with the values read from the XML.
72  *
73  * @public @memberof GoWebScanSettings
74  * @param settings Receives the loaded GoWebScanSettings object.
75  * @param fileName Path of the settings file.
76  * @param alloc Memory allocator (or kNULL for default).
77  * @return Operation status.
78  */
79 GoWebScanFx(kStatus) GoWebScanSettings_Load(GoWebScanSettings* settings, const kChar* fileName, kAlloc alloc);
80 
81 /**
82  * Stores the settings XML to a specified path.
83  *
84  * @public @memberof GoWebScanSettings
85  * @param settings GoWebScanSettings object.
86  * @param fileName Path of the settings file.
87  * @return Operation status.
88  */
89 GoWebScanFx(kStatus) GoWebScanSettings_Store(GoWebScanSettings settings, const kChar* fileName);
90 
91 /**
92  * Enables vision data in the system. If enabled, and if vision sensors are connected, the
93  * system will output vision system messages if a section is defined.
94  *
95  * @public @memberof GoWebScanSettings
96  * @param settings GoWebScanSettings object.
97  * @param enable Boolean to enable vision.
98  * @return Operation status.
99  */
100 GoWebScanFx(kStatus) GoWebScanSettings_EnableVision(GoWebScanSettings settings, kBool enable);
101 
102 /**
103  * Gets the flag for whether vision data is enabled. Refer to GoWebScanSettings_EnableVision().
104  *
105  * @public @memberof GoWebScanSettings
106  * @param settings GoWebScanSettings object.
107  * @return Boolean for whether vision is enabled.
108  */
110 
111 /**
112  * Enables tracheid data in the system. If enabled, and if tracheid-capable sensors are
113  * connected, the system will output tracheid system messages if a section is defined.
114  *
115  * @public @memberof GoWebScanSettings
116  * @param settings GoWebScanSettings object.
117  * @param enable Boolean to enable tracheid.
118  * @return Operation status.
119  */
120 GoWebScanFx(kStatus) GoWebScanSettings_EnableTracheid(GoWebScanSettings settings, kBool enable);
121 
122 /**
123 * Gets the flag for whether tracheid data is enabled.
124 *
125 * @public @memberof GoWebScanSettings
126 * @param settings GoWebScanSettings object.
127 * @return Boolean for whether tracheid is enabled.
128 */
130 
131 /**
132  * Sets the thread count for processing tasks concurrently. This field is optional; if not set,
133  * the thread count will be maximized to the number of CPU cores by default. Note that system
134  * calibration processing is not concurrent.
135  *
136  * @public @memberof GoWebScanSettings
137  * @param settings GoWebScanSettings object.
138  * @param value Number of threads.
139  * @return Operation status.
140  */
141 GoWebScanFx(kStatus) GoWebScanSettings_SetConcurrency(GoWebScanSettings settings, k32s value);
142 
143 /**
144  * Gets the thread count for processing tasks concurrently.
145  *
146  * @public @memberof GoWebScanSettings
147  * @param settings GoWebScanSettings object.
148  * @return Number of threads.
149  */
151 
152 /**
153  * Sets the encoder resolution in mils/tick. Represents the distance (mils) per encoder pulse.
154  * This value will be positive if the encoder count increases when the board travels in the
155  * forward direction. 4x quadrature decoding is assumed.
156  *
157  * @public @memberof GoWebScanSettings
158  * @param settings GoWebScanSettings object.
159  * @param value Encoder resolution (mils/tick).
160  * @return Operation status.
161  */
163 
164 /**
165  * Gets the encoder resolution in mils/tick. Refer to GoWebScanSettings_SetEncoderResolution().
166  *
167  * @public @memberof GoWebScanSettings
168  * @param settings GoWebScanSettings object.
169  * @return Encoder resolution (mils/tick).
170  */
172 
173 /**
174  * Enables simulating forward motion by overriding encoder values in data messages with
175  * simulated values. The simulated speed is set by GoWebScanSettings_SetSimulatedSpeed.
176  *
177  * @public @memberof GoWebScanSettings
178  * @param settings GoWebScanSettings object.
179  * @param value Enables an internal encoder simulator.
180  * @return Operation status.
181  */
183 
184 /**
185  * Gets the flag for whether the encoder simulator is enabled. Refer to GoWebScanSettings_SetEncoderSimulated().
186  *
187  * @public @memberof GoWebScanSettings
188  * @param settings GoWebScanSettings object.
189  * @return Boolean for whether the encoder simulator is enabled.
190  */
192 
193 /**
194  * Sets the simulated encoder speed. This is an optional field that can be used to simulate
195  * forward motion (mils/second). When this property is present in the settings file, GoWebScan
196  * will override the encoder values in data messages with simulated values that are based on
197  * time.
198  *
199  * @public @memberof GoWebScanSettings
200  * @param settings GoWebScanSettings object.
201  * @param value Simulated encoder speed (mils/second).
202  * @return Operation status.
203  */
205 
206 /**
207 * Gets the simulated encoder speed. Refer to GoWebScanSettings_SetSimulatedSpeed().
208 *
209 * @public @memberof GoWebScanSettings
210 * @param settings GoWebScanSettings object.
211 * @return Simulated encoder speed (mils/second).
212 */
214 
215 /**
216  * Sets the travel orientation which specifies the direction of conveyor movement: Moving Toward
217  * (1) or Moving Away (0). Moving Toward implies that objects on the conveyor are moving toward
218  * the observer when the system is viewed from the front.
219  *
220  * @public @memberof GoWebScanSettings
221  * @param settings GoWebScanSettings object.
222  * @param value Travel orientation.
223  * @return Operation status.
224  */
226 
227 /**
228  * Gets the travel orientation which specifies the direction of conveyor movement: Moving Toward
229  * (1) or Moving Away (0). Moving Toward implies that objects on the conveyor are moving toward
230  * the observer when the system is viewed from the front.
231  *
232  * @public @memberof GoWebScanSettings
233  * @param settings GoWebScanSettings object.
234  * @return Travel orientation.
235  */
237 
238 /**
239  * Sets the sensor Y orientation for a given plane: Facing Toward (1) or Facing Away (0). The
240  * sensor logo and labels are visible when sensors are facing toward.
241  *
242  * @public @memberof GoWebScanSettings
243  * @param settings GoWebScanSettings object.
244  * @param plane System plane (top or bottom).
245  * @param value Sensor Y orientation.
246  * @return Operation status.
247  */
249 
250 /**
251  * Gets the sensor Y orientation for a given plane: Facing Toward (1) or Facing Away (0). The
252  * sensor logo and labels are visible when sensors are facing toward.
253  *
254  * @public @memberof GoWebScanSettings
255  * @param settings GoWebScanSettings object.
256  * @param plane System plane (top or bottom).
257  * @return Sensor Y orientation.
258  */
260 
261 /**
262  * Sets the sensor X orientation which represents whether the X-axis (length) increasing from
263  * left-to-right (1) or right-to-left (0). In a left-to-right system (as viewed from the front),
264  * the zero reference is on the left and sensor indices increase left-to-right. In a right-to-
265  * left system, the zero reference is on the right and sensor indices increase right-to-left.
266  *
267  * @public @memberof GoWebScanSettings
268  * @param settings GoWebScanSettings object.
269  * @param value Sensor X orientation.
270  * @return Operation status.
271  */
273 
274 /**
275  * Gets the sensor X orientation. Refer to GoWebScanSettings_SetXOrientation().
276  *
277  * @public @memberof GoWebScanSettings
278  * @param settings GoWebScanSettings object.
279  * @return Sensor X orientation.
280  * @see GoWebScanSettings_SetXOrientation
281  */
283 
284 /**
285  * Sets whether GoWebScan should use the per-sensor X-center values provided in the settings
286  * file, or calculate them from sensor indices (e.g. 0:12000, 1:36000, 2:60000, ...).
287  *
288  * @public @memberof GoWebScanSettings
289  * @param settings GoWebScanSettings object.
290  * @param value Boolean to use X-centers.
291  * @return Operation status.
292  */
294 
295 /**
296  * Gets the flag for whether GoWebScan uses user-defined X-centers.
297  *
298  * @public @memberof GoWebScanSettings
299  * @param settings GoWebScanSettings object.
300  * @return Boolean to use X-centers.
301  */
303 
304 /**
305  * Sets the frame rate to configure profile sensors to, in Hz. Note that the vision frame
306  * rate will be calculated from the profile frame rate to ensure no gaps in vision coverage
307  * occur and that the vision sensors do not interfere with profile sensors.
308  *
309  * @public @memberof GoWebScanSettings
310  * @param settings GoWebScanSettings object.
311  * @param value Frame rate (Hz).
312  * @return Operation status.
313  */
315 
316 /**
317  * Gets the profile frame rate in Hz.
318  *
319  * @public @memberof GoWebScanSettings
320  * @param settings GoWebScanSettings object.
321  * @return Frame rate (Hz).
322  */
324 
325 /**
326  * Sets the profile exposure in microseconds.
327  *
328  * @public @memberof GoWebScanSettings
329  * @param settings GoWebScanSettings object.
330  * @param value Profile exposure (microseconds).
331  * @return Operation status.
332  */
334 
335 /**
336  * Gets the profile exposure in microseconds.
337  *
338  * @public @memberof GoWebScanSettings
339  * @param settings GoWebScanSettings object.
340  * @return Profile exposure (microseconds).
341  */
343 
344 /**
345 * Sets the top vision exposure in microseconds.
346 *
347 * @public @memberof GoWebScanSettings
348 * @param settings GoWebScanSettings object.
349 * @param value Top vision exposure (microseconds).
350 * @return Operation status.
351 */
353 
354 /**
355 * Sets the bottom vision exposure in microseconds.
356 *
357 * @public @memberof GoWebScanSettings
358 * @param settings GoWebScanSettings object.
359 * @param value Bottom vision exposure (microseconds).
360 * @return Operation status.
361 */
363 
364 /**
365 * Gets the top vision exposure in microseconds.
366 *
367 * @public @memberof GoWebScanSettings
368 * @param settings GoWebScanSettings object.
369 * @return Top vision exposure (microseconds).
370 */
372 
373 /**
374 * Gets the bottom vision exposure in microseconds.
375 *
376 * @public @memberof GoWebScanSettings
377 * @param settings GoWebScanSettings object.
378 * @return Bottom vision exposure (microseconds).
379 */
381 
382 /**
383 * Sets the tracheid exposure in microseconds.
384 *
385 * @public @memberof GoWebScanSettings
386 * @param settings GoWebScanSettings object.
387 * @param value Tracheid exposure (microseconds).
388 * @return Operation status.
389 */
391 
392 /**
393 * Gets the tracheid exposure in microseconds.
394 *
395 * @public @memberof GoWebScanSettings
396 * @param settings GoWebScanSettings object.
397 * @return Tracheid exposure (microseconds).
398 */
400 
401 /**
402 * Sets the system angle in degrees.
403 *
404 * @public @memberof GoWebScanSettings
405 * @param settings GoWebScanSettings object.
406 * @param value Angle (degrees).
407 * @return Operation status.
408 */
409 GoWebScanFx(kStatus) GoWebScanSettings_SetSystemAngle(GoWebScanSettings settings, k64f value);
410 
411 /**
412 * Gets the system angle in degrees.
413 *
414 * @public @memberof GoWebScanSettings
415 * @param settings GoWebScanSettings object.
416 * @return Angle (degrees).
417 */
419 
420 /**
421 * Sets the active area z lower boundary (mils).
422 *
423 * @public @memberof GoWebScanSettings
424 * @param settings GoWebScanSettings object.
425 * @param value Z lower bound (mils).
426 * @return Operation status.
427 */
428 GoWebScanFx(kStatus) GoWebScanSettings_SetActiveAreaZ(GoWebScanSettings settings, k32s value);
429 
430 /**
431 * Gets the active area z lower boundary (mils)
432 *
433 * @public @memberof GoWebScanSettings
434 * @param settings GoWebScanSettings object.
435 * @return Z lower bound (mils).
436 */
438 
439 /**
440 * Sets the active area z boundary height (mils).
441 *
442 * @public @memberof GoWebScanSettings
443 * @param settings GoWebScanSettings object.
444 * @param value Z boundary height (mils).
445 * @return Operation status.
446 */
448 
449 /**
450 * Gets the active area z boundary height (mils).
451 *
452 * @public @memberof GoWebScanSettings
453 * @param settings GoWebScanSettings object.
454 * @return Z boundary height (mils).
455 */
457 
458 /**
459 * Sets the profile X resolution (mils per profile pixel, along board length). Output data will be
460 * resampled to this resolution.
461 *
462 * @public @memberof GoWebScanSettings
463 * @param settings GoWebScanSettings object.
464 * @param value Profile X resolution (mils/pixel).
465 * @return Operation status.
466 */
468 
469 /**
470 * Gets the profile X resolution (mils per profile pixel, along board length). Output data will be
471 * resampled to this resolution.
472 *
473 * @public @memberof GoWebScanSettings
474 * @param settings GoWebScanSettings object.
475 * @return Profile X resolution (mils/pixel).
476 */
478 
479 /**
480 * Sets the profile Y resolution (mils per profile pixel, across board width). Output data will be
481 * resampled to this resolution.
482 *
483 * @public @memberof GoWebScanSettings
484 * @param settings GoWebScanSettings object.
485 * @param value Profile Y resolution (mils/pixel).
486 * @return Operation status.
487 */
489 
490 /**
491 * Gets the profile Y resolution (mils per profile pixel, across board width). Output data will be
492 * resampled to this resolution.
493 *
494 * @public @memberof GoWebScanSettings
495 * @param settings GoWebScanSettings object.
496 * @return Profile Y resolution (mils/pixel).
497 */
499 
500 /**
501 * Sets the vision X resolution (mils per vision pixel, along board length).
502 *
503 * @public @memberof GoWebScanSettings
504 * @param settings GoWebScanSettings object.
505 * @param value Vision X resolution (mils/pixel).
506 * @return Operation status.
507 */
509 
510 /**
511 * Gets the vision X resolution (mils per vision pixel, along board length). Output data will be
512 * resampled to this resolution.
513 *
514 * @public @memberof GoWebScanSettings
515 * @param settings GoWebScanSettings object.
516 * @return Vision X resolution (mils/pixel).
517 */
519 
520 /**
521 * Sets the vision Y resolution (mils per vision pixel, across board width). Output data will be
522 * resampled to this resolution.
523 *
524 * @public @memberof GoWebScanSettings
525 * @param settings GoWebScanSettings object.
526 * @param value Vision Y resolution (mils/pixel).
527 * @return Operation status.
528 */
530 
531 /**
532 * Gets the vision Y resolution (mils per vision pixel, across board width). Output data will be
533 * resampled to this resolution.
534 *
535 * @public @memberof GoWebScanSettings
536 * @param settings GoWebScanSettings object.
537 * @return Vision Y resolution (mils/pixel).
538 */
540 
541 /**
542 * Sets the vision X subsampling.
543 *
544 * @public @memberof GoWebScanSettings
545 * @param settings GoWebScanSettings object.
546 * @param value Vision X subsampling.
547 * @return Operation status.
548 */
550 
551 /**
552 * Gets the vision X subsampling.
553 *
554 * @public @memberof GoWebScanSettings
555 * @param settings GoWebScanSettings object.
556 * @return Vision X subsampling.
557 */
559 
560 /**
561 * Sets the tracheid X resolution (mils per tracheid pixel, along board length). Output data will be
562 * resampled to this resolution.
563 *
564 * @public @memberof GoWebScanSettings
565 * @param settings GoWebScanSettings object.
566 * @param value Tracheid X resolution (mils/pixel).
567 * @return Operation status.
568 */
570 
571 /**
572 * Gets the tracheid X resolution (mils per tracheid pixel, along board length). Output data will be
573 * resampled to this resolution.
574 *
575 * @public @memberof GoWebScanSettings
576 * @param settings GoWebScanSettings object.
577 * @return Tracheid X resolution (mils/pixel).
578 */
580 
581 /**
582 * Sets the tracheid Y resolution (mils per tracheid value, across board width). Output data will be
583 * resampled to this resolution.
584 *
585 * @public @memberof GoWebScanSettings
586 * @param settings GoWebScanSettings object.
587 * @param value Tracheid Y resolution (mils/pixel).
588 * @return Operation status.
589 */
591 
592 /**
593 * Gets the tracheid Y resolution (mils per tracheid value, across board width). Output data will be
594 * resampled to this resolution.
595 *
596 * @public @memberof GoWebScanSettings
597 * @param settings GoWebScanSettings object.
598 * @return Tracheid Y resolution (mils/pixel).
599 */
601 
602 /**
603  * Sets the width of the data (mils) included in each profile, vision, or tracheid output tile.
604  *
605  * @public @memberof GoWebScanSettings
606  * @param settings GoWebScanSettings object.
607  * @param value Tile width (mils).
608  * @return Operation status.
609  */
610 GoWebScanFx(kStatus) GoWebScanSettings_SetTileWidth(GoWebScanSettings settings, k32s value);
611 
612 /**
613  * Gets the width of the data (mils) included in each profile, vision, or tracheid output tile.
614  * @public @memberof GoWebScanSettings
615  * @param settings GoWebScanSettings object.
616  * @return Tile width (mils).
617  */
618 GoWebScanFx(k32s) GoWebScanSettings_TileWidth(GoWebScanSettings settings);
619 
620 /**
621  * Sets the maximum distance to fill gaps in data along the X-axis (mils). For all data types
622  * (profile, tracheid, vision), this value determines the maximum gap between cameras that will
623  * be filled by connecting the data from adjacent cameras. Gaps can occur when target objects
624  * are close to the sensors, or when sensors are mounted with space between each device. For
625  * profile and tracheid cameras, this value also determines the maximum x-distance for
626  * interpolation between two valid laser spots when resampling data within a single camera.
627  *
628  * @public @memberof GoWebScanSettings
629  * @param settings GoWebScanSettings object.
630  * @param value Gap fill distance (mils).
631  * @return Operation status.
632  */
633 GoWebScanFx(kStatus) GoWebScanSettings_SetGapFill(GoWebScanSettings settings, k32s value);
634 
635 /**
636 * Gets the maximum distance to fill gaps in data along the X-axis (mils). Refer to GoWebScanSettings_SetGapFill().
637 *
638 * @public @memberof GoWebScanSettings
639 * @param settings GoWebScanSettings object.
640 * @return Gap fill distance (mils).
641 */
642 GoWebScanFx(k32s) GoWebScanSettings_GapFill(GoWebScanSettings settings);
643 
644 /**
645  * Sets the maximum amount of redundant camera information that can be blended together at the x-
646  * boundary between two cameras (mils). Blending occurs only when the fields-of-view between
647  * adjacent cameras have non-zero overlap.
648  *
649  * @public @memberof GoWebScanSettings
650  * @param settings GoWebScanSettings object.
651  * @param value Blending distance (mils).
652  * @return Operation status.
653  */
655 
656 /**
657 * Gets the overlap blend distance in mils. Refer to GoWebScanSettings_SetOverlapBlend().
658 *
659 * @public @memberof GoWebScanSettings
660 * @param settings GoWebScanSettings object.
661 * @return Blending distance (mils).
662 */
664 
665 /**
666  * Sets the method used to resample profile points along the X-axis: Nearest Neighbor (0), or
667  * Linear Interpolation (1).
668  *
669  * @public @memberof GoWebScanSettings
670  * @param settings GoWebScanSettings object.
671  * @param value Interpolation method.
672  * @return Operation status.
673  */
675 
676 /**
677  * Gets the profile interpolation method: Nearest Neighbor (0), or Linear Interpolation (1).
678  *
679  * @public @memberof GoWebScanSettings
680  * @param settings GoWebScanSettings object.
681  * @return Interpolation method.
682  */
684 
685 /**
686  * Sets whether GoWebScan should remove profile points contained within obstruction regions from
687  * output data (1) or include all profile points output data (0).
688  *
689  * @public @memberof GoWebScanSettings
690  * @param settings GoWebScanSettings object.
691  * @param value Boolean to enable obstruction filter.
692  * @return Operation status.
693  */
695 
696 /**
697  * Gets flag for whether the obstruction filter is enabled.
698  *
699  * @public @memberof GoWebScanSettings
700  * @param settings GoWebScanSettings object.
701  * @return Boolean if obstruction filter is enabled.
702  */
704 
705 /**
706  * Sets whether GoWebScan should remove tracheid and vision data where there is no corresponding
707  * profile data (1) or include all data in detection output (0).
708  *
709  * @public @memberof GoWebScanSettings
710  * @param settings GoWebScanSettings object.
711  * @param value Boolean to enable the background filter.
712  * @return Operation status.
713  */
715 
716 /**
717 * Gets flag for whether the background filter is enabled. Refer to GoWebScanSettings_SetDetectBackgroundFilter().
718 *
719 * @public @memberof GoWebScanSettings
720 * @param settings GoWebScanSettings object.
721 * @return Boolean if background filter is enabled.
722 */
724 
725 /**
726  * Sets whether profile points which are along the board side edge and report an offset range from
727  * neighbouring spots should be corrected. Side edge spots are modified to report the range of the
728  * adjacent spot that is on the board, giving the board edge a 90 degree angle and more accurate
729  * length instead of a curved edge.
730  *
731  * @public @memberof GoWebScanSettings
732  * @param settings GoWebScanSettings object.
733  * @param value Boolean to enable side extension of the board.
734  * @return Operation status.
735  */
737 
738 /**
739  * Gets flag for whether extending the board side edge to correct for distortions is enabled.
740  * Refer to GoWebScanSettings_SetDetectSideExtension().
741  *
742  * @public @memberof GoWebScanSettings
743  * @param settings GoWebScanSettings object.
744  * @return Boolean if side extension is enabled.
745  */
747 
748 /**
749  * Sets the type of object detection trigger: Global (0) or Local (1). An object is
750  * detected when the amount of visible target material (measured along the X-axis) exceeds the
751  * TriggerLength threshold. With a local trigger, the visible target material must be connected
752  * (contiguous). With a global trigger, the total amount of visible target material in the
753  * system field-of-view is considered.
754  *
755  * @public @memberof GoWebScanSettings
756  * @param settings GoWebScanSettings object.
757  * @param value Detection trigger style.
758  * @return Operation status.
759  */
761 
762 /**
763  * Gets the detection trigger style. Refer to GoWebScanSettings_SetDetectTriggerStyle().
764  *
765  * @public @memberof GoWebScanSettings
766  * @param settings GoWebScanSettings object.
767  * @return Detection trigger style.
768  */
770 
771 /**
772  * Sets the length (mils) of material used to trigger object on/off events, not including
773  * material inside obstruction regions.
774  *
775  * @public @memberof GoWebScanSettings
776  * @param settings GoWebScanSettings object.
777  * @param value Detection trigger length (mils).
778  * @return Operation status.
779  */
781 
782 /**
783  * Gets the detection trigger length in mils. Refer to GoWebScanSettings_SetDetectTriggerLength().
784  *
785  * @public @memberof GoWebScanSettings
786  * @param settings GoWebScanSettings object.
787  * @return Detection trigger length (mils).
788  */
790 
791 /**
792  * Sets the size of the margins (mils) that will be added to the leading and trailing edge of
793  * each detected object.
794  *
795  * @public @memberof GoWebScanSettings
796  * @param settings GoWebScanSettings object.
797  * @param value Detection edge margin (mils).
798  * @return Operation status.
799  */
801 
802 /**
803  * Gets the detection edge margin in mils. Refer to GoWebScanSettings_SetDetectEdgeMargin().
804  *
805  * @public @memberof GoWebScanSettings
806  * @param settings GoWebScanSettings object.
807  * @return Detection edge margin (mils).
808  */
810 
811 /**
812  * Sets the maximum width of a detection output (mils), including edge margins. When objects
813  * exceed this width, they will be segmented into multiple output messages.
814  *
815  * @public @memberof GoWebScanSettings
816  * @param settings GoWebScanSettings object.
817  * @param value Detection maximum width (mils).
818  * @return Operation status.
819  */
821 
822 /**
823 * Gets the detection maximum width in mils. Refer to GoWebScanSettings_SetDetectMaxWidth().
824 *
825 * @public @memberof GoWebScanSettings
826 * @param settings GoWebScanSettings object.
827 * @return Detection maximum width (mils).
828 */
830 
831 /**
832  * Sets whether GoWebScan should attempt to remove or correct edge measurement anomalies (1) or
833  * leave them unaltered (0).
834  *
835  * @public @memberof GoWebScanSettings
836  * @param settings GoWebScanSettings object.
837  * @param value Boolean for whether the edge filter is enabled.
838  * @return Operation status.
839  */
841 
842 /**
843 * Gets a flag for whether the detection edge filter is enabled. Refer to GoWebScanSettings_SetDetectEdgeFilter().
844 *
845 * @public @memberof GoWebScanSettings
846 * @param settings GoWebScanSettings object.
847 * @return Boolean for whether the edge filter is enabled.
848 */
850 
851 /**
852  * Sets whether GoWebScan should attempt to detect calibration reference holes (1),
853  * or assume that sensors are mounted at their nominal locations along the X-axis (0). This
854  * setting applies to vision-enabled systems only and is used during system calibration.
855  *
856  * @public @memberof GoWebScanSettings
857  * @param settings GoWebScanSettings object.
858  * @param value Boolean for whether the detection of calibration locators is enabled.
859  * @return Operation status.
860  */
862 
863 /**
864 * Gets a flag for whether the detection of calibration locators is enabled.
865 * Refer to GoWebScanSettings_SetCalDetectLocators().
866 *
867 * @public @memberof GoWebScanSettings
868 * @param settings GoWebScanSettings object.
869 * @return Calibration locator detection enabled.
870 */
872 
873 /**
874 * Sets whether GoWebScan enables (1) or disables (0) the use of target intensities
875 * for each color channel during vision system calibration.
876 *
877 * @public @memberof GoWebScanSettings
878 * @param settings GoWebScanSettings object.
879 * @param value Boolean to enable target vision intensities.
880 * @return Operation status.
881 */
883 
884 /**
885  * Gets a flag for whether the use of target intensities for each color channel during vision
886  * system calibration is enabled.
887  *
888  * @public @memberof GoWebScanSettings
889  * @param settings GoWebScanSettings object.
890  * @return Boolean for whether target vision intensities are enabled.
891  */
893 
894 /**
895 * Sets the desired red intensity level for the calibration target (1 - 255). This is used
896 * during vision system calibration.
897 *
898 * @public @memberof GoWebScanSettings
899 * @param settings GoWebScanSettings object.
900 * @param value Red target intensity level.
901 * @return Operation status.
902 */
904 
905 /**
906 * Gets the target red intensity level for vision system calibration.
907 *
908 * @public @memberof GoWebScanSettings
909 * @param settings GoWebScanSettings object.
910 * @return Red target intensity level.
911 */
913 
914 /**
915 * Sets the desired green intensity level for the calibration target (1 - 255). This is used
916 * during vision system calibration.
917 *
918 * @public @memberof GoWebScanSettings
919 * @param settings GoWebScanSettings object.
920 * @param value Green target intensity level.
921 * @return Operation status.
922 */
924 
925 /**
926 * Gets the target green intensity level for vision system calibration.
927 *
928 * @public @memberof GoWebScanSettings
929 * @param settings GoWebScanSettings object.
930 * @return Green target intensity level.
931 */
933 
934 /**
935 * Sets the desired blue intensity level for the calibration target (1 - 255). This is used
936 * during vision system calibration.
937 *
938 * @public @memberof GoWebScanSettings
939 * @param settings GoWebScanSettings object.
940 * @param value Blue target intensity level.
941 * @return Operation status.
942 */
944 
945 /**
946 * Gets the target blue intensity level for vision system calibration.
947 *
948 * @public @memberof GoWebScanSettings
949 * @param settings GoWebScanSettings object.
950 * @return Blue target intensity level.
951 */
953 
954 /**
955  * Sets the offset applied to the X-coordinates of all data (profile, vision, tracheid) in Web
956  * or Detection mode (mils). This setting is used for X-alignment between multiple servers, and
957  * should be written by the user application at the end of system calibration. The X-reference
958  * for a single server is calculated during system calibration and available through
959  * GoWebScanCal_SystemXRef. The user application should calculate the overall X bias, which is
960  * done by averaging the X-references from all servers, and set the X-adjustment for each server
961  * as the X bias minus the server's own X-reference.
962  *
963  * @public @memberof GoWebScanSettings
964  * @param settings GoWebScanSettings object.
965  * @param value X adjustment offset (mils).
966  * @return Operation status.
967  */
969 
970 /**
971 * Gets the X adjustment offset in mils. Refer to GoWebScanSettings_SetCalXAdjustment() for details.
972 *
973 * @public @memberof GoWebScanSettings
974 * @param settings GoWebScanSettings object.
975 * @return X adjustment offset (mils).
976 */
978 
979 /**
980 * Sets the offset applied to the Y-coordinates of all data (profile, vision, tracheid) in Web
981 * or Detection mode (mils). This setting is used for Y-alignment between multiple servers, and
982 * should be written by the user application at the end of system calibration. The Y-reference
983 * for a single server is calculated during system calibration and available through
984 * GoWebScanCal_SystemYRef. The user application should calculate the overall Y bias, which is
985 * done by averaging the Y-references from all servers, and set the Y-adjustment for each server
986 * as the Y bias minus the server's own Y-reference.
987 *
988 * @public @memberof GoWebScanSettings
989 * @param settings GoWebScanSettings object.
990 * @param value Y adjustment offset (mils).
991 * @return Operation status.
992 */
994 
995 /**
996 * Gets the Y adjustment offset in mils. Refer to GoWebScanSettings_SetCalYAdjustment() for details.
997 *
998 * @public @memberof GoWebScanSettings
999 * @param settings GoWebScanSettings object.
1000 * @return Y adjustment offset (mils).
1001 */
1003 
1004 /**
1005  * Sets the divisor to use when calculating minimum Y-interval for retained data during
1006  * calibration data collection
1007  *
1008  * @public @memberof GoWebScanSettings
1009  * @param settings GoWebScanSettings object.
1010  * @param value Y internal divisor.
1011  * @return Operation status.
1012  */
1014 
1015 /**
1016  * Gets the Y interval divisor which is used when calculating minimum Y-interval for retained
1017  * data during calibration data collection
1018  *
1019  * @public @memberof GoWebScanSettings
1020  * @param settings GoWebScanSettings object.
1021  * @return Y internal divisor.
1022  */
1024 
1025 /**
1026  * Sets whether to manually remove regions from the calibration input data via user-defined
1027  * obstructions (1) or to automatically detect conveyor hardware regions (0).These regions are
1028  * specified via sensor obstructions (GoWebScanSettingsSensor_AddObstruction()) and typically
1029  * represent conveyor hardware regions. When this field is disabled, the calibration will
1030  * automatically detect conveyor hardware regions to remove from the input data.
1031  *
1032  * @public @memberof GoWebScanSettings
1033  * @param settings GoWebScanSettings object.
1034  * @param value Boolean to enable using user-defined obstructions during calibration.
1035  * @return Operation status.
1036  * @see GoWebScanSettingsSensor_AddObstruction
1037  */
1039 
1040 /**
1041 * Gets a flag for whether to manually remove regions from the calibration input data via
1042 * user-defined obstructions (1) or to automatically detect conveyor hardware regions (0).
1043 *
1044 * @public @memberof GoWebScanSettings
1045 * @param settings GoWebScanSettings object.
1046 * @return Boolean to enable using user-defined obstructions during calibration.
1047 */
1049 
1050 /**
1051 * Sets the lead Y margin in mils. This value is the amount of data collected in the Y
1052 * direction during calibration before the calibration bar. Recommended default value of 4000.
1053 *
1054 * @public @memberof GoWebScanSettings
1055 * @param settings GoWebScanSettings object.
1056 * @param value Lead Y margin (mils).
1057 * @return Operation status.
1058 */
1060 
1061 /**
1062 * Gets the lead Y margin in mils. This value is the amount of data collected in the Y
1063 * direction during calibration before the calibration bar. Recommended default value of 4000.
1064 *
1065 * @public @memberof GoWebScanSettings
1066 * @param settings GoWebScanSettings object.
1067 * @return Lead Y margin (mils).
1068 */
1070 
1071 /**
1072 * Sets the trail Y margin in mils. This value is the amount of data collected in the Y
1073 * direction during calibration after the calibration bar. Recommended default value of 4000.
1074 *
1075 * @public @memberof GoWebScanSettings
1076 * @param settings GoWebScanSettings object.
1077 * @param value Trail Y margin (mils).
1078 * @return Operation status.
1079 */
1081 
1082 /**
1083 * Gets the trail Y margin in mils. This value is the amount of data collected in the Y
1084 * direction during calibration after the calibration bar. Recommended default value of 4000.
1085 *
1086 * @public @memberof GoWebScanSettings
1087 * @param settings GoWebScanSettings object.
1088 * @return Trail Y margin (mils).
1089 */
1091 
1092 /**
1093  * Gets the number of groups (representing planes) in the system.
1094  *
1095  * @public @memberof GoWebScanSettings
1096  * @param settings GoWebScanSettings object.
1097  * @return Number of groups.
1098  */
1100 
1101 /**
1102  * Gets the GoWebScanSettingsGroup object representing a group at a specified index.
1103  *
1104  * @public @memberof GoWebScanSettings
1105  * @param settings GoWebScanSettings object.
1106  * @param index Group index.
1107  * @return GoWebScanSettingsGroup object representing group.
1108  */
1110 
1111 /**
1112  * Gets the number of sensors in the system.
1113  *
1114  * @public @memberof GoWebScanSettings
1115  * @param settings GoWebScanSettings object.
1116  * @return Number of sensors.
1117  */
1119 
1120 /**
1121  * Gets the GoWebScanSettingsSensor object representing a sensor at a specified index in the system.
1122  *
1123  * @public @memberof GoWebScanSettings
1124  * @param settings GoWebScanSettings object.
1125  * @param index Sensor index.
1126  * @return GoWebScanSettingsSensor object representing sensor.
1127  */
1129 
1130 /**
1131  * Gets the GoWebScanSettings file schema version.
1132  *
1133  * @public @memberof GoWebScanSettings
1134  * @param settings GoWebScanSettings object.
1135  * @return GoWebScanSettings file schema version.
1136  */
1138 
1139 /*
1140 * GoWebScanSettingsGroup
1141 */
1142 
1143 /**
1144  * Constructs a GoWebScanSettingsGroup object.
1145  *
1146  * @public @memberof GoWebScanSettingsGroup
1147  * @param group Receives the constructed GoWebScanSettingsGroup object.
1148  * @param parent Settings for the system the group is part of.
1149  * @param allocator Memory allocator (or kNULL for default).
1150  * @return Operation status.
1151  */
1153 
1154 /**
1155  * Sets the system plane for the group.
1156  *
1157  * @public @memberof GoWebScanSettingsGroup
1158  * @param group GoWebScanSettingsGroup object.
1159  * @param plane System plane
1160  * @return Operation status.
1161  */
1163 
1164 /**
1165  * Sets the number of sensors in the group.
1166  *
1167  * @public @memberof GoWebScanSettingsGroup
1168  * @param group GoWebScanSettingsGroup object.
1169  * @param count Number of sensors.
1170  * @return Operation status.
1171  */
1173 
1174 /**
1175  * Adds a section to the group. Sections are used to outputs of a specified plane and data type
1176  * spanning a specified region in X.
1177  *
1178  * @public @memberof GoWebScanSettingsGroup
1179  * @param group GoWebScanSettingsGroup object.
1180  * @param section Section to add to the group.
1181  * @return Operation status.
1182  */
1184 
1185 /**
1186  * Removes a section from the group. Sections are used to outputs of a specified plane and data type
1187  * spanning a specified region in X.
1188  *
1189  * @public @memberof GoWebScanSettingsGroup
1190  * @param group GoWebScanSettingsGroup object.
1191  * @param index Index of the section to remove.
1192  * @return Operation status.
1193  */
1195 
1196 /**
1197  * Clears all sections from the list.
1198  *
1199  * @public @memberof GoWebScanSettingsGroup
1200  * @param group GoWebScanSettingsGroup object.
1201  * @return Operation status.
1202  */
1204 
1205 /**
1206  * Adds a sensor, as defined by a GoWebScanSettingsSensor object, to the group.
1207  * @public @memberof GoWebScanSettingsGroup
1208  * @param group GoWebScanSettingsGroup object.
1209  * @param sensor Sensor to add to the group.
1210  * @return Operation status.
1211  */
1213 
1214 /**
1215 * Clears and disposes all sensors from the group.
1216 * @public @memberof GoWebScanSettingsGroup
1217 * @param group GoWebScanSettingsGroup object.
1218 * @return Operation status.
1219 */
1221 
1222 /**
1223  * Gets the number of sensors in the group.
1224  *
1225  * @public @memberof GoWebScanSettingsGroup
1226  * @param group GoWebScanSettingsGroup object.
1227  * @return Number of sensors in group.
1228  */
1230 
1231 /**
1232  * Gets the GoWebScanSettingsSensor object representing a sensor at a specified index
1233  * in the group.
1234  *
1235  * @public @memberof GoWebScanSettingsGroup
1236  * @param group GoWebScanSettingsGroup object.
1237  * @param index Zero-based index of the.
1238  * @return Sensor at the specified index.
1239  */
1241 
1242 /**
1243  * Gets the settings of the system the group is in.
1244  *
1245  * @public @memberof GoWebScanSettingsGroup
1246  * @param group GoWebScanSettingsGroup object.
1247  * @return System settings.
1248  */
1250 
1251 /**
1252  * Gets the system plane of a group.
1253  *
1254  * @public @memberof GoWebScanSettingsGroup
1255  * @param group GoWebScanSettingsGroup object.
1256  * @return System plane.
1257  */
1259 
1260 /**
1261  * Gets the number of sections defined for the group.
1262  *
1263  * @public @memberof GoWebScanSettingsGroup
1264  * @param group GoWebScanSettingsGroup object.
1265  * @return Number of sections in group.
1266  */
1268 
1269 /**
1270  * Gets a pointer to the section at a specified index.
1271  *
1272  * @public @memberof GoWebScanSettingsGroup
1273  * @param group GoWebScanSettingsGroup object.
1274  * @param index Section index.
1275  * @return Pointer to the section.
1276  */
1278 
1279 /**
1280  * Sets the section ID.
1281  *
1282  * @public @memberof GoWebScanSettingsGroup
1283  * @param group GoWebScanSettingsGroup object.
1284  * @param index Section index.
1285  * @param value Section ID.
1286  * @return Operation status.
1287  */
1289 
1290 /**
1291 * Gets the section ID.
1292 *
1293 * @public @memberof GoWebScanSettingsGroup
1294 * @param group GoWebScanSettingsGroup object.
1295 * @param index Section index.
1296 * @return Section ID
1297 */
1299 
1300 /**
1301  * Sets the section type. Profile (0), Vision (1), or Tracheid (2).
1302  *
1303  * @public @memberof GoWebScanSettingsGroup
1304  * @param group GoWebScanSettingsGroup object.
1305  * @param index Section index.
1306  * @param value Section type.
1307  * @return Operation status.
1308  */
1310 
1311 /**
1312  * Gets the section type. Profile (0), Vision (1), or Tracheid (2).
1313  *
1314  * @public @memberof GoWebScanSettingsGroup
1315  * @param group GoWebScanSettingsGroup object.
1316  * @param index Section index.
1317  * @return Section type.
1318  */
1320 
1321 /**
1322  * Sets the start of section along the X-axis (length), in system coordinates (mils).
1323  *
1324  * @public @memberof GoWebScanSettingsGroup
1325  * @param group GoWebScanSettingsGroup object.
1326  * @param index Section index.
1327  * @param value Section start along X-axis (mils).
1328  * @return Operation status.
1329  */
1331 
1332 /**
1333 * Gets the start of section along the X-axis (length), in system coordinates (mils).
1334 *
1335 * @public @memberof GoWebScanSettingsGroup
1336 * @param group GoWebScanSettingsGroup object.
1337 * @param index Section index.
1338 * @return Section start along X-axis (mils).
1339 */
1341 
1342 /**
1343 * Sets the end of section along the X-axis (length), in system coordinates (mils). Should be
1344 * greater than X0 set in GoWebScanSettingsGroup_SetSectionX0().
1345 *
1346 * @public @memberof GoWebScanSettingsGroup
1347 * @param group GoWebScanSettingsGroup object.
1348 * @param index Section index.
1349 * @param value Section end along X-axis (mils).
1350 * @return Operation status.
1351 */
1353 
1354 /**
1355 * Gets the end of section along the X-axis (length), in system coordinates (mils).
1356 *
1357 * @public @memberof GoWebScanSettingsGroup
1358 * @param group GoWebScanSettingsGroup object.
1359 * @param index Section index.
1360 * @return Section end along X-axis (mils).
1361 */
1363 
1364 
1365 /*
1366 * GoWebScanSettingsSensor
1367 */
1368 
1369 /**
1370 * Constructs a GoWebScanSettingsSensor object.
1371 *
1372 * @public @memberof GoWebScanSettingsSensor
1373 * @param sensor Receives the constructed GoWebScanSettingsSensor object.
1374 * @param allocator Memory allocator (or kNULL for default).
1375 * @return Operation status.
1376 */
1378 
1379 /**
1380  * Sets the parent group the sensor is in.
1381  *
1382  * @public @memberof GoWebScanSettingsSensor
1383  * @param sensor GoWebScanSettingsSensor object.
1384  * @param parent Parent group settings.
1385  * @return Operation status.
1386  */
1388 
1389 /**
1390  * Sets the index of the sensor within the group.
1391  *
1392  * @public @memberof GoWebScanSettingsSensor
1393  * @param sensor GoWebScanSettingsSensor object.
1394  * @param index Sensor index within group.
1395  * @return Operation status.
1396  */
1398 
1399 /**
1400  * Sets the serial number of the profile sensor in a paired profile-vision
1401  * GoWebScanSettingsSensor object (for systems with vision).
1402  *
1403  * @public @memberof GoWebScanSettingsSensor
1404  * @param sensor GoWebScanSettingsSensor object.
1405  * @param serialNumber Profile serial number.
1406  * @return Operation status.
1407  */
1409 
1410 /**
1411 * Sets the serial number of the vision sensor in a paired profile-vision
1412 * GoWebScanSettingsSensor object (for systems with vision). This field
1413 * does not need to be set if no vision is present in the system.
1414 *
1415 * @public @memberof GoWebScanSettingsSensor
1416 * @param sensor GoWebScanSettingsSensor object.
1417 * @param serialNumber Vision serial number.
1418 * @return Operation status.
1419 */
1421 
1422 /**
1423  * Sets whether the sensor is enabled.
1424  *
1425  * @public @memberof GoWebScanSettingsSensor
1426  * @param sensor GoWebScanSettingsSensor object.
1427  * @param enabled Boolean for whether sensor is enabled.
1428  * @return Operation status.
1429  */
1431 
1432 /**
1433  * Adds an obstruction to the sensor. An obstruction is defined as an ROI in the X-axis and Z-
1434  * axis (in the sensor's coordinate system) that is ignored by the system. If there are any
1435  * objects that regularly appear within the field of view of the sensors, such as chain runners,
1436  * the zones in which those objects appear must be identified before the system will operate
1437  * correctly in Detection mode. Multiple obstructions can be defined for a single sensor.
1438  *
1439  * @public @memberof GoWebScanSettingsSensor
1440  * @param sensor GoWebScanSettingsSensor object.
1441  * @param obstruction Pointer to the obstruction to add.
1442  * @return Operation status.
1443  * @see GoWebScanObstruction
1444  */
1446 
1447 /**
1448  * Removes an obstruction from the sensor's list of obstructions.
1449  *
1450  * @public @memberof GoWebScanSettingsSensor
1451  * @param sensor GoWebScanSettingsSensor object.
1452  * @param index Index of the obstruction.
1453  * @return Operation status.
1454  */
1456 
1457 /**
1458  * Removes all obstructions defined for a sensor.
1459  *
1460  * @public @memberof GoWebScanSettingsSensor
1461  * @param sensor GoWebScanSettingsSensor object.
1462  * @return Operation status.
1463  */
1465 
1466 /**
1467  * Gets the settings file of the parent group the sensor is part of.
1468  *
1469  * @public @memberof GoWebScanSettingsSensor
1470  * @param sensor GoWebScanSettingsSensor object.
1471  * @return GoWebScanSettingsGroup object representing parent group.
1472  */
1474 
1475 /**
1476  * Gets the system plane the sensor is located in.
1477  *
1478  * @public @memberof GoWebScanSettingsSensor
1479  * @param sensor GoWebScanSettingsSensor object.
1480  * @return System plane of sensor.
1481  */
1483 
1484 /**
1485 * Gets the index of the sensor with respect to the group.
1486 *
1487 * @public @memberof GoWebScanSettingsSensor
1488 * @param sensor GoWebScanSettingsSensor object.
1489 * @return Index of sensor in group.
1490 */
1492 
1493 /**
1494  * Gets the serial number of the sensor. For systems with vision where the
1495  * GoWebScanSettingsSensor object represents a profile-vision pair, this
1496  * returns the profile serial number.
1497  *
1498  * @public @memberof GoWebScanSettingsSensor
1499  * @param sensor GoWebScanSettingsSensor object.
1500  * @return Profile serial number.
1501  */
1503 
1504 /**
1505  * Gets the serial number of the vision sensor in a profile-vision pair (for vision systems
1506  * only). If the system has no vision, this will return GO_WEB_SCAN_UNASSIGNED_SERIAL_NUMBER.
1507  *
1508  * @public @memberof GoWebScanSettingsSensor
1509  * @param sensor GoWebScanSettingsSensor object.
1510  * @return Vision serial number.
1511  */
1513 
1514 /**
1515 * Gets a flag for whether the sensor is enabled.
1516 *
1517 * @public @memberof GoWebScanSettingsSensor
1518 * @param sensor GoWebScanSettingsSensor object.
1519 * @return Boolean for whether sensor is enabled.
1520 */
1522 
1523 /**
1524  * Gets the effective X center of the sensor in system coordinates (mils). If
1525  * GoWebScanSettings_SetUseXCenters has been enabled and an X center has been set via
1526  * GoWebScanSettingsSensor_SetXCenter, this will be returned, otherwise the X center will be
1527  * calculated assuming nominal 24'' spacing between sensor centers (e.g., 12'', 36'', etc..).
1528  *
1529  * @public @memberof GoWebScanSettingsSensor
1530  * @param sensor GoWebScanSettingsSensor object.
1531  * @return Effective X center (mils).
1532  */
1534 
1535 /**
1536  * Gets the number of obstructions defined for a sensor.
1537  *
1538  * @public @memberof GoWebScanSettingsSensor
1539  * @param sensor GoWebScanSettingsSensor object.
1540  * @return Number of obstructions.
1541  */
1543 
1544 /**
1545  * Gets the obstruction at a specified index.
1546  *
1547  * @public @memberof GoWebScanSettingsSensor
1548  * @param sensor GoWebScanSettingsSensor object.
1549  * @param index Obstruction index.
1550  * @return Pointer to the obstruction.
1551  */
1553 
1554 /**
1555  * Gets the array list of obstructions defined for a sensor.
1556  *
1557  * @public @memberof GoWebScanSettingsSensor
1558  * @param sensor GoWebScanSettingsSensor object.
1559  * @return Array list of obstructions. Type GoWebScanObstruction.
1560  */
1562 
1563 /**
1564  * Sets the mounting location of the sensor, in system coordinates (mils). This setting
1565  * has no effect unless GoWebScanSettings_SetUseXCenters() is also enabled.
1566  *
1567  * @public @memberof GoWebScanSettingsSensor
1568  * @param sensor GoWebScanSettingsSensor object.
1569  * @param value X center of sensor (mils).
1570  * @return Operation status.
1571  */
1573 
1574 /**
1575  * Gets the mounting location of the sensor, in system coordinates (mils). This setting
1576  * has no effect unless GoWebScanSettings_SetUseXCenters() is also enabled.
1577  *
1578  * @public @memberof GoWebScanSettingsSensor
1579  * @param sensor GoWebScanSettingsSensor object.
1580  * @return X center of sensor (mils).
1581  */
1583 
1584 /**
1585  * Sets the start of an obstruction zone along the X-axis (length), in sensor coordinates (mils).
1586  *
1587  * @public @memberof GoWebScanSettingsSensor
1588  * @param sensor GoWebScanSettingsSensor object.
1589  * @param index Obstruction index.
1590  * @param value Start of obstruction in X (mils).
1591  * @return Operation status.
1592  */
1594 
1595 /**
1596 * Gets the start of an obstruction zone along the X-axis (length), in sensor coordinates (mils).
1597 *
1598 * @public @memberof GoWebScanSettingsSensor
1599 * @param sensor GoWebScanSettingsSensor object.
1600 * @param index Obstruction index.
1601 * @return Start of obstruction in X (mils).
1602 */
1604 
1605 /**
1606 * Sets the end of an obstruction zone along the X-axis (length), in sensor coordinates (mils).
1607 *
1608 * @public @memberof GoWebScanSettingsSensor
1609 * @param sensor GoWebScanSettingsSensor object.
1610 * @param index Obstruction index.
1611 * @param value End of obstruction in X (mils).
1612 * @return Operation status.
1613 */
1615 
1616 /**
1617 * Gets the end of an obstruction zone along the X-axis (length), in sensor coordinates (mils).
1618 *
1619 * @public @memberof GoWebScanSettingsSensor
1620 * @param sensor GoWebScanSettingsSensor object.
1621 * @param index Obstruction index.
1622 * @return End of obstruction in X (mils).
1623 */
1625 
1626 /**
1627 * Sets the start of an obstruction zone along the Z-axis (height), in sensor coordinates (mils).
1628 *
1629 * @public @memberof GoWebScanSettingsSensor
1630 * @param sensor GoWebScanSettingsSensor object.
1631 * @param index Obstruction index.
1632 * @param value Start of obstruction in Z (mils).
1633 * @return Operation status.
1634 */
1636 
1637 /**
1638 * Gets the start of an obstruction zone along the Z-axis (height), in sensor coordinates (mils).
1639 *
1640 * @public @memberof GoWebScanSettingsSensor
1641 * @param sensor GoWebScanSettingsSensor object.
1642 * @param index Obstruction index.
1643 * @return Start of obstruction in Z (mils).
1644 */
1646 
1647 /**
1648 * Sets the end of an obstruction zone along the Z-axis (height), in sensor coordinates (mils).
1649 *
1650 * @public @memberof GoWebScanSettingsSensor
1651 * @param sensor GoWebScanSettingsSensor object.
1652 * @param index Obstruction index.
1653 * @param value End of obstruction in Z (mils).
1654 * @return Operation status.
1655 */
1657 
1658 /**
1659 * Gets the end of an obstruction zone along the Z-axis (height), in sensor coordinates (mils).
1660 *
1661 * @public @memberof GoWebScanSettingsSensor
1662 * @param sensor GoWebScanSettingsSensor object.
1663 * @param index Obstruction index.
1664 * @return End of obstruction in Z (mils).
1665 */
1667 
1668 #include <GoWebScanSdk/GoWebScanSettings.x.h>
1669 
1670 #endif
kStatus GoWebScanSettings_SetActiveAreaHeight(GoWebScanSettings settings, k32s value)
Sets the active area z boundary height (mils).
k32s GoWebScanSettings_ActiveAreaHeight(GoWebScanSettings settings)
Gets the active area z boundary height (mils).
kStatus GoWebScanSettings_SetCalUseVisionIntensity(GoWebScanSettings settings, kBool value)
Sets whether GoWebScan enables (1) or disables (0) the use of target intensities for each color chann...
kStatus GoWebScanSettingsSensor_RemoveObstruction(GoWebScanSettingsSensor sensor, kSize index)
Removes an obstruction from the sensor's list of obstructions.
k64f GoWebScanSettings_SystemAngle(GoWebScanSettings settings)
Gets the system angle in degrees.
kStatus GoWebScanSettingsSensor_SetEnabled(GoWebScanSettingsSensor sensor, kBool enabled)
Sets whether the sensor is enabled.
kStatus GoWebScanSettings_Store(GoWebScanSettings settings, const kChar *fileName)
Stores the settings XML to a specified path.
k32s GoWebScanSettings_TracheidYResolution(GoWebScanSettings settings)
Gets the tracheid Y resolution (mils per tracheid value, across board width).
kStatus GoWebScanSettingsGroup_SetPlane(GoWebScanSettingsGroup group, GoWebScanSystemPlane plane)
Sets the system plane for the group.
kStatus GoWebScanSettings_SetCalYAdjustment(GoWebScanSettings settings, k32s value)
Sets the offset applied to the Y-coordinates of all data (profile, vision, tracheid) in Web or Detect...
Represents a style of triggering the start of an object when in detection mode. The start of an objec...
kStatus GoWebScanSettings_SetDetectTriggerStyle(GoWebScanSettings settings, GoWebScanDetectionStyle value)
Sets the type of object detection trigger: Global (0) or Local (1).
Represents a style of interpolation used during profile resampling.
kStatus GoWebScanSettingsSensor_ClearObstructions(GoWebScanSettingsSensor sensor)
Removes all obstructions defined for a sensor.
kStatus GoWebScanSettingsSensor_SetProfileSerialNumber(GoWebScanSettingsSensor sensor, k32s serialNumber)
Sets the serial number of the profile sensor in a paired profile-vision GoWebScanSettingsSensor objec...
kStatus GoWebScanSettings_SetCalVisionIntensityB(GoWebScanSettings settings, k8u value)
Sets the desired blue intensity level for the calibration target (1 - 255).
kSize GoWebScanSettings_SensorCount(GoWebScanSettings settings)
Gets the number of sensors in the system.
k32s GoWebScanSettingsSensor_ObstructionZ1(GoWebScanSettingsSensor sensor, kSize index)
Gets the end of an obstruction zone along the Z-axis (height), in sensor coordinates (mils)...
k32s GoWebScanSettingsSensor_ObstructionX1(GoWebScanSettingsSensor sensor, kSize index)
Gets the end of an obstruction zone along the X-axis (length), in sensor coordinates (mils)...
k32s GoWebScanSettingsSensor_ObstructionX0(GoWebScanSettingsSensor sensor, kSize index)
Gets the start of an obstruction zone along the X-axis (length), in sensor coordinates (mils)...
kStatus GoWebScanSettingsGroup_SetSectionX1(GoWebScanSettingsGroup group, kSize index, k32s value)
Sets the end of section along the X-axis (length), in system coordinates (mils).
GoWebScanObstruction * GoWebScanSettingsSensor_ObstructionAt(GoWebScanSettingsSensor sensor, kSize index)
Gets the obstruction at a specified index.
kStatus GoWebScanSettingsSensor_SetParent(GoWebScanSettingsSensor sensor, GoWebScanSettingsGroup parent)
Sets the parent group the sensor is in.
kStatus GoWebScanSettings_SetVisionExposureTop(GoWebScanSettings settings, k32u value)
Sets the top vision exposure in microseconds.
k64f GoWebScanSettings_CalYIntervalDivisor(GoWebScanSettings settings)
Gets the Y interval divisor which is used when calculating minimum Y-interval for retained data durin...
kStatus GoWebScanSettings_SetCalYIntervalDivisor(GoWebScanSettings settings, k64f value)
Sets the divisor to use when calculating minimum Y-interval for retained data during calibration data...
kStatus GoWebScanSettingsSensor_SetVisionSerialNumber(GoWebScanSettingsSensor sensor, k32s serialNumber)
Sets the serial number of the vision sensor in a paired profile-vision GoWebScanSettingsSensor object...
kStatus GoWebScanSettings_SetSimulatedSpeed(GoWebScanSettings settings, k64f value)
Sets the simulated encoder speed.
kStatus GoWebScanSettingsGroup_AddSensor(GoWebScanSettingsGroup group, GoWebScanSettingsSensor sensor)
Adds a sensor, as defined by a GoWebScanSettingsSensor object, to the group.
kBool GoWebScanSettings_DetectEdgeFilter(GoWebScanSettings settings)
Gets a flag for whether the detection edge filter is enabled.
kStatus GoWebScanSettingsSensor_Construct(GoWebScanSettingsSensor *sensor, kAlloc allocator)
Constructs a GoWebScanSettingsSensor object.
kStatus GoWebScanSettingsGroup_ClearSensors(GoWebScanSettingsGroup group)
Clears and disposes all sensors from the group.
k32s GoWebScanSettings_CalXAdjustment(GoWebScanSettings settings)
Gets the X adjustment offset in mils.
GoWebScanSettings GoWebScanSettingsGroup_Parent(GoWebScanSettingsGroup group)
Gets the settings of the system the group is in.
kStatus GoWebScanSettingsGroup_SetSectionType(GoWebScanSettingsGroup group, kSize index, k32s value)
Sets the section type.
kStatus GoWebScanSettings_SetUseObstructions(GoWebScanSettings settings, kBool value)
Sets whether to manually remove regions from the calibration input data via user-defined obstructions...
k32s GoWebScanSettings_TracheidXResolution(GoWebScanSettings settings)
Gets the tracheid X resolution (mils per tracheid pixel, along board length).
k32s GoWebScanSettings_GapFill(GoWebScanSettings settings)
Gets the maximum distance to fill gaps in data along the X-axis (mils).
GoWebScanSettingsSensor GoWebScanSettings_SensorAt(GoWebScanSettings settings, kSSize index)
Gets the GoWebScanSettingsSensor object representing a sensor at a specified index in the system...
Represents a container for user-configurable settings of the system. The class reads and writes the s...
kStatus GoWebScanSettingsSensor_AddObstruction(GoWebScanSettingsSensor sensor, const GoWebScanObstruction *obstruction)
Adds an obstruction to the sensor.
Essential GoWebScan declarations.
GoWebScanSystemPlane GoWebScanSettingsGroup_Plane(GoWebScanSettingsGroup group)
Gets the system plane of a group.
kStatus GoWebScanSettings_SetObstructionFilter(GoWebScanSettings settings, kBool value)
Sets whether GoWebScan should remove profile points contained within obstruction regions from output ...
kStatus GoWebScanSettings_SetGapFill(GoWebScanSettings settings, k32s value)
Sets the maximum distance to fill gaps in data along the X-axis (mils).
kStatus GoWebScanSettings_SetProfileInterpolation(GoWebScanSettings settings, GoWebScanInterpolation value)
Sets the method used to resample profile points along the X-axis: Nearest Neighbor (0)...
kStatus GoWebScanSettingsSensor_SetObstructionZ1(GoWebScanSettingsSensor sensor, kSize index, k32s value)
Sets the end of an obstruction zone along the Z-axis (height), in sensor coordinates (mils)...
kStatus GoWebScanSettings_SetTravelOrientation(GoWebScanSettings settings, k32s value)
Sets the travel orientation which specifies the direction of conveyor movement: Moving Toward (1) or ...
kStatus GoWebScanSettings_SetTracheidExposure(GoWebScanSettings settings, k32u value)
Sets the tracheid exposure in microseconds.
k32s GoWebScanSettings_VisionYResolution(GoWebScanSettings settings)
Gets the vision Y resolution (mils per vision pixel, across board width).
k32s GoWebScanSettingsSensor_ProfileSerialNumber(GoWebScanSettingsSensor sensor)
Gets the serial number of the sensor.
kArrayList GoWebScanSettingsSensor_Obstructions(GoWebScanSettingsSensor sensor)
Gets the array list of obstructions defined for a sensor.
kStatus GoWebScanSettings_SetVisionExposureBottom(GoWebScanSettings settings, k32u value)
Sets the bottom vision exposure in microseconds.
k64f GoWebScanSettings_SimulatedSpeed(GoWebScanSettings settings)
Gets the simulated encoder speed.
kStatus GoWebScanSettings_SetProfileFrameRate(GoWebScanSettings settings, k32u value)
Sets the frame rate to configure profile sensors to, in Hz.
k32s GoWebScanSettings_CalYAdjustment(GoWebScanSettings settings)
Gets the Y adjustment offset in mils.
kStatus GoWebScanSettings_SetDetectMaxWidth(GoWebScanSettings settings, k32s value)
Sets the maximum width of a detection output (mils), including edge margins.
kBool GoWebScanSettingsSensor_Enabled(GoWebScanSettingsSensor sensor)
Gets a flag for whether the sensor is enabled.
k32s GoWebScanSettingsGroup_SectionType(GoWebScanSettingsGroup group, kSize index)
Gets the section type.
k32s GoWebScanSettings_DetectMaxWidth(GoWebScanSettings settings)
Gets the detection maximum width in mils.
kStatus GoWebScanSettingsSensor_SetXCenter(GoWebScanSettingsSensor sensor, k32s value)
Sets the mounting location of the sensor, in system coordinates (mils).
k32s GoWebScanSettingsGroup_SectionId(GoWebScanSettingsGroup group, kSize index)
Gets the section ID.
kStatus GoWebScanSettings_SetCalVisionIntensityR(GoWebScanSettings settings, k8u value)
Sets the desired red intensity level for the calibration target (1 - 255).
kBool GoWebScanSettings_DetectBackgroundFilter(GoWebScanSettings settings)
Gets flag for whether the background filter is enabled.
k32u GoWebScanSettings_ProfileExposure(GoWebScanSettings settings)
Gets the profile exposure in microseconds.
k32s GoWebScanSettings_CalLeadYMargin(GoWebScanSettings settings)
Gets the lead Y margin in mils.
kBool GoWebScanSettings_UseXCenters(GoWebScanSettings settings)
Gets the flag for whether GoWebScan uses user-defined X-centers.
kStatus GoWebScanSettings_SetEncoderSimulated(GoWebScanSettings settings, kBool value)
Enables simulating forward motion by overriding encoder values in data messages with simulated values...
kStatus GoWebScanSettings_SetVisionYResolution(GoWebScanSettings settings, k32s value)
Sets the vision Y resolution (mils per vision pixel, across board width).
kBool GoWebScanSettings_CalUseVisionIntensity(GoWebScanSettings settings)
Gets a flag for whether the use of target intensities for each color channel during vision system cal...
k32u GoWebScanSettings_TracheidExposure(GoWebScanSettings settings)
Gets the tracheid exposure in microseconds.
GoWebScanInterpolation GoWebScanSettings_ProfileInterpolation(GoWebScanSettings settings)
Gets the profile interpolation method: Nearest Neighbor (0), or Linear Interpolation (1)...
GoWebScanSection * GoWebScanSettingsGroup_SectionAt(GoWebScanSettingsGroup group, kSize index)
Gets a pointer to the section at a specified index.
k32s GoWebScanSettings_OverlapBlend(GoWebScanSettings settings)
Gets the overlap blend distance in mils.
kStatus GoWebScanSettings_SetVisionXResolution(GoWebScanSettings settings, k32s value)
Sets the vision X resolution (mils per vision pixel, along board length).
kStatus GoWebScanSettings_SetProfileExposure(GoWebScanSettings settings, k32u value)
Sets the profile exposure in microseconds.
kBool GoWebScanSettings_TracheidEnabled(GoWebScanSettings settings)
Gets the flag for whether tracheid data is enabled.
k32s GoWebScanSettings_DetectEdgeMargin(GoWebScanSettings settings)
Gets the detection edge margin in mils.
kStatus GoWebScanSettingsGroup_Construct(GoWebScanSettingsGroup *group, GoWebScanSettings parent, kAlloc allocator)
Constructs a GoWebScanSettingsGroup object.
kBool GoWebScanSettings_CalUseObstructions(GoWebScanSettings settings)
Gets a flag for whether to manually remove regions from the calibration input data via user-defined o...
GoWebScanSystemPlane GoWebScanSettingsSensor_Plane(GoWebScanSettingsSensor sensor)
Gets the system plane the sensor is located in.
Represents a container for user-configurable settings of a group within the system. Groups represent planes (top or bottom).
kStatus GoWebScanSettings_SetXOrientation(GoWebScanSettings settings, k32s value)
Sets the sensor X orientation which represents whether the X-axis (length) increasing from left-to-ri...
k32s GoWebScanSettings_VisionXResolution(GoWebScanSettings settings)
Gets the vision X resolution (mils per vision pixel, along board length).
kStatus GoWebScanSettings_SetTracheidYResolution(GoWebScanSettings settings, k32s value)
Sets the tracheid Y resolution (mils per tracheid value, across board width).
kStatus GoWebScanSettings_SetDetectEdgeFilter(GoWebScanSettings settings, kBool value)
Sets whether GoWebScan should attempt to remove or correct edge measurement anomalies (1) or leave th...
kStatus GoWebScanSettings_Construct(GoWebScanSettings *settings, kAlloc allocator)
Constructs a GoWebScanSettings object.
kStatus GoWebScanSettingsGroup_SetSensorCount(GoWebScanSettingsGroup group, kSize count)
Sets the number of sensors in the group.
kStatus GoWebScanSettingsGroup_SetSectionX0(GoWebScanSettingsGroup group, kSize index, k32s value)
Sets the start of section along the X-axis (length), in system coordinates (mils).
kStatus GoWebScanSettings_SetCalTrailYMargin(GoWebScanSettings settings, k32s value)
Sets the trail Y margin in mils.
kStatus GoWebScanSettings_SetTileWidth(GoWebScanSettings settings, k32s value)
Sets the width of the data (mils) included in each profile, vision, or tracheid output tile...
k32s GoWebScanSettings_TileWidth(GoWebScanSettings settings)
Gets the width of the data (mils) included in each profile, vision, or tracheid output tile...
k32s GoWebScanSettings_Concurrency(GoWebScanSettings settings)
Gets the thread count for processing tasks concurrently.
kStatus GoWebScanSettings_SetProfileXResolution(GoWebScanSettings settings, k32s value)
Sets the profile X resolution (mils per profile pixel, along board length).
kBool GoWebScanSettings_ObstructionFilter(GoWebScanSettings settings)
Gets flag for whether the obstruction filter is enabled.
k64f GoWebScanSettings_EncoderResolution(GoWebScanSettings settings)
Gets the encoder resolution in mils/tick.
GoWebScanSettingsSensor GoWebScanSettingsGroup_SensorAt(GoWebScanSettingsGroup group, kSize index)
Gets the GoWebScanSettingsSensor object representing a sensor at a specified index in the group...
k8u GoWebScanSettings_CalVisionIntensityG(GoWebScanSettings settings)
Gets the target green intensity level for vision system calibration.
kStatus GoWebScanSettingsGroup_ClearSections(GoWebScanSettingsGroup group)
Clears all sections from the list.
kStatus GoWebScanSettings_SetProfileYResolution(GoWebScanSettings settings, k32s value)
Sets the profile Y resolution (mils per profile pixel, across board width).
k32s GoWebScanSettings_ProfileXResolution(GoWebScanSettings settings)
Gets the profile X resolution (mils per profile pixel, along board length).
k32s GoWebScanSettings_TravelOrientation(GoWebScanSettings settings)
Gets the travel orientation which specifies the direction of conveyor movement: Moving Toward (1) or ...
kStatus GoWebScanSettings_EnableTracheid(GoWebScanSettings settings, kBool enable)
Enables tracheid data in the system.
kSize GoWebScanSettings_GroupCount(GoWebScanSettings settings)
Gets the number of groups (representing planes) in the system.
kSize GoWebScanSettingsSensor_ObstructionCount(GoWebScanSettingsSensor sensor)
Gets the number of obstructions defined for a sensor.
kStatus GoWebScanSettingsGroup_RemoveSection(GoWebScanSettingsGroup group, kSize index)
Removes a section from the group.
kStatus GoWebScanSettingsSensor_SetObstructionZ0(GoWebScanSettingsSensor sensor, kSize index, k32s value)
Sets the start of an obstruction zone along the Z-axis (height), in sensor coordinates (mils)...
k32s GoWebScanSettings_SensorYOrientation(GoWebScanSettings settings, k32s plane)
Gets the sensor Y orientation for a given plane: Facing Toward (1) or Facing Away (0)...
Represents the top or bottom plane of the system.
k8u GoWebScanSettings_CalVisionIntensityB(GoWebScanSettings settings)
Gets the target blue intensity level for vision system calibration.
k32s GoWebScanSettingsSensor_ObstructionZ0(GoWebScanSettingsSensor sensor, kSize index)
Gets the start of an obstruction zone along the Z-axis (height), in sensor coordinates (mils)...
k32u GoWebScanSettings_VisionExposureBottom(GoWebScanSettings settings)
Gets the bottom vision exposure in microseconds.
k32s GoWebScanSettings_ActiveAreaZ(GoWebScanSettings settings)
Gets the active area z lower boundary (mils)
GoWebScanSettingsGroup GoWebScanSettings_GroupAt(GoWebScanSettings settings, kSize index)
Gets the GoWebScanSettingsGroup object representing a group at a specified index. ...
k32u GoWebScanSettings_SchemaVersion(GoWebScanSettings settings)
Gets the GoWebScanSettings file schema version.
GoWebScanDetectionStyle GoWebScanSettings_DetectTriggerStyle(GoWebScanSettings settings)
Gets the detection trigger style.
kSize GoWebScanSettingsGroup_SensorCount(GoWebScanSettingsGroup group)
Gets the number of sensors in the group.
kStatus GoWebScanSettings_SetCalLeadYMargin(GoWebScanSettings settings, k32s value)
Sets the lead Y margin in mils.
kStatus GoWebScanSettings_SetSensorYOrientation(GoWebScanSettings settings, GoWebScanSystemPlane plane, k32s value)
Sets the sensor Y orientation for a given plane: Facing Toward (1) or Facing Away (0)...
kStatus GoWebScanSettings_SetUseXCenters(GoWebScanSettings settings, kBool value)
Sets whether GoWebScan should use the per-sensor X-center values provided in the settings file...
kBool GoWebScanSettings_DetectSideExtension(GoWebScanSettings settings)
Gets flag for whether extending the board side edge to correct for distortions is enabled...
kStatus GoWebScanSettings_SetConcurrency(GoWebScanSettings settings, k32s value)
Sets the thread count for processing tasks concurrently.
k8u GoWebScanSettings_CalVisionIntensityR(GoWebScanSettings settings)
Gets the target red intensity level for vision system calibration.
k32s GoWebScanSettingsGroup_SectionX0(GoWebScanSettingsGroup group, kSize index)
Gets the start of section along the X-axis (length), in system coordinates (mils).
kStatus GoWebScanSettings_SetDetectSideExtension(GoWebScanSettings settings, kBool value)
Sets whether profile points which are along the board side edge and report an offset range from neigh...
kSize GoWebScanSettingsGroup_SectionCount(GoWebScanSettingsGroup group)
Gets the number of sections defined for the group.
k32s GoWebScanSettings_CalTrailYMargin(GoWebScanSettings settings)
Gets the trail Y margin in mils.
kStatus GoWebScanSettingsSensor_SetObstructionX0(GoWebScanSettingsSensor sensor, kSize index, k32s value)
Sets the start of an obstruction zone along the X-axis (length), in sensor coordinates (mils)...
Represents a user-defined obstruction to ignore a zone in X and Z in the input profile data...
Definition: GoWebScanSdkDef.h:589
k32s GoWebScanSettingsSensor_XCenter(GoWebScanSettingsSensor sensor)
Gets the mounting location of the sensor, in system coordinates (mils).
k32u GoWebScanSettings_VisionExposureTop(GoWebScanSettings settings)
Gets the top vision exposure in microseconds.
kSize GoWebScanSettingsSensor_Index(GoWebScanSettingsSensor sensor)
Gets the index of the sensor with respect to the group.
kStatus GoWebScanSettings_EnableVision(GoWebScanSettings settings, kBool enable)
Enables vision data in the system.
kStatus GoWebScanSettings_SetDetectBackgroundFilter(GoWebScanSettings settings, kBool value)
Sets whether GoWebScan should remove tracheid and vision data where there is no corresponding profile...
kStatus GoWebScanSettings_SetDetectTriggerLength(GoWebScanSettings settings, k32s value)
Sets the length (mils) of material used to trigger object on/off events, not including material insid...
k32s GoWebScanSettingsGroup_SectionX1(GoWebScanSettingsGroup group, kSize index)
Gets the end of section along the X-axis (length), in system coordinates (mils).
k32s GoWebScanSettings_ProfileYResolution(GoWebScanSettings settings)
Gets the profile Y resolution (mils per profile pixel, across board width).
kStatus GoWebScanSettings_SetOverlapBlend(GoWebScanSettings settings, k32s value)
Sets the maximum amount of redundant camera information that can be blended together at the x- bounda...
k32u GoWebScanSettings_ProfileFrameRate(GoWebScanSettings settings)
Gets the profile frame rate in Hz.
kStatus GoWebScanSettings_SetCalXAdjustment(GoWebScanSettings settings, k32s value)
Sets the offset applied to the X-coordinates of all data (profile, vision, tracheid) in Web or Detect...
Represents a section of output system data. This can be defined by the user to allow for routing data...
Definition: GoWebScanSdkDef.h:499
k32s GoWebScanSettings_XOrientation(GoWebScanSettings settings)
Gets the sensor X orientation.
Represents a container for user-configurable settings of a sensor within the system. For systems with vision, a GoWebScanSettingsSensor object represents a pair of vision and profile sensors (sensor mounted together).
k32s GoWebScanSettingsSensor_EffectiveXCenter(GoWebScanSettingsSensor sensor)
Gets the effective X center of the sensor in system coordinates (mils).
kStatus GoWebScanSettingsSensor_SetObstructionX1(GoWebScanSettingsSensor sensor, kSize index, k32s value)
Sets the end of an obstruction zone along the X-axis (length), in sensor coordinates (mils)...
k32s GoWebScanSettingsSensor_VisionSerialNumber(GoWebScanSettingsSensor sensor)
Gets the serial number of the vision sensor in a profile-vision pair (for vision systems only)...
kBool GoWebScanSettings_CalDetectLocators(GoWebScanSettings settings)
Gets a flag for whether the detection of calibration locators is enabled.
GoWebScanSettingsGroup GoWebScanSettingsSensor_Parent(GoWebScanSettingsSensor sensor)
Gets the settings file of the parent group the sensor is part of.
kStatus GoWebScanSettings_Load(GoWebScanSettings *settings, const kChar *fileName, kAlloc alloc)
Loads the settings XML from a specified path and constructs and initializes a GoWebScanSettings objec...
kStatus GoWebScanSettings_SetSystemAngle(GoWebScanSettings settings, k64f value)
Sets the system angle in degrees.
kStatus GoWebScanSettings_SetDetectEdgeMargin(GoWebScanSettings settings, k32s value)
Sets the size of the margins (mils) that will be added to the leading and trailing edge of each detec...
k32u GoWebScanSettings_VisionXSubsampling(GoWebScanSettings settings)
Gets the vision X subsampling.
kStatus GoWebScanSettings_SetCalDetectLocators(GoWebScanSettings settings, kBool value)
Sets whether GoWebScan should attempt to detect calibration reference holes (1), or assume that senso...
kStatus GoWebScanSettingsGroup_SetSectionId(GoWebScanSettingsGroup group, kSize index, k32s value)
Sets the section ID.
kStatus GoWebScanSettings_SetVisionXSubsampling(GoWebScanSettings settings, k32u value)
Sets the vision X subsampling.
kStatus GoWebScanSettingsSensor_SetIndex(GoWebScanSettingsSensor sensor, kSize index)
Sets the index of the sensor within the group.
k32s GoWebScanSettings_DetectTriggerLength(GoWebScanSettings settings)
Gets the detection trigger length in mils.
kStatus GoWebScanSettingsGroup_AddSection(GoWebScanSettingsGroup group, const GoWebScanSection *section)
Adds a section to the group.
kStatus GoWebScanSettings_SetCalVisionIntensityG(GoWebScanSettings settings, k8u value)
Sets the desired green intensity level for the calibration target (1 - 255).
kStatus GoWebScanSettings_SetActiveAreaZ(GoWebScanSettings settings, k32s value)
Sets the active area z lower boundary (mils).
kBool GoWebScanSettings_EncoderSimulated(GoWebScanSettings settings)
Gets the flag for whether the encoder simulator is enabled.
kStatus GoWebScanSettings_SetEncoderResolution(GoWebScanSettings settings, k64f value)
Sets the encoder resolution in mils/tick.
kBool GoWebScanSettings_VisionEnabled(GoWebScanSettings settings)
Gets the flag for whether vision data is enabled.
kStatus GoWebScanSettings_SetTracheidXResolution(GoWebScanSettings settings, k32s value)
Sets the tracheid X resolution (mils per tracheid pixel, along board length).