We have built three tools in javascript to provide key GUI to help SPC processing. LMRK_DISPLAY.pgm or TEMPFILE.pgm gets copied to a webserver directory and displayed in a webpage that allows for measurement and analytical tools to aid in alignment. It does not send the data back to SPC, but can be copied and pasted back into LITHOS, AUTOREGISTER, and REGISTER.
Webserver Requirements
Working Directory Requirements
Within the working directory, you need to convert the LMRK_DISPLAY01.pgm and TEMPFILE.pgm to jpeg files in a webserver directory. The following script is the minimum, but we've also made a more robust script (updateDisplay.sh) in /opt/local/spc. Because we may have more than one person running SPC on a machine, we have set it up to have subdirectories. If you need to use a subdirectory, then use one of the predefined initials, i.e. $webpath/data/ep/landmarks.jpg
Helpful script
You can run this script in the background when you are doing a lot of work. Every second, it will update the images used in the programs from your directory. Note - if your internet connection is slow, you might need to increase the sleep delay
webpath="/Library/Server/Web/Data/Sites/Default/" while [ 1 ] do convert LMRK_DISPLAY1.pgm $webpath/data/landmarks.jpg convert LMRK_DISPLAY1.pgm $webpath/data/autoregister.jpg convert TEMPFILE.pgm $webpath/data/register.jpg sleep 1 done