Hi, I'm trying to setup a serverless system, that should just store the data on disk, and run a script (actually a .bat under windows) that does some things (make directories etc) and than convert DICOMS into a given format (NIFTI). This script should be run after each series has been completely transferred.
Now, I have 2 problems.
1st, and more serious: if I use the syntax:
ImportConverter0 = system "@start C:\dcm2nii\convertdcm.bat %P > nul"
The script in itself works correctly, however it is triggered before the end of each series transmission (apparently before each slice): useless.
If I use the syntax
process series by command "@start C:\dcm2nii\convertdcm.bat %P > nul"
the very same script does not work at all (apparently, it is not started appropriately). Any hints? Which event actually triggers the "proces series" importconverter? are there any other suggested ways to impement this function?
2nd point is related to making the system reliable: eg is it possible to terminate the invoked process after a given time, if not completed?
Best, Federico