Creating an SCU

The following steps provide the basic information required to create an SCU:

image\sqrblit.gif Create the DICOM Network handle by calling StartUp method. . This must be done before any DICOM Network Operations functions are called.

image\sqrblit.gif To connect to an SCP, call the Connect method. This will generate a NetAccept event on the SCP to let the SCP know that a connection request has been received.

image\sqrblit.gif The SCP should respond by calling the Accept method. This will generate a NetConnect event on the SCU. At this time the DICOM Network connection has been established.

image\sqrblit.gif Create the DICOM Associate handle by calling the CreateAssociate.

image\sqrblit.gif Initialize the newly created DICOM Associate handle by calling DefaultAssociate, or set the new DICOM Associate handle using the following methods:

SetRequest method

SetVersion method

SetCalled method

SetCalling method

SetApplication method

SetPresentationID method

SetPresentationAbstract method

SetPresentationResult method

AddPresentation method

DeletePresentation method

SetTransferSyntax method

AddTransferSyntax method

DeleteTransferSyntax method

SetMaxLength method

SetImplementClass method

SetAsyncOperations method

SetRoleSelect method

SetImplementVersion method

SetUserInfo method

AddUserInfo method

DeleteUserInfo method

SetExtendedData method

image\sqrblit.gif To connect to an SCP, call the SendAssociateRequest method. This will generate a NetReceiveAssociateRequest event on the SCP to let the SCP know an associate connection request has been received.

image\sqrblit.gif The SCP may accept or reject the request and respond by calling SendAssociateAccept method or SendAssociateReject method. This will generate a NetReceiveAssociateAccept event or the NetReceiveAssociateReject event. If the NetReceiveAssociateAccept event is generated, the DICOM Associate Connection has been established.