when i got here i opened the door to my blackkkkkkkkkkk room with my key card swiper thing!!!!!! i walked in the room and turned on the computer. I got on aim to see if may was here yet. then i started looking at IMSterm to redownload the programs 0nto all 3 of the motors. here is an example
' Sample Stage Stepper Controller' Original: 6/14/05 by Gary DiFrancesco' Modified: 7/3/07 by May Arsenovic' *For use with motor #2'' Declare Program VariablesVA ts 'Angle between src and smpl normal, (to smpl norm)VA sc 'New angle (ts) converted to stepper countsVA sr=10240 'Microstep resolution 10240 microsteps/stage deg.' Set Motor VariablesMs 256 'MSp resolution - 10240 ms/deg.Vi 8000 'Minimum motor velocity in steps/secVm 80000 'Maximum motor veolcity in steps/secA 1000000 'Acceleration in steps/sec^2D 1000000 'Deceleration in steps/sec^2S1=1,0 'Logical input 1 as home input, active when LOWDn="S" 'Assign device name "S"R1=0 'Current position equals zero Dusing registry' Home Seek RoutinePG 100 BR M1,P=0 'If the motor is started at zero BR M2,P>0 'Go to M2 if current position is positive BR M3,P<0>0 H HM=1 'Find home at VM in (-) dir., creep (+) dir. H 'Hold program till motion is complete MR -81920 'Compensate for none-zero stage ~8 deg. H 'Hold program till motion is complete P=0 'Set home location to 0 PR P 'Print current location BR M4 'Go to end of program LB M3 'Move the stage counterclockwise if P<0 hm="3" p="0" r2="R1*sr" r2="-1*R2" p="R2" sc="ts*sr" sc="-1*sc">
This is the program that makes our sample stage run. Then most of the morring Ann(the under paid incomming freshman, that is vegan) and I collected data on the robustness of each motors by making them execute extreme angles and then they had to go 5 increments a time to test the accuracy of each motor. Then we graphed each motors outcome in excel. Then I went to lunch and i had a salad w/ italia dressing and chi chi beans and manderain oranges. I sat w/ a bunch of the incomming freshman honor students 1 is from texas and one got hit by a car. They both ate fish, i hate fish. Then i got back to my cold dark lair. I finished typing the report and then ann got back from the class she went to about a book she didnt read. Then we whipped out the old pulnix accupixal camera and tried to get it communicating w/ labview. We took lots of videa and pictures of our selves and randomly ran labview programs designed by the cameras company but most of them suck, but we got a few to work. Now we need a way to save the pictures/movie files we create cause labview wont let us. Now I am typing this extensivly researched blog and then I am going to learn how to correctly write a lab report. Then I will drive home in my poniac G5 and maybe ill go see the new batman movie cause it look really good. peace out
Friday, July 18, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment