Posts by gregsharp

    Hi Marcel,


    Unfortunately your suggestion didn't fix the problem. Exactly the same results after recompiling with the suggested code change.
    Also I still have the problem where only one ImportConverter gets run.


    When I have a chance I will try to debug and let you know. Meanwhile if you get any more ideas I can try them.


    Thanks again for your help. Merry Christmas!
    Greg

    Hi Marcel,


    Unfortunately it doesn't work for me. If I do the following, I find that the converter only runs once.


    Code
    ImportConverter0 = process study after 10 by /usr/bin/perl gcs_series.pl %PImportConverter1 = process study after 20 by /usr/bin/perl gcs_series.pl %P


    Also I try this:


    Code
    ImportConverter0 = delete series after 10


    I get a promising message:


    Code
    Importconverter0.0 executes void: delete series after 10


    But the series is never deleted from file system.


    I am running on dgate stable version (1417) on linux.


    Greg

    Hi Marcel,


    A little follow-up. I have tested your suggestion, and it seems to be working very well indeed! For example, I can execute a perl script like this:


    ImportConverter0 = process image after 5 by /usr/bin/perl test.pl


    Of course, I next try a lua script using "process by" which has access to conquest database. My testing suggests this is not possible. Am I missing something?


    Thank you,
    Greg

    Thank you Marcel! Looks promising.


    I'm assuming that the 60 second delay is a heuristic to make sure all the slices have arrived. Do you know of any method for achieving a guarantee? For example, dicom workflow?


    -Greg

    I'm recently interested in setting up a server to do some automated tasks.


    (1) Run plastimatch to generate atlas-based segmentation
    (2) Run IQWorks to generate CT QA report


    The scripting is really powerful.
    So far I am successful getting my script to run for each slice using ImportConverter0.
    Is there any way to run a script after all slices of a CT arrive?
    What do you recommend?


    Thank you,
    Greg

    I didn't know about this setting. Now that I know it exists, I found it in the manual...how embarassing.


    By changing this setting, communication (mostly) works. I can sit at conquest and push to GE. I can sit at GE and pull from conquest. Neither of these worked before.


    I say (mostly) because unqualified queries still do not work. If I fill in a Patient Name or Patient ID, then I get a list. But if I leave all the fields blank (or use only the global wildcard "*"), I get this message:


    Quote

    "*** DICOM query error (patient ID = ) : Incomplete server-response


    This, however, is just a minor irritation, and otherwise things seem to be ok. Thank you so much for your help!


    -Greg

    Yes, the AE seems to be correct. Using ethereal, I see that GE accepts the Dicom association request. Then Conquest sends the data request, and GE responds with a failure notice. Then they release.


    I have a few hypotheses, but I will only propose one to start. I noticed that findscu returns no data if I omit the "-k 0020,000D=" option. When I looked through the conquest packets, I didn't find this key in the data request. Maybe that is why.


    A final note: I found I can use K-Pacs to query GE and transfer from GE to Conquest. Though I guess this is not surprising if it is dcmtk.

    Thank you Marcel.


    Quote from marcelvanherk

    Can you send images to the GE? If not, the GE might not accept the calling or called AE of the server for incoming requests.


    Using findscu, I see that GE seems to ignore the calling AE, but does require the correct called AE. You are correct to assume that Conquest also can't send images. But it can receive if I sit at the GE and push.


    Quote

    Otherwise it might not support a patientroot query, you might try a studyroot one.


    Here you are also correct. The Conquest error message above was for Query level of "STUDY - StudyRoot". When I use "PATIENT," Conquest simply hangs (until timeout).


    Quote

    Also, it might not accept all wildcards for the query.


    Wildcards seem to be ok using findscu.


    -Greg

    Hi, I'm trying to query a remote system from the Conquest GUI (Win32), and get the following error:


    Quote

    DICOM query error (patient ID = ) : No dataset received


    The remote system is a GE Advantage Workstation, and it can be queried properly from the same PC using findscu:



    The remote system can push to conquest properly, but cannot pull, presumably due to the same problem.


    I guess I must have something set up wrong, but just can't figure out what it is. I did try the Debug settings, and there was no information -- not even a record that the query failed.