Backing up the custom patterns

This step will show how to download the custom patterns from the knitting machine memory to your computer. This is just for the 'custom' patterns, it wont download the 'built in' patterns that are shown in the manual

Plug in the cable

We'll plug the cable into the back of the machine

:tutorials:knittingmachine:knitport.jpg

There is a 'key' on the plug so you should be able to use it without accidentally putting it backwards. Still, check to make sure you have the right colored wires in the right places now, before plugging it in

:tutorials:knittingmachine:cableplugged_t.jpg

Backing up patterns/dumping memory from kh930e to computer

Now back to the computer. Start up the disk drive emulator in the command line by typing in python PDDemulate-1.0.py img COMPORT where COMPORT is your serial connection. For example on a mac the command might be python PDDemulate-1.0.py img /dev/tty.usbserial-A7TKMHYD this will make an 'image' of the knitting memory in a directory called img

Now on your machine...

When "ready" lamp is lit, clear display with CE key, then prepare to save pattern data to "disk" by typing 552, then STEP.

Display will go blank and then "ready" and "pattern no" lamps will light up with the "track" number 1 in the display. Press STEP.

Machine will beep when finished, and the track data will now be in the img folder along with your emulator and other scripts. Ignore the .id files.

The emulator also makes a handy file-01.dat file to make it easy to preview the patterns using dumppattern.py (see the next step)

We'll need that file-01.dat file, so make a backup of it somewhere else for safekeeping! That file contains all your patterns.

/home/ladyada/public_html/wiki/data/pages/tutorials/knittingmachine/backup.html.txt · Last modified: 2010/11/01 18:53 by ladyada
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki