I am working with itifg-7.2.1 for my dalstar 1M30 camera. I have compiled the itifg in to kernel and did some test_itifg. I used the dalsa-1M30_pcd.cam config file which was modified on the basis of smd-1m60-pcd.cam config file( Peter Falus work). Here is config file and the error.
EXT_SYNC_PERIOD_TIME = 40000.000 # us(210ns...8.75s):default exposure
EXSYNC_MIDPOINT_DELAY = 120000.00
# this controls same as the above value(readout time)
# the last value is important(overwrites the first)
PRI_MIDPOINT_DELAY = 120000.00 # us(210ns....18.75s):readout time
HI,
I am working with itifg-7.2.1 for my dalstar 1M30 camera. I have compiled the itifg in to kernel and did some test_itifg. I used the dalsa-1M30_pcd.cam config file which was modified on the basis of smd-1m60-pcd.cam config file( Peter Falus work). Here is config file and the error.
[PCD:0] # Board 0
CAMERA_NAME = "Dalstar 1M30 fps:30 (12bit)"
EX0_FILENAME = "p2b1tn00.exo"
LEN_SYNC = SYNC
LEN_POLARITY = RISING_EDGE
FEN_ENABLE = ENABLE
FEN_POLARITY = RISING_EDGE
MULTI_ENABLE = DISABLE
MULTI_POLARITY = ACTIVE_LOW
MULTI_INPUT_MODE = MULTI_INPUT_FIELD
# PCLK_POLARITY = FALLING_EDGE # read only register
# MULTI_OUTPUT_ENABLE = DISABLE # this is not configurable
# USE_EXT_MULTI = DISABLE # this is not configurable
RETIME_ENABLE = DISABLE
RETIME_POLARITY = FALLING_EDGE
CAM3_ENABLE = DISABLE
EXSYNC_ENABLE = ENABLE
EXSYNC_POLARITY = ACTIVE_HIGH
EXSYNC_MODE = EXSYNC_SOFT_TRIG
PRI_ENABLE = DISABLE
PRI_POLARITY = ACTIVE_LOW
CAM_MODE_CTL = 0 # camera mode control
CCLK_STATIC_ENABLE = ENABLE
CCLK_STATIC_STATE = LEVEL_LOW
# EXT_SYNC_TIME = 572.000 # us(140ns...572us)
EXT_SYNC_PERIOD_TIME = 40000.000 # us(210ns...8.75s):default exposure
EXSYNC_MIDPOINT_DELAY = 120000.00
# this controls same as the above value(readout time)
# the last value is important(overwrites the first)
PRI_MIDPOINT_DELAY = 120000.00 # us(210ns....18.75s):readout time
EXSYNC_START_LOCATION = EXSYNC_START_CYCLE_END
PRI_START_LOCATION = PRI_START_CYCLE_END
PRI_END_LOCATION = PRI_END_IS_START_DEPEND
HORZ_OFF = 10
WIDTH_PIXELS = 1024 # Without binning
VERT_OFF = 0
HEIGHT_PIXELS = 1024 # Without binning
CCLK_FREQ_SEL = 40.000000 # MHz(320KHz...100MHz)
PIXEL_SIZE = 12
TRIGGER_POLARITY = FALLING_EDGE,FALLING_EDGE
TRIGGER_SRC = TTL_TRIG,TTL_TRIG
TRIG_GLITCH_DETECTOR = DISABLE,DISABLE
# TRIGGER_STATE = LEVEL_HIGH,LEVEL_LOW # read only register
# GEN_SW_TRIGGER = 2118125364,2118125364 # this is not configurable
TRIG_DIVIDE_FACTOR = 0
TRIG_DIVIDE_CONTROL = DISABLE_TRIG_DIVIDE
# PARAM_GROUPS_APPLICABLE = 14
IMAGE_GEOMETRY = 1CHAN_L2R
# NUM_CAMERAS = 1
And here is the result
[root@203 itifg-7.2.1]# ./test_itifg -f ./cameras/dalsa-1m30_pcd.cam
Driver version: 7.2.1-0.
Compilation Date: Dec 18 2007.
Boards detected: 1.
Module type board 0: PCDig.
0 - conffile: ./cameras/dalsa-1m30_pcd.cam
0 - savefile: test_itifg
0 - save: FALSE
0 - display: TRUE
0 - wait: FALSE
0 - useshm: TRUE
0 - match: FALSE
0 - lock: FALSE
0 - board: 0
0 - module: 32
0 - camera: 0
0 - depth: 0
0 - scales: 64
0 - buffer: 1
0 - frames: 2147483647
0 - zoom: 1
0 - rate: 1.00
0 - opmode: read
0 - syncmd: block
0 - sacqmd: no special
Camera_Name: "Dalstar 1M30 fps:30 (12bit)"
parse error line 9: EX0_FILENAME = "p2b1tn00.exo"
read_config: Wrong data format (./cameras/dalsa-1m30_pcd.cam).
[root@203 itifg-7.2.1]#
What is the problem here?
If i remove the line no 9 EX0_FILENAME = "p2b1tn00.exo", it gives following out put, it seems it works fine
[root@203 itifg-7.2.1]# ./test_itifg -f ./cameras/dalsa-1m30_pcd.cam
Driver version: 7.2.1-0.
Compilation Date: Dec 18 2007.
Boards detected: 1.
Module type board 0: PCDig.
0 - conffile: ./cameras/dalsa-1m30_pcd.cam
0 - savefile: test_itifg
0 - save: FALSE
0 - display: TRUE
0 - wait: FALSE
0 - useshm: TRUE
0 - match: FALSE
0 - lock: FALSE
0 - board: 0
0 - module: 32
0 - camera: 0
0 - depth: 0
0 - scales: 64
0 - buffer: 1
0 - frames: 2147483647
0 - zoom: 1
0 - rate: 1.00
0 - opmode: read
0 - syncmd: block
0 - sacqmd: no special
Camera_Name: "Dalstar 1M30 fps:30 (12bit)"
CAM_MODE_CTL: Camera Mode Control= 0
EXT_SYNC_PERIOD_TIME: Camera Exposure Time= 40000.000000
PRI_MIDPOINT_DELAY: Camera Readout Time= 120000.000000
EXSYNC_MIDPOINT_DELAY: Camera Readout Time= 120000.000000
HORZ_OFF: Horizontal Offset= 10
WIDTH_PIXELS: Image Width= 1024
VERT_OFF: Vertical Offset= 0
HEIGHT_PIXELS: Image Height= 1024
CCLK_FREQ_SEL: Camera Clock Frequency Select= 40.000000
PIXEL_SIZE: Pixel Size= 12
TRIG_DIVIDE_FACTOR: Trigger Divider Factor= 0
CameraName : Dalstar 1M30 fps:30 (12bit).
ExoFilename: .
Image size: 2097152.
Image width: 1024.
Image height: 1024.
Image depth: 12.
Source bits_per_pixel: 12.
Source bytes_per_line: 2048.
Source pointer: 0x40280000.
Source offset: 0.
Destination bits_per_pixel: 32.
Destination bytes_per_line: 4096.
Destination pointer: 0x40481000.
Destination offset: 0.
-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-0.-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