IV-10 Advanced Topics.Pdf

IV-10 Advanced Topics.Pdf

Chapter IV-10 IV-10Advanced Topics Regular Modules............................................................................................................................................. 222 Regular Modules in Action Procedures and Hook Functions .......................................................... 223 Regular Modules and User-Defined Menus........................................................................................ 224 Independent Modules .................................................................................................................................... 224 Independent Modules - A Simple Example......................................................................................... 225 SetIgorOption IndependentModuleDev=1 .......................................................................................... 225 Independent Module Development Tips............................................................................................. 225 Independent Modules and #include ..................................................................................................... 226 Limitations of Independent Modules ................................................................................................... 226 Independent Modules in Action Procedures and Hook Functions.................................................. 226 Independent Modules and User-Defined Menus ............................................................................... 227 Independent Modules and Popup Menus ........................................................................................... 227 Regular Modules Within Independent Modules ................................................................................ 228 Calling Routines From Other Modules ................................................................................................ 229 Using Execute Within an Independent Module.................................................................................. 229 Independent Modules and Dependencies ........................................................................................... 229 Independent Modules and Pictures...................................................................................................... 230 Making Regular Procedures Independent-Module-Compatible...................................................... 230 Sound................................................................................................................................................................ 230 Movies .............................................................................................................................................................. 230 Playing Movies......................................................................................................................................... 231 Creating Movies....................................................................................................................................... 231 Extracting Movie Frames........................................................................................................................ 231 Movie Programming Examples............................................................................................................. 231 Timing............................................................................................................................................................... 232 Ticks Counter ........................................................................................................................................... 232 Microsecond Timer.................................................................................................................................. 232 Packages ........................................................................................................................................................... 232 Creating a Package .................................................................................................................................. 232 Lightweight Packages ............................................................................................................................. 234 Managing Package Data ................................................................................................................................ 234 Creating and Accessing the Package Data Folder .............................................................................. 235 Creating and Accessing the Package Per-Instance Data Folders...................................................... 236 Saving Package Preferences .......................................................................................................................... 237 Saving Package Preferences in a Special-Format Binary File............................................................ 237 Saving Package Preferences in an Experiment File ............................................................................ 240 Creating Your Own Help File ....................................................................................................................... 241 Syntax of a Help File ............................................................................................................................... 242 Creating Links .......................................................................................................................................... 242 Checking Links......................................................................................................................................... 243 Creating Formatted Text................................................................................................................................ 244 Printf Operation ....................................................................................................................................... 245 sprintf Operation ..................................................................................................................................... 245 fprintf Operation...................................................................................................................................... 246 Chapter IV-10 — Advanced Topics wfprintf Operation .................................................................................................................................. 246 Example Using fprintf and wfprintf ..................................................................................................... 246 Client/Server Overview.................................................................................................................................. 246 Apple Events ............................................................................................................................................ 247 Apple Event Capabilities................................................................................................................. 247 Apple Events — Basic Scenario...................................................................................................... 247 Apple Events — Obtaining Results from Igor ............................................................................. 247 Apple Event Details ......................................................................................................................... 248 AppleScript............................................................................................................................................... 249 Executing Unix Commands on Mac OS X ........................................................................................... 250 ActiveX Automation................................................................................................................................ 250 Calling Igor from Scripts................................................................................................................................ 251 Network Communication.............................................................................................................................. 252 URLs.................................................................................................................................................................. 252 Usernames and Passwords..................................................................................................................... 253 Supported Network Schemes ................................................................................................................ 253 Percent Encoding ..................................................................................................................................... 253 Safe Handling of Passwords.......................................................................................................................... 254 Network Timeouts and Aborts ..................................................................................................................... 255 Network Connections From Multiple Threads .......................................................................................... 255 File Transfer Protocol (FTP)........................................................................................................................... 257 FTP Limitations.......................................................................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    100 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us