Basic query service class user example which should be run with a Query SCP as well as a StoreSCP.
After the above servers are running, a FIND may be issued by this program with:
And a MOVE may be issued by this program with:
QuerySCU -p 10104 --domove -q 0020,000D=2.16.840.1.113662.4.8796818069641.798806497.93296077602350.10
This example requires a Query SCP to be running to process FIND requests, and both a Query SCP and Store SCP to be running to process MOVE requests.
The Query SCP should be set up to respond to MOVE requests by sending instances to the Store SCP. The QuerySCPExtended and StoreSCPExtended example programs may be used for this purpose by entering these commands in two different command shells.
StoreSCPExtended -p 10105 QuerySCPExtended -p 10104 -m 10105
QuerySCU -p 10104 -q 0010,0010="MINER^STEPHEN"
Inheritance Hierarchy
LaurelBridge.DCFExamples.QuerySCUProgram
Namespace: LaurelBridge.DCFExamples.QuerySCU
Assembly: QuerySCU (in QuerySCU.exe) Version: DCF34 r13043 DCF_3_4_56_20220408 NetFramework
Syntax
C#
public class Program
The Program type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Program | Initializes a new instance of the Program class |
Methods
Name | Description | |
---|---|---|
ExecuteQuery |
Execute a c-find request.
| |
Main |
The main entry point for QuerySCU.
| |
QueryComplete |
This method is called at the completion of the query.
| |
QueryEvent |
This method is called for all incoming DIMSE response messages.
|
See Also