Hello!
I use storescu to send images within my software. But i would like to have in my software an information about the advance of the transfer. Does anybody knows how it is possible to manage this.
Thank you for your help!
Hans
storescu- Information about transfer?
Moderator: Moderator Team
-
- OFFIS DICOM Team
- Posts: 1445
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
This is not possible if you just call the storescu executable binary. If you directly call the Storage Service Class SCU as a function inside your own code (function DIMSE_storeUser, which is also used inside storescu), you can pass a pointer to a callback function which is called once for each PDU that is transferred to the remote SCP. This still requires your code to do a little computation (read the PDU size and the dataset size and determine the number of PDUs that will be needed for a complete transfer), but can be used for a reasonable "progress bar" or other progess indicator.
progress bar + storescu
Hello!
thank you very much for your answer, i'll try to have a look on this function, modify it and then use it in my own application.
Hans
thank you very much for your answer, i'll try to have a look on this function, modify it and then use it in my own application.
Hans
Who is online
Users browsing this forum: Bing [Bot] and 1 guest