DICOMWeb for OHIF V3

  • Hi, Marcel


    I need help, I believe I'm trying something that's not possible :)


    Is there a way to use the servertask on a machine different from where the dgate is? I tried to do this from a machine where the webserver "nginx + php7.4" would be, leaving the one that runs conquest exclusively for the dgate.


    The IP of the web machine would be 192.168.200.240, the dgate/conquest runs on 192.168.200.222


    I'm doing this to try to make the OHIF V3 work lightly, besides that I had to leave a lot of things static in V3 :( JS is complex for me :)


    my api config...


    <?php

    // conquest server na workstation/webserver

    //$exe = 'servertask.exe -p4004 -q127.0.0.1';

    // conquest server no servidor linux

    $exe = 'servertask.exe -p5678 -q192.168.200.222';


    $quote = '""'; // quotes in command line


    if (PHP_OS_FAMILY != 'Windows') { // On Linux:

    $exe = './' . $exe; // start as ./servertask

    $quote = '\"'; // quotes in command line

    }

    $userlogin = false; // uses single file login system

    $wplogin = false; // uses wordpress login system



    thanks for help

  • Hi,


    I think this is allright, although usually I say $exe = 'servertask -p5678 -q192.168.200.222' which works both for Windows and Linux (where it is prepended with ./). There may be a firewall issue. Can you access the server on 192.168.200.222' with servertask, i.e., 'servertask -p5678 -q192.168.200.222 servercommand([[print(1)]])'


    Marcel

  • Hi,


    I try


    I put ' in your command

    in work/webserver

    ./servertask -p5678 -q192.168.200.222 servercommand'([[print(1)]])'


    in dgate server show

    0000,0002 18 UI AffectedSOPClassUID "1.2.840.10008.1.1"

    0000,0100 2 US CommandField 48

    0000,0110 2 US MessageID 1

    0000,0800 2 US DataSetType 257

    0002,0010 17 UI TransferSyntaxUID "1.2.840.10008.1.2"

    9999,0400 8 LO ConquestConsoleComma "print(1)"


    However, it still cannot list the patients, it doesn't give any message, is there a path I could try?


    The only change I made was this one, I didn't change anything from the standard example that's in 1.5.0c.


    :(

  • Just tried between two Windows machines. Installed fresh conquest on machine xxx, then edited api/dicom/config.php on existing setup to:


    $exe = 'servertask -p5678 -q192.168.1.xxx


    Works fine for me.


    Marcel

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!