Silicon Software Logo

fgrab_define.h Source File

fgrab_define.h
Go to the documentation of this file.
1 
14 #ifndef __FGRABDEFINE_H
15 #define __FGRABDEFINE_H
16 
17 #pragma warning(push)
18 #pragma warning(disable : 4005)
19 #if defined(_MSC_VER) && (_MSC_VER < 1600)
20 #include <msinttypes/stdint.h>
21 #else
22 #include <stdint.h>
23 #endif
24 #pragma warning(pop)
25 
26 #include "os_type.h"
27 #include "sisoboards.h"
28 
34 };
35 
42 };
43 
45  _LRM_AUTO = 0,
47 };
48 
58 };
59 
60 enum TriggerSync { _LVAL = 0, _HDSYNC = 1 };
61 
63  FREE_RUN = 0,
71 };
72 
74 
75 enum MeShaftMode { SOURCE_A = 0, SOURCE_B = 1 };
77 
78 enum MeKneeLutMode { FG_INDEP = 0, FG_DEP = 1 };
79 
86 };
87 
94 };
95 
102 };
103 
105 
118  FG_CL_RGB = 500,
133 };
134 
161  DIVISOR_1 = 25,
162  DIVISOR_2 = 26,
163  DIVISOR_4 = 27,
164  DIVISOR_8 = 28,
165  DIVISOR_3 = 29,
168 
169 };
170 
184 
215 };
216 
233 };
234 
243 };
244 
245 #define FG_PARAM_TYPE_CHAR_PTR_MAX_SIZE \
246  655360
248 #ifdef _WIN32
249 #ifdef _WIN64
250 #define FG_PARAM_TYPE_FRAMEINDEX FG_PARAM_TYPE_INT64_T
251 #else /* _WIN64 */
252 #ifdef _MSC_VER
253 #define FG_PARAM_TYPE_FRAMEINDEX FG_PARAM_TYPE_INT32_T
254 #else /* _MSC_VER */
255 #define FG_PARAM_TYPE_FRAMEINDEX FG_PARAM_TYPE_INT32_T
256 #endif /* _MSC_VER */
257 #endif /* _WIN64 */
258 #else /* _WIN32 */
259 #if INTPTR_MAX == INT32_MAX
260 #define FG_PARAM_TYPE_FRAMEINDEX FG_PARAM_TYPE_INT32_T
261 #else
262 #define FG_PARAM_TYPE_FRAMEINDEX FG_PARAM_TYPE_INT64_T
263 #endif
264 #endif /* _WIN32 */
265 
275  1
276 };
277 
284  FG_GOOD = 1,
286 };
287 
300 };
301 
302 
303 /*
304  * Defines
305  */
306 
307 #define FG_NO 0
308 #define FG_YES 1
309 
310 #define FG_LOW 0
311 #define FG_HIGH 1
312 
313 #define HIGH_ON_ZERO_LOW 1
314 #define HIGH_ON_ZERO_HIGH 0
315 
316 #define FG_FALSE 0
317 #define FG_TRUE 1
318 
319 #define FG_FALLING 1
320 #define FG_RISING 0
321 
322 #define FG_ON 1
323 #define FG_OFF 0
324 
325 #define FG_ZERO 0
326 #define FG_ONE 1
327 
328 #define FG_APPLY 1
329 
330 #define FG_LEFT_ALIGNED 1
331 #define FG_RIGHT_ALIGNED 0
332 
333 #define FG_CONVERSION_OFF 0
334 #define FG_CONVERSION_LIGHTNESS 1
335 #define FG_CONVERSION_AVERAGE 2
336 #define FG_CONVERSION_LUMINOSITY 3
337 
338 #define FG_SAVE_LUT_TO_FILE 1
339 #define FG_LOAD_LUT_FROM_FILE 0
340 
351 };
352 
356 #define FG_0_BIT 0
357 #define FG_1_BIT 1
358 #define FG_2_BIT 2
359 #define FG_3_BIT 3
360 #define FG_4_BIT 4
361 #define FG_5_BIT 5
362 #define FG_6_BIT 6
363 #define FG_7_BIT 7
364 #define FG_8_BIT 8
365 #define FG_9_BIT 9
366 #define FG_10_BIT 10
367 #define FG_11_BIT 11
368 #define FG_12_BIT 12
369 #define FG_13_BIT 13
370 #define FG_14_BIT 14
371 #define FG_15_BIT 15
372 #define FG_16_BIT 16
373 #define FG_17_BIT 17
374 #define FG_18_BIT 18
375 #define FG_19_BIT 19
376 #define FG_20_BIT 20
377 #define FG_21_BIT 21
378 #define FG_22_BIT 22
379 #define FG_23_BIT 23
380 #define FG_24_BIT 24
381 #define FG_25_BIT 25
382 #define FG_26_BIT 26
383 #define FG_27_BIT 27
384 #define FG_28_BIT 28
385 #define FG_29_BIT 29
386 #define FG_30_BIT 30
387 #define FG_31_BIT 31
388 #define FG_32_BIT 32
389 #define FG_36_BIT 36
390 #define FG_48_BIT 48
391 
392 #define FG_MSB 0
393 #define FG_LSB 1
394 
395 #define MAX_BUF_NR 1048576
396 
397 #define CONTMODE 0x10
398 #define HANDSHAKEMODE 0x20
399 #define BLOCKINGMODE HANDSHAKEMODE
400 #define PULSEMODE 0x30
401 
406 /* image formats */
407 #define FG_GRAY 3
408 #define FG_MONO8 FG_GRAY
409 #define FG_GRAY_PLUS_PICNR 30
410 #define FG_GRAY16 1
411 #define FG_MONO16 FG_GRAY16
412 #define FG_GRAY16_PLUS_PICNR 10
413 #define FG_GRAY10 21
414 #define FG_MONO10 FG_GRAY10
415 #define FG_GRAY12 22
416 #define FG_MONO12 FG_GRAY12
417 #define FG_GRAY14 23
418 #define FG_MONO14 FG_GRAY14
419 #define FG_GRAY32 20
420 #define FG_COL24 2
421 #define FG_BGR8 FG_COL24
422 #define FG_COL32 4
423 #define FG_COL30 5
424 #define FG_BGR10 FG_COL30
425 #define FG_COL36 7
426 #define FG_BGR12 FG_COL36
427 #define FG_COL42 9
428 #define FG_BGR14 FG_COL42
429 #define FG_COL48 6
430 #define FG_BGR16 FG_COL48
431 #define FG_RGBX32 \
432  408
433 #define FG_RGBX40 \
434  410
436 #define FG_RGBX48 \
437  412
439 #define FG_RGBX56 \
440  414
442 #define FG_RGBX64 \
443  416
444 #define FG_BINARY 8
445 #define FG_RAW 50
446 #define FG_JPEG 100
453 #define FG_BAYERGR8 0x3108
454 #define FG_BAYERGR10 0x3110
455 #define FG_BAYERGR12 0x3112
456 #define FG_BAYERGR14 0x3114
457 #define FG_BAYERGR16 0x3116
458 #define FG_BAYERRG8 0x3208
459 #define FG_BAYERRG10 0x3210
460 #define FG_BAYERRG12 0x3212
461 #define FG_BAYERRG14 0x3214
462 #define FG_BAYERRG16 0x3216
463 #define FG_BAYERGB8 0x3308
464 #define FG_BAYERGB10 0x3310
465 #define FG_BAYERGB12 0x3312
466 #define FG_BAYERGB14 0x3314
467 #define FG_BAYERGB16 0x3316
468 #define FG_BAYERBG8 0x3408
469 #define FG_BAYERBG10 0x3410
470 #define FG_BAYERBG12 0x3412
471 #define FG_BAYERBG14 0x3414
472 #define FG_BAYERBG16 0x3416
473 
479 #define FG_YUV422_8 0x0621
480 
486 #define FG_YCBCR422_8 0x0721
487 
493 #define FG_RGBA8 0x0501
494 #define FG_BGRA8 0x1501
495 #define FG_RGBA10 0x0502
496 #define FG_BGRA10 0x1502
497 #define FG_RGBA12 0x0503
498 #define FG_BGRA12 0x1503
499 #define FG_RGBA14 0x0504
500 #define FG_BGRA14 0x1504
501 #define FG_RGBA16 0x0505
502 #define FG_BGRA16 0x1505
509 #define FG_RGB8 0x0401
510 #define FG_RGB10 0x0402
511 #define FG_RGB12 0x0403
512 #define FG_RGB14 0x0404
513 #define FG_RGB16 0x0405
518 /* synchronization flags */
519 #define FG_INIT_LIBRARIES_SINGLE 0
520 #define FG_INIT_LIBRARIES_MASTER 1
521 #define FG_INIT_LIBRARIES_SLAVE 2
522 #define FG_INIT_LIBRARIES_WAIT_FOR_SERVICE \
523  0x004
524 #define FG_INIT_LIBRARIES_SEQUENTIAL \
525  0x008
526 #define FG_INIT_LIBRARIES_AUTOSTART_ON_INIT 0x010
527 #define FG_INIT_LIBRARIES_SET_MODE(n) (n & 0x3)
528 #define FG_INIT_LIBRARIES_GET_MODE(n) (n & 0x3)
529 #define FG_INIT_LIBRARIES_SET_SLAVE_PRIORITY(n) \
530  ((n & 0x3f) << 12)
531 #define FG_INIT_LIBRARIES_GET_SLAVE_PRIORITY(n) ((n >> 12) & 0x3f)
532 #define FG_INIT_LIBRARIES_SET_NUMBER_OF_SLAVES(n) ((n & 0x3f) << 22)
533 #define FG_INIT_LIBRARIES_GET_NUMBER_OF_SLAVES(n) ((n >> 22) & 0x3f)
538 /* acquire formats */
539 #define ACQ_STANDARD 0x1
540 #define ACQ_BLOCK 0x2
541 #define ACQ_SELECT 0x4
542 #define ACQ_MODE_MASK 0xffff
543 #define ACQ_NO_AUTOSTOP 0x10000
544 
548 #define NUMBER_OF_GRABBED_IMAGES 10
549 #define NUMBER_OF_LOST_IMAGES 20
550 #define NUMBER_OF_BLOCK_LOST_IMAGES 30
551 #define NUMBER_OF_BLOCKED_IMAGES 40
552 #define NUMBER_OF_ACT_IMAGE 50
553 #define NUMBER_OF_LAST_IMAGE 60
554 #define NUMBER_OF_NEXT_IMAGE 70
555 #define NUMBER_OF_IMAGES_IN_PROGRESS 80
557 #define BUFFER_STATUS 90
558 #define GRAB_ACTIVE 100
563 #define FG_BLOCK 0x100
564 #define FG_UNBLOCK 0x200
565 #define FG_UNBLOCK_ALL 0x220
566 #define FG_SELECT_BUFFER 0x230
568 #define SEL_ACT_IMAGE 200
569 #define SEL_LAST_IMAGE 210
570 #define SEL_NEXT_IMAGE 220
571 #define SEL_NUMBER 230
572 #define SEL_NEW_IMAGE 240
574 /* +-- PARAMETER --+ */
575 
581 #define FG_PARAMETER_PROPERTY_ACCESS \
582  0x80000000
585 #define FG_PARAMETER_PROPERTY_MIN \
586  0xC0000000
587 #define FG_PARAMETER_PROPERTY_MAX \
588  0x40000000
589 #define FG_PARAMETER_PROPERTY_STEP \
590  0xE0000000
596 #define FP_PARAMETER_PROPERTY_ACCESS_READ 0x1
597 #define FP_PARAMETER_PROPERTY_ACCESS_WRITE 0x2
598 #define FP_PARAMETER_PROPERTY_ACCESS_MODIFY 0x4
599 #define FP_PARAMETER_PROPERTY_ACCESS_LOCKED 0x8
605 #define FG_REVNR 99
606 #define FG_WIDTH 100
607 #define FG_HEIGHT 200
609 #define FG_MAXWIDTH 6100
610 #define FG_MAXHEIGHT 6200
611 #define FG_ACTIVEPORT 6300
612 
613 #define FG_XOFFSET 300
614 #define FG_YOFFSET 400
615 #define FG_XSHIFT 500
616 
617 #define FG_TIMEOUT 600
618 #define FG_TIMEOUT_INFINITE 2147483646
620 #define FG_APC_STOP_TIMEOUT \
621  601
623 #define FG_STOP_TIMEOUT \
624  602
626 #define FG_FORMAT 700
627 #define FG_CAMSUBTYP 80
628 #define FG_FRAMESPERSEC 90
629 #define FG_MAXFRAMESPERSEC 91
630 #define FG_MINFRAMESPERSEC 92
631 #define FG_LINESPERSEC 95
632 #define FG_LINEPERIOD 96
633 #define FG_LINEPERIODE FG_LINEPERIOD /*< duplicated for compatibility issues*/
634 
635 #define FG_EXPOSURE 10020
636 #define FG_LINEEXPOSURE 10030
637 #define FG_HDSYNC 10050
638 
639 #define FG_PRESCALER FG_HDSYNC
640 #define FG_LINETRIGGER FG_HDSYNC
641 
642 #define FG_RS232PARON 10060
643 #define FG_MTU_SIZE \
644  200351
646 #define FG_PIXELDEPTH 4000
647 #define FG_BITALIGNMENT 4010
648 #define FG_LINEALIGNMENT 4020
649 #define FG_COLOR_SELECT 4030
650 #define FG_GRAYCONVERTER 4040
651 
652 #define FG_SWAP_CHANNELS 200350
654 #define FG_CAMBITWIDTH 5000
655 #define FG_CAMBITSHIFT 5010
656 #define FG_CAMERA_WIDTH 110133
658 #define FG_SHIFTCAMDATARIGHT 5020
659 #define FG_ROTATECAMDATA FG_SHIFTCAMDATARIGHT /* compatibility mode, do not use */
660 #define FG_USEDVAL 5025
661 #define FG_SWAPENDIAN 5028
662 #define FG_MASKCAMDATA 5030
663 #define FG_ADDOFFSET 5035
664 #define FG_DROPPEDIMAGEES 5040
665 #define FG_SENSORREADOUT 5050
666 #define FG_SENSORREADOUT_TAPS 5051
667 #define FG_SENSORREADOUT_DIREC 5052
668 
669 #define FG_TRIGGERMODE 8100
670 #define FG_LINETRIGGERMODE 8102
671 #define FG_IMGTRIGGERMODE 8104
672 #define FG_IMGTRIGGERON 8106
673 #define FG_TRIGGERINSRC 8110
674 #define FG_LINETRIGGERINSRC 8112
675 #define FG_IMGTRIGGERINSRC 8113
676 #define FG_LINETRIGGERINPOLARITY 8115
677 #define FG_IMGTRIGGERINPOLARITY 8116
678 #define FG_TRIGGERINPOLARITY FG_IMGTRIGGERINPOLARITY
679 #define FG_IMGTRIGGERGATEDELAY 8118
680 #define FG_USEROUT 8120
681 #define FG_EXSYNCINVERT 8200
682 #define FG_EXSYNCON 8300
683 #define FG_EXSYNCDELAY 8400
684 #define FG_EXSYNCPOLARITY 8420
685 #define FG_DEADTIME 8450
686 #define FG_DEADTIME_OFFSET 8460
687 #define FG_BGRRGBORDER 8500
688 #define FG_FLASHON 8600
689 
690 #define FG_SENDSOFTWARETRIGGER 8800
691 #define FG_SETSOFTWARETRIGGER 8801
692 #define FG_SOFTWARETRIGGER_QUEUE_FILLLEVEL 8802
693 #define FG_LINETRIGGERDELAY 8900
694 #define FG_LIMIT_TRIGGER_PULSES 8950
695 #define FG_TRIGGERMASTERSYNC 9000
696 
697 #define FG_SHAFTENCODERINSRC 9100
698 #define FG_SHAFTENCODERON 9110
699 #define FG_SHAFTENCODERLEADING 9120
700 #define FG_SHAFTENCODER_COMPCOUNTER 9125
701 
702 #define FG_RGB_MAP_RED 9200
703 #define FG_RGB_MAP_GREEN 9210
704 #define FG_RGB_MAP_BLUE 9220
705 
706 #define FG_CAMSTATUS 2000
707 #define FG_CAMSTATUS_EXTENDED \
708  2050
710 #define FG_TWOCAMMODEL 2100
711 #define FG_PORT 3000
712 #define FG_NR_OF_DMAS 3050
713 #define FG_TURBO_DMA_MODE 3051
714 #define FG_NR_OF_CAMS 3060
715 #define FG_NR_OF_PROCESSES 3070
716 #define FG_DMA_PORT 3080
717 #define FG_DMA_STARTED 3081
718 #define FG_CAM_PORT 3090
719 
720 #define FG_RESET_GIGE_PORT_0 3100
721 #define FG_RESET_GIGE_PORT_1 3101
722 #define FG_RESET_GIGE_PORT_2 3102
723 #define FG_RESET_GIGE_PORT_3 3103
724 
725 #define FG_TRANSFER_LEN 5210
727 #define FG_STROBEPULSEDELAY 8700
728 #define FG_STROBEPULSEREDUCE 8710
729 #define FG_STROBEPULSESRCSEL 8720
730 #define FG_STROBEPULSEINVERT 8730
731 #define FG_FLASHTIME 8740
732 #define FG_FLASHTIME_SYNC 8750
733 
734 #define FG_CAMERA_LINK_CAMTYPE 11011
735 #define FG_CAMERA_LINK_CAMTYP FG_CAMERA_LINK_CAMTYPE /*< duplicated for compatibility issues*/
736 #define FG_CL_CAMTYP 11011
737 #define FG_CAMTYP 11011
738 #define FG_GBE_CAMTYPE 11011
739 #define FG_GBE_CAMTYP FG_GBE_CAMTYPE /*< duplicated for compatibility issues*/
740 #define FG_CAMERA_LINK_CORE_RESET 11012
741 #define FG_CAMERA_LINK_PIXEL_CLOCK 11013
742 #define FG_CAMERA_LINK_PIXEL_CLOCK_X 11014
743 #define FG_CAMERA_LINK_PIXEL_CLOCK_Y 11015
744 #define FG_CAMERA_LINK_PIXEL_CLOCK_Z 11016
746 #define FG_LOOKUPTABLE 12000
747 #define FG_LUT_FILE 12010
748 #define FG_LUT_SAVE_LOAD_FILE 12020
749 #define FG_LUT_ENABLE 12030
751 #define FG_KNEE_LUT 12100
752 #define FG_KNEE_LUT_FILE 12110
753 #define FG_KNEE_LUT_SAVE_LOAD_FILE 12120
754 #define FG_KNEE_LUT_MODE 12130
755 #define FG_KNEE_LUT_ACCESS 12140
756 
757 #define FG_KNEE_LUT_SCALE 12101
758 #define FG_KNEE_LUT_OFFSET 12102
759 #define FG_KNEE_LUT_GAMMA 12103
760 #define FG_KNEE_LUT_INVERT 12104
761 
762 #define FG_MEDIAN 12200
763 
764 #define FG_2DSHADINGPARAMETER 12500
765 
766 #define FG_SCALINGFACTOR_RED 13000
767 #define FG_SCALINGFACTOR_BLUE 13010
768 #define FG_BAYERINIT 13020
769 #define FG_SCALINGFACTOR_GREEN 13030
770 
771 #define FG_CCSEL 14000
772 #define FG_CCSEL0 14001
773 #define FG_CCSEL1 14002
774 #define FG_CCSEL2 14003
775 #define FG_CCSEL3 14004
776 
777 #define FG_CCSEL_INVERT 14005
778 #define FG_CCSEL_INVERT0 14006
779 #define FG_CCSEL_INVERT1 14007
780 #define FG_CCSEL_INVERT2 14008
781 #define FG_CCSEL_INVERT3 14009
782 
783 #define FG_CC1_SOURCE 14041
784 #define FG_CC1_POLARITY 14031
785 #define FG_CC2_SOURCE 14042
786 #define FG_CC2_POLARITY 14032
787 #define FG_CC3_SOURCE 14043
788 #define FG_CC3_POLARITY 14033
789 #define FG_CC4_SOURCE 14044
790 #define FG_CC4_POLARITY 14034
792 #define FG_DIGIO_INPUT 14010
793 #define FG_DIGIO_OUTPUT 14020
795 #define FG_USER_LEDS 15210
796 #define FG_LED_OFF 0x0
797 #define FG_LED_RED 0x1
798 #define FG_LED_GREEN 0x2
799 #define FG_LED_BOTH 0x3
800 
801 #define FG_IMAGE_TAG 22000
802 #define FG_IMAGE_NUMBER 22010
803 #define FG_TIMESTAMP 22020
804 #define FG_TIMESTAMP_LONG 22030
805 #define FG_TIMESTAMP_LONG_FREQUENCY 22031
806 #define FG_SET_TRIGGER_START_TIME_DBG 22040
807 
808 #define FG_LICENSESTRING0 23000
809 #define FG_LICENSESTRING1 23010
810 #define FG_LICENSESTRING2 23020
811 
812 #define FG_ACCESS_POINTER 23030
813 
814 #define FG_ROIX 23100
815 #define FG_ROIY 23110
816 #define FG_SHADING_SUBIMAGE 23120
817 #define FG_SHADING_MULTENABLE 23130
818 #define FG_SHADING_OFFSETENABLE 23140
819 #define FG_SHADING_SUBENABLE FG_SHADING_OFFSETENABLE /*< duplicated for compatibility issues*/
820 #define FG_SHADING_MAX_MULT 23135
821 
822 #define FG_SHADING_RUNSUBIMAGE0 23121
823 #define FG_SHADING_RUNSUBIMAGE1 23122
824 #define FG_SHADING_RUNSUBIMAGE2 23123
825 #define FG_SHADING_RUNSUBIMAGE3 23124
826 
827 #define FG_SHADING_ENABLEMULT0 23131
828 #define FG_SHADING_ENABLEMULT1 23132
829 #define FG_SHADING_ENABLEMULT2 23133
830 #define FG_SHADING_ENABLEMULT3 23134
831 
832 #define FG_SHADING_ENABLESUB0 23141
833 #define FG_SHADING_ENABLESUB1 23142
834 #define FG_SHADING_ENABLESUB2 23143
835 #define FG_SHADING_ENABLESUB3 23144
836 
837 #define FG_SHADING_FPNENABLE 23150
838 #define FG_SHADING_ENABLEFPN0 23151
839 #define FG_SHADING_ENABLEFPN1 23152
840 #define FG_SHADING_ENABLEFPN2 23153
841 #define FG_SHADING_ENABLEFPN3 23154
842 
843 #define FG_SHADING_THRESHOLD0 23156
844 #define FG_SHADING_THRESHOLD1 23157
845 #define FG_SHADING_THRESHOLD2 23158
846 #define FG_SHADING_THRESHOLD3 23159
847 
848 #define FG_SHADING_MULTFILE0 23160
849 #define FG_SHADING_SUBFILE0 23170
850 #define FG_SHADING_FPNFILE0 23180
851 #define FG_SHADING_MULTFILE1 23210
852 #define FG_SHADING_SUBFILE1 23225
853 #define FG_SHADING_FPNFILE1 23230
854 #define FG_SHADING_MULTFILE2 23240
855 #define FG_SHADING_SUBFILE2 23250
856 #define FG_SHADING_FPNFILE2 23260
857 #define FG_SHADING_MULTFILE3 23270
858 #define FG_SHADING_SUBFILE3 23280
859 #define FG_SHADING_FPNFILE3 23290
860 
861 #define FG_CONTRAST 23200
862 #define FG_BRIGHTNESS 23220
863 
864 #define FG_DOWNSCALE 24040
865 #define FG_LINE_DOWNSCALE FG_DOWNSCALE
866 #define FG_LINE_DOWNSCALEINIT 24050
867 #define FG_FLASH_POLARITY 24060
868 #define FG_FLASHDELAY FG_STROBEPULSEDELAY
869 
870 #define FG_LOAD_SHADINGDATA 24070
871 #define FG_CLEAR_SHADINGDATA 24080
872 
873 #define FG_LINESHADINGPARAMETER 24081
874 #define FG_1DSHADINGPARAMETER FG_LINESHADINGPARAMETER
875 
876 #define FG_LINESHADING_SUB_ENABLE 24082
877 #define FG_LINESHADING_MULT_ENABLE 24083
878 #define FG_ENABLEDISABLE_SHADING FG_LINESHADING_MULT_ENABLE
879 #define FG_SHADING_WIDTH 24089
880 #define FG_AUTO_SHADING_WIDTH 24090
881 #define FG_WRITE_SHADING_12 24091
882 
883 #define FG_LINESHADING_MULT_FILENAME 24084
884 #define FG_LINESHADING_SUB_FILENAME 24085
885 #define FG_LINESHADING_LOAD_FROM_FILE 24086
886 #define FG_LINESHADING_MODE 24087
887 
888 #define FG_DMASTATUS 24092
889 #define FG_LINEVALID_SIGNAL_COUNT 24093
890 #define FG_FRAMEVALID_SIGNAL_COUNT 24094
891 
892 #define FG_1DSHADING_FILE FG_LINESHADING_MULT_FILENAME
893 #define FG_LOAD_1DSHADINGDATA FG_LINESHADING_LOAD_FROM_FILE
894 
895 #define FG_BURSTLENGTH 24097
896 #define FG_SUPERFRAME 24098
897 
898 #define FG_PLX_CLK 24102
899 #define FG_MEASURED_PCIE_CLK 24103
900 #define FG_FPGA_CLK 24104
901 #define FG_HAP_FILE 24108
902 
903 #define FG_GLOBAL_ACCESS 24110
904 #define FG_DOC_URL 24112
905 #define FG_PARAM_DESCR 24114
906 #define FG_REG_VALUE_STRING 24115
907 
908 #define FG_CAMPORT_CONFIG 30000
909 #define FG_CAMERA_TYPE 30001
910 #define FG_COLOR_FLAVOUR 30002
911 
915 #define FG_GEN_ENABLE 30099
916 #define FG_GEN_PASSIVE 30100
917 #define FG_GEN_ACTIVE 30101
918 #define FG_GEN_WIDTH 30102
919 #define FG_GEN_LINE_WIDTH 30103
920 #define FG_GEN_HEIGHT 30104
921 #define FG_GEN_START 30113
922 #define FG_GEN_LINE_GAP 30105
923 #define FG_GEN_FREQ 30106
924 #define FG_GEN_ACCURACY 30107
925 #define FG_GEN_ROLL 30112
926 #define FG_GEN_TAP1 30108
927 #define FG_GEN_TAP2 30109
928 #define FG_GEN_TAP3 30110
929 #define FG_GEN_TAP4 30111
934 #define FG_CAMERASIMULATOR_ENABLE \
935  FG_GEN_ENABLE
936 #define FG_CAMERASIMULATOR_WIDTH FG_GEN_WIDTH
937 #define FG_CAMERASIMULATOR_HEIGHT 200322
938 #define FG_CAMERASIMULATOR_LINE_GAP FG_GEN_LINE_GAP
939 #define FG_CAMERASIMULATOR_FRAME_GAP 200325
940 #define FG_CAMERASIMULATOR_PATTERN 200326
941 #define FG_CAMERASIMULATOR_ROLL \
942  200327
943 #define FG_CAMERASIMULATOR_SELECT_MODE \
944  200328
945 #define FG_CAMERASIMULATOR_PIXEL_FREQUENCY FG_GEN_FREQ
946 #define FG_CAMERASIMULATOR_LINERATE 200329
947 #define FG_CAMERASIMULATOR_FRAMERATE 200352
948 #define FG_CAMERASIMULATOR_ACTIVE FG_GEN_ACTIVE
949 #define FG_CAMERASIMULATOR_PASSIVE FG_GEN_PASSIVE
950 #define FG_CAMERASIMULATOR_TRIGGER_MODE 200355
951 #define FG_CAMERASIMULATOR_PATTERN_OFFSET 200356
952 #define FG_CAMERASIMULATOR_FPS 200358
961 #define FG_HORIZONTAL 1
962 #define FG_VERTICAL 2
963 #define FG_DIAGONAL 3
968 #define FG_PIXEL_FREQUENCY 0
969 #define FG_LINERATE 1
970 #define FG_FRAMERATE 2
975 enum CameraSimulatorTriggerMode {
979 };
980 
981 /* defines from 200000 to 210000 are reserved for customer projects */
982 
986 #define FG_APPLET_ID 24010
987 #define FG_APPLET_VERSION 24020
988 #define FG_APPLET_REVISION 24030
989 #define FG_APPLET_BUILD_TIME 24011
991 #define FG_DESIGNCLK 24040
992 
997 #define FG_ALL 24050
998 
999 #define FG_THRESHOLD_H_MIN 25000
1000 #define FG_THRESHOLD_H_MAX 25010
1001 
1002 #define FG_THRESHOLD_S_MIN 25020
1003 #define FG_THRESHOLD_S_MAX 25030
1004 
1005 #define FG_THRESHOLD_I_MIN 25040
1006 #define FG_THRESHOLD_I_MAX 25050
1008 #define FG_DO_THRESHOLD_S 25060
1009 #define FG_DO_THRESHOLD_I 25070
1011 #define FG_SHADING_H 25080
1012 #define FG_SHADING_S 25090
1013 #define FG_SHADING_I 25100
1015 #define FG_FASTCONFIG_SEQUENCE 30010
1016 #define FG_FASTCONFIG_PAGECMD 30020
1017 #define FG_FASTCONFIG_PAGECMD_PTR 30030
1018 #define FG_FASTCONFIG_PULSEDIGIO 30040
1020 #define FG_IMG_SELECT_PERIOD 25110
1021 #define FG_IMG_SELECT 25111
1022 
1023 #define FG_NROFEXTERN_TRIGGER 30110
1024 #define FG_ACTIVATE_EXTERN_TRIGGER 30120
1025 #define FG_READ_EXTERN_TRIGGER 30130
1027 #define FG_NB_QUAD_IMG 30300
1028 #define FG_NB_STD_IMG 30310
1030 #define FG_BOARD_INFORMATION 42042
1032 #define FG_LOGGING 43010
1033 #define FG_LOG_FLUSH 43020
1034 #define FG_LOG_CONSOLE 43030
1035 #define FG_CREATE_DUMP 43040
1044 };
1045 
1052  INFO_OWN_BOARDINDEX = 101,
1053  INFO_NR_OF_BOARDS = 1000,
1054  INFO_MAX_NR_OF_BOARDS = 1001,
1055  INFO_BOARDNAME = 1010,
1056  INFO_BOARDTYPE = 1011,
1068  1102,
1076  INFO_IS_POCL = 1110,
1093  2002,
1097  2004,
1105  2008,
1107  2101,
1109  2102,
1111 };
1113 #if !defined(BOARD_CAMINTERFACE_CAMERALINK)
1114 #define BOARD_CAMINTERFACE_CAMERALINK "CameraLink"
1115 #endif
1116 #if !defined(BOARD_CAMINTERFACE_CL)
1117 #define BOARD_CAMINTERFACE_CL BOARD_CAMINTERFACE_CAMERALINK
1118 #endif
1119 #if !defined(BOARD_CAMINTERFACE_CAMERALINKHS)
1120 #define BOARD_CAMINTERFACE_CAMERALINKHS "CameraLinkHS"
1121 #endif
1122 #if !defined(BOARD_CAMINTERFACE_CLHS)
1123 #define BOARD_CAMINTERFACE_CLHS BOARD_CAMINTERFACE_CAMERALINKHS
1124 #endif
1125 #if !defined(BOARD_CAMINTERFACE_GIGE)
1126 #define BOARD_CAMINTERFACE_GIGE "GigE"
1127 #endif
1128 #if !defined(BOARD_CAMINTERFACE_CXP)
1129 #define BOARD_CAMINTERFACE_CXP "CXP"
1130 #endif
1131 #if !defined(BOARD_CAMINTERFACE_COAXPRESS)
1132 #define BOARD_CAMINTERFACE_COAXPRESS BOARD_CAMINTERFACE_CXP
1133 #endif
1138 enum Fg_BoardStatus_Bits {
1139  INFO_BOARDSTATUS_CONFIGURED = 0x00000001,
1141  INFO_BOARDSTATUS_DEAD_1 = 0x00008000,
1142  INFO_BOARDSTATUS_RECONFIGURING = 0x10000000,
1143  INFO_BOARDSTATUS_REBOOT_REQUIRED = 0x20000000,
1144  INFO_BOARDSTATUS_OVERTEMP = 0x40000000,
1145  INFO_BOARDSTATUS_DEAD_2 = 0x80000000,
1147 };
1155  PROP_ID_NAME = 2,
1156  PROP_ID_PARAMETERNAME = 3,
1157  PROP_ID_VALUELLEN = 4,
1158  PROP_ID_ACCESS_ID = 5,
1159  PROP_ID_MIN_ID = 6,
1170 };
1175 struct FgPropertyEnumValues {
1176  int32_t value;
1177  char name[1];
1178 };
1179 
1180 #define FG_PROP_GET_NEXT_ENUM_VALUE(pev) ((FgPropertyEnumValues *)(((char *)pev) + 5 + strlen(pev->name)))
1181 
1182 #define FG_CABLE_SELECT 1001010
1183 #define FG_IMAGE_ENABLE 1001020
1184 #define FG_STAT_ENABLE 1001030
1185 #define FG_MIN_DX 1001040
1186 #define FG_THR1 1001050
1187 #define FG_THR2 1001060
1188 #define FG_MEDIAN_ON 1001070
1189 #define FG_DMA_WRITE 1001080
1190 #define FG_FAST_CONFIG 1001090
1191 #define FG_SYNC 1001100
1192 #define FG_NODMA1IR 1001110
1194 /* LUT defines */
1195 #define LUT_RED 0
1196 #define LUT_GREEN 1
1197 #define LUT_BLUE 2
1198 #define LUT_GRAY 3
1200 /* CAM-Port constants */
1201 #define PORT_A 0
1202 #define PORT_B 1
1203 #define PORT_C 2
1204 #define PORT_D 3
1205 #define PORT_AB 4
1207 /* RGB Colour IDs */
1208 #define FG_RED 0
1209 #define FG_GREEN 1
1210 #define FG_BLUE 2
1212 /* Trigger*/
1213 #define TRGINSOFTWARE -1
1214 #define TRGINSRC_0 0
1215 #define TRGINSRC_1 1
1216 #define TRGINSRC_2 2
1217 #define TRGINSRC_3 3
1218 #define TRGINSRC_4 4
1219 #define TRGINSRC_5 5
1220 #define TRGINSRC_6 6
1221 #define TRGINSRC_7 7
1222 #define TRGINSRC_GPI_0 0
1223 #define TRGINSRC_GPI_1 1
1224 #define TRGINSRC_GPI_2 2
1225 #define TRGINSRC_GPI_3 3
1226 #define TRGINSRC_GPI_4 4
1227 #define TRGINSRC_GPI_5 5
1228 #define TRGINSRC_GPI_6 6
1229 #define TRGINSRC_GPI_7 7
1230 #define TRGINSRC_FRONT_GPI_0 16
1231 #define TRGINSRC_FRONT_GPI_1 17
1232 #define TRGINSRC_FRONT_GPI_2 18
1233 #define TRGINSRC_FRONT_GPI_3 19
1235 #define GRAB_INFINITE -1
1236 #define GRAB_ALL_BUFFERS -2
1242  STOP_ASYNC = 0x00,
1245  STOP_ASYNC_FALLBACK = 0x40000000,
1246  STOP_SYNC = 0x80000000
1247 };
1248 
1249 /* Status codes */
1250 #define FG_OK 0
1251 #define FG_INIT_OK 1
1252 #define FG_SOFTWARE_TRIGGER_PENDING 8803
1257 /* Error codes */
1258 #define FG_ERROR -1
1259 #define FG_DUMMY_BUFFER -1
1260 #define FG_NO_PICTURE_AVAILABLE -2
1261 #define FG_SISODIR5_NOT_SET -5
1262 #define FG_INVALID_HANDLE -6
1263 
1264 #define FG_ALR_INIT -10
1265 #define FG_NOT_AVAILABLE -12
1266 #define FG_NO_BOARD_AVAILABLE -20
1267 #define FG_INVALID_BOARD_NUMBER -21
1268 #define FG_BOARD_INIT_FAILED -22
1269 #define FG_INVALID_CLOCK -23
1270 #define FG_INVALID_DESIGN_NAME -26
1271 #define FG_SYSTEM_LOCKED -27
1272 #define FG_RESSOURCES_STILL_IN_USE -28
1273 #define FG_CLOCK_INIT_FAILED -29
1274 #define FG_WRONG_ARCHITECTURE -50
1275 #define FG_WRONG_FIRMWARE_VERSION -51
1276 #define FG_WRONG_RUNTIME_VERSION -52
1277 #define FG_SOFTWARE_TRIGGER_BUSY -60
1278 #define FG_INVALID_PORT_NUMBER -61
1280 #define FG_EXCEPTION_IN_APPLET -99
1281 #define FG_HAP_FILE_NOT_LOAD -100
1282 #define FG_FILE_NOT_FOUND -101
1283 #define FG_APPLET_NOT_ACCEPTED -102
1284 #define FG_RECONFIGURATION_DISABLED \
1285  -103
1287 #define FG_RESTART_REQUIRED -104
1288 #define FG_POWERCYCLE_REQUIRED -105
1290 #define FG_MICROENABLE_NOT_INIT -110
1291 #define FG_DLL_NOT_LOAD -120
1292 #define FG_REG_KEY_NOT_FOUND -121
1293 #define FG_VASDLL_NOT_LOAD -122
1294 #define FG_ERROR_LOADING_MODULE -123
1295 #define FG_ERROR_LOADING_MODULE_INT -124
1296 #define FG_UNEXPECTED_HAPLOAD -130
1297 #define FG_SIZE_ERROR -200
1298 #define FG_PTR_INVALID -300
1299 #define FG_RANGE_ERR -400
1300 #define FG_OVERFLOW_ERR -401
1301 #define FG_NOT_ENOUGH_MEM -500
1302 #define FG_DMATRANSFER_INVALID -600
1303 #define FG_HAP_FILE_DONT_MATCH -700
1304 #define FG_VERSION_MISMATCH -701
1305 #define FG_ACCESS_DENIED -702
1306 #define FG_RUNTIME_VERSION_TOO_OLD -703
1308 #define FG_NOT_INIT -2001
1309 #define FG_WRONG_SIZE -2002
1310 #define FG_WRONG_NUMBER_OF_BUFFER -2010
1311 #define FG_TOO_MANY_BUFFER -2011
1312 #define FG_NOT_ENOUGH_MEMORY -2020
1313 #define FG_MEMORY_ALREADY_ALLOCATED -2024
1314 #define FG_CANNOT_WRITE_MEM_CONFIG_FAILED -2026
1315 #define FG_INTERNAL_STATUS_ERROR -2030
1316 #define FG_INTERNAL_ERROR -2031
1317 #define FG_CANNOT_START -2040
1318 #define FG_CANNOT_STOP -2042
1319 #define FG_SYNC_ACQUIRE_NOT_SUPPORTED -2045
1320 #define FG_INVALID_DESIGN -2050
1322 #define FG_CONFIGURE_FAILED -2052
1323 #define FG_RECONFIGURE_FAILED -2053
1324 #define FG_NO_APPLET_ID -2055
1326 #define FG_INVALID_MEMORY -2060
1327 #define FG_MEMORY_IN_USE -2061
1328 #define FG_INVALID_PARAMETER -2070
1329 #define FG_ILLEGAL_WHILE_APC -2071
1330 #define FG_APC_PRIORITY_ERROR -2072
1331 #define FG_APC_ALREADY_REGISTERED -2073
1333 #define FG_INVALID_VALUE -2075
1334 #define FG_INVALID_FILENAME -2076
1335 #define FG_INVALID_FILESIZE -2077
1336 #define FG_INVALID_TYPE -2078
1338 #define FG_INVALID_REGISTER -7040
1339 #define FG_INVALID_MODULO -7080
1340 #define FG_INVALID_CONFIGFILE -5000
1341 #define FG_INVALID_CONFIGFILEEXT FG_INVALID_CONFIGFILE
1342 #define FG_FILE_ACCESS_DENIED -5001
1344 #define FG_ERROR_FREQUENCY_TOO_HIGH_FOR_PFG -2077
1345 #define FG_ERROR_VALUE_TOO_LOW_FOR_FPS_OR_WIDTH_OR_DELAY -2078
1346 #define FG_ERROR_VALUE_TOO_HIGH_FOR_FPS_OR_WIDTH_OR_DELAY -2079
1347 
1348 #define FG_NOT_LOAD -2080
1349 #define FG_ALREADY_STARTED -2090
1350 #define FG_OPERATION_ABORTED -2091
1351 #define FG_STILL_ACTIVE -2100
1352 #define FG_NO_VALID_DESIGN -2110
1353 #define FG_TIMEOUT_ERR -2120
1354 #define FG_NOT_IMPLEMENTED -2130
1355 #define FG_WRONG_TRIGGER_MODE -2140
1356 #define FG_NOT_WRONG_TRIGGER_MODE FG_WRONG_TRIGGER_MODE
1357 #define FG_WRONG_TRIGGER_STATE -2141
1358 #define FG_ALL_BUFFER_BLOCKED -2150
1360 #define FG_NO_EVENTS_FOUND -2160
1361 #define FG_CANNOT_COMBINE_DATA_EVENTS \
1362  -2161
1363 #define FG_INVALID_EVENTMASK -2162
1365 #define FG_CANNOT_INIT_MICROENABLE -3000
1366 #define FG_TRANSFER_NOT_ACTIVE -3010
1367 #define FG_CLOCK_NOT_LOCKED -3120
1368 #define FG_STILL_NOT_STARTED -4000
1369 #define FG_VALUE_OUT_OF_RANGE -6000
1370 #define FG_CANNOT_CHANGE_DISPLAY_WIDTH -7000
1371 #define FG_CANNOT_CHANGE_DISPLAY_HEIGHT -7005
1372 #define FG_CANNOT_CHANGE_DISPLAY_SIZE -7010
1373 #define FG_NO_VALID_LICENSE -7020
1374 #define FG_HAP_FILE_CORRUPTED -7021
1375 #define FG_CANNOT_CHANGE_CAMERA_FORMAT -7030
1376 #define FG_REGISTER_INIT_FAILED -7050
1377 #define FG_INVALID_SHADING_CORRECTION_FILE -7060
1378 #define FG_WRITE_LINE_SHADING_TIMEOUT -7070
1379 #define FG_INVALID_IMAGE_DIMENSIONS -7071
1380 #define FG_ERR_INVALID_FILE_DATA -7072
1381 #define FG_ERR_RANGE_ERROR -7073
1382 #define FG_CANNOT_CHANGE_DURING_ACQU -7090
1383 #define FG_TOKEN_NOT_FOUND_ERROR -8000
1384 #define FG_WRITE_ACCESS_DENIED -8010
1385 #define FG_REGISTER_UPDATE_FAILED -8020
1386 #define FG_DEVICE_IO_ERROR -9000
1387 #define FG_INVALID_CONFIG_REGION -9001
1388 #define FG_DEVICE_REMOVED -9002
1389 #define FG_PARAMETER_NOT_IN_FILE -9003
1394 #define SINGLE_AREA_GRAY 0x10
1395 #define SINGLE_AREA_2DSHADING 0x11
1396 #define DUAL_AREA_GRAY 0x20
1397 #define SINGLE_AREA_BAYER 0x30
1398 #define DUAL_AREA_BAYER 0x31
1399 #define SINGLE_AREA_GRAY_SHADING 0x40
1400 #define SDRAM_ACCESS 0x41
1401 #define SINGLE_LINE_GRAY 0x50
1402 #define SINGLE_LINE_RGB 0x60
1403 #define DUAL_LINE_RGB 0x61
1404 #define DUAL_LINE_RGB_SHADING 0x62
1405 #define DUAL_LINE_GRAY 0x70
1406 #define VISIGLAS 0x80
1407 #define TRUMPFINESS 0x81
1408 #define SOUDRONIC 0x82
1409 #define SINGLEHIGHPRECISION 0x83
1410 #define SINGLE_AREA_GRAY_OFFSET 0x84
1411 #define SINGLE_AREA_HSI 0x90
1412 #define SINGLE_AREA_RGB 0xa0
1413 #define DUAL_AREA_RGB 0xb0
1414 #define SINGLE_AREA_RGB_SEPARATION 0xb1
1415 #define MEDIUM_LINE_RGB 0xb2
1416 #define MEDIUM_LINE_GRAY 0xb3
1417 #define SINGLE_FAST_CONFIG 0xb5
1418 #define FASTCONFIG_SINGLE_AREA_GRAY SINGLE_FAST_CONFIG
1420 #define SINGLE_AREA_GRAY_XXL 0x110
1421 #define SINGLE_AREA_2DSHADING_XXL 0x111
1422 #define DUAL_AREA_GRAY_XXL 0x120
1423 #define SINGLE_AREA_BAYER_XXL 0x130
1424 #define DUAL_AREA_BAYER_XXL 0x131
1425 #define SINGLE_AREA_GRAY_SHADING_XXL 0x140
1426 #define SDRAM_ACCESS_XXL 0x141
1427 #define SINGLE_LINE_GRAY_XXL 0x150
1428 #define SINGLE_LINE_RGB_XXL 0x160
1429 #define DUAL_LINE_RGB_XXL 0x161
1430 #define DUAL_LINE_RGB_SHADING_XXL 0x162
1431 #define DUAL_LINE_GRAY_XXL 0x170
1432 #define SINGLE_AREA_HSI_XXL 0x190
1433 #define SINGLE_AREA_RGB_XXL 0x1a0
1434 #define DUAL_AREA_RGB_XXL 0x1b0
1435 #define SINGLE_AREA_RGB_SEPARATION_XXL 0x1b1
1436 #define MEDIUM_LINE_RGB_XXL 0x1b2
1437 #define MEDIUM_LINE_GRAY_XXL 0x1b3
1438 #define MEDIUM_AREA_GRAY_XXL 0x1b4
1439 #define MEDIUM_AREA_RGB_XXL 0x1b5
1440 #define SINGLE_AREA_BAYER12_XXL 0x1c0
1441 #define DUAL_AREA_GRAY12_XXL 0x1d0
1442 #define SINGLE_LINE_GRAY12_XXL 0x1d1
1443 #define DUAL_AREA_RGB36_XXL 0x1d2
1444 #define DUAL_LINE_GRAY12_XXL 0x1d3
1445 #define MEDIUM_LINE_GRAY12_XXL 0x1d4
1446 #define SINGLE_AREA_GRAY12_XXL 0x1d5
1447 #define DUAL_LINE_RGB36_XXL 0x1d6
1448 #define SINGLE_AREA_RGB36_XXL 0x1d7
1449 #define SINGLE_LINE_RGB36_XXL 0x1d8
1450 #define DUAL_AREA_BAYER12_XXL 0x1d9
1451 #define SINGLE_AREA_2DSHADING12_XXL 0x1da
1452 #define SINGLE_LINE_RGB24_XXL 0x1db
1454 #define LSC1020XXL 0x500
1455 #define LSC1020JPGXXL 0x501
1456 #define CLSC2050 0x502
1457 #define CLSC2050JPGXXL 0x503
1458 #define SEQUENCE_EXTRACTOR 0x510
1459 #define SAG_COMPRESSION 0x520
1460 #define MEDIUM_LINE_GRAY_FIR_XXL 0x530
1461 #define DUAL_LINE_RGB_SORTING_XXL 0x540
1462 #define SINGLE_LINE_GRAY_2X12_XXL 0x550
1463 #define MEDIUM_LINE_GRAY12 0x560
1464 #define SINGLE_LINE_RGB36PIPELINE2_XXL 0x570
1465 #define DUAL_AREA_GRAY_16 0x580
1467 #define DUAL_AREA_GRAY16_ME4BASEX1 0xa400010
1468 #define DUAL_AREA_RGB48_ME4BASEX1 0xa400020
1469 #define DUAL_LINE_GRAY16_ME4BASEX1 0xa400030
1470 #define DUAL_LINE_RGB48_ME4BASEX1 0xa400040
1471 #define MEDIUM_AREA_GRAY16_ME4BASEX1 0xa400050
1472 #define MEDIUM_AREA_RGB36_ME4BASEX1 0xa400060
1473 #define MEDIUM_LINE_GRAY16_ME4BASEX1 0xa400070
1474 #define MEDIUM_LINE_RGB36_ME4BASEX1 0xa400080
1476 #define DUAL_AREA_BAYER12_ME4FULLX1 0xa410010
1477 #define DUAL_AREA_GRAY16_ME4FULLX1 0xa410020
1478 #define DUAL_AREA_RGB48_ME4FULLX1 0xa410030
1479 #define DUAL_LINE_GRAY16_ME4FULLX1 0xa410040
1480 #define DUAL_LINE_RGB30_ME4FULLX1 0xa410050
1481 #define FULL_AREA_GRAY8_ME4FULLX1 0xa410060
1482 #define FULL_LINE_GRAY8_ME4FULLX1 0xa410070
1483 #define MEDIUM_AREA_GRAY16_ME4FULLX1 0xa410080
1484 #define MEDIUM_AREA_RGB36_ME4FULLX1 0xa410090
1485 #define MEDIUM_LINE_GRAY16_ME4FULLX1 0xa4100a0
1486 #define MEDIUM_LINE_RGB36_ME4FULLX1 0xa4100b0
1487 #define SINGLE_AREA_BAYERHQ_ME4FULLX1 0xa4100c0
1488 #define SINGLE_AREA_GRAY2DSHADING_ME4FULLX1 0xa4100d0
1490 #define DUAL_AREA_BAYER12_ME4FULLX4 0xa440010
1491 #define DUAL_AREA_GRAY16_ME4FULLX4 0xa440020
1492 #define DUAL_AREA_RGB48_ME4FULLX4 0xa440030
1493 #define DUAL_LINE_GRAY16_ME4FULLX4 0xa440040
1494 #define DUAL_LINE_RGB30_ME4FULLX4 0xa440050
1495 #define FULL_AREA_GRAY8_ME4FULLX4 0xa440060
1496 #define FULL_LINE_GRAY8_ME4FULLX4 0xa440070
1497 #define MEDIUM_AREA_GRAY16_ME4FULLX4 0xa440080
1498 #define MEDIUM_AREA_RGB36_ME4FULLX4 0xa440090
1499 #define MEDIUM_LINE_GRAY16_ME4FULLX4 0xa4400a0
1500 #define MEDIUM_LINE_RGB36_ME4FULLX4 0xa4400b0
1501 #define SINGLE_AREA_BAYERHQ_ME4FULLX4 0xa4400c0
1502 #define SINGLE_AREA_GRAY2DSHADING_ME4FULLX4 0xa4400d0
1504 #define QUAD_AREA_BAYER24_ME4GBEX4 0xe440010
1505 #define QUAD_AREA_GRAY16_ME4GBEX4 0xe440020
1506 #define QUAD_AREA_RG24_ME4GBEX4 0xe440030
1507 #define QUAD_AREA_RGB48_ME4GBEX4 0xe440040
1508 #define QUAD_AREA_GRAY8_ME4GBEX4 0xe440050
1509 #define QUAD_LINE_GRAY16_ME4GBEX4 0xe440060
1510 #define QUAD_LINE_RGB24_ME4GBEX4 0xe440070
1511 #define QUAD_LINE_GRAY8_ME4GBEX4 0xe440080
1513 #define FULL_AREA_GRAY8_HS_ME4VD4 ((PN_MICROENABLE4VD4CL << 16) + 0x00e0)
1514 #define FULL_AREA_GRAY8_HS_ME4AD4 ((PN_MICROENABLE4AD4CL << 16) + 0x00e0)
1525 typedef int (*Fg_ApcFunc_t)(frameindex_t imgNr, void *data);
1526 
1530 enum Fg_Apc_Flag {
1531  FG_APC_DEFAULTS = 0x0,
1532  FG_APC_BATCH_FRAMES = 0x1,
1533  FG_APC_IGNORE_TIMEOUTS = 0x2,
1536  FG_APC_HIGH_PRIORITY = 0x10,
1537  FG_APC_DELIVER_ERRORS = 0x20,
1539 };
1546 };
1568 typedef int (*Fg_EventFunc_t)(uint64_t events, void *data, const struct fg_event_info *info);
1569 
1573 enum FgEventControlFlags {
1575  FG_EVENT_BATCHED = 0x1
1576 };
1577 
1581 enum FgEventNotifiers {
1582  FG_EVENT_NOTIFY_JOINED = 0x1,
1586 };
1587 
1596 #define FG_EVENT_INFO_INIT(x) \
1597  do { \
1598  unsigned int i; \
1599  struct fg_event_info *_x = (x); \
1600  _x->version = 2; \
1601  _x->_pad = 0; \
1602  for (i = 0; i < 64; i++) { \
1603  _x->notify[i] = 0; \
1604  _x->timestamp[i] = 0; \
1605  } \
1606  _x->length = 0; \
1607  for (i = 0; i < 254; i++) { \
1608  _x->data[i] = 0; \
1609  } \
1610  } while (0)
1611 
1628 typedef int (*Fg_AsyncNotifyFunc_t)(int boardIndex, unsigned long notification, unsigned long pl, unsigned long ph, void *context);
1629 
1630 /* ACQ APPLETS --- PARAMETER IDS */
1631 /*
1632  * \brief Acquisition Applets: Parameter IDs
1633  */
1634 #define FG_FILLLEVEL 110086
1635 #define FG_OVERFLOW 110087
1636 #define FG_NOISEFILTER 110016
1637 #define FG_LUT_TYPE 110017
1638 #define FG_LUT_CUSTOM_FILE 300000
1639 #define FG_LUT_SAVE_FILE 110021
1640 #define FG_PROCESSING_GAIN 300002
1641 #define FG_PROCESSING_GAMMA 300003
1642 #define FG_PROCESSING_OFFSET 300004
1643 #define FG_PROCESSING_INVERT 300005
1644 #define FG_LUT_IMPLEMENTATION_TYPE 300006
1645 #define FG_SHADING_GAIN_ENABLE 300100
1646 #define FG_SHADING_GRAY_FILENAME 300101
1647 #define FG_SHADING_OFFSET_ENABLE 300102
1648 #define FG_SHADING_BLACK_FILENAME 300103
1649 #define FG_SHADING_GAIN_CORRECTION_MODE 300106
1650 #define FG_SHADING_APPLY_SETTINGS 300107
1651 #define FG_SHADING_GAIN_NORMALIZATION_VALUE 300108
1652 #define FG_AREATRIGGERMODE 300200
1653 #define FG_TRIGGERSTATE 300201
1654 #define FG_TRIGGER_FRAMESPERSECOND FG_FRAMESPERSEC
1655 #define FG_TRIGGER_EXCEEDED_PERIOD_LIMITS 300202
1656 #define FG_TRIGGER_EXCEEDED_PERIOD_LIMITS_CLEAR 300203
1657 #define FG_TRIGGERIN_DEBOUNCE 300204
1658 #define FG_TRIGGERIN_SRC FG_TRIGGERINSRC
1659 #define FG_TRIGGERIN_POLARITY FG_TRIGGERINPOLARITY
1660 #define FG_SOFTWARETRIGGER_IS_BUSY 110075
1661 #define FG_TRIGGERIN_DOWNSCALE 300205
1662 #define FG_TRIGGERIN_DOWNSCALE_PHASE 300206
1663 #define FG_TRIGGERIN_STATS_PULSECOUNT 300207
1664 #define FG_TRIGGERIN_STATS_PULSECOUNT_CLEAR 300208
1665 #define FG_TRIGGERIN_STATS_FREQUENCY 300209
1666 #define FG_TRIGGERIN_STATS_MINFREQUENCY 300210
1667 #define FG_TRIGGERIN_STATS_MAXFREQUENCY 300211
1668 #define FG_TRIGGERIN_STATS_MINMAXFREQUENCY_CLEAR 300212
1669 #define FG_TRIGGER_MULTIPLY_PULSES 300213
1670 #define FG_TRIGGERQUEUE_MODE 300214
1671 #define FG_TRIGGERQUEUE_FILLLEVEL 300215
1672 #define FG_TRIGGER_PULSEFORMGEN0_DOWNSCALE 300216
1673 #define FG_TRIGGER_PULSEFORMGEN0_DOWNSCALE_PHASE 300217
1674 #define FG_TRIGGER_PULSEFORMGEN0_DELAY 300218
1675 #define FG_TRIGGER_PULSEFORMGEN0_WIDTH 300219
1676 #define FG_TRIGGER_PULSEFORMGEN1_DOWNSCALE 300220
1677 #define FG_TRIGGER_PULSEFORMGEN1_DOWNSCALE_PHASE 300221
1678 #define FG_TRIGGER_PULSEFORMGEN1_DELAY 300222
1679 #define FG_TRIGGER_PULSEFORMGEN1_WIDTH 300223
1680 #define FG_TRIGGER_PULSEFORMGEN2_DOWNSCALE 300224
1681 #define FG_TRIGGER_PULSEFORMGEN2_DOWNSCALE_PHASE 300225
1682 #define FG_TRIGGER_PULSEFORMGEN2_DELAY 300226
1683 #define FG_TRIGGER_PULSEFORMGEN2_WIDTH 300227
1684 #define FG_TRIGGER_PULSEFORMGEN3_DOWNSCALE 300228
1685 #define FG_TRIGGER_PULSEFORMGEN3_DOWNSCALE_PHASE 300229
1686 #define FG_TRIGGER_PULSEFORMGEN3_DELAY 300230
1687 #define FG_TRIGGER_PULSEFORMGEN3_WIDTH 300231
1688 #define FG_TRIGGEROUT_SELECT0 300232
1689 #define FG_TRIGGEROUT_SELECT1 300233
1690 #define FG_TRIGGEROUT_SELECT2 300234
1691 #define FG_TRIGGEROUT_SELECT3 300235
1692 #define FG_TRIGGEROUT_STATS_SOURCE 300236
1693 #define FG_TRIGGEROUT_STATS_PULSECOUNT 300237
1694 #define FG_TRIGGEROUT_STATS_PULSECOUNT_CLEAR 300238
1695 #define FG_TRIGGERIN_EVENT_SRC 300239
1696 #define FG_TRIGGER_QUEUE_FILLLEVEL_EVENT_ON_THRESHOLD 300240
1697 #define FG_TRIGGER_QUEUE_FILLLEVEL_EVENT_OFF_THRESHOLD 300241
1698 #define FG_TRIGGER_OUTPUT_EVENT_SELECT 300242
1699 #define FG_TRIGGERIN_BYPASS_SRC 300243
1700 #define FG_TRIGGEROUT_SELECT4 300244
1701 #define FG_TRIGGEROUT_SELECT5 300245
1702 #define FG_TRIGGEROUT_SELECT6 300246
1703 #define FG_TRIGGEROUT_SELECT7 300247
1704 #define FG_LUT_BASEPOINTS 300012
1705 #define FG_LUT_IN_BITS 300007
1706 #define FG_LUT_OUT_BITS 300008
1707 #define FG_LUT_VALUE 300001
1708 #define FG_LUT_VALUE_RED 300009
1709 #define FG_LUT_VALUE_GREEN 300010
1710 #define FG_LUT_VALUE_BLUE 300011
1711 #define FG_SHADING_DEAD_PIXEL_INTERPOLATION_ENABLE 300104
1712 #define FG_SHADING_DEAD_PIXEL_INTERPOLATION_THRESHOLD 300105
1713 #define FG_MISSING_CAMERA_FRAME_RESPONSE 300248
1714 #define FG_MISSING_CAMERA_FRAME_RESPONSE_CLEAR 300249
1715 #define FG_TRIGGERCC_SELECT0 300250
1716 #define FG_TRIGGERCC_SELECT1 300251
1717 #define FG_TRIGGERCC_SELECT2 300252
1718 #define FG_TRIGGERCC_SELECT3 300253
1719 #define FG_TRIGGER_LEGACY_MODE 300254
1720 #define FG_SC_SUBSENSORCOUNT 110118
1721 #define FG_SC_SENSORLENGTH 110119
1722 #define FG_SC_TAPCOUNT \
1723  110120
1724 #define FG_SC_ROTATEDSENSOR \
1725  110121
1726 #define FG_SC_READOUTDIRECTION \
1727  110122
1728 #define FG_SC_PIXELORDER 110123
1729 #define FG_SC_UPDATESCHEME \
1730  110124
1731 #define FG_IMAGEHEIGHT 110061
1732 #define FG_SHAFTENCODERMODE 110065
1733 #define FG_IMGTRIGGER_IS_BUSY \
1734  110066
1735 #define FG_IMGTRIGGERDEBOUNCING 110064
1737 #define FG_TRIGGERCAMERA_GPO0 200330
1738 #define FG_TRIGGERCAMERA_GPO1 200331
1739 #define FG_TRIGGERCAMERA_GPO2 200332
1740 #define FG_TRIGGERCAMERA_GPO3 200333
1741 #define FG_TRIGGERCAMERA_GPO4 200334
1742 #define FG_TRIGGERCAMERA_GPO5 200335
1743 #define FG_TRIGGERCAMERA_GPO6 200336
1744 #define FG_TRIGGERCAMERA_GPO7 200337
1745 #define FG_TRIGGERCAMERA_OUT_SELECT 200338
1746 #define FG_TRIGGERCAMERA_SOURCE FG_TRIGGERCAMERA_OUT_SELECT
1747 #define FG_TRIGGERCAMERA_POLARITY 200354
1748 #define FG_TRIGGERCAMERA_INPUT_MONITOR 200339
1749 #define FG_TRIGGERCAMERA_GPI_MONITOR 200340
1751 #define FG_SYSTEMMONITOR_FPGA_TEMPERATURE 200341
1752 #define FG_SYSTEMMONITOR_FPGA_VCC_INT 200342
1753 #define FG_SYSTEMMONITOR_FPGA_VCC_AUX 200343
1754 #define FG_SYSTEMMONITOR_BOARD_POWER 200344
1755 #define FG_SYSTEMMONITOR_CXP_CHIP_TEMPERATURE 200345
1756 #define FG_SYSTEMMONITOR_RAM_CHIP_TEMPERATURE 200346
1757 #define FG_SYSTEMMONITOR_CXP_POWER_REGULATOR_TEMPERATURE 200347
1758 #define FG_SYSTEMMONITOR_POWER_REGULATOR_TEMPERATURE 200348
1759 #define FG_SYSTEMMONITOR_FPGA_DNA 200349
1760 #define FG_SYSTEMMONITOR_CHANNEL_CURRENT 200350
1761 #define FG_SYSTEMMONITOR_CHANNEL_VOLTAGE 200351
1762 #define FG_SYSTEMMONITOR_CHANNEL_STATE 200353
1763 #define FG_SC 110138
1764 #define FG_SAMPLING_RATE 200365
1765 #define FG_PIXELFORMAT 200368
1766 #define FG_CXP_TRIGGER_PACKET_MODE \
1767  200369
1769 #define FG_CXP_STATUS 200450
1770 #define FG_PACKET_TAG_ERROR_COUNT 200477
1771 #define FG_CORRECTED_ERROR_COUNT 200478
1772 #define FG_UNCORRECTED_ERROR_COUNT 200479
1773 #define FG_SYSTEMMONITOR_USED_CXP_CONNECTIONS 200480
1774 #define FG_SYSTEMMONITOR_PACKETBUFFER_OVERFLOW_COUNT 200481
1775 #define FG_SYSTEMMONITOR_PACKETBUFFER_OVERFLOW_SOURCE 200482
1776 #define FG_SYSTEMMONITOR_CXP_IMAGE_LINE_MODE 200483
1778 #define FG_TRIGGER_EVENT_COUNT 200451
1779 #define FG_TRIGGER_ACKNOWLEDGEMENT_COUNT 200452
1780 #define FG_TRIGGER_WAVE_VIOLATION 200453
1781 #define FG_SYSTEMMONITOR_FPGA_DNA_LOW 200454
1782 #define FG_SYSTEMMONITOR_FPGA_DNA_HIGH 200455
1783 #define FG_CXP_DEBUG_PORT 200456
1784 #define FG_SYSTEMMONITOR_EXTERNAL_POWER 200457
1785 #define FG_SYSTEMMONITOR_PCIE_TRAINED_REQUEST_SIZE 200458
1786 #define FG_SYSTEMMONITOR_POWER_OVER_CXP_STATE 200459
1787 #define FG_SYSTEMMONITOR_NOT_IN_TABLE_8B10B_ERROR 200460
1788 #define FG_SYSTEMMONITOR_DISPARITY_8B_10B_ERROR 200461
1789 #define FG_SYSTEMMONITOR_BYTE_ALIGNMENT_8B_10B_LOCKED 200462
1790 #define FG_SYSTEMMONITOR_PORT_BIT_RATE 200463
1791 #define FG_SYSTEMMONITOR_CXP_POWER 200464
1792 #define FG_SYSTEMMONITOR_DDR_VTT_POWER 200465
1793 #define FG_SYSTEMMONITOR_DDR_ETH_POWER 200466
1794 #define FG_SYSTEMMONITOR_POWER_OVER_CXP_CONTROLLER_ENABLED 200467
1795 #define FG_SYSTEMMONITOR_MAPPED_TO_FG_PORT 200468
1796 #define FG_SYSTEMMONITOR_STREAM_PACKET_SIZE 200469
1797 #define FG_SYSTEMMONITOR_CXP_STANDARD 200470
1798 #define FG_SYSTEMMONITOR_RX_STREAM_INCOMPLETE_COUNT 200471
1799 #define FG_SYSTEMMONITOR_RX_UNKNOWN_DATA_RECEIVED_COUNT 200472
1800 #define FG_SYSTEMMONITOR_RX_PACKET_CRC_ERROR_COUNT 200473
1801 #define FG_SYSTEMMONITOR_RX_UNSUPPORTED_PACKET_COUNT 200474
1802 #define FG_SYSTEMMONITOR_RX_LENGTH_ERROR_COUNT 200475
1803 #define FG_SYSTEMMONITOR_DECODER_8B_10B_ERROR 200476
1805 #define FG_SHADING_ENABLE 300109
1806 #define FG_SHAFTENCODER_COMPENSATION_ENABLE 200370
1807 #define FG_SHAFTENCODER_COMPENSATION_COUNT 200371
1809 #define FG_REVERSE_X \
1810  300110
1811 #define FG_TAPGEOMETRY 300111
1812 #define FG_VANTAGEPOINT 300112
1813 #define FG_SENSORWIDTH 200220
1814 #define FG_SENSORHEIGHT 200221
1816 #define FG_SYSTEMMONITOR_FPGA_VCC_BRAM 200372
1817 #define FG_SYSTEMMONITOR_CURRENT_LINK_WIDTH 200373
1818 #define FG_SYSTEMMONITOR_CURRENT_LINK_SPEED 200374
1819 #define FG_SYSTEMMONITOR_PCIE_LINK_GEN2_CAPABLE 200375
1820 #define FG_SYSTEMMONITOR_PCIE_LINK_PARTNER_GEN2_CAPABLE 200376
1821 #define FG_SYSTEMMONITOR_PCIE_TRAINED_PAYLOAD_SIZE 200377
1822 #define FG_SYSTEMMONITOR_EXTENSION_CONNECTOR_PRESENT 200378
1823 #define FG_SYSTEMMONITOR_POCL_STATE_PORT_A 200379
1824 #define FG_SYSTEMMONITOR_POCL_STATE_PORT_B 200380
1825 #define FG_ALTERNATIVE_BOARD_DETECTION 200381
1826 #define FG_CUSTOM_BIT_SHIFT_RIGHT 200396
1827 #define FG_LINETRIGGERDEBOUNCING 110063
1828 #define FG_IMGTRIGGER_ASYNC_HEIGHT 110067
1829 #define FG_GPI 140100
1830 #define FG_FRONT_GPI 200382
1831 #define FG_TRIGGERIN_STATS_SOURCE 200398
1832 #define FG_TRIGGERIN_STATS_POLARITY 200399
1833 #define FG_TRIGGEROUT_SELECT_GPO_0 200384
1834 #define FG_TRIGGEROUT_SELECT_GPO_1 200385
1835 #define FG_TRIGGEROUT_SELECT_GPO_2 200386
1836 #define FG_TRIGGEROUT_SELECT_GPO_3 200387
1837 #define FG_TRIGGEROUT_SELECT_FRONT_GPO_0 200392
1838 #define FG_TRIGGEROUT_SELECT_GPO_4 200388
1839 #define FG_TRIGGEROUT_SELECT_GPO_5 200389
1840 #define FG_TRIGGEROUT_SELECT_GPO_6 200390
1841 #define FG_TRIGGEROUT_SELECT_GPO_7 200391
1842 #define FG_TRIGGEROUT_SELECT_FRONT_GPO_1 200393
1843 #define FG_OUTPUT_APPEND_NUMBER 200372
1844 #define FG_LINE_PAYLOAD_SIZE 200400
1845 #define FG_CLHS_TRIGGER_PULSE_MESSAGE 200401
1847 #define FG_TRIGGEROUT_GPO_0_SOURCE FG_TRIGGEROUT_SELECT_GPO_0
1848 #define FG_TRIGGEROUT_GPO_0_POLARITY 200410
1849 #define FG_TRIGGEROUT_GPO_1_SOURCE FG_TRIGGEROUT_SELECT_GPO_1
1850 #define FG_TRIGGEROUT_GPO_1_POLARITY 200411
1851 #define FG_TRIGGEROUT_GPO_2_SOURCE FG_TRIGGEROUT_SELECT_GPO_2
1852 #define FG_TRIGGEROUT_GPO_2_POLARITY 200412
1853 #define FG_TRIGGEROUT_GPO_3_SOURCE FG_TRIGGEROUT_SELECT_GPO_3
1854 #define FG_TRIGGEROUT_GPO_3_POLARITY 200413
1855 #define FG_TRIGGEROUT_GPO_4_SOURCE FG_TRIGGEROUT_SELECT_GPO_4
1856 #define FG_TRIGGEROUT_GPO_4_POLARITY 200414
1857 #define FG_TRIGGEROUT_GPO_5_SOURCE FG_TRIGGEROUT_SELECT_GPO_5
1858 #define FG_TRIGGEROUT_GPO_5_POLARITY 200415
1859 #define FG_TRIGGEROUT_GPO_6_SOURCE FG_TRIGGEROUT_SELECT_GPO_6
1860 #define FG_TRIGGEROUT_GPO_6_POLARITY 200416
1861 #define FG_TRIGGEROUT_GPO_7_SOURCE FG_TRIGGEROUT_SELECT_GPO_7
1862 #define FG_TRIGGEROUT_GPO_7_POLARITY 200417
1863 #define FG_TRIGGEROUT_FRONT_GPO_0_SOURCE FG_TRIGGEROUT_SELECT_FRONT_GPO_0
1864 #define FG_TRIGGEROUT_FRONT_GPO_0_POLARITY 200418
1865 #define FG_TRIGGEROUT_FRONT_GPO_1_SOURCE FG_TRIGGEROUT_SELECT_FRONT_GPO_1
1866 #define FG_TRIGGEROUT_FRONT_GPO_1_POLARITY 200419
1868 #define FG_SIGNAL_ANALYZER_0_SOURCE 200420
1869 #define FG_SIGNAL_ANALYZER_0_POLARITY 200421
1870 #define FG_SIGNAL_ANALYZER_0_PERIOD_CURRENT 200422
1871 #define FG_SIGNAL_ANALYZER_0_PERIOD_MAX 200423
1872 #define FG_SIGNAL_ANALYZER_0_PERIOD_MIN 200424
1873 #define FG_SIGNAL_ANALYZER_0_PULSE_COUNT 200425
1874 #define FG_SIGNAL_ANALYZER_1_SOURCE 200430
1875 #define FG_SIGNAL_ANALYZER_1_POLARITY 200431
1876 #define FG_SIGNAL_ANALYZER_1_PERIOD_CURRENT 200432
1877 #define FG_SIGNAL_ANALYZER_1_PERIOD_MAX 200433
1878 #define FG_SIGNAL_ANALYZER_1_PERIOD_MIN 200434
1879 #define FG_SIGNAL_ANALYZER_1_PULSE_COUNT 200435
1880 #define FG_SIGNAL_ANALYZER_PULSE_COUNT_DIFFERENCE 200439
1881 #define FG_SIGNAL_ANALYZER_CLEAR 200438
1882 #define FG_CUSTOM_SIGNAL_EVENT_0_SOURCE 200440
1883 #define FG_CUSTOM_SIGNAL_EVENT_0_POLARITY 200441
1884 #define FG_CUSTOM_SIGNAL_EVENT_1_SOURCE 200442
1885 #define FG_CUSTOM_SIGNAL_EVENT_1_POLARITY 200443
1887 /* ACQ APPLETS --- SYMBOLIC ENUMERATION VALUES */
1889 /*
1890  * \brief Acquisition Applets: enumeration values
1891  */
1893 #define LUT_TYPE_PROCESSING 3
1894 #define LUT_TYPE_CUSTOM 0
1895 #define LUT_IMPLEMENTATION_FULL_LUT 0
1896 #define LUT_IMPLEMENTATION_KNEELUT 1
1897 #define FG_MAX_VALUE 0
1898 #define FG_MEAN_VALUE 1
1899 #define FG_MAX_RANGE 2
1900 #define FG_CUSTOM_VALUE 3
1901 #define FG_APPLY 1
1902 #define ATM_GENERATOR 1
1903 #define ATM_EXTERNAL 2
1904 #define ATM_SOFTWARE 4
1905 #define TS_ACTIVE 0
1906 #define TS_ASYNC_STOP 1
1907 #define TS_SYNC_STOP 2
1908 #define FG_ONE 1
1909 #define FG_ZERO 0
1910 #define IS_BUSY 1
1911 #define IS_NOT_BUSY 0
1917 enum CCsel { // this is the basic CC signal value set
1923  CC_CLK = 3,
1924  CC_GND = 4,
1925  CC_VCC = 5,
1926  CC_NOT_EXSYNC = 6,
1927  CC_NOT_PRESCALER = 7,
1931  FG_OTHER = -1
1932 };
1934 enum SignalSelectLine { // this is the signal select enum used for example in marathon line applets
1943  FG_SIGNAL_CAM0_FRAME_END = 2103,
1944  FG_SIGNAL_CAM1_EXSYNC = 2010,
1983 };
1985 enum CcSignalMappingArea { // this is the enumerator for adv. acq. area applets
1994  CC_INPUT_BYPASS = 10,
1995  CC_NOT_INPUT_BYPASS = 11
1996 };
1998 enum CcSignalMappingLineExtended { // this is the extension of enum CCSel
1999  CC_GPI_0 = 1001,
2000  CC_NOT_GPI_0 = 1000,
2001  CC_GPI_1 = 1011,
2002  CC_NOT_GPI_1 = 1010,
2003  CC_GPI_2 = 1021,
2004  CC_NOT_GPI_2 = 1020,
2005  CC_GPI_3 = 1031,
2006  CC_NOT_GPI_3 = 1030,
2007  CC_GPI_4 = 1041,
2008  CC_NOT_GPI_4 = 1040,
2009  CC_GPI_5 = 1051,
2010  CC_NOT_GPI_5 = 1050,
2011  CC_GPI_6 = 1061,
2012  CC_NOT_GPI_6 = 1060,
2013  CC_GPI_7 = 1071,
2014  CC_NOT_GPI_7 = 1070,
2023 };
2025 #define PULSEGEN0 0
2026 #define PULSEGEN1 1
2027 #define PULSEGEN2 2
2028 #define PULSEGEN3 3
2029 #define GND 4
2030 #define VCC 5
2031 #define NOT_PULSEGEN0 6
2032 #define NOT_PULSEGEN1 7
2033 #define NOT_PULSEGEN2 8
2034 #define NOT_PULSEGEN3 9
2035 #define CAM_A_PULSEGEN0 50
2036 #define CAM_A_PULSEGEN1 51
2037 #define CAM_A_PULSEGEN2 52
2038 #define CAM_A_PULSEGEN3 53
2039 #define CAM_A_NOT_PULSEGEN0 60
2040 #define CAM_A_NOT_PULSEGEN1 61
2041 #define CAM_A_NOT_PULSEGEN2 62
2042 #define CAM_A_NOT_PULSEGEN3 63
2043 #define CAM_B_PULSEGEN0 54
2044 #define CAM_B_PULSEGEN1 55
2045 #define CAM_B_PULSEGEN2 56
2046 #define CAM_B_PULSEGEN3 57
2047 #define CAM_B_NOT_PULSEGEN0 64
2048 #define CAM_B_NOT_PULSEGEN1 65
2049 #define CAM_B_NOT_PULSEGEN2 66
2050 #define CAM_B_NOT_PULSEGEN3 67
2052 #define CAM_C_PULSEGEN0 68
2053 #define CAM_C_PULSEGEN1 69
2054 #define CAM_C_PULSEGEN2 70
2055 #define CAM_C_PULSEGEN3 71
2056 #define CAM_C_NOT_PULSEGEN0 76
2057 #define CAM_C_NOT_PULSEGEN1 77
2058 #define CAM_C_NOT_PULSEGEN2 78
2059 #define CAM_C_NOT_PULSEGEN3 79
2060 #define CAM_D_PULSEGEN0 72
2061 #define CAM_D_PULSEGEN1 73
2062 #define CAM_D_PULSEGEN2 74
2063 #define CAM_D_PULSEGEN3 75
2064 #define CAM_D_NOT_PULSEGEN0 80
2065 #define CAM_D_NOT_PULSEGEN1 81
2066 #define CAM_D_NOT_PULSEGEN2 82
2067 #define CAM_D_NOT_PULSEGEN3 83
2069 #define INPUT_BYPASS 10
2070 #define NOT_INPUT_BYPASS 11
2071 #define BYPASS_GPI_0 10
2072 #define NOT_BYPASS_GPI_0 20
2073 #define BYPASS_GPI_1 11
2074 #define NOT_BYPASS_GPI_1 21
2075 #define BYPASS_GPI_2 12
2076 #define NOT_BYPASS_GPI_2 22
2077 #define BYPASS_GPI_3 13
2078 #define NOT_BYPASS_GPI_3 23
2079 #define BYPASS_GPI_4 14
2080 #define NOT_BYPASS_GPI_4 24
2081 #define BYPASS_GPI_5 15
2082 #define NOT_BYPASS_GPI_5 25
2083 #define BYPASS_GPI_6 16
2084 #define NOT_BYPASS_GPI_6 26
2085 #define BYPASS_GPI_7 17
2086 #define NOT_BYPASS_GPI_7 27
2087 #define BYPASS_FRONT_GPI_0 30
2088 #define NOT_BYPASS_FRONT_GPI_0 40
2089 #define BYPASS_FRONT_GPI_1 31
2090 #define NOT_BYPASS_FRONT_GPI_1 41
2091 #define BYPASS_FRONT_GPI_2 32
2092 #define NOT_BYPASS_FRONT_GPI_2 42
2093 #define BYPASS_FRONT_GPI_3 33
2094 #define NOT_BYPASS_FRONT_GPI_3 43
2096 #define ATM_SYNCHRONIZED 3
2097 #define FG_CL_FULL_8_TAP_8_BIT FG_CL_8BIT_FULL_8
2098 #define FG_CL_FULL_10_TAP_8_BIT FG_CL_8BIT_FULL_10
2099 #define FG_CL_MEDIUM_4_TAP_8_BIT FG_CL_MEDIUM_8_BIT
2100 #define FG_CL_MEDIUM_4_TAP_10_BIT FG_CL_MEDIUM_10_BIT
2101 #define FG_CL_MEDIUM_4_TAP_12_BIT FG_CL_MEDIUM_12_BIT
2102 #define FG_SINGLE 1
2103 #define FG_DOUBLE 2
2105 #define FILTER_X1 1
2106 #define FILTER_X2 2
2107 #define FILTER_X4 3
2109 #define HIGH_ACTIVE 0
2110 #define LOW_ACTIVE 1
2112 #define FG_CUSTOM_BIT_SHIFT_MODE 2
2113 #define ASYNC_TRIGGER_MULTIFRAME 8
2114 #define CAMERA_FVAL_MULTIFRAME 9
2115 
2116 #define FG_PULSE_IMMEDIATE 1
2117 #define FG_PULSE_WIDTH 23
2122 #define FG_INITIALIZE 0
2123 #define FG_POCL_CONNECTION_SENSE 1
2124 #define FG_POCL_CAMERA_DETECTED 2
2125 #define FG_POCL_CAMERA_CLOCK_DETECTED 3
2126 #define FG_CL_CAMERA_DETECTED 4
2127 #define FG_CL_CAMERA_CLOCK_DETECTED 5
2128 #define FG_POCL_WAIT_FOR_CONNECTION 6
2129 #define FG_CL_WAIT_FOR_CONNECTION \
2130  7
2131 #define FG_POCL_DISABLED 8
2136 enum Fg_PoCXPState {
2137  BOOTING = 0x001,
2138  NOCABLE = 0x002,
2139  NOPOCXP = 0x004,
2140  POCXPOK = 0x008,
2141  MIN_CURR = 0x010,
2142  MAX_CURR = 0x020,
2143  LOW_VOLT = 0x040,
2144  OVER_VOLT = 0x080,
2145  ADC_Chip_Error = 0x100
2146 };
2148 #define FG_POCXP_STATE_BOOTING BOOTING
2149 #define FG_POCXP_STATE_NOCABLE NOCABLE
2150 #define FG_POCXP_STATE_NOPOCXP NOPOCXP
2151 #define FG_POCXP_STATE_POCXPOK POCXPOK
2152 #define FG_POCXP_STATE_MIN_CURR MIN_CURR
2153 #define FG_POCXP_STATE_MAX_CURR MAX_CURR
2154 #define FG_POCXP_STATE_LOW_VOLT LOW_VOLT
2155 #define FG_POCXP_STATE_OVER_VOLT OVER_VOLT
2156 #define FG_POCXP_STATE_ADC_CHIP_ERROR ADC_Chip_Error
2161 enum VantagePointNamingConvention {
2166 };
2181  FG_GEOMETRY_1X = 0x01100000,
2182  FG_GEOMETRY_1X2 = 0x01200000,
2183  FG_GEOMETRY_2X = 0x02100000,
2184  FG_GEOMETRY_2XE = 0x02110000,
2185  FG_GEOMETRY_2XM = 0x02120000,
2186  FG_GEOMETRY_1X3 = 0x01300000,
2187  FG_GEOMETRY_3X = 0x03100000,
2188  FG_GEOMETRY_1X4 = 0x01400000,
2189  FG_GEOMETRY_4X = 0x04100000,
2190  FG_GEOMETRY_4XE = 0x04110000,
2191  FG_GEOMETRY_2X2 = 0x02200000,
2192  FG_GEOMETRY_2X2E = 0x02210000,
2193  FG_GEOMETRY_2X2M = 0x02220000,
2194  FG_GEOMETRY_1X8 = 0x01800000,
2195  FG_GEOMETRY_8X = 0x08100000,
2196  FG_GEOMETRY_1X10 = 0x01A00000,
2197  FG_GEOMETRY_10X = 0x0A100000,
2198  FG_GEOMETRY_4X2 = 0x04200000,
2199  FG_GEOMETRY_4X2E = 0x04210000,
2200  FG_GEOMETRY_5X2 = 0x05200000,
2202  FG_GEOMETRY_1X_1Y = 0x01100110,
2203  FG_GEOMETRY_1X_2Y = 0x01100210,
2204  FG_GEOMETRY_1X_2YE = 0x01100211,
2205  FG_GEOMETRY_2X_1Y = 0x02100110,
2206  FG_GEOMETRY_2XE_1Y = 0x02110110,
2207  FG_GEOMETRY_2XM_1Y = 0x02120110,
2208  FG_GEOMETRY_2X_2Y = 0x02100210,
2209  FG_GEOMETRY_2X_2YE = 0x02100211,
2210  FG_GEOMETRY_2XE_2Y = 0x02110210,
2211  FG_GEOMETRY_2XE_2YE = 0x02110211,
2212  FG_GEOMETRY_2XM_2Y = 0x02120210,
2213  FG_GEOMETRY_2XM_2YE = 0x02120211,
2214  FG_GEOMETRY_4X_1Y = 0x04100110,
2215  FG_GEOMETRY_1X2_1Y = 0x01200110,
2216  FG_GEOMETRY_1X3_1Y = 0x01300110,
2217  FG_GEOMETRY_1X4_1Y = 0x01400110,
2218  FG_GEOMETRY_2X2_1Y = 0x02200110,
2219  FG_GEOMETRY_2X2E_1Y = 0x02210110,
2220  FG_GEOMETRY_2X2M_1Y = 0x02220110,
2221  FG_GEOMETRY_1X2_2YE = 0x01200211
2222 };
2225 /*
2226  * \brief CLHS RGB Vertical ordering of colors in lines
2227  */
2228 #define FG_LINEORDER 920000
2229 #define FG_LINEORDER_RGB 0
2230 #define FG_LINEORDER_BGR 1
2231 #define FG_LINEORDER_RBG 2
2232 #define FG_LINEORDER_BRG 3
2233 #define FG_LINEORDER_GBR 4
2234 #define FG_LINEORDER_GRB 5
2235 #define FG_SPACING_RED 920001
2236 #define FG_SPACING_GREEN 920002
2237 #define FG_SPACING_BLUE 920003
2238 #define FG_SPACING_MAX 920004
2240 /*
2241  * \brief pixel format naming convention, pmsb is removed since CXP 1.1.1
2242  */
2243 #ifndef FGRAB_PREVENT_PFNC_NAMECLASHES
2245  Raw = 0,
2246  Mono8 = 257,
2247  Mono10 = 258,
2248  Mono12 = 259,
2249  Mono14 = 260,
2250  Mono16 = 261,
2251  BayerGR8 = 785,
2252  BayerGR10 = 786,
2253  BayerGR12 = 787,
2254  BayerGR14 = 788,
2255  BayerGR16 = 789,
2256  BayerRG8 = 801,
2257  BayerRG10 = 802,
2258  BayerRG12 = 803,
2259  BayerRG14 = 804,
2260  BayerRG16 = 805,
2261  BayerGB8 = 817,
2262  BayerGB10 = 818,
2263  BayerGB12 = 819,
2264  BayerGB14 = 820,
2265  BayerGB16 = 821,
2266  BayerBG8 = 833,
2267  BayerBG10 = 834,
2268  BayerBG12 = 835,
2269  BayerBG14 = 836,
2270  BayerBG16 = 837,
2271  RGB8 = 1025,
2272  RGB10 = 1026,
2273  RGB12 = 1027,
2274  RGB14 = 1028,
2275  RGB16 = 1029,
2276  RGBA8 = 1281,
2277  RGBA10 = 1282,
2278  RGBA12 = 1283,
2279  RGBA14 = 1284,
2280  RGBA16 = 1285,
2281  YUV422_8 = 1569
2282 };
2283 #else
2285  FGrab_Raw = 0,
2286  FGrab_Mono8 = 257,
2287  FGrab_Mono10 = 258,
2288  FGrab_Mono12 = 259,
2289  FGrab_Mono14 = 260,
2290  FGrab_Mono16 = 261,
2291  FGrab_BayerGR8 = 785,
2292  FGrab_BayerGR10 = 786,
2293  FGrab_BayerGR12 = 787,
2294  FGrab_BayerGR14 = 788,
2295  FGrab_BayerGR16 = 789,
2296  FGrab_BayerRG8 = 801,
2297  FGrab_BayerRG10 = 802,
2298  FGrab_BayerRG12 = 803,
2299  FGrab_BayerRG14 = 804,
2300  FGrab_BayerRG16 = 805,
2301  FGrab_BayerGB8 = 817,
2302  FGrab_BayerGB10 = 818,
2303  FGrab_BayerGB12 = 819,
2304  FGrab_BayerGB14 = 820,
2305  FGrab_BayerGB16 = 821,
2306  FGrab_BayerBG8 = 833,
2307  FGrab_BayerBG10 = 834,
2308  FGrab_BayerBG12 = 835,
2309  FGrab_BayerBG14 = 836,
2310  FGrab_BayerBG16 = 837,
2311  FGrab_RGB8 = 1025,
2312  FGrab_RGB10 = 1026,
2313  FGrab_RGB12 = 1027,
2314  FGrab_RGB14 = 1028,
2315  FGrab_RGB16 = 1029,
2316  FGrab_RGBA8 = 1281,
2317  FGrab_RGBA10 = 1282,
2318  FGrab_RGBA12 = 1283,
2319  FGrab_RGBA14 = 1284,
2320  FGrab_RGBA16 = 1285,
2321  FGrab_YUV422_8 = 1569
2322 };
2323 #endif
2324 
2325 /*
2326  * \brief ordering of colors at bayer format
2327  */
2329 
2330 /*
2331  * \brief ordering of colors for bilinear linescan bayer formats
2332  */
2338 };
2340 /*
2341  * \brief available format of pixels at GigE Vision
2342  */
2343 enum GigEPixelFormat {
2344  MONO8 = 0,
2346  MONO10 = 2,
2348  MONO12 = 4,
2349  MONO12_PACKED = 5,
2350  MONO14 = 7,
2351  MONO16 = 6
2352 };
2353 
2354 /*
2355  * \brief Trigger packet modes for CXP. Defined with parameter FG_CXP_TRIGGER_PACKET_MODE
2356  * Allows the user to send only one package for the rising edge of the trigger instead of rising and falling edge.
2357  * This can increase the maximum possible triggerrate.
2358  * The camera needs to be capable to support this non-standard operation mode.
2359  */
2362 /*
2363  * \brief Asynychronous notifications
2364  */
2365 enum {
2370 };
2372 #define DEVICE_ALARM_TEMPERATURE 0x00000001ul // Temperature alarm
2373 #define DEVICE_ALARM_PHY 0x00000002ul // PHY[0..3] management interrupt, shared (mE5 only)
2374 #define DEVICE_ALARM_POE 0x00000004ul // POE Chip Fault Interrupt
2375 #define DEVICE_ALARM_ACL_0 0x00000010ul // Action command lost on channel [0] (mE5 only)
2376 #define DEVICE_ALARM_ACL_1 0x00000020ul // Action command lost on channel [1] (mE5 only)
2377 #define DEVICE_ALARM_ACL_2 0x00000040ul // Action command lost on channel [2] (mE5 only)
2378 #define DEVICE_ALARM_ACL_3 0x00000080ul // Action command lost on channel [3] (mE5 only)
2379 #define DEVICE_ALARM_ACL_MASK 0x000000F0ul // Action command lost on any channel (mE5 only)
2380 #define DEVICE_ALARM_PHY_0 0x00000100ul // PHY[0] management interrupt (mE6 only)
2381 #define DEVICE_ALARM_PHY_1 0x00000200ul // PHY[0] management interrupt (mE6 only)
2382 #define DEVICE_ALARM_PHY_2 0x00000400ul // PHY[0] management interrupt (mE6 only)
2383 #define DEVICE_ALARM_PHY_3 0x00000800ul // PHY[0] management interrupt (mE6 only)
2384 #define DEVICE_ALARM_PHY_MASK 0x00000F02ul // PHY management interrupt on any channel (all)
2385 #define DEVICE_ALARM_SOFTWARE 0x80000000ul // Software triggered test interrupt
2387 #define DEVICE_STATUS_CONFIGURED 0x00000001ul
2388 #define DEVICE_STATUS_LOCKED 0x00000002ul
2389 #define DEVICE_STATUS_OVERTEMP 0x40000000ul
2390 #define DEVICE_STATUS_DEAD 0x80000000ul
2392 /* Applet INFO */
2404 };
2410 enum FgAppletIteratorFlags {
2415  FG_AF_IS_LOADABLE = 0x10,
2416  FG_AF_IS_POWERUP_APPLET = 0x20,
2418  0x40,
2419  FG_AF_IS_FLASHED = 0x80,
2424 };
2436  FG_AI_IS_BASE_X1 = 0x10,
2437  FG_AI_IS_MEDIUM_X2 = 0x20,
2438  FG_AI_IS_FULL_X4 = 0x40,
2439  FG_AI_IS_DUAL_FULL_X8 = 0x80,
2440  FG_AI_CAMERA_INTERFACE = 0xF0,
2442  FG_AI_IS_VAS = 0x100,
2444  FG_AI_IS_SMART = 0x400,
2445  FG_AI_IS_BLOB = 0x800,
2446  FG_AI_IS_ADVANCED_ACQ_APPLET = 0x1000,
2448  FG_AI_IS_GENERIC = 0x10000,
2450  FG_AI_IS_VALID = 0x80000000,
2452 };
2460  FG_AP_INT_FLAGS,
2475 };
2495 };
2497 #endif
Definition: fgrab_define.h:69
Definition: fgrab_define.h:2287
Definition: fgrab_define.h:1941
Definition: fgrab_define.h:2012
Definition: fgrab_define.h:2017
Definition: fgrab_define.h:2201
Definition: fgrab_define.h:298
Definition: fgrab_define.h:2259
Definition: fgrab_define.h:139
Definition: fgrab_define.h:2448
BOARD_INFORMATION_SELECTOR
definitions of available information related to the grabber-board itself
Definition: fgrab_define.h:1048
Definition: fgrab_define.h:151
Definition: fgrab_define.h:172
long frameindex_t
Definition: os_type.h:78
Definition: fgrab_define.h:107
Definition: fgrab_define.h:2473
Definition: fgrab_define.h:73
Definition: fgrab_define.h:1118
Definition: fgrab_define.h:2211
Definition: fgrab_define.h:2499
Definition: fgrab_define.h:348
Definition: fgrab_define.h:1987
FgImageSourceTypes
definitions of values for parameter FG_GEN_ENABLE / FG_CAMERASIMULATOR_ENABLE These values describe t...
Definition: fgrab_define.h:271
char name[1]
Definition: fgrab_define.h:1185
Definition: fgrab_define.h:175
Definition: fgrab_define.h:2280
Definition: fgrab_define.h:189
Definition: fgrab_define.h:78
Definition: fgrab_define.h:2377
Definition: fgrab_define.h:104
Definition: fgrab_define.h:1969
Definition: fgrab_define.h:2431
Definition: fgrab_define.h:66
Definition: fgrab_define.h:2476
Definition: fgrab_define.h:2346
Definition: fgrab_define.h:2357
Definition: fgrab_define.h:1936
Definition: fgrab_define.h:2205
Definition: fgrab_define.h:1162
FgAppletIteratorFlags
Definition: fgrab_define.h:2421
MeCameraTypes
Definition: fgrab_define.h:135
Definition: fgrab_define.h:2214
Definition: fgrab_define.h:2156
Definition: fgrab_define.h:2217
Definition: fgrab_define.h:82
Definition: fgrab_define.h:2461
Definition: fgrab_define.h:1968
Definition: fgrab_define.h:126
Definition: fgrab_define.h:1148
Definition: fgrab_define.h:1592
Definition: fgrab_define.h:2023
Definition: fgrab_define.h:2032
Definition: fgrab_define.h:2290
Definition: fgrab_define.h:1062
Definition: fgrab_define.h:68
Definition: fgrab_define.h:195
Definition: fgrab_define.h:2451
Definition: fgrab_define.h:2339
Definition: fgrab_define.h:111
Definition: fgrab_define.h:2500
Definition: fgrab_define.h:147
Definition: fgrab_define.h:2022
Definition: fgrab_define.h:118
Definition: fgrab_define.h:2285
Definition: fgrab_define.h:1594
Definition: fgrab_define.h:2379
Definition: fgrab_define.h:1084
Definition: fgrab_define.h:76
Definition: fgrab_define.h:2260
Definition: fgrab_define.h:2339
Definition: fgrab_define.h:1059
Definition: fgrab_define.h:120
Definition: fgrab_define.h:205
Definition: fgrab_define.h:161
Definition: fgrab_define.h:1251
Definition: fgrab_define.h:2483
Definition: fgrab_define.h:212
Definition: fgrab_define.h:2472
Definition: fgrab_define.h:230
Definition: fgrab_define.h:2279
Definition: fgrab_define.h:209
Definition: fgrab_define.h:1152
Definition: fgrab_define.h:285
Definition: fgrab_define.h:2193
Definition: fgrab_define.h:2031
Definition: fgrab_define.h:2457
PixelFormatNamingConvention
Definition: fgrab_define.h:2255
Definition: fgrab_define.h:81
Definition: fgrab_define.h:51
Definition: fgrab_define.h:154
Definition: fgrab_define.h:2001
Definition: fgrab_define.h:142
FgAppletIntProperty
Available Integer Applet Properties.
Definition: fgrab_define.h:2470
Definition: fgrab_define.h:179
MeTriggerMode
Definition: fgrab_define.h:62
Definition: fgrab_define.h:1932
Definition: fgrab_define.h:1096
Definition: fgrab_define.h:1542
TriggerMode
Definition: fgrab_define.h:36
Definition: fgrab_define.h:1090
Definition: fgrab_define.h:198
Definition: fgrab_define.h:144
Definition: fgrab_define.h:2345
Definition: fgrab_define.h:2426
Definition: fgrab_define.h:2423
Definition: fgrab_define.h:182
TriggerSync
Definition: fgrab_define.h:60
Definition: fgrab_define.h:2427
GigEPixelFormat
Definition: fgrab_define.h:2354
Definition: fgrab_define.h:1971
Definition: fgrab_define.h:2276
Definition: fgrab_define.h:104
FgProperty
definitions for querying information about a certain field
Definition: fgrab_define.h:1160
Definition: fgrab_define.h:2428
Definition: fgrab_define.h:129
Definitions for platform dependent types.
Definition: fgrab_define.h:2228
Definition: fgrab_define.h:156
Definition: fgrab_define.h:2221
Definition: fgrab_define.h:46
Definition: fgrab_define.h:1942
Definition: fgrab_define.h:295
Definition: fgrab_define.h:1068
Definition: fgrab_define.h:2192
Definition: fgrab_define.h:187
Fg_Info_Selector
definitions of available system informations
Definition: fgrab_define.h:1057
Definition: fgrab_define.h:2477
Definition: fgrab_define.h:1085
Definition: fgrab_define.h:2216
Definition: fgrab_define.h:121
Definition: fgrab_define.h:240
Definition: fgrab_define.h:2033
int(* Fg_EventFunc_t)(uint64_t events, void *data, const struct fg_event_info *info)
Definition: fgrab_define.h:1578
Definition: fgrab_define.h:2267
Definition: fgrab_define.h:201
Definition: fgrab_define.h:89
Definition: fgrab_define.h:114
Definition: fgrab_define.h:181
Definition: fgrab_define.h:124
Definition: fgrab_define.h:237
Definition: fgrab_define.h:1546
Definition: fgrab_define.h:239
Definition: fgrab_define.h:173
Definition: fgrab_define.h:2430
Definition: fgrab_define.h:2270
Definition: fgrab_define.h:57
Definition: fgrab_define.h:2148
Definition: fgrab_define.h:2505
uint16_t data[254]
Definition: fgrab_struct.h:160
Definition: fgrab_define.h:104
Definition: fgrab_define.h:1149
Definition: fgrab_define.h:220
Definition: fgrab_define.h:2422
Definition: fgrab_define.h:2495
Definition: fgrab_define.h:136
Definition: fgrab_define.h:150
Definition: fgrab_define.h:2432
Definition: fgrab_define.h:2194
Definition: fgrab_define.h:2339
Definition: fgrab_define.h:2014
Definition: fgrab_define.h:2203
Definition: fgrab_define.h:2265
Definition: fgrab_define.h:211
Definition: fgrab_define.h:2151
Definition: fgrab_define.h:2215
Definition: fgrab_define.h:1058
Definition: fgrab_define.h:39
Definition: fgrab_define.h:1545
Definition: fgrab_define.h:1067
Definition: fgrab_define.h:1166
CcSignalMappingLineExtended
Definition: fgrab_define.h:2009
MeLineTriggerModeLine
Definition: fgrab_define.h:88
MeKneeLutMode
Definition: fgrab_define.h:78
FgParamTypes
Definition: fgrab_define.h:217
MeSensorReadoutModes2
Definition: fgrab_define.h:171
Definition: fgrab_define.h:214
Definition: fgrab_define.h:2414
Definition: fgrab_define.h:1253
Definition: fgrab_define.h:75
Definition: fgrab_define.h:60
Definition: fgrab_define.h:1171
Definition: fgrab_define.h:1966
Definition: fgrab_define.h:2222
Definition: fgrab_define.h:2150
Definition: fgrab_define.h:110
TapGeometryNamingConvention
Avilable Tap Geometry Formats. Format according to GenICam SFNC. Values not defined in SFNC Scheme fo...
Definition: fgrab_define.h:2191
Definition: fgrab_define.h:1086
Definition: fgrab_define.h:140
Definition: fgrab_define.h:92
Definition: fgrab_struct.h:154
Definition: fgrab_define.h:197
Definition: fgrab_define.h:2502
Definition: fgrab_define.h:1967
Definition: fgrab_define.h:223
Definition: fgrab_define.h:2227
Definition: fgrab_define.h:2019
Definition: fgrab_define.h:1073
Definition: fgrab_define.h:1098
Definition: fgrab_define.h:208
Definition: fgrab_define.h:2282
Definition: fgrab_define.h:64
Definition: fgrab_define.h:2220
Definition: fgrab_define.h:60
Definition: fgrab_define.h:2283
Definition: fgrab_define.h:210
Definition: fgrab_define.h:1951
Definition: fgrab_define.h:116
Definition: fgrab_define.h:1163
Definition: fgrab_define.h:2348
Definition: fgrab_define.h:1063
Definition: fgrab_define.h:2361
Definition: fgrab_define.h:1061
FgEventNotifiers
the status flags passed in notify member of struct fg_event_info
Definition: fgrab_define.h:1591
Definition: fgrab_define.h:1080
Definition: fgrab_define.h:2380
Definition: fgrab_define.h:99
Definition: fgrab_define.h:1544
Definition: fgrab_define.h:1541
Definition: fgrab_define.h:2445
Definition: fgrab_define.h:2433
Definition: fgrab_define.h:1963
Definition: fgrab_define.h:2272
Definition: fgrab_define.h:1974
Definition: fgrab_define.h:50
Definition: fgrab_define.h:2504
Definition: fgrab_define.h:2480
Definition: fgrab_define.h:1174
Definition: fgrab_define.h:119
MeAreaTriggerMode
Definition: fgrab_define.h:80
Definition: fgrab_define.h:2288
Definition: fgrab_define.h:2155
Definition: fgrab_define.h:1955
Definition: fgrab_define.h:90
Definition: fgrab_define.h:2284
Definition: fgrab_define.h:1168
Definition: fgrab_define.h:1081
Definition: fgrab_define.h:2434
Definition: fgrab_define.h:2482
PowerOverCXPState
definitions of values for parameter FG_SYSTEMMONITOR_POWER_OVER_CXP_STATE These values describe the p...
Definition: fgrab_define.h:293
Definition: fgrab_define.h:1169
FgParamEnumGbeCamType
definitions of pixel format for parameter FG_GBE_CAMTYPE These values describe the pixel format of th...
Definition: fgrab_define.h:346
Definition: fgrab_define.h:2471
Definition: fgrab_define.h:2493
Definition: fgrab_define.h:2258
Definition: fgrab_define.h:1254
Definition: fgrab_define.h:1991
Definition: fgrab_define.h:2000
Definition: fgrab_define.h:1998
Definition: fgrab_define.h:2355
Definition: fgrab_define.h:1078
Definition: fgrab_define.h:65
Definition: fgrab_define.h:2011
MeLineShadingMode
Definition: fgrab_define.h:76
Definition: fgrab_define.h:180
FgApcControlFlags
control flags for Fg_registerApcHandler()
Definition: fgrab_define.h:1554
Definition: fgrab_define.h:67
Definition: fgrab_define.h:2013
Definition: fgrab_define.h:1950
Definition: fgrab_define.h:1978
Definition: fgrab_define.h:112
Definition: fgrab_define.h:1176
Definition: fgrab_define.h:63
Definition: fgrab_define.h:1164
Definition: fgrab_define.h:193
Definition: fgrab_define.h:2231
Definition: fgrab_define.h:1940
Definition: fgrab_define.h:2002
Definition: fgrab_define.h:153
FgStopAcquireFlags
Flags for controlling the behavior of Fg_StopAcquireEx() function.
Definition: fgrab_define.h:1249
Definition: fgrab_define.h:2020
Definition: fgrab_define.h:2447
Definition: fgrab_define.h:132
Definition: fgrab_define.h:231
Definition: fgrab_define.h:98
Definition: fgrab_define.h:2454
Definition: fgrab_define.h:2153
Definition: fgrab_define.h:2268
Definition: fgrab_define.h:1064
FgEventControlFlags
controls the behaviour of Fg_waitEvent()
Definition: fgrab_define.h:1583
Definition: fgrab_define.h:1970
Definition: fgrab_define.h:146
Definition: fgrab_define.h:2262
Definition: fgrab_define.h:1065
Definition: fgrab_define.h:31
Definition: fgrab_define.h:185
Definition: fgrab_define.h:2199
Definition: fgrab_define.h:1250
Definition: fgrab_define.h:2003
Definition: fgrab_define.h:2026
Definition: fgrab_define.h:125
Definition: fgrab_define.h:40
Definition: fgrab_define.h:1973
Definition: fgrab_define.h:2230
Definition: fgrab_define.h:1087
Definition: fgrab_define.h:1050
Definition: fgrab_define.h:1983
Definition: fgrab_define.h:232
Definition: fgrab_define.h:165
Definition: fgrab_define.h:75
Definition: fgrab_define.h:1930
Definition: fgrab_define.h:1106
Definition: fgrab_define.h:1952
Definition: fgrab_define.h:1075
Definition: fgrab_define.h:2256
Definition: fgrab_define.h:1077
Definition: fgrab_define.h:2347
Definition: fgrab_define.h:2226
Definition: fgrab_define.h:2224
FgAppletIteratorInfo
Definition: fgrab_define.h:2443
Definition: fgrab_define.h:186
Definition: fgrab_define.h:2277
Definition: fgrab_define.h:1071
Definition: fgrab_define.h:194
Definition: fgrab_define.h:1937
Definition: fgrab_define.h:1161
structure for requesting enumeration values
Definition: fgrab_define.h:1183
Definition: fgrab_define.h:2261
Definition: fgrab_define.h:2149
Definition: fgrab_define.h:297
void * Fg_AppletIteratorType
Definition: fgrab_define.h:2405
Definition: fgrab_define.h:1584
Definition: fgrab_define.h:206
Definition: fgrab_define.h:138
Definition: fgrab_define.h:1177
Definition: fgrab_define.h:1946
Fg_BoardStatus_Bits
definitions of board status bits
Definition: fgrab_define.h:1146
Definition: fgrab_define.h:1543
Definition: fgrab_define.h:1947
Definition: fgrab_define.h:137
BayerBilinearLineOrdering
Definition: fgrab_define.h:2344
Definition: fgrab_define.h:1977
Definition: fgrab_define.h:227
Definition: fgrab_define.h:296
Definition: fgrab_define.h:985
Definition: fgrab_define.h:2210
Definition: fgrab_define.h:224
Definition: fgrab_define.h:2496
Definition: fgrab_define.h:202
Definition: fgrab_define.h:1954
Definition: fgrab_define.h:294
Definition: fgrab_define.h:2021
Definition: fgrab_define.h:155
Definition: fgrab_define.h:2485
FgAppletIteratorSource
Applet Iterator Sources.
Definition: fgrab_define.h:2411
Definition: fgrab_define.h:2453
Definition: fgrab_define.h:45
Definition: fgrab_define.h:41
Definition: fgrab_define.h:347
Definition: fgrab_define.h:190
Definition: fgrab_define.h:2356
Definition: fgrab_define.h:1114
Definition: fgrab_define.h:93
Definition: fgrab_define.h:2029
Definition: fgrab_define.h:1079
Definition: fgrab_define.h:91
Definition: fgrab_define.h:2204
Definition: fgrab_define.h:2015
Definition: fgrab_define.h:2174
Definition: fgrab_define.h:1595
Definition: fgrab_define.h:1070
Definition: fgrab_define.h:115
Definition: fgrab_define.h:226
Definition: fgrab_define.h:127
Definition: fgrab_define.h:130
Definition: fgrab_define.h:2208
Definition: fgrab_define.h:2479
Definition: fgrab_define.h:1104
Definition: fgrab_define.h:1095
Definition: fgrab_define.h:84
Definition: fgrab_define.h:2412
Definition: fgrab_define.h:1165
Definition: fgrab_define.h:2028
Definition: fgrab_define.h:1989
Definition: fgrab_define.h:166
Definition: fgrab_define.h:177
SignalSelectLine
Definition: fgrab_define.h:1945
Definition: fgrab_define.h:1960
Definition: fgrab_define.h:2223
Definition: fgrab_define.h:1931
Definition: fgrab_define.h:1049
Definition: fgrab_define.h:2362
Definition: fgrab_define.h:167
Definition: fgrab_define.h:2456
Definition: fgrab_define.h:1999
Definition: fgrab_define.h:1982
Definition: fgrab_define.h:1548
Definition: fgrab_define.h:100
Definition: fgrab_define.h:2264
Definition: fgrab_define.h:101
Definition: fgrab_define.h:1593
Definition: fgrab_define.h:2286
Definition: fgrab_define.h:1997
MeLineTriggerModeImage
Definition: fgrab_define.h:96
Definition: fgrab_define.h:1962
Definition: fgrab_define.h:2281
Definition: fgrab_define.h:1097
Definition: fgrab_define.h:2257
Definition: fgrab_define.h:2481
Definition: fgrab_define.h:37
Definition: fgrab_define.h:1051
Definition: fgrab_define.h:2291
Definition: fgrab_define.h:204
LineTriggerMode
Definition: fgrab_define.h:44
Definition: fgrab_define.h:272
Definition: fgrab_define.h:2289
Definition: fgrab_define.h:2371
Definition: fgrab_define.h:213
Definition: fgrab_define.h:986
Definition: fgrab_define.h:2200
Definition: fgrab_define.h:1555
LineTriggerGateMode
Definition: fgrab_define.h:49
Definition: fgrab_define.h:2459
Definition: fgrab_define.h:83
Definition: fgrab_define.h:1091
Definition: fgrab_define.h:1959
Definition: fgrab_define.h:78
Definition: fgrab_define.h:2206
CcSignalMappingArea
Definition: fgrab_define.h:1996
Definition: fgrab_define.h:1957
Definition: fgrab_define.h:284
Definition: fgrab_define.h:1100
Definition: fgrab_define.h:349
Definition: fgrab_define.h:176
Definition: fgrab_define.h:30
Definition: fgrab_define.h:2030
Definition: fgrab_define.h:188
Definition: fgrab_define.h:2292
Definition: fgrab_define.h:2455
MeRgbComponentMapping
Definition: fgrab_define.h:104
Definition: fgrab_define.h:350
Definition: fgrab_define.h:2152
Definition: fgrab_define.h:1154
Definition: fgrab_define.h:2475
Definition: fgrab_define.h:38
Definition: fgrab_define.h:1990
Definition: fgrab_define.h:219
Definition: fgrab_define.h:299
Definition: fgrab_define.h:1170
Definition: fgrab_define.h:1980
Definition: fgrab_define.h:1088
Definition: fgrab_define.h:2213
Definition: fgrab_define.h:2018
int32_t value
Definition: fgrab_define.h:1184
Definition: fgrab_define.h:2209
Definition: fgrab_define.h:1938
Definition: fgrab_define.h:2274
Definition: fgrab_define.h:2494
Definition: fgrab_define.h:174
Definition: fgrab_define.h:2198
Definition: fgrab_define.h:2207
Definition: fgrab_define.h:52
Definition: fgrab_define.h:192
Definition: fgrab_define.h:1964
Definition: fgrab_define.h:238
Definition: fgrab_define.h:159
Definition: fgrab_define.h:152
Definition: fgrab_define.h:122
Definition: fgrab_define.h:2413
Definition: fgrab_define.h:2202
Definition: fgrab_define.h:76
Definition: fgrab_define.h:141
Definition: fgrab_define.h:2005
Definition: fgrab_define.h:160
Definition: fgrab_define.h:162
Definition: fgrab_define.h:222
Definition: fgrab_define.h:2273
Definition: fgrab_define.h:1939
Definition: fgrab_define.h:1547
Definition: fgrab_define.h:1956
Definition: fgrab_define.h:32
Definition: fgrab_define.h:2424
Definition: fgrab_define.h:1153
Definition: fgrab_define.h:113
Definition: fgrab_define.h:1089
Definition: fgrab_define.h:2219
Definition: fgrab_define.h:225
Definition: fgrab_define.h:1948
Definition: fgrab_define.h:2371
MeShaftMode
Definition: fgrab_define.h:75
Definition: fgrab_define.h:2269
Definition: fgrab_define.h:157
Definition: fgrab_define.h:1934
Definition: fgrab_define.h:2175
Definition: fgrab_define.h:2027
Definition: fgrab_define.h:2006
Definition: fgrab_define.h:123
Definition: fgrab_define.h:76
Definition: fgrab_define.h:2271
Definition: fgrab_define.h:117
Definition: fgrab_define.h:1066
Definition: fgrab_define.h:104
MeCameraLinkFormat
Definition: fgrab_define.h:106
Definition: fgrab_define.h:2154
Definition: fgrab_define.h:1949
Definition: fgrab_define.h:1103
Definition: fgrab_define.h:2195
Definition: fgrab_define.h:1099
Definition: fgrab_define.h:1585
Definition: fgrab_define.h:131
Definition: fgrab_define.h:228
Definition: fgrab_define.h:2225
Definition: fgrab_define.h:1082
Definition: fgrab_define.h:218
Definition: fgrab_define.h:85
Definition: fgrab_define.h:2360
Definition: fgrab_define.h:2278
Definition: fgrab_define.h:2378
Definition: fgrab_define.h:2232
Definition: fgrab_define.h:196
Definition: fgrab_define.h:178
Definition: fgrab_define.h:1083
Definition: fgrab_define.h:2275
void * Fg_AppletIteratorItem
Definition: fgrab_define.h:2406
Definition: fgrab_define.h:108
Definition: fgrab_define.h:2425
Definition: fgrab_define.h:2450
Definition: fgrab_define.h:2359
Definition: fgrab_define.h:1112
Definition: fgrab_define.h:1993
MeInitFlags
Definition: fgrab_define.h:235
Definition: fgrab_define.h:2229
Definition: fgrab_define.h:2176
Definition: fgrab_define.h:2010
Definition: fgrab_define.h:2197
Definition: fgrab_define.h:1935
Definition: fgrab_define.h:273
Definition: fgrab_define.h:1172
Definition: fgrab_define.h:2497
Definition: fgrab_define.h:1961
Definition: fgrab_define.h:2339
BayerOrdering
Definition: fgrab_define.h:2339
Definition: fgrab_define.h:1167
Definition: fgrab_define.h:2025
Fg_Apc_Flag
controls the behaviour of the APC thread
Definition: fgrab_define.h:1540
Definition: fgrab_define.h:70
Definition: fgrab_define.h:1929
Definition: fgrab_define.h:1093
Definition: fgrab_define.h:2263
Definition: fgrab_define.h:1151
Definition: fgrab_define.h:1979
Definition: fgrab_define.h:2478
Definition: fgrab_define.h:2498
Definition: fgrab_define.h:2016
Definition: fgrab_define.h:2358
Definition: fgrab_define.h:1972
CXPTriggerPackedModes
Definition: fgrab_define.h:2371
Definition: fgrab_define.h:1976
Definition: fgrab_define.h:2173
Definition: fgrab_define.h:1985
Definition: fgrab_define.h:2444
Definition: fgrab_define.h:2196
Definition: fgrab_define.h:2449
Definition: fgrab_define.h:2218
Definition: fgrab_define.h:1958
Definition: fgrab_define.h:148
Definition: fgrab_define.h:1074
Definition: fgrab_define.h:128
Definition: fgrab_define.h:1147
Definition: fgrab_define.h:1108
Definition: fgrab_define.h:1072
Definition: fgrab_define.h:2024
Definition: fgrab_define.h:1116
Definition: fgrab_define.h:158
Definition: fgrab_define.h:274
Definition: fgrab_define.h:1992
Definition: fgrab_define.h:200
Definition: fgrab_define.h:207
Definition: fgrab_define.h:1965
Definition: fgrab_define.h:1975
Definition: fgrab_define.h:1986
Definition: fgrab_define.h:2474
Definition: fgrab_define.h:1110
Definition: fgrab_define.h:1173
FgAppletStringProperty
Available String Applet Properties.
Definition: fgrab_define.h:2492
Definition: fgrab_define.h:2004
Definition: fgrab_define.h:1069
Definition: fgrab_define.h:1060
Definition: fgrab_define.h:163
FgExternalPowerState
definitions of values for parameter FG_SYSTEMMONITOR_EXTERNAL_POWER These values describe the externa...
Definition: fgrab_define.h:283
Definition: fgrab_define.h:1933
Definition: fgrab_define.h:1150
Definition: fgrab_define.h:1984
Definition: fgrab_define.h:2484
Definition: fgrab_define.h:203
Definition: fgrab_define.h:2266
Definition: fgrab_define.h:1981
Definition: fgrab_define.h:2503
Definition: fgrab_define.h:143
Definition: fgrab_define.h:76
Definition: fgrab_define.h:229
Definition: fgrab_define.h:984
Definition: fgrab_define.h:199
Definition: fgrab_define.h:33
Definition: fgrab_define.h:97
Definition: fgrab_define.h:236
RowFilterModes
Definition: fgrab_define.h:29
MeLineTriggerMode
Definition: fgrab_define.h:73
Definition: fgrab_define.h:1988
Definition: fgrab_define.h:149
Definition: fgrab_define.h:221
Definition: fgrab_define.h:1953
int(* Fg_AsyncNotifyFunc_t)(int boardIndex, unsigned long notification, unsigned long pl, unsigned long ph, void *context)
Definition: fgrab_define.h:1638
Definition: fgrab_define.h:109
int(* Fg_ApcFunc_t)(frameindex_t imgNr, void *data)
Definition: fgrab_define.h:1535
Definition: fgrab_define.h:183
Definition: fgrab_define.h:164
Definition: fgrab_define.h:2501
Definition: fgrab_define.h:145