USB of NI LABVIEW for c ++

Hello

I am a rookie in labview, but I have a project to get NI USB (sound) data, then find the peak of the signal whose frequency.

After that, I send the value of the amplitude to the bluetooth.

I want to use labview to find the signal Ridge (because it is easier using labview), after that I'll use C++ to send the value for bluetooth.

Is this possible?

Thank you

limavolt wrote:

Hello

I am a rookie in labview, but I have a project to get NI USB (sound) data, then find the peak of the signal whose frequency.

After that, I send the value of the amplitude to the bluetooth.

I want to use labview to find the signal Ridge (because it is easier using labview), after that I'll use C++ to send the value for bluetooth.

Is this possible?

Thank you

Yes, it is definitely possible.

I ask (apart from being new to LabVIEW), why not just make the bluetooth in LabVIEW so communication?  Unless there is some sort of C++ libraries that you can't live without, it should be easy enough to do all this in LabVIEW (in most cases).

But yes, you have several ways of calling C++ code from LabVIEW application or vice versa.  To call it since in LabVIEW, I would like to make a DLL to your C++ code.  If you want the main code be based C++, you will probably use ActiveX or a LabVIEW built DLL.

References to help get your started:

For calls of LabVIEW in C++: http://www.ni.com/white-paper/5719/en/

For C++ in LabVIEW calls: http://www.ni.com/white-paper/4877/en/

EDIT:

Heck, if you really want to be gross you could write two applications and communicate via TCP.  You have many options

Tags: NI Software

Similar Questions

  • LabVIEW for control unlimited, a camera and a light meter (Minolta T - 10A)

    Hello world

    I'm totally new in the use of data acquisition software, but I found out, I use LabView for continuous measures (intervals of 15 min for 1 month or maybe more), the thing is that I need to get pictures simoultanously (Canon camera EOS) and illumination (in lux) device: Minolta T-10 a vision series T-10MA. My question is what software LabVIEW do I need to buy (or my institution actually) in order to get this. I look at the options of LabVIEW software and cannot understand what is needed. Subsequently, I guess that I need controllers for each of the devices (minolta and canon). Can you please tell me if this is possible and how to do it. I would really appreciate it.

    Steph.

    The following items are required: LabVIEW full, all drivers of devices (including DAQmx and pilots of the Vision) and the Acquisition of Vision software package.

    The Minolta luxometer has a connector for a PC and some communication software (which I did not inspect) which, I suppose, would allow you to take readings.  There is a comment about current if the USB cable is connected - I don't check if there is a power connector on the luxometer (since you will need to leave it plugged in for a month, the same problem with the camera).  As far as the camera is concerned, I don't know if it is controlled from a PC - my experience has been with (the size of 640 x 480 pixels) video cameras, which are probably controlled by LabVIEW.

    As for simultaneous readings, it is something that LabVIEW did pretty well.  I advise you to consult a professional if it's anything other than a school project, maybe even hire someone to work a few week of.

    Bob Schor

  • How to use labview for controlling the HP Network Analyzer

    Hello

    I have a HP network analyzer 8720D connect with my laptop by a USB-Gbspecifications FOR cable. I want to use LABVIEW for control to parser do measurement and data collection. What should I start? Where can I get the labview program to control the parser?

    Thank you.

    Help > find instrument Drivers. Then go to the Instrument Driver Network and read all the links on the use of pilots.

  • How programmate a waveform arbitrary in LabView for an AFG3102C?

    I am trying to send a LASER pulse which is controlled by the CH1 of my signal generator. This is typically a 1us pulse, followed by a variable period (of 300ns to 10us) and then another pulse LASER to 1us.

    I don't see how I could program in LabView without using another program (i.e. Visual Basic).

    I'm using LabView 10.

    LabVIEW is capable uber; including in the instrument control.

    There is an instrument driver for the AFG3102 provided on the Web site of NOR. Download you and use the library of Virtual Instruments (VIs) comes with the LabVIEW environment. There are tutorials on how to do it. You can see the libraries supports GPIB/USB/Ethernet, so you must use one of these protocols to connect to your device, and then configure it within your own LabVIEW VI; You can reference the file 'Plug and Play' on the page driver instruments first to see how the device is controlled in LabVIEW for a sample application.

  • 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 access any USB device in LabVIEW?

    I have Labview 8.5.It has a few blocks to directly control the port series, but I don't see ANYTHING to let me control devices connected to the USB ports. When you use the functions VISA the USB port is not available in the control of VISA Resource Name list. I have a device with a USB port. I would like to transfer data to and from the device via USB using LabVIEW.Does anyone has any suggestions for how I can access the USB port in a way that will allow LabVIEW communicate directly with the device connected to the USB port?

    Hello

    Looking on the USB communication with labview?

    You must first configure your VISA to recognize the USB

    http://zone.NI.com/DevZone/CDA/tut/p/ID/4478

    Here is a starting point...

  • Emulation of USB (flash drive\HDD) for USB devices

    Enybody have ideas how to emulate external USB devices via USB port in LabView (DAQ 6221)?

    LabView to work with the USB device, but I need to emulate this feature for other devices...

    Thank you

    Hello Alex,.

    There is a good Article in the knowledge base on the simulated devices you should check:

    3JLD2HB9 Knowledge Base: what are NOR-DAQmx simulated devices and how to use them?

  • USB 6525 6501 digital for output to the step motor

    Hello

    I try to use USB 6501 or USB-6525 out of step motor signals which command the stepper motor. My questions are

    (1) do I 6525 USB, I'm not sure the function of it (perhaps as a relay).

    (2) now I connected input 5V for USB-6501 "+ 5V" pin and GND to pin "GND". On the other side (output side), I connected ' enable '(from motor drive) to P0.0. 'direction' to P0.1 and GND to GND.  Can I use the express signal to test, the error says "lack of entry."

    (3) I guess the next step is programming labview. Does anyone know of similar examples?

    Any help would be appreciated!

    Melody,

    If the engine must input external logic level I advise to use the USB-6501, which is just a digital I/o card. The USB-6525 housing does not have the digital outputs to control your motor drive. If I understand correctly you just try to turn the motor on and off with a digital signal. It seems that you also provide your drive motor + 5 v and GND. The USB-6501 has channels for + 5V and GND. I've attached an example of navigation that controls the outputs digital using DAQmx and LabVIEW. This specific programme allows to control 8 digital output lines, but it looks like you don't have one. If the engine waiting for you just a strong to put logic in operation and a logic low to shut down this program example will be able to turn on or turn off your engine. Just connect one of the USB-6501 digital output lines and then use the program to this line of control.

    I don't really know any reason, you need to use the USB-6525 it seems to me that the USB-6501 run action you need. I hope this helps.

  • With the help of USB-6009 with LabView 8.0

    I try to use a USB-6009 with LabView 8.0 box.  I DAQmx 8.8 (that came with the unit) installed and verified that the 6009 works correctly through MAX I also read on this site that the 6009 is compatible with LabView 7 or more.  However, I am unable to get LabView to recognize the device.  Using LabView, to use a DAQ hardware I have to select "Input" in the palette 'Functions'  But there is no range "Input".  Actually I can't find the DAQ Assistant Express VI anywhere.

    Do I need to use a different version of the DAQmx?  If so, which and where can I find it?

    Thank you.

    LabVIEW 8.0 is not supported with DAQmx 8.8. I think that the last version with support for 8.0 is DAQmx 8.6.1. You can uninstall 8.8 and install 8.6.1. You should really consider upgrading your version of LabVIEW. NOR has decided to limit support for 7.1 8.0 just now. The latest version of DAQmx manages to only 8.2.x and higher.

  • Love at first sight for usb cable will work for migration?

    Love at first sight for usb cable will work for migration?

    Migration from what to what?

  • LabVIEW for LEGO MINDSTORMS and EV3

    LabVIEW for LEGO MINDSTORMS can be used to program the EV3?

    There will be support for the EV3 with LabVIEW to come. Our plan is to be ready in the first half of 2014.

    MINDSTORMS EV3 of LEGO development environment is the only software I know that can be used to program the EV3 brick when it is made available for purchase.

  • How to use my 2012 LabVIEW for run the LeCroy Waverunner 610Zi?

    Hi all

    I'm a fresh starter on this topic. I have the 2012 version of LabVIEW and a scope of 610Zi LeCroy WaveRunner. How can I use LabVIEW for control the scope?

    Hello sqrtT,

    I think you and I just had a phone conversation about this, and you're all set!

    I would like to know if I'm wrong and I'll give you instructions for you.

    See you soon,.

    Leonard Brown

    Technical sales engineer

    Teledyne LeCroy

  • LabVIEW for linux (Ubuntu 64-bit)

    University of Helsinki uses a centralized managed linux installation on all linux workstations.  The distribution is based on Ubuntu 9.10, and it is considering moving to 10.04 LTS.  Almost all of the facilities are 64-bit, only a few old machines (> 5 years of age) are still using 32-bit installation.

    In the Physics Department, there are about 500 machines and about 30% of those who are linux workstations.  We strive to get LabVIEW for Linux installed on our desktop, then run under Ubuntu 64-bit.

    1 problem (not a problem): For some strange reason, the installation media does not CD/DVD use normal files (iso9660) system, but the media is formatted with the file system "Mac OS X HDF +".  It works under linux, of course, but has been a source of mild confusion.  It would be wise to change the normal file system to the next version.

    2nd problem: The installation under Ubuntu does not work.  Namely:

    First I mount the media with the "mount-t hfsplus/dev/sr0/media/cdrom0" and try running the installation script
    CD/media/cdrom0/Linux/labview-2009
    sudo knew
    . / INSTALL

    Installation is not going smoothly.  According to the error message, the script is not found the library libbz2:

    / Media/cdrom0/Linux/LabVIEW-2009/bin/rpmq: error while loading shared libraries: libbz2.so.1: cannot open shared object file: no such file or directory

    However, the library is in standard place:
    $ ls/lib/libbz2 *.
    /lib/libbz2.so.1 /lib/libbz2.so.1.0 /lib/libbz2.so.1.0.4

    I know, "support of the distribution" list only include Mandriva, RedHat, and SUSE.  The version of LabVIEW is the latest version of the fall of 2009.  Does anyone have any ideas what to try next?

    see you soon,
    Pekko


  • LabVIEW for Linux

    Hello

    Where can I download LabVIEW for Linux? I'm not able to find the installation for 2015 files, but only the Windows and OSX version.

    Thank you!

    It can not.  You will have to reach out to your representative local of NOR to ask them a copy of the media.

  • Which is better: Labview for everyone or learning with Labview?

    I am a novice user of Labview, but I went through essentially through the 6 hours on Web site tutorial for NOR and that I'm currently going through the massive list of examples included in Labview. I heard the two Labview for everyone and learning with Labview recommended texts. I'd rather pay one, unless I really should bring both eventually. Thoughts and opinions by comparing the two?

    The two books are very good.  If your just starting, go to Amazon, buy a copy used learning with LabView 8 or 9.  I got mine for $18 shipped.  You can download all the vi.  Can also buy LabView for everyone $61.  LabView for everyone covers almost everything on LabView and brings you to some more advanced things, but learning with LabView has been better for basic stuff.

    Jerry

Maybe you are looking for