Customer SolutionsData Acquisition and Control System for Testing Beverage Vending Machines
Author(s):Bryan Nadeau, Life Cycle Engineering Inc.
Industry:Food/Beverage
Product:LabVIEW, PXI/CompactPCI, Signal Conditioning
The Challenge:Developing and integrating a data acquisition and control system for two vending machine test cells for a leading manufacturer of soft drink vending machines.
The Solution:Using National Instruments hardware and software, Life Cycle Engineering developed and installed a high channel-count data acquisition and control system to control temperature and humidity in two test cells while acquiring, displaying, and storing up to 512 channels of analog data.System Components In order to communicate with temperature and humidity process controllers installed in each cell, we installed a PXI 8421 8 port RS-485 interface card in chassis 1. This reduced project costs by eliminating the need to run cable for RS-485 communication from the test cells to the main PC. We chose LabVIEW as the application software because of its easy integration with National Instruments data acquisition hardware, ease of use, built in serial communication VIs, and available SQL VIs. Using the Measurement & Automation Explorer, hardware setup and configuration of 512 analog channels was simple. We used the Enterprise Connectivity Toolset to an ODBC compliant database for data storage and retrieval. All of the screens in the user interface were developed using LabVIEW 6i. The data acquisition and control screen shown below gives the operator the ability to start tests on any of the eight test stations, set the test cell temperature and humidity values, and provides links to the real-time display and report generation screens. We used DataSocket server VIs in LabVIEW to publish the raw data throughout the customer’s facility via the local area network (LAN). Remote monitoring is also possible via the Internet. A reader VI compiled as an executable is needed to access test data, and an installation CD gives the customer the ability to control access to the test data. With a report generation screen developed in LabVIEW 6i, the customer can create customized graphical or text reports from acquired data. Test data is stored in a Microsoft Access database as it is acquired and accessed by LabVIEW. Users can also access this data via the SQL toolkit. The screen allows the user to select which test to display and gives them the ability to select the channels to include in the reports. In addition, channel names are retrieved from a test configuration table and used to label plots in the chart legend. A report generation screen developed in LabVIEW 6.0 allows the customer to create customized graphical or text reports from acquired data The PXI 1011 chassis provided ample slots for data acquisition, RS-485 communication, and SCXI analog signal conditioning modules. The use of MXI-3 remote controllers eliminated the need for locating computer peripherals above the test cells, and provided noise free communications between the chassis and the PC. View the entire user solution in Adobe Acrobat PDF format. |
