DICOMEX_GETSTORSCPDIR

Syntax | Return Value | Keywords | Examples | Version History

Use the DICOMEX_GETSTORSCPDIR function to return the location of the directory associated with the Storage SCP Service. The location of this directory is configured using the DICOM Network Services utility as described in Configuring Your System to Receive Files. When performing a query/retrieve operation, this directory will contain the files returned by a request. Use this function to return the full path that was configured for that directory.

Note
This function will fail if you have not installed and licensed IDL's DICOM Network Services, which provides access to the DICOM Network Services utility. Use the DICOMEX_NET routine to start this utility.

Syntax

Result = DICOMEX_GETSTORSCPDIR()

Return Value

Returns the location of the directory associated with the Storage SCP Service.

Keywords

None.

Examples

Return the path of the directory associated with the DICOM Store SCP service and allow the user to select a file from the directory using DIALOG_PICKFILE:

fileDir = DICOMEX_GETSTORSCPDIR() 
 
; Allow the user to select a DICOM file.  
sFile = DIALOG_PICKFILE(PATH=fileDir, $  
   TITLE='Select DICOM Patient File',  FILTER='*.dcm')  

Version History

6.2

Introduced