• Topic ID: id_11038942
  • Version: 3.0
  • Date: Apr 22, 2019 12:56:06 AM

Sample Camera Logs

1 lclog - Laser Camera Log


Successful Camera Initialization
User_Msg... CODE----> 301
#301fname = /usr/g/ctuser/film/img41a000QY
arg_copies = 1arg_format = 4x3_fidddasm952 interface was loaded...Set_Vendor_Bits...LcSyscall: cmd 30
scsisleep duration=100000000nsLcgetResponse: ready 1
Set_12_Line_Border pass...
LcSyscall: cmd a4
LcgetResponse: ready 1
Clear_Alarm...LcSyscall: cmd 85
LcgetResponse: ready 1
Request_Status Called...LcSyscall: cmd 96
LcgetResponse: ready 1
LcSysrep: resp ``STA,1,RDY''
LcSysrep(RQS): status160->STA,1,RDY
LcSysrep: RDYLcSysrep():ALM 1,log_msg: code = 1 (logged_error = 0)
LcSyscall: cmd 82
LcgetResponse: ready 1
LcSysrep: resp ``PAS''
LcSysrep(ALI): status160->PAS
Allocate_Device OK
opening data file /usr/g/ctuser/film/img41a000QYSet_Greyscale...
LcSyscall: cmd a5
LcgetResponse: ready 1
Start of Print Job
STATISTICS*************START PRINTING FILM****************/usr/g/ctuser/film/img41a000QYLcSyscall: cmd 90
LcgetResponse: ready 1
LcSysrep: resp ``PAS''
LcSysrep(MAT): status160->PAS
LcSyscall: cmd a3
LcgetResponse: ready 1
LcSysrep: resp ``PAS''
LcSysrep(LUT): status160->PAS
LcSyscall: cmd 9f
LcgetResponse: ready 1
LcSysrep: resp ``PAS''
LcSysrep(WIM): status160->PAS
Lc_clear_all:CMI...LcSyscall: cmd 86
LcgetResponse: ready 1
LcSysrep: resp ``PAS''
LcSysrep(CLR): status160->PAS
Start of Image Acquisition Process
lc_load_and_acquire: img->image_sx=512lc_load_and_acquire: img->image_sy=512lc_load_and_acquire: img->image_psize=0.000000main : zoomd = 0, zoomh = 0
set_zoomd : ...set_zoomf...loading file /usr/g/ctuser/film/img41a000QYxxL952_vdbSetFormat pass...format = 12 zoom = 0.000000
set_zoomd : ...set_zoomf...L952_vdbSetFormat leavingOLD SYTLE IMAGE ACQUISITION, NO RING BUFFERINGentering rbL952_lcamStore: fname = /usr/g/ctuser/film/img41a000QY, num_imgs=12, hdrlen =632entering rbL952_lcamStore: image_sx = 512,image_sy =512, image_deep= 8rbL952_lcamStore: nbchuncks = loop_var = 16 nblocks= 512 image_size =262144ACQUIRE IMAGE... Image_ID = 1
LcSyscall: cmd 84
LcgetResponse: ready 0
LcgetResponse: ready 1
LcSysrep: resp ``PAS''
LcSysrep(AQU): status160->PAS
ACQUIRE IMAGE... Image_ID = 2
        

Comment: The above 6 steps are repeated for each succeeding Image Acquisition. Image acquisition completed, begin Printing


LcSysrep(AQU): status160->PAS
L952_vdbPrint: format = 12 print_copies = 1Define_Zone: format = 12set_zoomd : ...set_zoomf...xxDefine_Zone: format = 12 nb_zone = 4 nb_image_line 3xxDefine_Zone: set_zoomd = 0.000000 , set_zoomf = 0.000000scan_ssparam = dd
xxDefine_Zone scanned ssparam = ddxxDefine_Zone: images_id[0] = 1xxDefine_Zone: images_id[1] = 2xxDefine_Zone: images_id[2] = 3Request_Status Called...LcSyscall: cmd 96
LcgetResponse: ready 1
LcSysrep: resp ``STA,1,RDY''
LcSysrep(RQS): status160->STA,1,RDY
LcSysrep: RDYLcSysrep():ALM 1,log_msg: code = 1 (logged_error = 0)
LcSyscall: cmd 8b
LcgetResponse: ready 1
LcSysrep: resp ``PAS''
LcSysrep(DZO): status160->PAS
xxDefine_Zone scanned ssparam = ddxxDefine_Zone: images_id[0] = 5xxDefine_Zone: images_id[1] = 6xxDefine_Zone: images_id[2] = 7Request_Status Called...LcSyscall: cmd 96
LcgetResponse: ready 1
LcSysrep: resp ``STA,1,RDY''
LcSysrep(RQS): status160->STA,1,RDY
LcSysrep: RDYLcSysrep():ALM 1,log_msg: code = 1 (logged_error = 0)
LcSyscall: cmd 8b
LcgetResponse: ready 1
LcSysrep: resp ``PAS''
LcSysrep(DZO): status160->PAS
xxDefine_Zone scanned ssparam = ddxxDefine_Zone: images_id[0] = 9xxDefine_Zone: images_id[1] = 10xxDefine_Zone: images_id[2] = 11Request_Status Called...LcSyscall: cmd 96
LcgetResponse: ready 1
LcSysrep: resp ``STA,1,RDY''
LcSysrep(RQS): status160->STA,1,RDY
LcSysrep: RDYLcSysrep():ALM 1,log_msg: code = 1 (logged_error = 0)
LcSyscall: cmd 8b
LcgetResponse: ready 1
LcSysrep: resp ``PAS''
LcSysrep(DZO): status160->PAS
xxDefine_Zone scanned ssparam = ddxxDefine_Zone: images_id[0] = 13xxDefine_Zone: images_id[1] = 14xxDefine_Zone: images_id[2] = 15Request_Status Called...LcSyscall: cmd 96
LcgetResponse: ready 1
LcSysrep: resp ``STA,1,RDY''
LcSysrep(RQS): status160->STA,1,RDY
LcSysrep: RDYLcSysrep():ALM 1,log_msg: code = 1 (logged_error = 0)
LcSyscall: cmd 8b
LcgetResponse: ready 1
LcSysrep: resp ``PAS''
LcSysrep(DZO): status160->PAS
Lc_set_up_to_print call...nbcopies= 1LcSyscall: cmd 9a
LcgetResponse: ready 1
LcSysrep: resp ``STC''
LcSysrep(STP): status160->STC
LcSysrep(STP): STC OK...
EXPOSE...
LcSyscall: cmd 8d
LcgetResponse: ready 1
LcSysrep: resp ``PTC''
LcSysrep(EXP): status160->PTC
camscan: (17:75 to 8b)  0x72 EXP 0xd  0x6 EOE 0xd & 0xa  0xb  0xc PTC 0xd & 0xa  0xb  0xc  0xa
camscan: dcr's 1
LcSysrep(EXP): DCR...print_copies = 0User_Msg... CODE----> 353
#353
        

Comment: End of Print Job


STATISTICS:******END OF THIS JOB /usr/g/ctuser/film/img41a000QY Ready To Print new*******Release_Device...LcSyscall: cmd 95
LcgetResponse: ready 1
User_Msg... CODE----> 350
#350
        

2 dcplog - Dicom Print Log

dcplog Sample Output of a Successful 1on1 Film Job.

note:

The output is broken up into sections with key film session actions. The dcplog includes the use of these acronyms in the following example:

SCP

Service Class Provider: The camera, a receiver of images.

SCU

Service Class User: The OC scanner, has ability to send images

calling AE title

dcm_bind: AETitle = engbay26_DCP

called AE title - hostname - IP address port number of printer

map_app_title: title IMN host engctn1 ip-addr 3.7.52.164 port 2104

Print SCU (on the OC) requests an association with print SCP (print server at camera) using the IP address, port number and AE title. The SCU proposes abstract syntaxes (in this case print service class) along with transfer syntaxes used for each syntax and PDU transfer rate.

EstablishAssoc: DCM_OPEN_REQ Action success

The Print SCP responds with an association acceptance. If the association has been accepted, the Dicom parameters (host, IP, AE, port correctly configured):

EstablishAssoc: OPEN_CONF received

The SCU sends an NGET request to the SCP for printer status:

Starting the print session

The SCP returns an NGET response status and printer status to the SCU:

note:

  • IF the SCP returns a NORMAL status to the SCU, the job continues.

  • If the SCP returns an ERROR status to the SCU, the print job will fail.

  • If the SCP returns a WARNING status, the job may fail or continue depending on status info. See table for list of supported status.


NgetService: Event Received: DCM_NGET_END
NgetService: Event Received: DCM_DATA
        

The SCU sends an NCREATE request to the SCP to create the film session. The Film session presentation consists of copies, priority of job, medium type, and film destination:


NcreateService: NCREATE BEG Action Success
NcreateService: DCM DATA Action Success
NcreateService: Waiting for Event
NcreateService: Event received: DCM_RETURN_BUFF
NcreateService: Waiting for Event
        

The SCP returns Ncreate RSP status to SCU along with instance uid for film session:


NcreateService: Event received: DCM_NCREATE_END
NcreateService: Status is : 0
film session instance uid 1.3.51.1
film session instance uid 1.3.51.1
filmbox ref sop uid 1.3.51.1
        

The SCU sends NCreate RQ to the SCP to create the film box. The presentation includes film format, orientation, magnification, film size:


NcreateService: NCREATE BEG Action Success
NcreateService: DCM DATA Action Success
NcreateService: Waiting for Event
        

The SCP returns NCREATE RSP status to the SCU along with referenced sop instance uid for film box and referenced SOP instance uids for each image box:


NcreateService: Event received: DCM_RETURN_BUFF
NcreateService: Waiting for Event
NcreateService: Event received: DCM_NCREATE_END
NcreateService: Waiting for Event
NcreateService: Event received: DCM_DATA
filmbox instance uid 1.3.51.1.1
        

SCU sends NSET RQ to the SCP to set the image box. The presentation includes instance uid, image position on the film, number of Rows, Columns, Bits, and image pixel data:


NsetService: Event Received: DCM_RETURN_BUFF
        

SCP returns NSET RSP status to the SCU along with affected sop instance uid for image box:


NsetService: Event Received: DCM_NSET_END
Image Attributes set
        

The SCU and SCP repeat the NSET RQ and NSET RSP for the image boxes until all images have been sent to the SCP. When all images have been sent, the SCU, it sends NACTION RQ to the SCP to print the film box with instance uid generated during the NCREATE. The SCP returns NACTION RSP to print the film:


NactionService: Event received: DCM_NACTION_END
NactionService: Event received: DCM_DATA
parse_data_set returned status 0x0
Film Box sent to printer N - Action
        

The SCU sends NDELETE RQ to the SCP to delete the film box with instance uid generated during the NCREATE. SCP returns NDELETE RSP to delete the film box and returns the sop Instance of the film job:


NdeleteService: Event Received : DCM_NDELETE_END
Film box instance deleted
ref SOP C uid 1.2.840.10008.5.1.1.14
ref SOP I uid 1.3.51.1.1.1.1
Print Session successfully completed
        

The SCU sends RELEASE RQ to the SCP to release the association:


req close assoc
CloseAssoc: DCM_CLOSE_REQ Action Success
        

The SCP returns RELEASE RP to release association:


close accepted
        

3 prslog - Printer Server Log

4 camera.dev (AGFA DICOM Print Camera)

Enter the following:

  1. {ctuser@bayXX}[5] cd /usr/g/ctuser/app-defaults/devices ENTER

  2. {ctuser@bayXX}[6] cat camera.dev ENTER

5 SdCPHosts (DICOM Print Only)

Enter the following:

  1. {ctuser@bayXX}[2] cd /usr/g/ctuser/Prefs ENTER

  2. {ctuser@bayXX}[3] cat SdCPHosts ENTER