Can't receive images from PACS to Vitrea

  • Quote from marcelvanherk

    Hi,


    Little time for now. Please add some printf statements around line 390 in aaac.cxx to find out why it returns FALSE.


    Marcel


    Hi Marcel,


    in my aaac.cxx file 335 lines :)
    Anyway I added printf just before retunr at the end of the file.
    Will compile now and send you the result


    Thank you.

  • Hi Marcel,


    I placed 2 printf



    The default never executed and the second one is returning -4


    Thank you,
    Andrey.

  • Hi Marcel,


    this is the whole log on screen:


  • I guess userinfo (aarq.cxx, line 759) overruns by four bytes. This code has been modified recently.


    Make this change around line 795:


    Code
    default:
    //fprintf(stderr, "Unknown Packet: %x, Count = %d\n", TempByte, Count);
    Link.Kill(Count-1); // unknown user information packet
    UserInfoBaggage += Count; // Fix mvh 20150730
    Count = -1;


    And then try again. This is a fix I made that had not been released yet in 1.3.19alpha.


    Marcel

  • Hi Marcel,


    I suppose the dicom lib version is 1.4.19a,
    anyway at the 375 line of the file aarq.cxx there is no such code. I found more or less similar code



    it is 1028 line. I added "+" to UserInfoBaggage += Count; and it doesn't help,


    Thank you,
    Andrey

  • Hi Marcel,



    I have modified the code at the line you told me and added fprint


    fprintf(stderr, "ending User Info ReadD Count = %d\n", Count);


    Thank you,
    Andrey

Participate now!

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