FileNameSyntax in 1413 Beta

  • I have tried using the new substring functionality of the beta and it works well except that the actual name of the file (not dirs) always comes out as the first 24 chars of the SOPInstanceID, not matter what I use as a string.


    For example, I use this string for FileNameSyntax in the INI file:


    FileNameSyntax = c%id[0,1]\Images\%id[0,1]\y_%studydate[0,3]\m_%studydate[4,5]\d_%studydate[6,7]\%id\%studyuid_%seriesid_%imagenum_%time_%counter.dcm



    The output I get is:


    c20\Images\20\y_2006\m_08\d_28\20_10879_1_1\1.2.392.200036.9107.500.dcm



    Any idea of what I am doing wrong?


    TIA
    Tom

  • I think I found it: the FileNameSyntax string itself is limited to 128 characters: so part of your specification is omitted. My filename becomes:


    1.2.840.10008.3.1.2.3.1.1260596_3464_1_1187202475_counte


    Also the MaxFileNameLength option may not be handled correctly. Please try what effect changing this value has.


    Marcel

Participate now!

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