then how to request to the server some1 can help me ? regardsSCU = new DcmSCU (this);
if (SCU != NULL)
{
SCU ->setPeerAETitle(PeerAETitle);
SCU ->setPeerHostName(PeerHostName);
SCU ->setPeerPort(PeerPortNumber);
SCU ->addPresentationContexts(PreferredOutgoingSyntax);
status = SCU ->initNetwork();
status=SCU->negotiateAssociation();
SCU->findPresentationContext(..,..)
//Send Request
...
...
//Close Association
SCU->closeAssociation();
}
how to request to PACS server
Moderator: Moderator Team
-
- Posts: 14
- Joined: Wed, 2011-03-16, 14:30
how to request to PACS server
I read this thread
-
- Posts: 101
- Joined: Wed, 2009-07-08, 16:06
- Location: Oldenburg, Germany
In the DCMSCU, you will find functions to send requests such as store, find or echo ..etc
For example, to send echo request, you can use the function
virtual OFCondition DcmSCU::sendECHORequest ( const T_ASC_PresentationContextID presID )
and you can use findPresentationContextID to get the ID of the accepted presentation context pair of (abstractSyntax, transferSyntax).
In the same way, you will find other request functions in the DCMSCU class
For example, to send echo request, you can use the function
virtual OFCondition DcmSCU::sendECHORequest ( const T_ASC_PresentationContextID presID )
and you can use findPresentationContextID to get the ID of the accepted presentation context pair of (abstractSyntax, transferSyntax).
In the same way, you will find other request functions in the DCMSCU class
-
- Posts: 14
- Joined: Wed, 2011-03-16, 14:30
you mean just add the request here?
if so, I want to retrieve the data and wanna show them, how to make it.
I mean should I make a new page and write code in the new page?
I hope you can reply fast, Thanks a million [/quote]
Code: Select all
//Send Request
...
...
//Close Association
I mean should I make a new page and write code in the new page?
I hope you can reply fast, Thanks a million [/quote]
Who is online
Users browsing this forum: Bing [Bot] and 1 guest