background image

 

SensorDAQ User's Manual 

20 

enters a given space. If they do, an LED light (or buzzer) is turned on as an alarm. 

 
ControlEx13_PhotogateTrap.vi 
The Vernier Photogate can be connected to the DIG channel and used as a monitor to 
trap flies, bugs, or mice. In this example, we use the Photogate as a sensor to detect 
when the insect of animal is in position to be captured. When this happens, line P0.0 
is turned on for 2 seconds (to turn a motor to close the trap door), followed by line 
P0.1 flashing on and off (to warn that something is in the trap). 

Screw Terminal 

 
TerminalEx01_DigOut.vi 
SensorDAQ's screw terminals 1-4 are digital-in and digital-out lines. This example 
allows you to control the state of the digital-out lines. 

 
TerminalEx02_DigIn.vi 
SensorDAQ's screw terminals 1-4 are digital-in and digital-out lines. This example 
allows you to monitor the state of the digital-in lines. 

 
TerminalEx03_AnalogOut.vi 
Control terminal 9 to output a voltage between 0-5 volts. 

 
TerminalEx04_AnalogIn.vi 
In this example, you will be using SensorDAQ's analog in lines 11 and 12 (AI0 and 
AI1) to measure voltage. 

 
TerminalEx05_CounterTiming.vi 
The Counter feature allows you to command screw terminal 7 (PFI 0) to measure 
timing of a pulse signal (semi-period, period, and 2 edge separation).  

 
TerminalEx06_CounterCounting.vi 
The Counter feature allows you to command screw terminal 7 (PFI 0) to perform 
simple event counting. 

 
TerminalEx07_CounterPulseTrain.vi 
The Counter feature allows you to command screw terminal 7 (PFI 0) to create a 
pulse-train output. 

Data Collection 

 
SDAQ Data Collection VI.vi 
This is a LabVIEW program for use with the Vernier SensorDAQ. Channels 1-3 are 
used to collect data with Vernier analog sensors, and the screw terminal inputs AI0 
and AI1 can be used to collect data with custom analog sensors. These five analog 
inputs can be configured, and the calibration coefficients modified, with options in 
the Configure Channels menu (after running the VI). The data-collection rate, length 
of the experiment, as well as any triggering can be configured by clicking on the 
Data Collection button (which has the Clock in the Graph icon). Once data have 
been collected, there are some analysis features that can be used. If you would like to 

Содержание SensorDAQ

Страница 1: ...Vernier SensorDAQ User s Manual Vernier Software Technology 13979 SW Millikan Way Beaverton Oregon 97005 2886 503 277 2299 Toll Free 888 837 6437 FAX 503 277 2440 www vernier com info vernier com...

Страница 2: ...Vernier com and SensorDAQ are our trademarks or trade dress National Instruments NI ni com and LabVIEW are trademarks of National Instruments Corporation Refer to the Terms of Use section on ni com le...

Страница 3: ...ensorDAQ Components 4 Providing Power to SensorDAQ 4 Software 5 Connecting Sensors and Signal Lines 5 Vernier Analog Sensors 5 Vernier Digital Sensors 6 Screw Terminal 6 Sample Experiments VIs in LabV...

Страница 4: ...e SensorDAQ s screw terminal for control projects Examples include alarm systems and temperature controlled environments By following this guidebook you will learn to Set up and collect data using Ver...

Страница 5: ...will step you through the installation of the NI DAQ software We recommend that you accept the default directory Copy the VI sample folder SensorDAQ from the CD to the user lib folder located in the m...

Страница 6: ...lso if an auto ID sensor is attached the current sensor reading will appear below the toolbar as shown in the figure 7 Click LabVIEW will begin plotting data in the graph Once data have been collected...

Страница 7: ...by the DAQmx driver 4 The USB Port is for computer connection 5 Use the Tie Wrap Point to lock down and secure the device SensorDAQ side view 1 Ch 1 Ch 3 BTA British Telecom Analog channels for Verni...

Страница 8: ...e familiar with programming DAQmx LabVIEW examples implementing DAQmx functions have been provided And for those users familiar with Measurement and Automation Explorer MAX there is also some function...

Страница 9: ...otion Detectors Radiation Monitors Photogates and Rotary Motion Sensors One digital sensor at a time can be connected to SensorDAQ The digital channel DIG which accepts British Telecom style plugs wit...

Страница 10: ...channel 0 1 4 P0 0 3 GND Input or Output Digital I O Signals You can individually configure each signal as an input or output 6 5 V GND Output 5 V Power Source Provides 5 V power 7 PFI 0 GND Input PF...

Страница 11: ...nfigured for pulse output timing input event counting or as a digital trigger For examples of how to use the screw terminal signals in LabVIEW see Appendix A Sample Experiments VIs in LabVIEW Sample e...

Страница 12: ...ntify the sensor and adjust the graph and axes labels accordingly 4 Allow the data collection to complete after 18 seconds or you may stop it early by clicking the STOP button In this example Ch 1 is...

Страница 13: ...example we use a Vernier Stainless Steel Temperature Probe As the data rises to a preset threshold a connected LED will light up It will also help you familiarize yourself with SensorDAQ s output lin...

Страница 14: ...ons in LabVIEW Most users will eventually need to create their own custom LabVIEW VI One method for creating your own custom VI is to build off of an existing example The following steps show how to t...

Страница 15: ...Terminal OFF node located at the bottom left corner of the Setup subVI and right click your mouse A pop up list appears Select Create Constant The default input for this node appears click on it and s...

Страница 16: ...ll out that data point The reason that Ch 1 data is in an array format is because in some cases the VI may be set up to read an array of data points each time the SensorDAQ_Read vi is called 3 Next fi...

Страница 17: ...e wired into the DIO subVI the DAQmx Task Cluster Setup Parameters and error in 8 Make sure the DIO subVI is configured with Out Lines on Indefinitely 9 The DIO subVI requires an array of four Boolean...

Страница 18: ...izontal pointer slide in the Search if you can not find it 5 Label this control as Output Voltage 6 Double click on the maximum value of this control to highlight and change the value to 5 since this...

Страница 19: ...ives you an easy way to use SensorDAQ s digital channel for exciting do it yourself projects Math Machines Math Machines www mathmachines net creates customized connector and control experiments for t...

Страница 20: ...ng is used the VI waits for the user defined condition to be met prior to data collection AnalogInEx05_ModifyWithPopups vi This example allows you to select the sensor s units and configure the data c...

Страница 21: ...l the leading edge of the next bar blocks the beam period measurement This timing continues as all eight bars pass through the Photogate DIGEx06_PhotogateObjectVelocity vi This VI demonstrates how to...

Страница 22: ...nOutWithSensor vi In this example the reading of a sensor controls the Analog Out voltage ControlEx08_ControlAnalogOut vi The Analog Out feature allows you to command screw terminal 9 AO 0 to output a...

Страница 23: ...be using SensorDAQ s analog in lines 11 and 12 AI0 and AI1 to measure voltage TerminalEx05_CounterTiming vi The Counter feature allows you to command screw terminal 7 PFI 0 to measure timing of a puls...

Страница 24: ...or zoom out Data can be stored and deleted to compare against other runs as well as saved to file These options can be found in the menu selection Analysis tools are described in Appendix B Using DAQm...

Страница 25: ...utton on the toolbar then click and drag the mouse to select a region on the graph The graph will rescale expanding the selected region to fill the plotting area In addition there are other zoom optio...

Страница 26: ...can have LabVIEW collect temperature data only until the temperature raises or falls to to 35 C Pre Trigger Data You may also set the number of points to be collected before the trigger condition is...

Отзывы: