OR DAQ6009 with sensor and LabVIEW

I use the DAQ6009 OR and I try to attach a sensor sensitive resistant four to him. I placed a resistor in the circuit so the voltage divider rule is applied, but I'm not sure what channels to use? At the moment I have the 5Volts on the digital side connected to the probe and the resistance. I have the MASS of the digital connected to GND on the analog side channel and the other end of the wire fixed to Ai0 sensor resistance is this correct?

Help, please

Thank you

I'm afraid that I don't see your picture, I do not know if it attached correctly. However, I think that the reason why you don't see specific measures is that you make a measurement resistance with the DAQ assistant, but you should do a measurement of voltage.

The task you mention is not too difficult, just compare your signal to your threshold values by using the range of comparison (functions > programming > comparison of the block diagram) and then use the result of this causes a pop-up dialogue box (maybe using a case structure).

To draw the lines of two thresholds on your graph, you might just have another signal that is constant at the value of your threshold and output for the chart as an additional channel, you can have multiple signals on the same chart using the function of merging of signals.

Good luck

Kind regards

Tags: NI Hardware

Similar Questions

  • Compatibility of boards of daughter BasicTx and BasicRx with USRP2920 and LabView

    I want to know that girls BasicTx and Rx cards Ettus research base are compatible with USRP2920 and Labview or not.

    These cards also supports variable gain or not? Please confirm

    Thank you

    JK

    They will work, but you must use property nodes to configure them. No is no LO so ther is no center frequency setting. I and Q are separate channels so you must separate them and treat them as such. There are no gain as the boards primarily provide access to the ADC.

  • With the help of Lego sensors and motors through the LabVIEW and NI PCI card

    I want to connect a card PCI NI Lego motors and sensors and drive motors and the data of sense using LabView. What card PCI can I use? Thanks for a great site and fantastic community online.

    Hi Tom,

    Looks like a great app.  NXT with LabVIEW Migration will be a big intermediate step before joining more industrial and better sensors with a PCI, PXI, cDAQ or cRIO.  We have a lot of options when it comes to vision and control and acquisition of movement, and we have dedicated forums for all of these products as well.

    Machine vision: http://forums.ni.com/t5/Machine-Vision/bd-p/200

    Motor control and motor control: http://forums.ni.com/t5/Motion-Control-and-Motor-Drives/bd-p/240

    Programming LEGO Mindstorms LabVIEW Guide: http://digital.ni.com/manuals.nsf/websearch/93B7EC451C8DEEC68625762B005380FE

    Getting started with LEGO Mindstorms: http://digital.ni.com/manuals.nsf/websearch/80456522F9BE87FB8625746400540977

    Good luck

  • measure the angular speed, angle and trigger using a gyroscopic sensor breakout board and LabView data acquisition

    How to measure the angular velocity, the angle and trigger using a gyroscopic sensor breakout board and LabView data acquisition?

    There is a single channel data acquisition code which measures the angular velocity, angle and flexibility using a gyroscopic sensor breakout board and acquisition of LabView data attached to this, I need a help to creat two-channel data acquisition code?

    Hello

    Attached is a vi that you can use in order to read the measured angular position of an encoder.

    If you need more examples on the tasks that you can develop with NOR-DAQmx and LabVIEW, you just need to open LabVIEW and click Help > find examples > Input and Output material > DAQmx > entry counter.

    Kind regards

  • How to sit interface with matlab 2010A and labview 2010

    I use tools of simulation interface 5.0 with matlab 2010A and labview 2010, I want to take my cue from matlab, labview but signal transfer, I am facing a problem. I want to know is there any compatibility issue in sit 5.0 or I do something wrong?
    photos of errors are attached.

    natasftw wrote:

    http://digital.NI.com/public.nsf/allkb/02F5FA55FC28BDE1862578A30071F975
    While it is for 2011, I doubt that they decided to remove 64-bit compatibility as they went forward as 64-bit has become more rather than less demand.  In this document,notes LabVIEW Simulation Interface Toolkit does not support 64 bit versions of MATLAB application software."

    The extent of the compatiblitly for 32 - bit, I'd take a peek at: http://digital.ni.com/public.nsf/allkb/D174674A91E5536286257428005C2426

    The OP's question was SIT support 64 - bit version of LabVIEW and 64-bit version of the MATLAB/Simulink itself, not the operating system software.

    Document in your second link is on a completely different topic to have API for LabVIEW and MATLAB/Simulink/RTW (well, mostly Simulink & RTW). Here is the relevant link for the 32-bit compatibility: http://digital.ni.com/public.nsf/allkb/049295038FF0EE2A86257A06006B2DAD is no SIT 64-bit.

    Other underlying issues is that Pharlap does not have a 64-bit version. Finally, simulations are better performed on some RTOS (embedded PXI) for a deterministic execution rather than PC operating systems.

    -BTC

  • I have a problem with the simulation in Matlab 6.5 and LabVIEW for PID controllers

    I have a problem with the simulation in Matlab 6.5 and LabVIEW. I have a few methods for granting regulators PID in MATLAB to go but not of LabVIEW. Degree of international teams of two transfer but when I passed to the fourth degree is no longer working. We have changed the formula to calculate the parameters for the fourth year and gave me some good values for assignment of Matlab, but when I put on LabVIEW are not resolved. the formulas are available in PDF format and are. Please help me and me someone if possible. Thank you
    Lim.4 generation in comparison methods and the MATLAB program settings are for the service of transfer to the second degree.

    Hello Lascarica,

    I noticed that you are using the screw of PID. Gains on these screws are based on TIME instead of GAIN. You should be able to build a PID regulator and vary the gains and then compare the results.

  • How to program a remote adjustent with a Laser sensor and a pressure valve

    Hallo,

    I'm looking for a solution set a monostable pneumatic cylinder via a laser sensor and a pressure valve.

    The Laser sensor and the valve has a domain controller as a signal input/output. The position of the cylinder is controlled by the laser sensor and pressure valve schould adjust pressure as needed to get the cylinder into position.

    Sample:

    The cylinder schould be 5mm extended from the initial position. If a team is on the stem of the actuator pressure valve schould be able to increase the pressure in the cylinder so that the location of Rod 5mm remains approximately constant.

    Thank you for a few suggenstions!

    Kind regards

    Manual

    I guess you could use a system by which the laser sensor output when it receives the laser beam.

    Something like this:

    Laser has detected ==> move in the first direction

    Laser (later) has detected ==> move in the other direction

    Laser (later) has detected ==> move in the first direction

    ..........

    So that it switches between two States.

    Or if it is possible, you could just output intensities different laser to represent different values.

    You could get the signal valve dc, translate to a numeric value, set a threshold (or an upper and lower threshold could be better) where the system is stable and doing some codes to ensure that the valve maintains the pressure inside the threshold.

    The rest I think is too deep, and I guess it's to you from there

    See you soon

    David

  • Reading from the sensor to LabView via rs232 or Subvi problem

    I'm quite new to LabView and not too experienced with instrument control so I was wondering if someone could help me to solve my problem?

    Currently, I'm using LabView 2011 and I'm trying to read pressure DualGauge of Pfeiffer (TPG 262) pressure sensor and display the readings of two pressure on LabView.  However, when I run my program, the pressure readings are not displayed - what is displayed are default 0.00 if same mBar pressure reading a reading of the display of the DualGauge probe.  To connect the sensor, I use a RS232 cable and have managed to find the device on my device manager, so I don't think that the connection is the problem (I've also seen the port appears in the Device Manager, when I connected the sensor via RS232 and USB in my computer).  I also use Subvi Pfeiffer in my code, and I suspect that the problem may be in there.

    Attached is my code and here are links to the manual of the DualGauge and the driver of the software LabView of Pfeiffer

    Double manual gauge - p. 23 and 68 are probably the only things related to the RS232 connection.

    http://www.idealvac.com/files/brochures/Pfeiffer_TPG262_Operating_Instructions.PDF

    DualGauge LabView driver - software Pfeiffer double gauge LabView driver 2009

    http://www.Pfeiffer-vacuum.com/products/measurement/activeline/measurement-equipment/OnlineCatalog.a...

    Any help is very appreciated!

    -Candice

    You have not tested really do anything. Devices and MAX Manager displays only the com port that you added to the computer. It does nothing to verify that an instrument is truly connected. You might have the wrong settings of com or the wrong type of cable serial (null-modem is required). I suggest that you start with program such as hyperterminal, PuTTY or MAX and try something simple. It seems that you will receive an acknowledgement returned by the instrument when a correct command is received. Make sure that this simple step that happens.

  • Cannot control the color sensor in LabView for Mindstorms

    Hello!  New here.

    I'm currently boning on LabView via 'LabView for Lego Mindstorms' for a possible job in the near future, and I encountered a problem from the beginning.

    I am programming my brick Lego of LabView to simply activate the color sensor which is quite easy: I'm building a while loop and inside I have a block of color sensor attached to a block of text that displays the light intensity of the probe in the text on the brick.  I compile and run the detector turns on and I can read the intensity constantly updated on the brick.  This part works fine.  I would now like to control the light sensor (that doubles as a light source with color LEDs) on the front of the LV Panel.  The book I'm using (LabView for Lego Minstorms) says I should block sensor on the entry "generate light' do right click and choose"Create--> Control"in the menu that appears.  A Boolean command button should appear connected to the sensor block in the block Panel and a push button should appear in the front panel.  This is not what is happening.  Here, the two things are different.

    (1) I have no port "generate light" click on right-click.  This is probably using a version more day of Mindstorms that uses of the book.  It's a matter of book/Mindstorms, which probably cannot be resolved here but I hope that the next issue of problems will make it irrelevant.

    (2) I right click and create the control, but rather than create a Boolean command button as the book predicts, it creates an icon "BrickReference.lvclass".  He connects very well with the light sensor and a corresponding block is created in the front panel, but it is a paper weight that I can tell.  I can't do anything with it.  There are no buttons to push, no slider, button, button radio etc and I can't seem to change into something that somehow work.  I have delete and don't create a no kidding Boolean button from the library, but it does not connect to the photoelectric cell and so I can not compile.  So now, I'm a little stuck.

    I searched "Reference of the brick" online in the context of LabView class and have found little or nothing that talks about its definition or how I can use it to control the light via the front panel sensor.  Help with the software section is not much help, and yet I'm sure there must be a way to control a simple Lego light sensor of the façade for debugging purposes and others.

    If you know what I'm doing wrong or if you know a finish around this issue that will allow me to control a Mindstorms brick from the front in this way, please let me know.

    Thank you!

    Try to post in the forum of Lego.

    http://forums.NI.com/T5/LabVIEW-for-LEGO-MINDSTORMS-and/BD-p/460

  • DHT 11 sensor and NI USB-6009

    Hi all

    I am a new user of LabView with only a CLAD certification so please forgive my ignorance on the subject at hand.  I try to use a DHT 11 temperature sensor and moisture (Backgrounder: http://www.micro4you.com/files/sensor/DHT11.pdf ) with a casing NI USB-6008.   I not had a bit of luck to find information about this combination of data collection and began to wonder is it still possible.

    I don't know that DHT output digital signal sensor and it is usually used with a card Arduino but I need to use it with my DAQ.

    • Can someone give me a general run down on whether or not it is possible?
    • If so, what will do to allow the DAQ and sensor to communicate?
    • And if it is not possible, any information on why that is and suggestions on what I can do to integrate data on the temperature in my LabView code using the USB-6009 case?

    I apologize for the size of my question, I'm looking for the General knowledge on the subject so I bridgehead to attack my problem at hand.

    Thank you

    Sleepar

    Sleepar,

    You will not be able to use this sensor with the box USB-6008.  Although it is rather badly written the specifications document, it is clear that the timetable is faster than you can achieve with timed entrances and exits of the USB-6008 mcuh digital software.  With the USB-6008 housing you must think in terms of tens of "timing" minimum milliseconds on digital lines and allow considerable jitter at these rates.  Anythign with microsecond timing is out of the question.

    Probably the best way to get data on a USB-6008 temperature is to use a temperature sensor semiconductor as a LM35 and an entry for analog data acquisition.

    If you need to use DHT 11, you will need some external circuits to capture the five bytes of data and present it in a format that the USB-6008 case could handle.

    Lynn

  • How the other drive app option to calculate calories? I did 45 minutes yoga with him and he showed the 260 callus which is high of 45 mins of yoga session.

    How the other drive app option to calculate calories? I did 45 minutes yoga with him and he showed the 260 callus which is high of 45 mins of yoga session.

    ISuspect that is not correct.

    Hello

    Saving workouts through the app to drive using others as the type of activity, active calories are estimated at a rate equivalent to a brisk walk or based on the data recorded by the heart rate sensor, according to what is higher.

    The following steps can help to improve the accuracy of the estimates made by your watch:

    • Estimates for calories and other results depend, in part, your personal information. To verify that it is accurate:
      • On your iPhone, in the application of the watch, go to: My Watch (tab) > health > Edit (top-right).
    • While training, to optimize the performance of the heart rate sensor (data from which is used when estimating calories), make sure you wear your watch fits on top of your wrist. Apple suggests that consider you the clamping Strip before starting a workout and it loosen again thereafter.
      • Note that the heart rate sensor is likely to give better results for the workouts that involve rhythmic (such as running) rather than the irregular movements.
    • Calibrate your watch can improve the accuracy of various estimates related to the activity, including estimates of calorie. To calibrate your watch, follow the instructions in the link below support article. You can reset your calibration data and start the process:
      • On your iPhone, in the application of the watch, go to: Watch My > privacy > Motion & Fitness > tap reset Calibration data.

    More information:

    Use of the workout on your Apple Watch - Apple Support

    Your heart rate. What it means, and where on Apple Watch you will find. -Apple Support

    Calibrate your Apple Watch for better accuracy of training and activity - Apple Support

  • NOR-Fieldpoint supported in Windows 7 and LabView 8.6

    We have a 'classic' with an ethernet controller FieldPoint system. We want to be able to read/write from/to the FieldPoint network using a computer with LabView 8.6 and Windows 7. NOR-FieldPoint is supported in LabView 8.6 and Windows 7?

    Kind regards

    Nate

    Hi natewkidd,

    I feel like some confusion between the operating systems running on a development computer (as Windows 7) and real-time operating systems that run on our real time (such as the PS-2000) controllers. I will do my best to clear up this confusion first answering your questions.

    (1) what is the difference between 2009 LabView real-time and LabView 2009?

    LabVIEW Real-time 2009 is actually a software officially known as 2009 LabVIEW Real-time which is installed after the LabVIEW 2009 development software to allow the user to develop and deploy applications in real time on targets in real time as your PS-2000. You can consider the LabVIEW Real-time 2009 almost as a plug-in for LabVIEW 2009 deployment and development of real-time applications.

    (2) if I have a PS-2000 on the ethernet network and to use a computer that is running Windows 7 and LabView 2009 for record and display data, will I still be able to communicate with the network FieldPoint screws write FieldPoint to my Windows 7 computer?

    If you go just to use the PS-2000 as a network module (NOT to deploy a real-time application to run on the PS 2000 itself), you should be able to communicate with him using just the read/write FieldPoint screw on your Windows 7 with LabVIEW 2009 machine and the driver NOR-FieldPoint 6.0.5. In this case, you actually do not need the Module Time since you do not deploy the application to the target in real time.

    About the PS-2000 unsupported beyond LabVIEW 8.5.1, is because the controller's memory is not large enough to hold the software that is installed on the controller with LabVIEW 8.6.x Module real-time and LabVIEW Real-time Module 2009. For more information on this, you can check this knowledge base article.

    I hope it's useful! Let me know if you have any other questions.

    Thanks for choosing National instruments.

    Aaron Peña

    National Instruments

    Technical sales engineer

    http://www.NI.com/support

  • Problems with QE65000 and optical driver Océna spectrometer

    Hi, a few months ago, I installed the driver to use the spectrometers of USB4000, HR4000 and QE65000 with LabVIEW 2010 with Windows 7 - x 64. Recently, I measured the spectrum of the Source of Calibration HG - 1 Mercury Argon with the help of software SpectraSuite and a LabVIEW program QE65000 spectrometer ("optical ocean 2000 4000 acquire continuous Waveform.vi, example of library, Fig1"). When I got the two spectra, I observed that there is a shift to the infrared region of the spectrum with LabVIEW program. Acquired calibration coefficients are consistent with "wavelength calibration data" that comes with the spectrometer (Fig2). So, I would like to know if there are problems with the example of the library program or what is the problem?. Attached to this message I send image of obtained spectra.

    The black figure is the spectrum obtained with the example LabVIEW program, including the ocean optical library. The red graph is the spectrum obtained with SpectraSuite and coinciding with the real spectrum of the HG-1 lamp.

    Best regards, Diego

    Version 1.3.2 should be alive in a few hours and this latest version is implementing the changes suggested above.  Did someone mind try these out and let us know how it goes?

    2000 4000 optical ocean pilot Page

    http://sine.NI.com/apps/UTF8/niid_web_display.download_page?p_id_guid=7833BD4A31DA1274E04400144FB7D2...

  • Control valve tank with plots and twists of the water

    Hello everyone!

    This is my frist real project. And I am in love with this program so far!
    I have a little problem. Here it goes:

    The project of the University which has been given to us is to simulate a (entrance OPEN/CLOSED valve) water tank filling and emptying (output range of 0 to 100% valve), but with a few twists. It is done by the command to the movement by the following formula: flow rate [%] = position of the valve [%] * current water height [%]. (The output valve takes values in percentage from 0 to 100% giving the voltage digital output of 0 volt to closed(0%) or 5 volumes for open(100%), the strange part, is that the digital output can have a value of 0 or 1, so the position of the valve is "simulated".) And the supply valve (valve entrance) water can be open or closed (if 0 or 5 volts)

    -Sequences cannot be used (only one for initialization and cleanup can be used)

    -When the water level reaches 10% of the max height, LED lights, the output valve closes and the input valve opens. The LED is on until the button is pressed. The output valve cannot be opened until the water height is greater than 50%.

    -When the water level reaches 90% of the max height, LED lights, the entrance valve opens. The LED is on until the button is pressed. The output valve cannot be opened until water height is less than 50%.

    -There are two mode selectios:

    Control by hand: the person sets the position of the valve in percent and the flow is calculated by the formula and displays on the screen.

    Automated: Every 2 seconds the program assigns the place valve so that the current is constant, it is the value by the person.

    -(N'ont pas gottern ici encore) ESD (Emergency shutdown switch) the when is pressed both the entry and exit valves are closed. The entrance valve cannot be oppened up to the RESET_IN key. If the program is 'Control in manual mode' output valve cannot be opened until the RESET_OUT touches. In which case the output valve is in "Auto" mode, it does not start work until the RESET_OUT touches.

    My main problem here is the fact, I cannot use sequences and nested, then the loops do not work. The aqusition of data stops until the inner circle loop ends and I need both work. Especially for the 50% rule.

    I've been hitting my head for a few days and still couldn't come up with a solution.

    I have attached the VI.

    Tips are welcome!

    For the time being the outputs inputs/digital analogue are a simulation (when the time comes the USB-6008 material is used).

    There is some things that confuse me (as if the valves are percentage, from 0 to 100%, or digital, 0 or 1), but regardless, it's a detail.

    Review the task and consider what you want to do and that the "States" the system may be in.  [This with a pencil and paper, do not open LabVIEW yet...].  The description of your problem learn you something about the transition from one State to another.  Here is a thought exercise:

    Suppose you are in a "State".  Let the system to "do its thing" for a second, which could involve the water flow.  At the end of the second re - evaluate your state - it changed?  Continue to do this...

    This model of 'something' is called a State Machine and LabVIEW has some very good examples and tutorials on the creation and use.  The important things to do before you make your coding is (with the pencil and paper) decide on your statements, decide on the transition rules, and then you are ready to code.

    There are different ways to build a State Machine in LabVIEW, but the basic idea is quite awhile (to keep things moving along, a shift register which includes the current state, usually represented as an enumerated, Type whose values are simply the names of your States (made for a very mnemonic routine) and a Case statement whose power is the State of the shift register that contains the code to achieve this) particular State of loop, including the implementation of transitional rules (which can cause a new State on the registry to lag when it comes out of the investigation of the case).

    A great exercise.  Strive to keep your block diagram on a single computer screen by making use of the screw subgroup chore (as the management of changes in the water level based on the current water level and "States" (which here means 'values') two valves).  Once you understand the 'Idea' State Machine, you should be able to write the code for this problem quite easily.

    Bob Schor

  • Arduino and LabVIEW makerHub

    Guys I use Arduino UNO and wind sensor. I need to see the wind speed and temperature. I did that with LINX and its proper functioning, my problem now is, quite slow results, can someone help me I need to change my program to work well and produce quick results on the graph of thermometer and waveform. I'm download my block diagram.

    Thank you.

    dony_92 wrote:

    I think that these numeric operators makes things slowly, so is it possible to calculate faster and then I think that the results will be showing much more quickly on the front panel. I need to show every second on the façade on the speed of the wind and temperature. So I hope I explained well what I need.

    Turn OFF, highlight execution (the light bulb in the toolbar).  This is a debugging tool which slows your program to a crawl but you indicates the values that they are run.

Maybe you are looking for