Hello
Could
somebody briefly explain how can I customize "findscu" or other tool from
dcmche-toolkit in order to incorporate its functionality into my java
app?
I.e. I'd like from my app execute e.g "c-find" and based on response received do some further actions.
let's
use findscu as example,
From the command line I am getting some results,
but when compile and run findscu from the IDE I get no output even if I
pass parameters properly.
If skip a crucial parameter then I get the error like below, so I believe its get compiled fine.
findscu: missing required option -c
Try `findscu --help' for more information.
I'd like to skip passing arguments via command line.
Could you explain how to modify "findscu" code so it can be initialized from the code
Based on the sourcecode from findscu we have
CLIUtils.configureConnect(main.remote, main.rq, cl);
CLIUtils.configureBind(main.conn, main.ae, cl);
CLIUtils.configure(main.conn, cl);
main.remote.setTlsProtocols(main.conn.getTlsProtocols());
main.remote.setTlsCipherSuites(main.conn.getTlsCipherSuites());
configureServiceClass(main, cl);
configureKeys(main, cl);
configureOutput(main, cl);
configureCancel(main, cl);
Could you explain or post example how can I quickly initiate communication with another dicom.
I can't find info of how can I achieve that.
For the tests I just did:
String[] args_ = {"-c", "DCM4...@10.10.10.67:11112", "-m", "StudyDate=19500101-", "-r", "NumberOfStudyRelatedSeries", "-r", "PatientName"};
...
CommandLine cl = parseComandLine(args_);
But it is not what I am looking for as final solution.
Also
In
short I actually need to achieve the same or similar functionality as
author of the stckoverflow post, ie to get some data from pacs in the
most simple way.
Could you help ?
Thank you in advance.