LabVIEW and Arduino

Hi all!

I own an Arduino Uno. Reading messages in the forum looks like I can use LabVIEW with Arduino Duemilanove. Is this true?

Thank you.

Yes, I used a UNO with LabVIEW and it works fine. Identical to the previous versions.
I hope this helps.

Tags: NI Software

Similar Questions

  • speech recognition of labview and Arduino

    Hello

    I want speech recognition with Labview and Arduino. I have already install driver of Arduino and test it in Labview. I want to ask if it is possible to guide me if I want to use hidden Markov and algorithm of ANN, what should I do. In fact, this project is belongs to the robot by voice control, but my knowledge of labview is not so.

    Hello Mohammed,.

    Are you familiar with the theories behing Hidden Markov Models?

    A good starting point would be, for example, this document:

    http://sites.stat.PSU.edu/~Jiali/course/stat597e/Notes2/Hmm.PDF

  • you want to send data using labVIEW to arduino using write visa and the process and to take action using arduino. A

    I want to send data using labVIEW to arduino using write visa and the process and to take action using arduino. After that, I want to arduino to send out necessary via a serial port to labVIEW which should be read using visa read and store in a chain. While I am able to write or read both individually, I can't do it consecutively. I used advanced read and write vi for checking my code, but nothing is helping. The wrong bed 'time delay before execution. " Please let me know where I can go wrong. Also is it possible to write code for hx711 using labVIEW

    1. you need not "\n" on your orders println().  This command adds an end of line character already in the message.

    2. you get the error because you have a loop around your reading.  After the first reading (well technically, the second because of you add an extra line end character), there is nothing left in the port.  As a result, you will get the timeout.

    3. you should really consider using a Structure of the event.  This way you just don't write and read when you press the Write button and you can also use the structure of the event to make the loop to stop.  I also go up to close the port inside the stop-> value Change event.

  • LabVIEW for Arduino interface failed

    Hello

    I bought the Arduino Mega 2560. I want the labview with arduino interface. I installed IDE Arduino 1.7.3. I use the 64 bit version of Windows 7 and Labview 2012. When I tried to compile the file LIFA_Base with the Arduino IDE there is the following error message:

    C:\Program Files (x86)\Arduino\libraries\RobotIRremote\src\IRremoteTools.cpp:5:16: error: 'TKD2' was not declared in this scope)
    int RECV_PIN = TKD2; pin the IR receiver is connected to
    ^
    Compiler error.

    I tried to delete the folder C:\Program Files (x 86) \Arduino\libraries\RobotIRremote but without success.

    Please help me solve the problem.

    Concerning

    Lifa is obsolete and is no longer supported. Why not using Linx?

    https://www.labviewmakerhub.com/doku.php?id=libraries:Linx:start

  • Passing variables between LabVIEW and TestStand

    Hello

    I'm just learning how to use TestStand and although there are a multitude of resources available, I always find me at a loss on how to pass variables between TS and LV, leaving me to think that there is one fundamental thing that I'm missing which is likely, given that I have a weeks experience with LabVIEW and a days of experience with TestStand.

    I took a glance to the example of 'Clusters' to the Code Modules in TestStand examples (I use TS 2016 if it matters) because I thought it would be quite ideal for what I hope. In this case, I hope to be able to pass a string (a file path) to LabVIEW and VI power take this string and use it as part of an order for the Exec.VI system.  Then, I would be able to pass strings back to TestStand to show the user if an error occurred, but I thought I should get the first part of work.

    I guess my question is what do I have to wait to see in clusters to the example of the Modules of Code? The Watch window displays all defined variables premise on which has the ContainerOut in the Variables pane, but I don't see any kind of update on facades (VI1.vi and VI2.vi) LabVIEW code. Should I be?

    I looked at a few other discussions of the forum here and here, as well as the document of the basis of knowledge here, but could not recreate their solutions. It seems that the connector pane would be a viable way to go, but I'm not sure on how we create and use effectively. According to this document , it makes it seem like it should be simple enough to makes these terminals, but I am still missing a key step. I was able to follow all the steps on the knowledge base document and run the sequence, but then had no idea if it worked or not; I have the report show me the values of the variables I put, but I have no idea whether or not he actually did anything with the LabVIEW VI, or how I could see that.

    Please let me know if you need further information or clarifaction everything I ask.

    Thank you for your time,
    JColvin

    Digilent, a company of National Instruments

    If you want to enter values, you must create a vi for instance dialog box

    The OK button will allow new values to pass to the output terminals.

    A Cancel button will pass just the original through the output values without alteration. The VI will close when either the OK button or cancel were pressed.

    Concerning

    Ray

  • How to pass variables between Labview and Teststand

    It is probably a trivial question, but I'm new to TestStand. All I'm doing is updated to a variable in Labview and then pass this value in a local variable Teststand. A simple test that VI is attached. I get no error and it seems correct, but when I followed the variable via TS watch display is not updated. Also I am not able to read the variable outside TS. It is probably a trivial thing, I'm doing wrong, but I'm stuck.

    Too bad, it was simple. Just need to add the context of sequence as input, then set it to ThisContext TS

  • cDAQ-9172 error message 200485 in Labview and 88705 Max

    My company has had this machine for awhile not operational.  I decided it was time to get this thing running but continue to flock to the top with a 200485 error when I try to run Labview and 88705-error when I try to change anything in the cDAQ-9172 runs at MAX.  I'll try to update the software and reinstall the drivers in the hope that it is a mistake to simple communication from the device to the computer, but in case it's something more serious that I am not seeing that I wanted to post this in the hope that someone might have an answer.  Thank you

    I would start by checking the device loader OR. Error 88705 in MAX is caused because the Windows Service OR device charger has not been loaded. Below is an article about starting the service knowledge base.

    http://digital.NI.com/public.nsf/webPreview/89A6279147AA994A862572DF00491BCA?OpenDocument

    Thank you

    Steven Koo

  • Communication between PCI6251, Labview and Matlab

    Hello

    I work with a Council of PCI6251, driven by an executable labview.

    I get measurements from several sensors (pressure, temperature, etc.) which are read by the executable of labview.

    I would like to know if it is possible to send these Matlab measurements at the same time.

    I mean: is the PCI6251 card can send data to Labview and Matlab at the same time of acquisition?

    Or I need to install a second PCI card for that?

    (Labview and Matlab are installed on the same PC now)

    Hi Nico974,

    If you want to transfer data from LabVIEW in MATLAB, you have to use ActiveX connection between 2 software or to add the node to MATLAB in you program LabVIEW (see http://digital.ni.com/public.nsf/allkb/2F8ED0F588E06BE1862565A90066E9BA?OpenDocument)

    Another solution is to use the of MathWorks Data Acquisition Toolbox, because the card PCI-6251 is supported by this Toolbox (http://www.mathworks.fr/products/daq/supportedio14005.html)

    But here you have a LV executable so if you can't change it you will not be able to use your exe and a Matlab Script at the same time, if you need another PCI card.

    Sincerely

  • LabVIEW and MAX Series

    Hello

    I have a question. I would like to make things with LabView and serial port. I can't understand how to add my serial port in MAX I have only a 'Software' menu there. I must first install new VISA? Thanks for help.

    OK never mind. Install the new VISA has solved my problem.

  • A few questions about LabView and (fairly complicated) thermocouples

    Hello, I intend to read [this is only 16] 20 thermocouples (type K - in data acquisition, assistant it is J but it will change soon). I use two devices, usb-6008 and usb 6251. I had a BT program (see table below) and I have some questions/statements that need to be confirmed:

    1. I plugged my devices, put DAQ Assistant on the Panel, the temperature chose->-> K thermocouples and I scored channels by dragging a slider 'clicked' on all channels. So now I'm able to read all channels, right?

    2. I have added a few thermometers and digital indicators with them to have an accurate reading of thermometers in digital data.

    3. I've read a few articles on tracing multi channels on a single diagram of wave and I want to apply to my program. Basically, I don't know how to run, I need to make a table and plug it on the graph of the wave. The thing is, I don't know how to do it.

    4. I would get 1 sample per second 1, I added the delay time = 1000ms. Unfortunately, DAQ Assistant says it works like 1 k samples by 1 Hz.

    I am quite fresh in LabView and currently I view tutorials and other things. I would be grateful for advice.

    BTW, I can't test if it works with thermocouples connected because I don't have at the moment and the place where I would be able to test the program has very limited access


  • How to detect a TCPIP SOCKET lost with LabVIEW and NI-VISA

    I use VISA functions in LabVIEW to communicate remotely with instruments on visa TCPIP SOCKET resources.   In general, this works well simply by creating a resource, from name to VISA Open then setting some attributes of the session.   Sometimes an instrument will reset or pedaled and this power, I've noticed, is that I have to call a VISA Close, then reopen the resource so that it can communicate again or close LabVIEW and run again.   If you use only VISA Open without calling a VISA near first of all you cannot communicate with the target.   The problem is that I have no way to detect this condition.   I tried to always call a close VISA before VISA Open and it seems to work for this condition, but it seems weird to always close a session before you open it.   Why no VISA OPEN does not work under this condition, and is it possible to detect this situation?

    It works this way because this is the behavior of TCP. A TCP connection is a connection dedicated between two end points. Hand unfortunately get an error of a read operation or in writing there is no way to determine if the fly othe of the connection is still there. You must close the connection, because otherwise the VISA will continue to use th eold connection that is no longer valid. Close it allows the cleaning system the dead link.

    If you communicate very often, you could simply open the connection, have you stuff and close it. Overhead costs for the establishment of the new connection are not that much. If you use a constant flow of data then you will need to monitor errors and then reconnect by closing the old one and open a new connection that you have observed.

  • What differentiates labview and other programming languages?

    What differentiates labview and other languages such as c or c ++?

    What makes me choose?


  • Interface between LabVIEW and c#

    Hello

    IAM trying to send data to Labview via ithernet in a product that already have in c# .net. This means that data send LabVIEW must be posted in c#. Thus the Labview will act as the server and the product in c# will be serving the customer. I have serached in the forums to make the connection between Labview and c#. I saw a tutorial to make dlls in labview, in what they explained to hold tools > Build Application or shared Library.But I can't find in my tools although I version2009 of professional development.

    Can someone give me some instructions to send Labview data and display it in c#. IAM attaching the VI Server I made. The client in c# is a great product that has already done by others in c#. I have very less experience of programming in c#. Can someone give me some instructions or attach a few tutorials to make the connection between Labview and c#.


  • The interface of LabVIEW and matlab

    Hello, I want to interface LabVIEW with MATLAB using the TCP/IP protocol for data transfer. Can anyone, please give me an instruction step by step how to do this? If not, can point out you where I can get them? Thank you.

    Hi Gilles,.

    TCP/IP is a generic protocol then you should easily be able to build enough interfaces TCP/IP for your LabVIEW and Matlab code and data transfer on ASCII or variants, etc., depending on what kind of data you are trying to transfer. I'm not too familiar with Matlab, but on the end of LabVIEW, there are a few examples of server and client very good TCP/IP provided with LabVIEW.

    Another option you may want to, and the reason why I answer it is that I did recently a project through which we took some legacy code MATLAB which we wanted to transpose into LabVIEW, so that we can automate then completely a test system that we use TestStand. A big part of it, we have been able to derive equivalent LabVIEW, but some functions where LabVIEW does not have an equivalent appropriate, or where it was simply more effective, simply copy us and paste Matlab code in any event in the first instance MathScript nodes (not dependant on Matlab) or Matlab script nodes (which will return if all goes well at a later date to transpose in full) LabVIEW for that is no longer dependent on a Matlab license).

    In both cases, the facility to do this was very impressive, and we were able to wrap huge amounts of code Matlab LabVIEW with very few problems. As an idea, have you considered your functionality of Matlab of packaging in this way and keeping all the customer TCP/IP and comms server in LabVIEW?

    Note: If you have not found it pick up the palette "Matlab Script.

    Good luck

    David

  • Cannot create a vision assistant.error vi: labview and imaq missing

    I installed labview and vision assistant on my computer vista laptop-run

    Whan I try to create a vision assistant vi, it shows labview and imaq lack.

    Please try this

    Thanks in advance

    I reinstalled labview and other components. Now the problem is solved

    Thanks for help

Maybe you are looking for