LabWindows/CVI programming for beginners

著者

    • Khalid, Shahid F.

書誌事項

LabWindows/CVI programming for beginners

Shahid F. Khalid

(National instruments virtual instrumentation series)

Prentice Hall, c2000

大学図書館所蔵 件 / 1

この図書・雑誌をさがす

注記

Includes bibliographical references and index

内容説明・目次

内容説明

LabWindows/CVI is for C programmers. In LabWindows/CVI, C is the programming language used to build data acquisition and instrumentation control applications; LabWindows/CVI is completely compatible with the most common C/C++ compilers available under Windows 95/NT. The first available interactive tutorial on LabWindows/CVI, this book provides beginners with a welcome alternative to the very detailed-and intimidating-National Instruments manuals. Arranged in a systematic way to teach a novice from simple to complex topics, it begins at the beginning and includes a CD with examples and code so students can start running project applications immediately.

目次

1. Getting Started. What is CVI? Where is CVI used? Starting CVI. The First CVI Project. Summary. 2. Basics of Creating the Graphical User Interface. User Interface Overview. CVI Programming Model. Creating the First CVI Project. Analyzing the CodeBuilder-Generated Code. Overview of How to Develop a CVI Application. Creating the Second CVI Project. Callback Function and Generated Events. Summary. 3. More Graphical User Interface. Using Timer Controls. The Anatomy of the Panel. Learning the Tool Bar. Creating and Using the Strip Charts. Project Window Icons. Observations. Summary. 4. Enhancing the User Interface. Project Overview. Starting the Project. Creating and Using the Menu Bar. Generating the Source Code. Creating and Using Tool Bars. Adding a Text Box to the Project. Creating the Tab Order. Summary. 5. Source Editor and Debugging Techniques. Source Editor Environment Overview. Exploring the Source Editor. Source Editor Tool Bar. Working with Function Panels. Interactive Execution Window. Building Your Project. Manipulating the Code. Setting Line Numbers and Selecting Text. Using the Code Selection Modes. Balancing Parentheses. Setting and Clearing Tags. Finding User Interface Objects (Controls). Inserting C Constructs in Code. Comparing Source Files. Find, Search, and Replace Commands. Using the Debugger. Using Breakpoints. Exclude/Include Lines. Working with Variables, Arrays, and Strings. Watch Window. Memory Display Window. Summary. 6. File Input/Output. What is File I/O? Using Files. Overview of the Project. Creating the User Interface. Generating the Code. Pop-Up Panels. Confirm Pop-Up Panel. Message Pop-Up Panel. Generic Message Pop-Up Panel. Prompt Pop-Up Panel. File Select Pop-Up Panel. Install Pop-Up Function. Remove Pop-Up Function. Multi-File Select Pop-Up Panel. Directory Selection Pop-Up Panel. Graph Pop-Up Panels. Adding Code to the Project. Main Function. StartTestCB Function. WriteToFile Function. CheckFileName Function. Timer_2SecCB Function. Timer_1SecCB Function. StopTestCB Function. ClearTextBoxCB Function. ReadFileCB Function. RunExcelCB Function. ExplorerCB Function. ExitPanelCB Function. Summary. 7. List Boxes & Rings. Introduction. List Box Example. List Box Example. Using Ring Controls. Designing the Test Executive Project. Project7 Code Generation and Analysis. Main Function. LoadTestNamesCB Function. SelectTestsCB Function. RemoveTestCB Function. SaveSeqCB Function. LoadSeqCB Function. ResetSeqCB Function. CopyTestCB Function. GoToTestExecCB Function. SelectTimesToRunCB Function. RunSequenceCB Function. ExitCB Function. ClearListBoxCB Function. ReturnCB Function. CheckFileName Function. ExplorerCB Function. Summary. 8. Creating Stand-Alone Executables and Distribution Disks. Creating Stand-Alone Executables and Distribution Disks Overview. Creating Stand-Alone Executables. Creating Distribution Disks. Install DataSocket Support. Install NI Reports Support. Error Handling for Stand-Alone Executables. Summary. 9. Creating and Using Dynamic Link Libraries. Dynamic Link Libraries (DLL) Overview. Creating Dynamic Link Libraries. Creating DLLs without a User Interface. Using the DLL. Creating DLLs with the User Interface. Using the GUI DLL. Summary. 10. External Compiler Support. External Compiler Support. Creating an Object File for Use in an External Compiler. Creating DLL Containing Callback Functions. Summary. 11. GPIB Communications. GPIB Communication Introduction and History. GPIB Communication. Getting Started with GPIB. GPIB Communication Using the NI-488 Routines. Win32 Interactive Control Utility. NI Spy Utility. Using the IEEE-488.2 Standards. Using GPIB Instrument Drivers. Summary. 12. RS-232 Serial Communication. Overview of Serial Communication. Connectors and Signals. Serial Communication Project. Configuring the RS-. Error Checking Functions. Writing and Reading Data. Sending Data Buffer. Receiving Data Buffer. Sending a Data Byte. Reading a Data Byte. Reading Data Using a Termination Byte. Writing Data Files. Reading Data Files. Sending and Receiving Data Packets. Configuring XModem. Sending Data Packets. Receiving Data Packets. Serial Communication Utility Functions. Flush Output Queue. Flush Input Queue. Queue Length. Obtaining COM Port Status. Break Function. Communicating with RS-485. Summary. A. LabWindows/CVI Installation. Installing CVI. Installing the Projects Directory. B. Project Window Environment. Starting the Project. Overview of the Project Window. Using the File Menu. New. Open. Save. Save As. Save All. Auto Save Project. Print. Most Recently Closed Files. Exit LabWindows/CVI. Using the Edit Menu. Add Files To Project. Select All. Exclude File From Build. Remove File. Move Item Up. Move Item Down. Using the View Menu. Show Full Path Names. Show Full Dates. Sort By Date. Sort By Name. Sort By Pathname. Sort By File Extension. No Sorting. Using the Build Menu. Configuration. Target Type. Target Settings. Compile File. Mark File For Compilation. Mark All For Compilation. External Compiler Support. Create Distribution Kit. Using the Run Menu. Debug Project. Continue. Terminate Execution. Break at First Statement. Breakpoints. Select External Process. Execute. Threads. Using the Instrument Menu. Load. Unload. Edit. Using the Library Menu. User Interface. Advanced Analysis. Easy I/O for Data Acquisition. Data Acquisition. VXI. GPIB/GPIB. RS-. VISA. IVI. TCP. DataSocket. DDE. X Property (Unix Only). ActiveX Automation (Windows Only). Formatting and I/O. Utility. ANSI C. Using the Tools Menu. Create ActiveX Automation Controller (Windows Only). Create IVI Instrument Driver. Source Code Control. Using the Window Menu. Cascade Windows. Tile Windows. Minimize All. Close All. Project. Build Errors. Run-Time Errors. Source Code Control Errors. Memory Display. Variables. Watch. Interactive Execution. Using the Options Menu. Build Options. Compiler Defines. Include Paths. Instrument Directories. Run Options. Command Line. Environment. Library Options. Tools Menu Options. Source Code Control Options. Project Move Options. Font. Colors. Using the Help Menu. Summary. C. User Interface Editor Environment. File Menu. New, Open, Save, Save As, Close, and Exit LabWindows/CVI. Save Copy As. Save All. Add File to Project. Read Only. Print. Edit Menu. Undo and Redo. Cut, Copy, and Paste. Delete. Cut Panel and Copy Panel. Panel. Control. Tab Order. Set Default Font. Apply Default Font. Control Style. Create Menu. View Menu. Find UIR Objects. Show/Hide Panels. Bring Panel to Front. Next Panel. Previous Panel. Preview User Interface Header File. Arrange Menu. Code Menu. Set Target File. Generate. Main Function. All Callbacks. Panel Callback. Control Callbacks. Menu Callbacks. View. Preferences. Default Panel Events/Default Control Events. Always Append Code To End. Run Menu. Library Menu. Tools Menu. Window Menu. Options Menu. Operate Visible Panels. Next Tool. Preferences. Edit Color Preferences. Preferences for New Panels. Preferences for New Controls. More. Save in Text Format. Load from Text. Help Menu. D. Formatting Functions. Introduction to Formatting and Scanning Functions. Formatting Functions. Format Code Specifiers. Formatting Modifiers. Formatting Examples for the Fmt Function. Integer to String. Short Integer to String. Inserting Characters Between Each Element of an Array. Real to String in Floating Point Notation. Real to String in Scientific Notation. Integer and Real to String with Literals. Concatenating Two Strings. Appending to a String. Converting Decimal Integer to Hexadecimal String. Scanning Functions. Scan Functions-Format String. String to String. Converting String to Integer and String. Converting Comma-Separated ASCII Numbers to Real Array. Scanning Non-NUL Terminated Strings. Converting Integer Arrays to Real Arrays. Byte Swapping, with Integer Array to Real Array. Converting Hexadecimal String to Decimal Integer. ScanFile Function. ScanIn Function. Status Functions. Using the Format Wizard. E. CVI Demo Programs. Bmath Demo Version. Introduction. Loading/Editing Instructions. Using Parametric Run. Iterative Evaluation. Using the Plot Utility. Using the Solver Utility. System Test Demo. Introduction. System Test Start Up Procedure. How to Use Permission Levels. System Test Window (Main Window). How to Use the Molecules List Reordering Window. System Self Tests Window. System Selective Testing Window. Loop/Select Window. Sequencer Window. Test Builder Window. Last Test Window. Stop/Loop Window. Vars Window. Bibliography. Index.

「Nielsen BookData」 より

関連文献: 1件中  1-1を表示

詳細情報

ページトップへ