StoreSCP and more then one conections

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
multimania2
Posts: 8
Joined: Sun, 2007-08-05, 20:44

StoreSCP and more then one conections

#1 Post by multimania2 »

Hello,

i can only receive one image at the same time but i will receive images from more then one SCUs at the same time.

Can any body help me.

Tanks.

André

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1445
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#2 Post by Marco Eichelberg »

This is what the --fork command line option is for.

multimania2
Posts: 8
Joined: Sun, 2007-08-05, 20:44

#3 Post by multimania2 »

Hello,

storeSCP says "error: Unknown option --fork"

but i can't find these option in the help file.

thanks.

multimania2
Posts: 8
Joined: Sun, 2007-08-05, 20:44

#4 Post by multimania2 »

Hello,

i have found the problem i have use DCMTK 3.5.3 i have change to version 3.5.4 but my -xcr option does not work with the --fork option.


Code: Select all

storescp.exe -v --fork 104 -od c:\temp +uf -xcr ".\test.bat #p #f #c"
he says:
error: Too many parameters

but without the --fork option it works fine.

Thanks.

Andre

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1445
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#5 Post by Marco Eichelberg »

For me the command line you have posted works with DCMTK 3.5.4 storescp.

multimania2
Posts: 8
Joined: Sun, 2007-08-05, 20:44

#6 Post by multimania2 »

Hello,

you can start storescp without any errors, but if i send an image to the SCP he says:

error: Too many parameters

and storescp stored no data and close the conection befor he receive any datas

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1445
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#7 Post by Marco Eichelberg »

You are right. This is a known bug in DCMTK 3.5.4; a fix is available in the latest CVS snapshot available on request.

[Mod: ftp account information removed]

multimania2
Posts: 8
Joined: Sun, 2007-08-05, 20:44

#8 Post by multimania2 »

Hello,

thanks for your replay, were can i find a compiled bin file?
I didn't have a c compiler to make my own bin.

Thanks.

multimania2
Posts: 8
Joined: Sun, 2007-08-05, 20:44

#9 Post by multimania2 »

Hello,

i have build my own bin with the free C++ Express edition and it works.

Thanks.

Yves Neumann
Posts: 30
Joined: Fri, 2005-12-02, 17:06
Location: Germany

#10 Post by Yves Neumann »

Hello, just figured out that I am facing the same problem. How can I get the fixed source (maybe as patch)?

Thanks, Yves

art
Posts: 19
Joined: Sat, 2005-04-02, 17:05
Location: Schweiz

Compiled Version of patched "--fork" version of StoreSCP

#11 Post by art »

Hi,

Unfortunately I am not familiar with C++ compilers but would like to use the version where "--fork" works. Is there any possibility to get the patched and compiled version for WinXP?

Thanks in advance

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1445
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#12 Post by Marco Eichelberg »

For some time we have been publishing "CVS snapshot" versions of DCMTK which are just snapshots of the internal versions the developers are working on. Look for the headline "DCMTK - snapshot" on the DCMTK download page.

art
Posts: 19
Joined: Sat, 2005-04-02, 17:05
Location: Schweiz

Snapshots: Binaries are not included

#13 Post by art »

Thanks for the answer. The snapshots do not include binaries. Therefore I had to install Visual Studio Express C++ 2008 and CMake first and was afterwards able to generate the *.exe-files. So I could learn many new things:-)

art
Posts: 19
Joined: Sat, 2005-04-02, 17:05
Location: Schweiz

storescp: --fork does not work together with -xcs

#14 Post by art »

July 31 2008
After compiling the latest snapshot I tested StoreSCP and had to recognize that --fork seems to work but now -xcs does no more start an external program. I use the following command line:

%progdir%\storescp --fork -uf -tos %TimeOut% -od "%imagedir%" -ss PA -xcs "%progdir%\RadBase_StoreSCP.exe #p" %port%

RadBase_StoreSCP.exe is a little VB6-program which creates a normal DOS-structure like Patient --> Study --> Series --> DCM-files after receiving a study.

Without the --fork command it works fine.

Aug 1 2008
In the meantime I put in the patches. They didn't solve the problem. I noticed that my program ist only started if -tos 0.

Has anybody an idea how to solve the problem? I am working with WinXP and Visual Express C++ 9.0.

dflee30
Posts: 5
Joined: Wed, 2008-11-26, 20:13
Location: US

error: Too many paramaters

#15 Post by dflee30 »

I was able to workaround the "error: Too many parameters" issue when using the fork command by eliminating all spaces from my filepaths (i.e. instead of c:\OFFIS DICOM\storescp.exe, I run the exe in c:\OFFIS_DICOM\storescp.exe). I did this for any filepaths that would be included in calling the forked process: exe path, output directory, config file path, etc.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest