Hi.
"dgate -as .. " and "dgate -am .. " is working now.
Thanks for your help and advice. very thanks.
Hi.
"dgate -as .. " and "dgate -am .. " is working now.
Thanks for your help and advice. very thanks.
Hi. My dicom.ini. is follows
-------------------
[sscscp]
MicroPACS = sscscp
Edition = Personal
MyACRNema = SGCQ
TCPPort = 5678
ACRNemaMap = acrnema.map
kFactorFile = dicom.sql
SOPClassList = dgatesop.lst
# Host, database, username and password for MySql database
SQLHost = localhost
SQLServer = conquest
Username = abcd
Password = efg
MySql = 1
DoubleBackSlashToDB = 1
UseEscapeStringConstants = 0
TruncateFieldNames = 10
MaxFieldLength = 254
MaxFileNameLength = 255
FixPhilips = 0
FixKodak = 0
KeepAlive = 0
LargeFileSizeKB = 4096
PrintSquareLandscape = 0
UseKpacsDecompression = 1
ZipTime = 05:
UIDPrefix = 1.2.826.0.1.3680043.2.135.735497.32122060
EnableReadAheadThread = 1
PatientQuerySortOrder =
StudyQuerySortOrder =
SeriesQuerySortOrder =
ImageQuerySortOrder =
EnableComputedFields = 1
IndexDBF = 1
PackDBF = 0
LongQueryDBF = 1000
TCPIPTimeOut = 300
FailHoldOff = 60
RetryDelay = 100
RetryForwardFailed = 1
ImportExportDragAndDrop = 0
QueueSize = 128
WorkListMode = 0
WorkListReturnsISO_IR_100 = 1
DebugLevel = 0
Prefetcher = 0
LRUSort = AccessTime
AllowTruncate =
DecompressNon16BitsJpeg = 1
UseBuiltInJPEG = 1
LossyQuality = 95
IgnoreOutOfMemoryErrors = 0
NoDICOMCheck = 0
PadAEWithZeros = 0
FileNameSyntax = 4
# Configuration of compression for incoming images and archival
DroppedFileCompression = as
IncomingCompression = as
ArchiveCompression = as
# Names of the database tables
PatientTableName = DICOMPatients
StudyTableName = DICOMStudies
SeriesTableName = DICOMSeries
ImageTableName = DICOMImages
WorkListTableName = DICOMWorkList
DMarkTableName = DICOMAccessUpdates
RegisteredMOPDeviceTable = RegisteredMOPIDs
UIDToMOPIDTable = UIDToMOPID
UIDToCDRIDTable = UIDToCDRID
# Banner and host for debug information
PACSName = SGCQ
OperatorConsole = 127.0.0.1
# Configuration of disk(s) to store images
MAGDeviceThreshhold = 0
MAGDeviceFullThreshHold = 30
IgnoreMAGDeviceThreshold = 0
MAGDevices = 2
MAGDevice0 = G:\pacsimages\
MAGDevice1 = H:\pacsimages\
NightlyCleanThreshhold = 0
NightlyMoveThreshHold = 1157000
NightlyMoveTarget = MAG1
# Configuration of forwarding and/or converter programs to export DICOM slices
ForwardAssociationLevel = IMAGE
ForwardAssociationCloseDelay = 5
ForwardAssociationRefreshDelay = 3600
ForwardAssociationRelease = 1
MoveDeviceConverter0 = append "%d %u %c %s %i %p %n" to d:\SGCQ_Logs\NightMove_Log.txt
ArchiveConverter0 = append "%d %u %c %s %i %p %n" to d:\SGCQ_Logs\Archive_Log.txt
ExportConverters = 1
ExportModality0 = *NM*
ExportConverter0 = forward to SG123
# Configuration of rules to modify, log or reject incoming DICOM slices
ImportConverters = 3
ImportModality0 = CT
ImportConverter0 = setifempty 0008,1030 to "%V0018,0015"
ImportModality1 = BD
ImportConverter1 = setifempty 0018,0015 to "BMD"
ImportConverter2 = ifmatch "%i", "a*"; storage MAG1
ForwardCollectDelay = 600
MaximumExportRetries = 0
MaximumDelayedFetchForwardRetries = 0
That'a all my dicom.ini.
Hi. Marcel.
Standard output of Command line on "dgate -v -as100000,0" is
---------- Start archival operation -----------
Attempting to locate 狠=@ on virtualservers***preretrieve/forward xxx to: remote DICOM error
Object G: is still not in database***[ModifyPATIDofImageFile] G: -FAILED: Error on Load
Attempting to locate 狠=@ on virtualservers***preretrieve/forward xxx to: remote DICOM error
Object G: is still not in database***[ModifyPATIDofImageFile] G: -FAILED: Error on Load
***Unable to determine size of file: 'G:\pacsimages\HEAD_EXP_00097038\0001_002000_892665661.v2'
***Unable to determine size of file: 'G:\pacsimages\HEAD_EXP_00097038\0001_003000_892665662.v2'
Archiveconverter0.0 executes: append "Wed Jul 20 12:49:54 2016 flex-2 01193741 G:\pacsimages\01193741 " to d:\SGCQ_Logs\Archive_Log.txt
Deleting database entry for image: G:\pacsimages\01193741\1.2.392.200036.9125.3.1401129082252128.64715708084.599258_7001_007001_141247584807ef.dcm
Query On Image
Issue Query on Columns: DICOMImages.SOPInstanc, DICOMSeries.SeriesInst, DICOMStudies.PatientID, DICOMStudies.StudyInsta
Values: DICOMImages.SOPInstanc = '1.2.392.200036.9125.9.0.286205745.53571344.1497329522' and DICOMStudies.PatientID = '01193741' and DICOMSeries.StudyInsta = DICOMStudies.StudyInsta and DICOMImages.SeriesInst = DICOMSeries.SeriesInst
Tables: DICOMImages, DICOMSeries, DICOMStudies
Records = 1
RemoveFromPACS 1 image database entries
IOD File being removed: G:\pacsimages\01193741\1.2.392.200036.9125.3.1401129082252128.64715708084.599258_7001_007001_141247584807ef.dcm
FreeStore Left 1107710 on G:\
Modified image: G:\pacsimages\01193741\1.2.392.200036.9125.3.1401129082252128.64715708084.599258_7001_007001_14689865940000.dcm
Deleting file: G:\pacsimages\01193741\1.2.392.200036.9125.3.1401129082252128.64715708084.599258_7001_007001_141247584807ef.dcm
Archiveconverter0.0 executes: append "Wed Jul 20 12:49:54 2016 flex-2 01193741 G:\pacsimages\01193741
" to d:\SGCQ_Logs\Archive_Log.txt
Deleting database entry for image: G:\pacsimages\01193741\1.2.392.200036.9125.3.1401129082252128.64715643334.595290_7001_007001_1412475750fb3d.dcm
Query On Image
----------- omission ------------
G:\pacsimages\01159049\1.3.12.2.1107.5.2.33.37710.2013060309013930522405340.0.0.0_0002_000006_14689866130024.dcm = 357 KB
G:\pacsimages\01159049\1.3.12.2.1107.5.2.33.37710.2013060309013930522405340.0.0.0_0002_000004_14689866130025.dcm = 357 KB
G:\pacsimages\01159049\1.3.12.2.1107.5.2.33.37710.2013060309013930522405340.0.0.0_0002_000002_14689866130026.dcm = 357 KB
Total Size = 6133 KB
Archival: 6133 KB will be written for patient: 01159049
Archival: total archive amount: 87508 KB
---------- End of archival operation -----------
and
Standard output of command line on "dgate -v -amMAG0.Archiving,MAG1" is
---------- Start archival operation -----------
MoveDeviceconverter0.0 executes: append "Wed Jul 20 14:04:01 2016 flex-2 01193742 G:\pacsimages\01193742
" to d:\SGCQ_Logs\NightMove_Log.txt
Deleting database entry for image: G:\pacsimages\01193742\1.2.392.200036.9125.3.1401129082252128.64715636397.41327_7002_007002_14689865950002.dcm
Query On Image
Issue Query on Columns: DICOMImages.SOPInstanc, DICOMSeries.SeriesInst, DICOMStudies.PatientID, DICOMStudies.StudyInsta
Values: DICOMImages.SOPInstanc = '1.2.392.200036.9125.9.0.286199344.97283856.1497329522' and DICOMStudies.PatientID = '01193742' and DICOMSeries.StudyInsta = DICOMStudies.StudyInsta and DICOMImages.SeriesInst = DICOMSeries.SeriesInst
Tables: DICOMImages, DICOMSeries, DICOMStudies
Records = 1
RemoveFromPACS 1 image database entries
IOD File being removed: G:\pacsimages\01193742\1.2.392.200036.9125.3.1401129082252128.64715636397.41327_7002_007002_14689865950002.dcm
FreeStore Left 1107421 on G:\
Modified image: G:\pacsimages\01193742\1.2.392.200036.9125.3.1401129082252128.64715636397.41327_7002_007002_14689910410000.dcm
Deleting file: G:\pacsimages\01193742\1.2.392.200036.9125.3.1401129082252128.64715636397.41327_7002_007002_14689865950002.dcm
MoveDeviceconverter0.0 executes: append "Wed Jul 20 14:04:02 2016 flex-2 01193742 G:\pacsimages\01193742
" to d:\SGCQ_Logs\NightMove_Log.txt
Deleting database entry for image: G:\pacsimages\01193742\1.2.392.200036.9125.3.1401129082252128.64715708308.599274_7001_007001_14689865950003.dcm
Query On Image
Issue Query on Columns: DICOMImages.SOPInstanc, DICOMSeries.SeriesInst, DICOMStudies.PatientID, DICOMStudies.StudyInsta
Values: DICOMImages.SOPInstanc = '1.2.392.200036.9125.9.0.286206001.69496592.1497329522' and DICOMStudies.PatientID = '01193742' and DICOMSeries.StudyInsta = DICOMStudies.StudyInsta and DICOMImages.SeriesInst = DICOMSeries.SeriesInst
Tables: DICOMImages, DICOMSeries, DICOMStudies
Records = 1
RemoveFromPACS 1 image database entries
IOD File being removed: G:\pacsimages\01193742\1.2.392.200036.9125.3.1401129082252128.64715708308.599274_7001_007001_14689865950003.dcm
FreeStore Left 1107421 on G:\
Modified image: G:\pacsimages\01193742\1.2.392.200036.9125.3.1401129082252128.64715708308.599274_7001_007001_14689910420001.dcm
Deleting file: G:\pacsimages\01193742\1.2.392.200036.9125.3.1401129082252128.64715708308.599274_7001_007001_14689865950003.dcm
--------------- omission ----------------
MoveDeviceconverter0.0 executes: append "Wed Jul 20 14:04:12 2016 MRC37710 01159049 G:\pacsimages\01159049
" to d:\SGCQ_Logs\NightMove_Log.txt
Deleting database entry for image: G:\pacsimages\01159049\1.3.12.2.1107.5.2.33.37710.2013060309013930522405340.0.0.0_0002_000002_14689866130026.dcm
Query On Image
Issue Query on Columns: DICOMImages.SOPInstanc, DICOMSeries.SeriesInst, DICOMStudies.PatientID, DICOMStudies.StudyInsta
Values: DICOMImages.SOPInstanc = '1.3.12.2.1107.5.2.33.37710.2013060309013971439505357' and DICOMStudies.PatientID = '01159049' and DICOMSeries.StudyInsta = DICOMStudies.StudyInsta and DICOMImages.SeriesInst = DICOMSeries.SeriesInst
Tables: DICOMImages, DICOMSeries, DICOMStudies
Records = 1
RemoveFromPACS 1 image database entries
IOD File being removed: G:\pacsimages\01159049\1.3.12.2.1107.5.2.33.37710.2013060309013930522405340.0.0.0_0002_000002_14689866130026.dcm
FreeStore Left 1107421 on G:\
Modified image: G:\pacsimages\01159049\1.3.12.2.1107.5.2.33.37710.2013060309013930522405340.0.0.0_0002_000002_14689910520020.dcm
Deleting file: G:\pacsimages\01159049\1.3.12.2.1107.5.2.33.37710.2013060309013930522405340.0.0.0_0002_000002_14689866130026.dcm
MoveDataToDevice: Nothing to do
Hi Marcel.
I've already tried "-au" option many times, but tried again.
dgate -au
dgate -as100000,0
dgate -amMAG0,Archiving,MAG1
this result is like follows. ( log )
.......... omission .........
[SGCQ] Deleting file: G:\pacsimages\...._2004_002004_1468869098d17d.dcm
[SGCQ] MoveDeviceconverter0.0 executes: append "Tue Jul 19 07:23:40 2016 .... " to d:\SGCQ_Logs\Move_Log.txt
[SGCQ] Deleting database entry for image: G:\pacsimages\....2002_002002_1468869098d17e.dcm
[SGCQ] Modified image: G:\pacsimages\....2002_002002_14688806208fd5.dcm
[SGCQ] Deleting file: G:\pacsimages\00043058\...._2002_002002_1468869098d17e.dcm
[SGCQ] MoveDeviceconverter0.0 executes: append "Tue Jul 19 07:23:45 2016 .... " to d:\SGCQ_Logs\Move_Log.txt
[SGCQ] Deleting database entry for image: G:\pacsimages\...2003_002003_1468869099d17f.dcm
[SGCQ] Modified image: G:\pacsimages\...._002003_14688806258fd6.dcm
[SGCQ] Deleting file: G:\pacsimages\....002003_1468869099d17f.dcm
..........
No file moving occur.
Mag1 is define in dicom.ini. and "storage MAG1" in importconverterN is working.
What does it mean Modified image in log ... ? What is going on ?
Hi.
I tried command like this.
c:\dicomserver\dgate.exe -as100000,0
c:\dicomserver\dgate.exe -amMAG0.Archiving,MAG1
It run about 2 hours, but no file moving occur.
I tried same command on other PC and other dicomserver, but no data moving.
Please tell me, about this.
How to use,
--selectlruforarchiving:kb,device ... what is lru ? and "device" means MAG1 ? ( on this case )
--selectseriestomove:device,age,kb ... "device means MAG1 ? and "age" means file's age ? ( days ? years ? )
--moveseriestodevice:to,from ... "series" means above selectseries ?
Archival command option is difficult.
Please forgive me for my poor explanations.
my bat file is
c:\dicomserver\dgate.exe -as100000,0
c:\dicomserver\dgate.exe -amMAG0,MAG1
When I execute this bat file, it is repeated endlessly ( over 3days ) like this.
[MoveDeviceconverter0.0 executes: append "Thu Jul 14 22:04:58 2016 ID_STATION 0
1192115 G:\pacsimages\01192115
" to d:\SGCQ_Logs\NightMove_Log.txt
Deleting database entry for image: G:\pacsimages\01192115\1.2.392.200036.9116.2.
6.1.37.2417516093.1365666496.943688_0003_000135_1412452154a453.dcm
Query On Image
Issue Query on Columns: DICOMImages.SOPInstanc, DICOMSeries.SeriesInst, DICOMStu
dies.PatientID, DICOMStudies.StudyInsta
Values: DICOMImages.SOPInstanc = '1.2.392.200036.9116.2.6.1.37.2417516093.136566
6574.543363' and DICOMStudies.PatientID = '01192115' and DICOMSeries.StudyInsta
= DICOMStudies.StudyInsta and DICOMImages.SeriesInst = DICOMSeries.SeriesInst
Tables: DICOMImages, DICOMSeries, DICOMStudies
Records = 1
RemoveFromPACS 1 image database entries
IOD File being removed: G:\pacsimages\01192115\1.2.392.200036.9116.2.6.1.37.2417
516093.1365666496.943688_0003_000135_1412452154a453.dcm
FreeStore Left 1146532 on G:\
Modified image: G:\pacsimages\01192115\1.2.392.200036.9116.2.6.1.37.2417516093.1
365666496.943688_0003_000135_1468501498ae9d.dcm
Deleting file: G:\pacsimages\01192115\1.2.392.200036.9116.2.6.1.37.2417516093.13
65666496.943688_0003_000135_1412452154a453.dcm]
and no files moving occur.
Just I want to move oldest (=not frequent access ) files on MAG0 to MAG1, 100MB every day.
I tried
--selectlruforarchival:100000,MAG0 ( or MAG1) <- I thought 100MB on MAG0 ( What is lru ? )
or
--selectseriestomove:MAG0,1500,100000 <- I thought 1500days(age), 100MG on MAG0
--moveseriestodevice:MAG1,MAG0
or
--movedatatodevice:MAG1,MAG0 -> runnning all data on MAG0 to MAG1, so I stop
but fault.
please tell me, How to move data from Mag0 to Mag1.
Hi, everyone
I want to move data from Mag0 to Mag1, using bat file ( windows task scheduler )
Mag0 is fast reading and writing HDD, Mag1 is slower. so, I want to move old data from Mag0 to Mag1 everyday, about 100MB.
My bat file is
pushd c:\dicom ( <- conquest dicom server directory )
dgate.exe -as100000,0 ( <- probably means "select for archive 100000kb, Mag0" )
dgate.exe -amMAG0,MAG1 ( <- probably means "move Mag0 to Mag1" )
I execute this bat file, but no data moving occur.
Please tell me how to moving data from Mag0 to Mag1 using bat file.