Hello Dicom community
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
How can I achieve findSCU
Moderator: Moderator Team
-
- Posts: 83
- Joined: Thu, 2009-03-19, 04:19
-
- DCMTK Developer
- Posts: 2051
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
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
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
-
- Posts: 13
- Joined: Wed, 2010-01-13, 08:38
New Dcmtk Release?
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?
Who is online
Users browsing this forum: No registered users and 1 guest