Arduino, labview with DAC

Hello

of this program is reading and to generate an analogue signal, pour it, but an analog digital converter of 8 bits is necessary "DAC0800", this last do the conversion remains at its output a negative current.

UN connected operational "LM358" will transform the negative current to a positive voltage.

When I measure the voltage at the exit of OPAMP by a multimeter the voltage varies in a way ordered 2 to about 4 volts.

but when I use the arduino to measure the analogue voltage, the voltage varies in a disorderly way, why I don't know! the of is what program is right!

Please help me.

The converter, the connection, the code.

Remember that a dmm will take multiple readings and average/filter before displaying a measure. Do you do none of this c code before sending data?

Tags: NI Software

Similar Questions

  • Compliling VI in LabVIEW with cRIO-9004 controller and chassis cRIO-9104

    I tried to compile in LabVIEW with cRIO 9004 and cRIo-9104 connected.

    It has three options

    (1) use the server local compilation.

    (2) to connect to the network compile Server

    (3) to connect to the service of LabVIEW FPGA cloud compile

    But I'm unable to compile my program using one of these.

    How can I get my compilation made? Help, please.

    Thanks YouCp

    Service provider shared's Standard Service program is an annual fee of NOR, which in turn allow you to update your modules and LabVIEW and benefiting from the support of NEITHER.

    https://www.NI.com/services/software_benefits.htm

  • With the help of LabVIEW with NI VeriStand

    Hello

    I try to use Labview with NI Veristand, when I followed the white paper here:

    http://www.NI.com/white-paper/11135/en

    I do not see the same menu detailed in step 4 (OR veristand is not listed on the menu - see attachment). I have NI Veristand installed on my computer.

    Do I need to install an additional extension?

    jtur wrote:

    I'm under Labview 2011 SP1 and Veristand 2011 SP1.

    In what order did you install?

    VeriStand before LV installation could be a problem.

    I had the same version of VS and LV you obtained as appropriate, and the variant of menu is available for me.

    BR,

    / Roger

  • LabVIEW with version control

    Hello

    I'm using LabVIEW with version control and only want to check the VI I need to change. If I changed a Subvi all screws directly or indrectly called this VI have recompiled and in order to save them, I need to check all screws are concerned. If I just extract the file, I need to change and to ignore the other screw recompiled the problem is if I use typedef ENUM and I want to still only got saved the VI automatically updated. Everyone runs on this problem?

    Thanks for the help!

    Kind regards

    Tom

    Tom,

    You can find what you need here: http://zone.ni.com/reference/en-XX/help/371361H-01/lvconcepts/saving_vis_compiled_code/

    Good luck

    Simon

  • How do I run the exe of labview with command line

    I would like to launch an exe of labview with a command line.

    I would like to get advice how to launch the exe of Labview with give values to the control settings?

    You can view the example where x, there are controls

    There is a more detailed guide here, I reference below:

    1. first of all, you can enable it in settings:

    1. open the properties for a version of the application specification

    2. navigate to the Advanced category

    3. check the pass all arguments on-demand command line

    To pass the arguments to command line to request and access in your code follow the same steps as for LabVIEW 7.x.

  • How to open the labview with function of Labview program to stop smoking inside?

    Hi any idea how to open the labview with the Labview function program to stop smoking inside?

    I forgot to add and define the condition of the type for this program.

    If the program is an application, she closed immediately.

    If it is still the work of labview, it will go directly to editing without closing the program.

    I so need to retrieve, open it and make some changes.

    Clement

    Place the VI in a project and open it from there, then it should not autorun. App.kind application property allows you to decide whether to close or not.

    /Y

  • Beginner question absolute to the Labview with GPIB connection device

    Hi all

    Firstly, sorry if my question is already posted, but I tried searching with nothing doesn't.

    My situation: I have a HP digital osciloscope, a HP 54602 B using the GPIB and trial version of labview 8.6. Now, I want to communicate with her from labview. The big question is: how? Before that I used only labview with NI DAQ card and serial port for communications of the instrument.

    the detailed question

    1 is it important (to programming in labview later) what GPIB interface that I use in my computer? Must be of OR? I still have no interface right now.

    2. I ran a search on the osciloscope Web site of NOR and find an instrument driver in:

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

    . How do they come?

    3. I know there are a few examples for the GPIB, but since I do not have the interface, I can't try it. Is it possible to simulate instruments GPIB?

    Thanks for all your help and assistance

    Hi opiq;

    Welcome to the world of instrument in LabVIEW Control!  I'll try and answer your questions one-at-a-time:

    1. N ° from a point of view of LabVIEW, you can use any interface supported by VISA and your instrument bus.  This includes (but is not limited to) boards of NOR-GPIB, 3rd-party GPIB, USB, LAN, LXI, VXI, PXI, etc..  Of course, if you do not have a GPIB interface, I would recommend a NEITHER - this is the safest way to get the experience 'it works '.  I tend to use an adapter USB GPIB (DISCLAIMER - I work for the OR).
    2. You have two options for installing the device driver.  "" The simplest is in LabVIEW to select Tools "Instrumentation" instrument Drivers find... and use our instrument driver search tool which will be step helps you locate, by downloading and installing the driver.  The other option is to download the zip file, unzip it in \National Instruments\LabVIEW 8.6\instr.lib and restart LabVIEW.  So if you look in your palette of instrumentation, you should see the driver listed under instrument drivers.  The pilot will include some examples of the use of the driver (are all certified instrument drivers).

      In fact, I would recommend this driver rather than that you connected.  It is a more modern design and install examples in the viewfinder of the example ("Help" find examples...).

      Here's a video of the above process (for a different instrument, but the process is the same)

    3. Unfortunately, there is not an easy way to simulate this instrument.  I would just recommend familiarizing yourself with the examples before acquiring a GPIB interface.
  • VISA LABVIEW WITH ARDUINO ERRORS

    ANY1 CAN HELP ME? AND ANSWER ME?

    I have attached my DAC08 program linked with arduino.when, I command you to serial arduino DAC monitor responds means arduino prog is ok. but when I have LabVIEW command it's not working. I don't want to use LIFA. I just wnt to use VISA to make the animals to my arduino on selection and my arduino to be programmed for each time a hexadecimal string of particular comes from visa what corresponding hexadecimal code must be routed to the device.labview interface is not reached.

    I could not attach the file of arduino prog .ino. So I copy the same here pastin

    #include
    #include "htoi.h".
    void setup()
    {
    Serial.begin(9600) (9600);
    DDRC = 0XFF;
    }

    void loop()
    {
    char a = Serial.read ();
    Switch (a)
    {
    case "164":
    PORTC = 0XFF; THESE VALUES MAY VARY AS YOU WANT
    break;
    case "B":
    PORTC = 0 X 00;
    break;
    case 'C ':
    PORTC = 0XC0;
    break;
    case would ": //MORE CASES CAN BE ADDED for the purpose of TESTING IF NECESSARY"
    PORTC = 0XD0;
    break;
    by default:
    PORTC = 0 X 00;
    }
    }

    and print screens to block dia LabVIEW

    Please answer quickly m really in need

    concerning

    rich


  • Problems with arduino labview Interface

    I have the labview-arduino interface, but the problems came when I run the program, sometimes it work perfectly, but sometimes (almost all the time), I can not connect this time, the series of programs and do not show any kind of problems, I can see that in the resourse computers two visa, I don't know if it's because she I soppose comunication , but my arduino do not work, and I can use perfectly with the arduino IDE, but not with VISA, I used the Arduino IDE to be shure that works my Arduino board

    so if you know how to solve this problem, please help me!

    Thank you!

    There is no need to host files somewhere else.  Feel free to download on the forums and attach them to your message.

    Minor first comments.  Why are you re-reading your every 2 seconds config file?  Expect you to change?  If it is then played once and not proofread.

    I think it would be better if you stopped when an error occurred, you can do this by wiring to the RO error enter the stop condition, or use the arithmatic composed with gold.

    But I think the main question you have, it's that your Arduino reference may be whipped out if you do the wrong things.  If your equal comparison is false, you go to the wrong case, where you are not passing the arduino reference.  So when you go to close you don't close your reference and your equipment will always be open, and you try to run again will result in an error.  For even if your loop runs for 0 iterations your reference is lost.  An updated version, which has some of these changes is attached.

  • LabVIEW with arduino

    It is possible to run on the arduino Board to how a program made in labview? OR how can I configure Arduino board as a real-time target within the labview project?


  • Arduino/LabVIEW input acquisition and control engines step by step at the same time

    Hey, I'm doing my last year of electronic engineering project and I'm trying to control 2 Motors step by step with labVIEW. A microphone will be placed on a platform that the stepper motor control and adjusts the position of the platform according to noise levels read from the microphone. To control stepper motors, I use 2 controllers engines step by step Sparkfun.com.

    https://www.SparkFun.com/products/10267

    These controller requires input of pulse. I'll use a DAQ 6008, but I don't know if this can produce a pulse? I also thought using the Arduino to control stepper motors that work perfectly with the controllers, but it would be able to order the engines while gaining an analog voltage to the microphone?

    I appreciate any help you can give.

    But you can use LabVIEW to work with the Arduino using the tools described here http://sine.ni.com/nips/cds/view/p/lang/en/nid/209835

  • Dashboard LabVIEW with other web servers, such as a PLC

    Hello

    Is it possible to use labview dashboard with other web servers, like an automaton?

    Kind regards

    Vadie

    Vadie,

    For the dashboard of data communicating with a controller, you will need to have a Windows PC or target RT OR in between.  I hope that this image helps illustrate this.

  • CCodeGen of LabVIEW with Keil RTX

    I hope this is the right forum. Please correct me if it's not.

    Does anyone know of a good tutorial on obtaining LabVIEW CCodeGen working on a project of Keil using RTX? I use LabVIEW 2012 with the installed CCodeGen 2012 assessment. I got the basic example using keil project work and I did a no - RTX Keil project which seems to work perfectly.

    However, when you try this port to a project with RTX OS I would have little chance. The LVRuntime code seems to recognize that RTX is used but it seems to me to miss some includes or something.

    Thanks for any info to point me in the right direction.

    Answered my own questions via the document "Getting started with the NI LabVIEW C Generator". Page 15 "on the target tab, notice that the operating system is set to Nothing. Do not set this value for RTX, which is incompatible with the generated C Code. »

    That would explain all the __RTX errors I get trying to build related.

  • Code error undefined-2147352567 interface LabView with a Baldor Flex + Drive II

    Undefined error code '-2147352567 occurred at the unknown "are not in documentation of Baldor or LabView.

    Error seems to happen when the ActiveX methods that the entries of evil, but to the best of my knowledge, they have.

    Has decided that it is possible that the axis has not been activated for all/check activate State I used a method of DriveEnable, it worked (code provided "Baldor test.vi"), the VI active / disable the drive correctly.  Documentation for Baldor does not seem to mention any other measure, you need to take apart from activation before using the movement commands.  Placing the jog command after that DriveEnable causes the error to return to the command of Jog (Baldor test2.vi ' ").  I'm trying to find out what is the cause of the problem, using MoveA, the MoveR, DoGo methods instead of Jog all produce the same error.

    Same error to the method DriveEnable when I try to run the code on a computer that the player is not currently attached to, leading me to believe it is a mistake of communication rather than a material error, as this is the first point at which the program tries to communicate with the hardware.  The player also appears fully functional, no errors in the Workbench of Baldor v5, orders work very well in this environment and controller to update to the latest firmware.

    Solved, still don't know what the error message is but I worked around it.

  • Is is possible to access channels from a database in labview with NI USB 8473 s

    Hello

    I would like to know if it is possible to access a database BOX, which is downloaded through MAX, in labview.

    Specifically, I downloaded my CAN of database to the MAX and I want access to each specific channel in labview.

    IE according to the photo, I would like to have access to the canal of n_Motor_InsRpm of E1_L0_1 (motor speed) in Labview, in order to define and pass a value of speed via CAN. Would this be possible with the NI USB-8473 s? If so, is there a simple example in Labview?

    Thanks for your help

    Charis

    There are several ways to get information from database without the need of hardware. Here's one I made earlier.

    https://decibel.NI.com/content/docs/doc-39793

Maybe you are looking for

  • Satellite L300D cannot detect the wireless printer

    Bought an advent AW10 wireless printer that is connected to my router from sky.The laptop cannot detect if. I managed dected on netbook to my daughter so I know this isn't a problem with the printer or router and I also tried detect it with the firew

  • Y560 windows 10, several screens

    Hi people, I'm unable to connect my y560 on windows 10 to an external monitor to stretch the image, but somehow it does not detect it as a parade. It is a samsung tv and it was working fine just before the update of windows 8. The drivers are updated

  • Z50-70 screen frozen, then laptop goes off?

    Hello So yesterday while I was working on a programming assignment and a document, the screen of my laptop froze for several seconds (about a minute) before stopping. I'm not taking breaks from the laptop for several hours (3-4 I think) and I was won

  • DeskJet 3632: New account instant ink does not recognize identifiers

    I signed up for the instant ink through a pamphlet that accompanies the new Hp Printer - all confirmed received the first batch of ink but I'm moving in a few days and I can not get the account login. He always tells me that my account email or passw

  • Error 0X80072EFD during the update to Windows Defender

    Original title: code0x80072efdI get this error message when trying to get the Defender to update