Tutorial How can I configure Scales and add a simulated DAQ devices in Labview?

Hi everybody, this is your friend Carlos Moreno, today I’ll make the mini-tutorial… How can I configure Scales and add a simulated DAQ devices in Labview?

If someone want this document or tutorial in Spanish I can make it, though this tutorial is very easy.

PART ONE

Configuring measurement Scales

You can configure custom scales for your measurements using MAX (Measurement & Automation eXplorer), For example, you can use a temperature sensor that represents temperature with a voltage (for example the LM35).

The conversion equation for the temperature is, Voltage x 100 = Celsius, because with the LM 35 if you have 230mV this voltage is 23 Celsius for all devices always look the datasheet.


1.
In the LABVIEW getting started screen, please click >>tools>>measurement & automation Explorer



2.
In the measument & automation explorer (MAX), please right click in scales>>create new



3.
In the new window click>>NI-DAQmx scale>>Next



4. For this example the ecuation of sensor is lineal y=mx+b (C=100x+0), then select the option linear with a click. The name of the scale for this example is LM35




5.Click finish.
6. In the MAX principal menu, select your scale LM35



7
. And now in the field slope write 100 (remember the ecuation) and in the field Scaled write C.



8.
Click Save changes (in the top)



End of part one.

Part Two

Add a simulated DAQ Device in Labview

The MAX system in Labview is a powerful tool because you can simulated devices that does not have the physical device installed.

The following tutorial show you how you can add a simulated device in Labview.


1. In the getting started screen, please click >>tools>>measurement & automation Explorer

2. In the measument & automation explorer (MAX), please right click in devices and interfaces>>create new


3. In the new window find the item “NI-DAQmx Simulated device”

4. Click finish.

5. in the new window find the device M-series DAQ>>NI PCI 6225>>ok

6. And now you can play with your new simulated DAQ device.


Labview is the best solution in graphycal programming, for more information please visit www.ni.com/labview

Bye.


Aucun commentaire:

Enregistrer un commentaire