How to program using Labview to an accelerometer

Hello:

I got an accelerometer which has digital I2C/SPI serial interface, so I bought a USB - I2C converter for data acquisition. I would like to know if I can use Labview to acquire data of com port and also program for the accelerometer to capture the data of the axis z. I have a box of white myDAQ NOR but SB. says that it is not an appropriate device to acquire before I2C/SPI signals. The datasheet of the accelerometer is in the accessory and the specification of the converter is this link: http://www.robot-electronics.co.uk/htm/usb_iss_tech.htm .

I hope someone can solve the problem for me. It is best to use the software labview for me because most of my project work is based on that.

Best regards

The f

Good and bad news.  You have an accelerometer that 'speaks' I2C or USB to I2C converter, so if you connect both of them, you can send 'orders' of your accelerometer easily of LabVIEW by using communication series live that's the good news.  The bad news is that it seems that you need to address your accelerometer using calls very low level, a work, I certainly don't want to face!  This crys on a 'pilot', a middle piece of equipment that does all the "hard work" to take a high level order ("Please tell me the acceleration") and he translates things your device includes (including the Setup program, records, calendar, packing and unpacking of the bits and bytes, etc.).

Bob Schor

Tags: NI Software

Similar Questions

  • How to program using the Task Manager automatic restore Points?


    Hello

    Restore points are created automatically every day, and just before the events significant system, such as installing a program or device driver. There is no need for schedule you a task for her through Task Scheduler. However, you can also create a manually restore point.

    1. Go to control panel of control-> system and maintenance-> system

    2. In the left pane, click System Protection. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    3. Click the System Protection tab and then click on create.

    4. In the System Protection dialog box, type a description, and then click on create.

    Hope this helps

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to check the CPU usage and paging using LabVIEW

    Hi guys,.

    I build an application that is used to check the CPU usage and paging using LabVIEW. How can I do?

    any help, suggestions or advice will be greatly appreciated...

    Kind regards

    Prashant

    Hello

    If you plan to build your app for Windows, you can use .NET classes. (System.PerformanceCounter), there is a simple example with LabVIEW:

    C:\Program NIUninstaller Instruments\LabVIEW 2010\examples\comm\dotnet\SimpleTaskMonitor.llb

    Also, you have several screws that you can use to verify information about the processor.

    Kind regards

  • 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 to get the PC host name using labview

    Hello

    I have a need to display the name of the host (login name) pc in my application. How do I get using labview in DURATION that is if I write a program and run it in different systems of PC / same system with different users, so I should get corresponding logins.

    Can someone help me on this?

    Thank you

    Kind regards

    DEGHA

    Should be available in LV RTE

  • is it possible to tell me how I can make program in labview that take black and with image pixels and give the coordinates of black or white pixels again to me.

    Hello everyone

    is it possible to tell me how I can make program in labview that take black and with image pixels and give the coordinates of black or white pixels again to me.

    It depends on the image and the module LabVIEW available to you. LabVIEW can open bitmap and png files and convert them into tables: if it's really a monochromatic (depth of 1 bit) you get a table 2D boolean, T for white, F for black. Just look at the index of the item to its details (don't forget that LabVIEW does not use the order of rows and columns, so you must transpose and reflect the table). If you have a 24 bit bitmap, the table will contain the color in hexadecimal synthesis (000000 for black, FFFFFF is white and so on); Yet once, you simply check if the element of the array correspond to your requirements and get its index.

    With the vision that you module con open other pictures and perform advanced on them without convert them into tables. Anyway, you can just type the extension of your image using LabVIEW and see what you get.

    Here is a code snippet to open a monochromatic image

  • Programming USB stick using LabVIEW

    Hi, I want to read the names of files in the USB that I inserted into my usb port using LABVIEW. Can someone tell me how to write a program VI for that? Thank you!

    Just use the file from the list (or recursive list of files). No different than a list of files of any other player.

  • How to collect data on the programs of LabView and VC ++ at the same time?

    Hello

    There are two programs in LabVIEW and another is in VC ++. The two programs to collect hardware data.

    Therefore, for the experience, it is necessary to begin to collect data at the same time and lag must be

    less than millisecond (it is essential for the experience). How can this be achieved? BTW, I'm new to LabView.

    I think on the use of network socket to get the message for both applications.

    I was wondering if there is a better way.

    Thank you.

    MARK002-MAB wrote:

    Hello

    There are two programs in LabVIEW and another is in VC ++. The two programs to collect hardware data.

    Therefore, for the experience, it is necessary to begin to collect data at the same time and lag must be

    less than millisecond (it is essential for the experience). How can this be achieved? BTW, I'm new to LabView.

    I think on the use of network socket to get the message for both applications.

    I was wondering if there is a better way.

    Thank you.

    You do not say if two programs access the same material, but I guess not. Because if they did, you probably get conflicts when the two programs try to access the same material at the same time.

    In either case, the only really reliable way to ensure that your needs of< 1ms="" would="" be="" hardware="" triggering.="" one="" hardware="" unit="" is="" programmed="" to="" provide="" a="" hardware="" trigger,="" typically="" a="" digital="" signal="" and="" the="" other="" is="" programmed="" previous="" to="" the="" desired="" start="" point,="" to="" wait="" for="" that="" trigger="" and="" start="" automatically="" when="" it="" is="" received.="" if="" both="" hardware="" units="" are="" ni="" daq="" cards="" you="" can="" do="" that="" fairly="" easily="" using="" the="" rtsi="" bus="" or="" in="" case="" of="" pxi="" the="" pxi="" trigger="" lines.="" if="" they="" are="" different="" hardware="" then="" it="" can="" get="" more="" complicated="" to="">

  • How to put two diagrams using Labview 8.5?

    How to put two panels before programming of a front panel diagrams using labview, so that I can make acquisition of multi front panel only once running?

    veceeeee wrote:
    How to put two panels before programming of a front panel diagrams using labview, so that I can make acquisition of multi front panel only once running?

    Select all the code in the block diagram of the second VI and stick it on a blank area of the diagram, the first VI.

    Now go to the face before of the first VI and fix things as you want. Throw the second VI.

    According to the code, you may need to make some changes in the code (e.g. make sure two code segments to stop when you are finished). I assime you speak toplevel about two screws that are not called other screws

  • Programming computer laptop Wifi using Labview

    Hi dear all, can someone guide me how can I program my laptop computer Wifi module to send and receive data through Labview programming. What tools or drivers should I me take his Express or other screws are visible in Labview. If possible, some codes an example or link to that knowledge base. This will help me understand the concepts of programming Wifi. Thanks Zdzislaw qureshi

    Hi dear Dennis Knutson,

    I tried screws from TCP/IP and to understand. But how can we make our PC Access point using Labview? Are there any specific screw init or some additional toolkit required to do this. Actually I want to PC to become the hot spot to be connected. My app will then scan him in serach and then sign in to do some data send and receive actions. You have little help for me in Labview.

    For the wifi connection, I need to use the method of connectivity to Microsoft. How can I do this by Labview. I understood how to put IP LAN to detect in Labview only once I'm connected to the other PC via LAN wireless and wireless.

    Thank you & best regards

    Zdzislaw qureshi

  • How to open the sounds and audio properties by using Labview

    Hi all

    How to open the sounds and audio properties of the control panel using the exe from system Labview vi.

    Y at - it all dll also open this property.

    If there is some dll which is which and how to program the dll to achieve my goal.

    Wow, you followed after a few...

    Open the command window is because to open the Control Panel, you need to execute it in the context of a shell, and it's what is done with the "cmd /c mmsys.cpl. To open the applet without using cmd you use RunDll32.exe, like this:

  • How do I change the program used to open mailto links in windows 8

    I would like to use Firefox to open Mailto links in Windows 8. I found this article of support, but it is not relevant for Windows 8: https://support.mozilla.org/en-US/kb/change-program-used-open-email-links?esab=a & as = aaq

    When I open Control Panel-> default programs and try to associate the Mailto with Firefox, the only options it gives me are "Mail" (the Metro app I'm moving away) and "seek an app in the store. No Firefox. How can I get Firefox to show up in the list of applications that can be associated with Mailto? Thanks much for any help.

    john99,

    OK, I am clear now. Thanks again for taking so much time to help. I am very grateful.

  • How can I use my photos in other programs?

    My recently added photos are not available for browsing when I want to access it in another program to say, Shutterfly, or YouTube.  They appear in the photos in my favorites folder, but then they are nowhere go under computer from another program.  They can take days to appear even if I restart my computer.  Also, I can't drag and drop pictures then, how do I use my pictures elsewhere? Thank you!

    Using iCloud photo library on your Mac with "Optimize Mac Storage" active? Then, your photos will not appear in the media for other applications browser.

    If you don't use icloud photo library, other applications can see your photo library, if applications have been updated to be fully compatible with MacOS X El Capitan and Photos for Mac.

    They will see your photo library, if it is the system library.

    'Use as a photo library system' should be grayed out in the Photos > Preferences > general tab.

    With these option on any compatible application displays your photo library in the file > open dialog box, if you scroll down to the 'Media' item in the sidebar and select the "Photos" icon, like this:

    If the application has a Photo as Mail browser, should also be able to view the photo library.  But not all applications have yet been updated to support this.  The screenshot above is from Safari.

    You can drag and drop directly in the new messaging windows, open Pages of documents or Keynote documents.

  • How can I use a custom tool easy to machine the same LabVIEW is the basis on average DC - RMS VI

    I use a cRio 9024 and read PWM with an analog input card 9205.  It was suggested that I use the basis on average DC - RMS VI to convert the voltage of the PWM signal into an analog signal (effective value) for use in my system.  The problem is that the 9024 can use LabVIEW models (it's VxWorks). I work through the device a custom tool easy and I wonder if someone can guide me in the right direction.

    I am running Veristand 2014, cRio-9024, 6modules, and run the scan engine.  It seems that's the reason why I can't read analog voltage (starting a PWM signal) since the signal is running at 200 Hz and the Scan Engine runs at 500 Hz.   I tried to avoid making a custom device or an FPGA and found a work around using the 9401 in counter mode.  I can get the numbers that I need, that's how I'm heading at the moment.  I would like to custom device approach, but not this sprint.

  • How can I control Sierra Instruments MFC using LabVIEW without the necessary drivers?

    I am trying to program these MFCs with labview and it would be much easier with the drivers. I have chekced OR network driver and can't find anything. If anyone knows how to program controllers without drivers, or even better, if anyone knows where I can find the drivers, it would be much appreciated. Thanks in advance.

    Sergio,

    Check out these documents:

    Development of instrument LabVIEW Plug-and-Play Drivers
    Resources and development tools

Maybe you are looking for