KMK Electronic Notebook: Difference between revisions

From Monnier Group Research Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 71: Line 71:
*Creating an interface with interchangeable views requires less Interface Builder and more Xcode. Found a good guide:
*Creating an interface with interchangeable views requires less Interface Builder and more Xcode. Found a good guide:
**http://chris-software.com/index.php/2009/04/29/creating-a-view-programmatically/
**http://chris-software.com/index.php/2009/04/29/creating-a-view-programmatically/
==2010Nov24==
*After updating iPad, getting an error saying that it isn't provisioned

Revision as of 20:50, 24 November 2010

Electronic Notebook

2010Oct06

Set up wiki pages. Met Xiao. Saw iPad.

2010Oct12

Customized mac mini dock
Tried compiling "Hello, world" application: NEED PASSWORD from user in group "Developer Tools"

2010Oct14

Looking over TELNET protocol specifications. Confused.
Investigating use of PuTTY or other TELNET client code. Equally confusing
NOTE: The PuTTY license gives total freedom to take, copy, and sell their code. Good news!

In Lab:

Assembled ethernet controller (8752) and intelligent driver (8753) on mount
Working on finding a C/Objective-C telnet library
-Looking into libcurl (http://curl.haxx.se/libcurl/)

2010Oct19

The new book is much better for Objective-C. Finally getting a decent grasp on what everything is here
Lots of reading ahead on the plane back to MI, then looking to write some code for practice. May also put gobjc on my laptop for experimenting w/o nearby Mac.

2010Oct21

Working with networking code. It's all very confusing.
WireShark installed to allow me to see whether I'm sending network traffic.
WireShark can't capture because I can't run it as superuser.
Currently attempting to use Objective-C's built in streams for network communication.
Working with hand terminal:
-IP Address (dynamic): 141.211.198.201
-Hostname: monnierpico1.astro.lsa.umich.edu
Working with telnet:
-use chl <driver>=<motor> where driver is a1 through a31 and motor is 0,1, or 2 before trying to move motor

2010Oct26

telnetlib.py : a resource (possibly to use as a template for C)
http://www.koders.com/python/fid811ECD13FF344C935A679825C9AD2D03AACD6D0F.aspx

2010Oct28

Resources (I'll put the best ones outside this folder eventually)

Now have a simple client/server program that can exchange data between computers. The motor does not respond to the program yet, just to the telnet application. The program is in ~/Desktop/iOS/kevin/socketTesting/

http://cvsweb.netbsd.org/bsdweb.cgi/src/include/arpa/telnet.h?rev=1.11&content-type=text/x-cvsweb-markup

  • found this a few minutes ago, and now I'm frustrated / confused as to why I haven't seen it before!

2010Nov02

  • Seems like the python code merely sends the command with a newline. However, this doesn't seem to work with the C code.
  • TO DO tomorrow/Thursday: implement a recv() in clientBackup.c so I can tell what the picomotor controller is sending back (if anything)

2010Nov04

  • I can now send commands over the network via C! the client is located at /Users/monnierlab/Desktop/iOS Development/kevin/socketTesting/clientBackup.c
  • after using CHL, use REL <driver>=<value> then GO a1
  • Going to start moving the more useful stuff closer to the front of the wiki. I might also post clientBackup.c just in case. Also: I need to figure out whether I can ssh/vnc into this machine

2010Nov11

  • iPad can now contact monnierpico1!
  • Trying to find the specification for the JOG command. It's a button on the hand terminal AND it's a command over telnet, but I can't find any documentation

2010Nov23

2010Nov24

  • After updating iPad, getting an error saying that it isn't provisioned