The labview programming

Excuse me I'm programming in labview an i2c sensor but I don't know how do I program in labview please help me

You can use the SPI and I2C Driver API of National Instruments:

http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/210637

Hope this helps,

Tags: NI Software

Similar Questions

  • SRS problem lock at the labview program amplifier with regard

    Madam, Sir, I have a labview program for SRS 830 lock in amplifier and problem is that the output is depends on the sensitivity... as we change sensitivity 500mv to 1v then exit hydro-huileuses changes. automatic gain function does not work. I'm so amazing that, about what the sensitivity, the output is correct. Please, help me to overcome this problem by starting the function of automatic gain. I enclose you than vi. When I run vi to autogain, then it displays an error and stop.

    'This error' mean? Time-out error or a parameter? If it is a parameter error, definitely check the manual to see if this is supported.

  • Close a non-LabVIEW with the LabVIEW program?

    I have two programs running on the same computer.  One is a 3rd party software that collects data from a sensor and generates files.  The other is a LabVIEW application that analyzes the files before deleting them.  (The 3rd party software is written in LabVIEW, but closed source).

    I want to stop the 3rd party software automatically whenever my LabVIEW application stops.  If someone stops the LabVIEW application without stopping acquisition of data on the 3rd party software, hard drive fills up with files in one day about.  Not good!

    Is this possible without turning off the computer?

    "kill Task" in command prompt will help you achieve what you want? Use systemexec in LabVIEW to do this. After the back if this is not what you want.

    Mathan

  • How to open the pdf file using the LabVIEW program

    I want to open the pdf file using the system exe, but this isn't the case. Can you help me?

    Thanks for your help.

  • Find the number of license for LabVIEW program?

    Hello
    My name is Cleber, I am of the Brazil.
    I'm trying to find a role in the LabVIEW programming that I return the license number and the user name for the license. In vain so far. I thought I returns the ofLabVIEW type installed, but I need this information for my program is finished.
    Can someone help me?

    Thank you.

    Is that what you are looking for?

  • Can I run two separate versions of the LabVIEW Run - Time Engine on a PC?

    Hello, I am curious to know if anyone knew if it is possible to install and use the two separate versions of the LabVIEW Run-Time Engine on a PC?  I have currently 2009 runtime engine installed on a machine, and I wanted to install the runtime for 2011 as well. I know that you can run two separate versions of the LabVIEW program on the same machine, but what about the Run-Time Engine?

    Thank you!

    No problem at all. I currently have the engines of execution for 8.2, 8.6, 2009, 2010 and 2011 on my computer. Multiples are no problem at all. Go ahead and load.

    Rob

  • get the limits of the step of a sequence in a labview program

    I am writing a labview program to access the different properties of teststand sequences to automatically enter the data of the sequence for the documentation.

    The step.limits.high property is very difficult to recover from the teststand programmatically sequence by simply using the sequence as input file.

    Does anyone know how to get the limits on a stage in a movie file?

    Thank you very much, Mr President.  I'll take here.

  • Investigation of the APT software and LabView programming

    Hello

    I'm new to LabView programming. I am currently using LabView 8.6. As you can see in the attached files, I wrote some code to synchronize the movements of axes X and Y of two controllers of Servo DC T-Cube using LabView programming. Now I'm tracing some Move_Absolute_Position data on graph XY in LabView. After that I sketched a movement of positions of engines, the graph only draw for the current position and erase previous data. Is there a way to track all the data on the chart? If you could give some examples, I would appreciate it.

    Best regards

    Jack

    JackBrown wrote:

    ... As you can see in the attached files...

    There are no attached files.

    To draw a story xy, the easiest would be to use the 'build xy graph express VI' and configure it to not erase the data between calls. You get this express VI if you place the xy graph in the express palette on the front panel.

  • Collection of data from more than an instrument via the same labVIEW program

    Hello

    I have a program whereby I collect data on a scale of and save the data in the text file. Now, I need to collect data of three identical scales and save the data. I wonder if it is possible to do so in the same program? I mean how to manage three ports and save three different text files?

    I enclose the current program. Communication with the scale series and I use VI:s. thanks in advance for the help = VISA)

    This is easily possible with a single program, and there are several ways to do so.  I recommend the following:

    1. Take data from these devices in a separate loop (this could be in a separate - VI, as well).  These loops should be state machines if you can start and stop the acquisitions in a clean way.  This assumes that the instruments are on separate ports.  If they are on the same port, you probably want to use the same loop.

    2. Write to the file in a single loop.  This, too, should be a state machine.

    3. Queues to send data from the acquisition of loops to the loop of file I/O.

    4. Use still another loop for your user interface.  It must contain a structure of the event.

    To do this, you will need to learn more about the State machines and producer/consumer architectures.  Start with the help of LabVIEW, then search these forums.  There are a multitude of implementations of State machines and producer/consumer architectures.  If you have the time, I highly recommend you learn and to use the classes in LabVIEW (requires LabVIEW 8.2 or later).  This will facilitate your work in the long term.

    Let us know if you encounter any problems...

  • Can I still change a LabVIEW program even if device drivers are not installed on the computer used for editing?

    Hello

    If I do not install device with LabVIEW drivers can I still change any given LabVIEW program created with this version?  Or do I need to install device drivers if I'm editing a program that uses these drivers?

    Thank you

    Dave

    What you reinstall? The dll is part of the traditional DAQ driver.

  • selection of window active when running the labview test program using pause option?

    Hello

    I have a question on how to activate the window of the first front window.

    I use LV8.6.

    Question?

    I did a labview program such that it is paused the program using 'dialogue of a button' box

    If she sees the test to fail, and if this 'button one zone' is active, I need to switch back

    in the main window, but for now I can't switch to the main window unless I close

    the "dialog box for a button.

    How to move the active window while I do not close the box of "diaglog a button?

    Can anyone answer my question?

    Thank you in advance.

    Create your own dialog a button (change template):

    Select by default instead of Modal.

    Start your new "dialogue of a button:

    http://forums.NI.com/NI/board/message?board.ID=170&thread.ID=436924

    Jean-Marc

  • How can I buil labview program for the area and the curls on top of video analysis?

    LabVIEW program building...

    OK, but when I use the vision of nor, I got the box, but now I nead for this area, for example, obtaining a balloon with the analysis program video throug labview, not through vision nor do you understand me now?

  • Find the path to the java program window in LabVIEW

    I am writing some software that depends on various java installed files properly in bin and lib/ext files files from the latest version of the java runtime installed.  I would like to be able to check if these files are in place and give an error message in my LabVIEW code if they are not.  However, the path to these files may differ on different machines depending on the version of java installed and the version of windows being used (for example C:\Program Files (x 86) \Java\jre7 vs.)  C:\Program Files\Java\jre6).  I use the 32-bit version of LabVIEW and the system Exec.vi to all my calls to java.  Does anyone know of a way directly from LabVIEW or command in Windows, I could use the system of Exec.vi to find these paths?  Thank you.

    In case anyone else has this problem:

    Use the LabVIEW functions in connectivity > access to the Windows registry (thanks Yamaeda)

    Access "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment" (thanks TiTou)

    You can specify if you want to only 32-bit or 64-bit with Key.vi register open (no need to deal with the Wow6432Node in the Windows registry, LabVIEW manages)

  • How to make a LabVIEW program auto adjust the resolution of the window

    How to make a LabVIEW program that I wrote auto adapt to any size window.

    You have a few options in fact.

    Right click on the VI icon on front panel (top-right). Then select Properties VI---> window size.

    You can check 2 boxes it: 1 maintain proportions of window for monitor resolutions 2. scale all objects on the Panel before the window resizes.

    I think 1 is the one you want.

    If you are not satisfied by the results, do what I usually do. Create a different front for different resolutions by changing the resolution of your development computer. Detects on the resolution of the computer code target of your executable file, and then open the Panel before which best fits. If a PC has none of the resolutions you display a message that prompts the user to change the resolution, before it run your executable file.

    I hope this helps. I know it is one headache but what else can you do.

  • Run the Code Labview program on VN8970 vector material

    I would like to ask if anyone has ever tried to run the Labview Code on the material vector in Standaone Mode,

    The VN8970 have a PC as material and I would use as my hardware target.

    Labview programming would go toward, creating / establishing a controller which output is POSSIBLE only.

    Necessary sensor data is on the BUS CAN even output going to the CAN-BUS network.

    The vector hardware box 8970 should run with the Labview code inside and be just like a car engine controller, just a BOX knot...

    Can anyone shade some light on this topic because it is very difficult to collect all the required bits.

    Vector support won't help with that because that intends it to sell their own software, which does not fit this need.

    Far as I can tell the VN8970 has an ATOM processor or a core-i7 on board and running something called vector CANoeRT.

    From the VN89xx Manual:

    "The family of interface VN8900 offers a stand-alone mode that allows you to measure without any other PC user.

    To this end that a request can be configured in the canoe, which is then written to the NVM of the VN8900. After a reboot, the configura-tion is loaded and the measure began independently. »

    Canoe uses a programming language called CAPL. My understanding is that the code of the CAPL is downloaded on the series VN89xx materials and run directly on the device without the need to be connected to a PC.

    In other words, I don't think there is a way to get a LabVIEW code to run on a VN8970.

    The vxlapi.dll that is used here is intended to be used on a Windows operating system. You can use it to control the VN8970 similar to the other vector material, but not in standalone mode.   I don't know what OS runs on the material of VN89xx but I doubt you'd be able to install a LabVIEW run-time engine on it.

    I think your only option to run a VN8970 in stand-alone mode is to buy a canoe license that allows you to do and learn how to write the CAPL.

Maybe you are looking for