Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Commands at start-up and commands for driving Weasis from a socket

Currently only the commands "dicom:get" and "dicom:close" can be used The commands listed below can be applied at start-up or in a telnet session. All the other commands starting by "dcmview2d:" allow to drive Weasis from a telnet session or from a socket.and are not adapted to be used at start-up.

Warning
titleCommands status

This page matches to Weasis 2.5.1 or higher


For getting the list of commands, after starting Weasis, open a local telnet session:

...

Code Block
languagetext
themeDJango
titleLinux and Mac, commands must be in between quotes
./weasisviewer-linux.sh '$dicom:get -l /home/Images/'


Multiple commands:
./weasisviewer-linux.sh '$dicom:get -l "/DICOM/Overlay"' '$dicom$weasis:getui -l "/DICOM/test"--visible'


Local directorydirectories with(recursive) aor URI formatfiles:
./weasisviewer-linux.sh '$dicom:get -l "file:/DICOM/Overlay" -l "/DICOM/test/file.dcm"'

Open non DICOM images (Local and URL):
./weasisviewer-linux.sh '$image:get -f "/home/Images/test.png" -u https://dcm4che.atlassian.net/wiki/download/attachments/3670024/weasis-mpr.png'
Code Block
languagetext
themeDJango
titleWindows commands
weasisviewer-win32.exe $dicom:get -l "E:\\DICOM\\Overlay" -l "E:\\DICOM\\Shutter"
 
weasisviewer-win32.exe $dicom:get -l "E:/DICOM/Overlay" -l "E:/DICOM/Shutter"