How can I achieve findSCU

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
janice99021
Posts: 13
Joined: Wed, 2010-01-13, 08:38

How can I achieve findSCU

#1 Post by janice99021 »

Hello Dicom community :D
Recently,I am working on DICOM transmission.But I don't know how to transmission the Query request to the sever.
I know from the DCMTK that I can use:

OFCondition DIMSE_findUser(
T_ASC_Association *assoc,
T_ASC_PresentationContextID presID,
T_DIMSE_C_FindRQ *request, DcmDataset *requestIdentifiers,
DIMSE_FindUserCallback callback, void *callbackData,
T_DIMSE_BlockingMode blockMode, int timeout,
T_DIMSE_C_FindRSP *response, DcmDataset **statusDetail);

But Query request shoud transmission to the sever through which parameter? is it "T_DIMSE_C_FindRQ *request" ? but how can I do ?

for example:
I want to demand information like this: findSCU 0010,0010="*"
how can I use DIMSE_findUser to complete it.


Thanks a lot

liuxinming
Posts: 83
Joined: Thu, 2009-03-19, 04:19

#2 Post by liuxinming »

I also want to build my own application to accomplish the funtions of FindSCU tool in dcmtk even though not yet. But I think the best way is to read the codes contained in FindSCU.

Michael Onken
DCMTK Developer
Posts: 2051
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#3 Post by Michael Onken »

Hi,

if you want to more C++ approach for implementing a DICOM (C-FIND) client, you may have a look at the new class DcmSCU, in dcmnet/libsrc/scu.cc which is part of the current snapshot.

You can derive your own class from that SCU, use function like setAETitle and so on and also use API functions to send DIMSE requests (e. g. C-FIND request) and to receive responses. However, the code is marked as experimental but maybe easier to use and debug than starting with the existing findscu code if you want to start from scratch.

Best regards,
Michael

janice99021
Posts: 13
Joined: Wed, 2010-01-13, 08:38

#4 Post by janice99021 »

Thanks for response,Michael .
I will try to do as you say.

nhs212
Posts: 1
Joined: Mon, 2010-01-25, 21:37
Location: USA

New Dcmtk Release?

#5 Post by nhs212 »

Hey guys, I'm been working on something along the same lines. Unfortunately I am unable to use the new class until it has been officially released. What is the expected release date for dcmtk with the DcmSCU class you mentioned?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest