SyntaxHighlighter

Wednesday, 4 September 2013

Day 56: Cabling and Documenting, day one.

The documentation continues, and Pi cabling is underway!

The cabling is pretty simple, ensure the cable ties are correctly done and correct them if not, apply the plastic stretchy translucent cable tidier things to the two cables going from the back of the monitor (USB and power or something) to the cable hole in the desk; apply the cable hole cover thing and slot the two blue cables (network and USB) out of the far slots, the power and HDMI out of the front slots, and the two aforementioned monitor cables out the right slot.

The four cables apart from the two monitor ones (i.e. usb, hdmi, network and power) go through the cable ties.

All set! Only about 80 to do, got through about 5 today before turning in, will continue in earnest tomorrow.

Continued documentation, I have a pretty solid structure in place now, Divided each program into functions - so for ExportJPEGs that would be something like:
  1. GUI Handling: creating, displaying and managing the GUI and its functions
  2. Server Polling: monitoring the server for new models, and copying them to the incoming directory
  3.  Directory Monitoring: monitoring the incoming directory for new models, then loading them for processing
  4. Model Processing
  5. Exporting GIFs: exporting JPEGs, converting them to a gif, and uploading the gif to the web gallery.
Then there is a section for each one, which first describes the aim of the function, then lists and explains in bullet points the global variables used, and then lists and explains in bullet points every method which contains code relevant to the function.

All looking good, I've pretty much done Server Polling and Directory Monitoring.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.