That sounds weird.
Did you try just using the first parameter in createDirectory and leave the second parameter empty ("")?
Of course the first parameter should be the value that you would also provide to System::IO::Directory::CreateDirectory().
Best regards,
Michael
DcmSCPPool, stopAfterCurrentAssociations not working
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2049
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
-
- DCMTK Developer
- Posts: 2049
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: DcmSCPPool, stopAfterCurrentAssociations and setOutputDirectory
Hi,
do you have non-blocking mode configured? If I remember correctly, it is required to stop after the association.
A new top is started on the top left, there should be a button "New Topic".
Best regards,
Michael
do you have non-blocking mode configured? If I remember correctly, it is required to stop after the association.
Code: Select all
DcmSCPConfig& config = pool.getConfig();
config.setConnectionBlockingMode(DUL_NOBLOCK);
...
Best regards,
Michael
-
- Posts: 2
- Joined: Tue, 2021-02-02, 13:46
Re: DcmSCPPool, stopAfterCurrentAssociations and setOutputDirectory
Hi Michael,
Thanks for the reply.
I am configuring it before starting ScpPool.
Thank you,
Renu
Thanks for the reply.
I am configuring it before starting ScpPool.
Code: Select all
DicomScpThreadPool_C dcm_pool = new DicomScpThreadPool_C
DcmSCPConfig& config = dcm_pool->getConfig();
config.setAETitle(ae_title.toStdString());
config.setPort(static_cast<unsigned short>(port));
config.setConnectionBlockingMode(DUL_NOBLOCK);
dcm_pool->start();
Renu
-
- DCMTK Developer
- Posts: 2049
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: DcmSCPPool, stopAfterCurrentAssociations not working
Hi Renu,
it's hard to tell what goes wrong.
Maybe you could compare your code to the one of dcmnet/tests/tpool.cc where some of the tests uses the stopAfterCurrentAssociation() option.
Best regards,
Michael
it's hard to tell what goes wrong.
Maybe you could compare your code to the one of dcmnet/tests/tpool.cc where some of the tests uses the stopAfterCurrentAssociation() option.
Best regards,
Michael
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], George and 1 guest