
PTBurnSDK Page21of68
©2011PrimeraTechnology,Inc.PrimeraisaregisteredtrademarkandBravoisatrademarkofPrimeraTechnology,Inc.Allothertrademarks
arethepropertyoftheirrespectivecompanies.
3 StatusInformation
PTBurnwillprovidestatusforeachsubmittedjobinseveraldifferentways.
Firstofall,thefilenameextensionforthesubmittedJobRequestFilewillhavefourdifferent
values:the“newjobrequest”extension,the“jobdiscovered”extension,the
“inprocess”extension,andthe“jobcompleted”extension.Allfouroftheseextensionscanbe
specifiedinPTSETUP.INI.Usingthedefaultvalueshereisanexampledescriptionofthefour
filenameextensions:
MyJob.JRQÆTheclienthassubmittedthejobrequest
MyJob.QRJÆPTBurnhasdiscoveredandputthejobinitslistofjobs.
MyJob.INPÆPTBurniscurrentlyprocessingthisjob.
MyJob.DONÆThejobhasbeencompleted.
Anadditionalfilenameextensionispossiblewhenajobhasanerrororhasbeenaborted.
MyJob.ERRÆThejobhasfinishedwitherrorsorhasbeenaborted.
Additionalstatuscanberetrievedfromtextfilescontainingadditionaldetailedstatus
information.
3.1 SystemStatus.txtFile
PTBurnwillprovidestatusfortheentiresystemviatheSystemStatus.txtfile.Thisfilewill
resideinasubfoldercalledStatuswithintheJobRequestFolderlocationdefinedin
PTSETUP.INI(thedefaultisC:\PTBurnJobs).
SystemStatus.txtcontainsatleastthreesections;thestructureofthefilewillbesimilartoan
.INIfilewithtwofixedSectionsof[RobotList]and[System],andoneormoresections
[RobotName]whereRobotNameisthenameoftheRobot(e.g.DiscPublisherXRP).
Formoredetailedinformation,PTBurnalsocreatesoneormorestatusfilescalled
RobotName.txt,whereRobotNameisthenameoftherobot(e.g.
DiscPublisherXRP.txt).See
section3.2formoredetailsonthis.
Note:WhenprocessingSystemStatus.txtfromaclientapplication,theclientapplicationshould
NOTaccessSystemStatus.txtwithexclusiveaccess.
3.1.1 ExampleofSystemStatus.txt
[RobotList]
Robot0=DiscPublisherXRP
[DiscPublisherXRP]
SysErrorString=NoErrors
SysErrorNumber=0
SystemDrives=2
Kommentare zu diesen Handbüchern