Integrating DAQ, IMAQ, and Motion Joe Hays Applications Engineer Thu 11:30a, 2:00p and 4:45p Red River (4B) Joe Hays Applications Engineer Thu 11:30a, 2:00p and 4:45p Red River (4B)
Integrating DAQ, IMAQ, and Motion Project overview – circuit test system (CTS) Tools that simplify the integration task Balance between system monitoring and functional circuit testing Coordination of image acquisition Portable configuration information Project overview – circuit test system (CTS) Tools that simplify the integration task Balance between system monitoring and functional circuit testing Coordination of image acquisition Portable configuration information
CTS Objective – circuit manufacturing verification through automated testing Integration of data acquisition (DAQ), signal conditioning (SCXI), image acquisition (IMAQ), and motion control Objective – circuit manufacturing verification through automated testing Integration of data acquisition (DAQ), signal conditioning (SCXI), image acquisition (IMAQ), and motion control
CTS Camera Motor UUT PC Based Acquisitions System Vital Signs
Follow Good Software Development Practices Top-down verses bottom-up Define tasks for modularity Determine the main data flow of the application Critical paths and priorities Determine dependencies between modules Standardized junctions for inter-module communication Remember to design with the future in mind! Top-down verses bottom-up Define tasks for modularity Determine the main data flow of the application Critical paths and priorities Determine dependencies between modules Standardized junctions for inter-module communication Remember to design with the future in mind!
Integration Tools Multithreading Code synchronization Semaphores Notifiers Rendezvous Queues Occurences VI Server Configuration File VIs Multithreading Code synchronization Semaphores Notifiers Rendezvous Queues Occurences VI Server Configuration File VIs
Integration Tools (cont.)
Integration Tools (cont.)
Integration Tools (cont.)
Integration Tools (cont.)
System Monitoring and Circuit Testing Problem – resource conflict between the system monitoring and circuit testing operations Options More hardware State machine Parallel loop with Semaphore VI Server with Semaphore Problem – resource conflict between the system monitoring and circuit testing operations Options More hardware State machine Parallel loop with Semaphore VI Server with Semaphore
VI Server with Semaphores
Coordinated Image Acquisition Problem – continuous image acquisition without significant delays Options State machine Parallel loop VI Server Problem – continuous image acquisition without significant delays Options State machine Parallel loop VI Server
VI Server
Portable Configuration Information Problem – system-independent configuration information Options Hard code information Configuration dialog Configuration files Problem – system-independent configuration information Options Hard code information Configuration dialog Configuration files
Configuration Files Example.cfg File Reading the.cfg File
Configuration Files (cont.) Using the.cfg Data
Closing National Instruments simplifies the integration of measurement and automation systems by providing Superior application development environments Comprehensive driver APIs Advanced hardware solutions National Instruments simplifies the integration of measurement and automation systems by providing Superior application development environments Comprehensive driver APIs Advanced hardware solutions