Hi,
I am having a problem with movescu.exe and dcmqrscp.exe. The server (dcmqrscp.exe) stops suddenly in an Assertion. Below you will see the movescu parameters I have sent.
--------------- C-MOVE SCU Console ----------------------
C:\DICOM\Tools\DCMTK>movescu -k 0008,0052=PATIENT -k 0010,0020="F006" -P -aec
COMMON localhost 2006
movescu: Move Failed:
0006:0317 Peer aborted Association (or never connected)
--------------- C-MOVE SCP Console ----------------------
DCMQRSCP.EXE Response ...
. . . . . . .
# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =MOVEPatientRootQueryRetrieveInformationModel # 28, 1 AffectedSO
PClassUID
(0000,0100) US 33 # 2, 1 CommandField
(0000,0110) US 1 # 2, 1 MessageID
(0000,0600) AE [MOVESCU] # 8, 1 MoveDestination
(0000,0700) US 0 # 2, 1 Priority
(0000,0800) US 1 # 2, 1 DataSetType
[b]Assertion failed: !(pos >= this->size()), file ..\..\ofstd\include\dcmtk/ofstd/o
fstring.h, line 375
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
[/b]-------------------------------------------------------------------
Any idea about what is going wrong?
Best,
Adrian
an error working with movescu.exe and dcmqrscp.exe ...
Moderator: Moderator Team
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
solved ...
Hi people,
thanx a lot for the answer. The problem was solved !
BTW: in one of the explanation you refer to me said that origAETitle and ourAETitle are both of type OFString what is not true for origAETitle in DcmQueryRetrieveMoveContext class where it is of type DIC_AE (array of chars).
The attribute origAETitle is of type OFString in DcmQueryRetrieveGetContext class and that's why the instruction
origAETitle[0] = '\0';
should be removed from the constructure in this class but not from the constructure in the DcmQueryRetrieveMoveContext class. May be it could serve to somebody later.
Best,
Adrian
thanx a lot for the answer. The problem was solved !
BTW: in one of the explanation you refer to me said that origAETitle and ourAETitle are both of type OFString what is not true for origAETitle in DcmQueryRetrieveMoveContext class where it is of type DIC_AE (array of chars).
The attribute origAETitle is of type OFString in DcmQueryRetrieveGetContext class and that's why the instruction
origAETitle[0] = '\0';
should be removed from the constructure in this class but not from the constructure in the DcmQueryRetrieveMoveContext class. May be it could serve to somebody later.
Best,
Adrian
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot] and 0 guests