Control & Output with LabVIEW Thursday, Feb 2nd Part 1: A Brief History of Some LabVIEW Stuff You’ve Done So Far in ME-241 LabVIEW Application (Review) LabVIEW Application (Review) LabVIEW Application (Review)

Control & Output with LabVIEW Thursday, Feb 2nd Part 1: A Brief History of Some LabVIEW Stuff You’ve Done So Far in ME-241 LabVIEW Application (Review) LabVIEW Application (Review) LabVIEW Application (Review) www.phwiki.com

Control & Output with LabVIEW Thursday, Feb 2nd Part 1: A Brief History of Some LabVIEW Stuff You’ve Done So Far in ME-241 LabVIEW Application (Review) LabVIEW Application (Review) LabVIEW Application (Review)

Silverstein, Rob, Executive Producer has reference to this Academic Journal, PHwiki organized this Journal Control & Output with LabVIEW Thursday, Feb 2nd LabVIEW DAQ Output as long as Voltage, Sensor Excitation, in addition to Control Systems Part 1: A Brief History of Some LabVIEW Stuff You’ve Done So Far in ME-241 LabVIEW Application (Review) LabVIEW can work with Data Acquisition (DAQ) Plat as long as ms in order to capture signals from a variety of instruments. These include the instruments you have used so far in ME241, such as: Thermocouples, Pressure Transducers, Load cells, Strain gages (& anything that uses a Strain gage) Linear Variable Differential Trans as long as mers

DeVry University-Illinois IL www.phwiki.com

This Particular University is Related to this Particular Journal

LabVIEW Application (Review) We capture data in the as long as m of electrical signals by wiring our instrument into a DAQ device. These devices include boards that plug into the PC via a USB-port or More sophisticated devices that use PCI cards inside a PC that plug into some benchtop device. LabVIEW Application (Review) The DAQ devices allow us to capture signals from a given instrument. These instruments allow us to measure the physical phenomenon that we are interested in. LabVIEW VI Creation In class in addition to laboratory we have used LabVIEW to write virtual instruments (VIs). We typically write a VI so that it can “talk” to the outside world (the experiment on the bench). In order to do this we use the DAQ Assistant.

LabVIEW VI Creation We use the LabVIEW block diagram to create code that measures, displays in addition to records voltages . The DAQ Assistant is key . The DAQ Assistant allows us to tell LabVIEW which channels on the DAQ device to sample. For instance if we use a USB-6008 we might set up four channels as follows

This will yield data from 4 separate channels . Part 2: LabVIEW Can Generate Output! DAQ Device Output Most DAQ devices have the ability to generate signals as well as collect signals. The DAQ devices are able to do this via the port they connect to via a cable. Most st in addition to ard DAQ devices can generate a signal of 5-10 VDC. This voltage is ample enough to power some small transducers in addition to instruments. This is important to the proper collection of data.

We use a battery to power the pressure transducer. The battery provides 9 volts. Tank Draining Experiment Apparatus Tank Tube Pressure Transducer + + + – – – 9 VDC Battery Pack Tank Draining Experiment Apparatus Possible Alternative We could have used a DAQ Device to power the pressure transducer Advantage: PC provides power. Batteries not needed. Power provided is “steady.” Tank Tube Pressure Transducer 9 VDC Output From DAQ Device AO0 SCXI to PC Voltage Output The BASICS: Most DAQ devices have the ability to produce their own signals. We can use these signals to interact with the experiment or equipment we are using. We can use these signals to power equipment. We can use these signals to trigger events in addition to make stuff happen.

Part 3: HOW do I make a DAQ device provide a voltage The BASICS: You need 3 things LabVIEW Application MAX DAQ Device Voltage Output Note the ANALOG side of the USB devices near your computers. There should be terminals labeled AO0 in addition to AO1 AO st in addition to s as long as Analog Output. Most of the NI devices have at least 2 such terminals For output we wire a terminal in addition to a ground.

Voltage Output We access the analog output functions via LabVIEW. To do this we can access the DAQ Assistant. We can right-mouse click in addition to access Functions on the Block Diagram. Select the DAQ Assistant on the OUTPUT Menu Voltage Output When the DAQ Assistant is selected you get 2 choices: “Acquire Signals” what we have used so far “Generate Signals” choose this one as long as voltage output! Once you select Generate Signals choose Voltage The device or devices will appear. Choose either one or both channels (depending on how many signals must be generated.)

DAQ Assistant as long as Voltage Output Compare Differences/Similarities Build a Control to Dial 0-5 volts On the Front Panel place a dial. Connect this to “data’ on the Output DAQ Assistant.

Silverstein, Rob Access Hollywood Executive Producer www.phwiki.com

Build a Control to Dial 0-5 volts Turn the knob to some arbitrary value in addition to press the run arrow. This vi will produce We can confirm this value by adding an INPUT DAQ Assistant. Build one that reads from input channel AI1. Add a graph or indicator to your vi to show output. Exercise: Build A VI to Generate an Output in addition to Collect that Voltage as an Input

Part 4: Applications in addition to Demonstrations DEMO Application 1 Sometimes we need more than just 5 or 10 volts How can the LabVIEW output function help us to run a pump or motor Application: We need to use LabVIEW to control a motor. The motor uses a variable voltage from 60 to 120 volts to adjust from top speed to low speed. DEMO Application 1 In this case we would use a device with the motor’s manual control electronics. The controller will accept a grounded DC signal in addition to generates a proportional output voltage. This output can be supplied to the speed setting circuit of the motor’s controller. This will drive the motor at a speed proportional to the signal that LabVIEW sends to it.

DEMO Application 4 Think of it as translation English Spanish Irish “Good Morning” “Buenos Dias” “Dia duit!” LabVIEW PC Interface Circuit Board “G-Code” “Op-Code” “Assembly” DEMO Application 4 PC with LabVIEW Serial Communications Card Power Board with SCR-based Trans as long as mer Power Supply 24 VDC Train Track 0-15 volts

Silverstein, Rob Executive Producer

Silverstein, Rob is from United States and they belong to Access Hollywood and they are from  Burbank, United States got related to this Particular Journal. and Silverstein, Rob deal with the subjects like Entertainment

Journal Ratings by DeVry University-Illinois

This Particular Journal got reviewed and rated by DeVry University-Illinois and short form of this particular Institution is IL and gave this Journal an Excellent Rating.