Changeset 336
- Timestamp:
- 03/18/07 22:34:25 (1 year ago)
- Files:
-
- trunk/ILDAInspector/English.lproj/MainMenu.nib/info.nib (modified) (1 diff)
- trunk/ILDAInspector/English.lproj/MainMenu.nib/keyedobjects.nib (modified) (previous)
- trunk/ILDAInspector/FrameController.h (modified) (2 diffs)
- trunk/ILDAInspector/FrameController.m (modified) (3 diffs)
- trunk/ILDAInspector/MainController.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ILDAInspector/English.lproj/MainMenu.nib/info.nib
r332 r336 14 14 <key>IBOpenObjects</key> 15 15 <array> 16 <integer>231</integer> 16 17 <integer>312</integer> 17 <integer>231</integer>18 18 </array> 19 19 <key>IBSystem Version</key> 20 <string>8 P135</string>20 <string>8L2127</string> 21 21 </dict> 22 22 </plist> trunk/ILDAInspector/FrameController.h
r332 r336 20 20 21 21 bool lasing; 22 23 22 24 23 //EasyLase Specific: 25 24 unsigned int easyLasePointsPerSecond; … … 47 46 - (IBAction)invertX:(id)sender; 48 47 - (IBAction)invertY:(id)sender; 49 - (IBAction)setPPS:(i d)sender;50 48 - (IBAction)setPPS:(int)speed; 49 - (int)getPPS; 51 50 52 51 trunk/ILDAInspector/FrameController.m
r332 r336 60 60 { 61 61 //SetEasyLaseUSB Defaults 62 easyLasePointsPerSecond = 8000; //default value of 8kpps62 easyLasePointsPerSecond = 8000; //default value of 8kpps 63 63 xIsInverted = NO; 64 64 yIsInverted = YES; 65 66 65 67 66 timer = nil; … … 219 218 } 220 219 221 - (IBAction)setPPS:(id)sender{ 222 int speed = [sender intValue]; 220 - (IBAction)setPPS:(int)speed{ 223 221 easyLasePointsPerSecond = (unsigned int)speed; 222 } 223 224 - (int)getPPS{ 225 return easyLasePointsPerSecond; 224 226 } 225 227 … … 280 282 } 281 283 282 //unsigned int speed = 10000;283 284 int status = easyLaseGetStatus(0); 284 285 if(status == 1) { trunk/ILDAInspector/MainController.m
r125 r336 10 10 [slider setFloatValue:0]; 11 11 [slider setContinuous:YES]; 12 13 [frameController setPPS:8000]; 12 14 } 13 15
