How can I control a LabView VI using a C++ script/program?

Hi,
I am a developer of a satellite communications system that is being used in
a satellite project I am working on at the University of Colorado - Boulder.
The project is called 3CS. We have built a simple LabView program that uses
some of the server routines to transfer data via TCP/IP protocol. The basic
VI initializes the radio hardware at the site the satellite is currently
over and then opens a data stream. The data is then downloaded back to our
servers via secure VPN. My question is this: How can I control a VI using
a language like C++ to execute certain parts of the VI. I basically have a
VI that listens for radio packets. My program then strips off the satellite
radio ID and protocol information
. I need to get this information into the
VI remotely through a C++ script. Any help would be greatly appreciated.
Sincerely,
Ryan R. Fligg
Colorado Space Grant College
Electrical and Computer Engineering
University of Colorado - Boulder

Hello fellow Boulderite,
The easiest way would probably be to use the application builder to create a DLL from the VI. The other option is to use the LabVIEW ActiveX interface. There are some examples of using C++ to control LabVIEW in the example library of the NI Developer Zone.

Similar Messages

  • How can we control the standard filed using CUF?

    Hello
    We use SRM Server 5.5 (SP 07)
    We want to make the Price field as display on shopping cart screen.
    We created CUF for PR type. We have PR01 and PR02.
    If PR type is PR01, we want to make Price field as display.
    So We tried to use BBP_UI_CONTROL_BADI. But this BADI is not working.
    We found notes for this badi and applied this note to our system.
    Notes number:
    1053594
    1046796
    1040879
    1058238
    1021742
    But we still have problem. The parameters IS_HEADER and IS_ITEM are not filled.
    How can we control price field as display, when we choose the PR type with PR01?
    Thank you,
    Best Regards,
    SH.

    Hi,
      You can use the BADI BBP_DOC_CHANGE_BADI along with BBP_UI_CONTROL_BADI.Check the Transaction type calue in BBP_DOC_CHANGE_BADI  badi and acc set a flag(using SET stmt) and pass this flag to the BBP_UI_CONTROL_BADI(using GET parameter) and then change the Field property for PRICE field.
    BR,
    Disha.
    Pls reward points for useful answers.

  • How can I print a LabView report using the printer font (not a windows font)?

    My printer is connected via a com interface. For speed reason I have to use the font of the printer. I use the report generation VIs to generate my report. With the VI "Set Report Font.vi" its possible to choose a font but I think only windows fonts are accepted.
    Printing from "WordPad" using printer fonts is no problem, just select font "15 CPI" for example. But how does it work with LabView?

    Have you already tried this in LabVIEW? What results did you receive when you tried it?
    J.R. Allen

  • How can i control a puma robot using LABVIEW

    the robot i have is puma 200 series controlled by val/valII operating system , if we can control it what are the cards needed for it

    A response to this question has been posted in the LabVIEW General category. Please click here to view the question in the LabVIEW General category.

  • How can i control a solenoid valve using time as an input?

    i am trying to control 4 solenoids using labVIEW 8.2.1 and a DAQ 9172 box.I want to control the time period that the valve is on as well as the number of times certain valves are on.

    Also, what cards are you using? Is the solenoid controlled by an analog voltage? analog current? or digital voltage? It seems to me that you would need something like the NI 9263 AO card to control the solenoid position.
    Like Mike said, it is important to know what sort of time period you're trying to use. You can use the operating system time in LabVIEW to determine what value you will output to your solenoid using something like Time Elapsed VI. If the time periods you are looking to control with are too small you won't really be able to achieve that kind of control with a 9172, you may need to look into using a cRIO chassis instead that has hardware timed control. 
    Chris W

  • How can I control which email FaceTime uses?

    When my daughter uses FaceTime from her Mac, both my wife's and my iPads ring.  She would like to be able to choose to FaceTime just one of us at a time.  When she initiates the call from her Mac, she chooses my wife's email address, but I also get the call even though that address is not entered in my iPad's FaceTime settings as an address that I can be reached at.  The same happens if she tries to call just me, my wife also gets the call.  My wife and I have no email addresses listed on our FaceTime settings in common.  The thing we do have in common is an Apple ID with the credit card we share, so all purchases are done through that Apple ID.  My wife has a separate Apple ID on her iPad for everything else though.
    Any ideas on how to allow my daughter to choose which of us that she'd like to contact?

    For Apple IDs, we have:
    My iPad:  [email protected] (this is our shared account with credit card for purchases)
    Wife's iPad:  [email protected]
    Daughter's Mac:  daughter [email protected]
    We don't have iPhones, so there are no phone numbers in our settings for how we can be reached.  None of us share the same email addresses in our "You can be reached at" settings.  My wife had her work email address there, along with her AppleID address, but the work email said "verifying" next to it, but that has probably said that for years.  My daughter tried that email, and my wife's Apple ID emails, and every time my iPad also rang.  Even after my wife completely removed her work email, my daughter was able to make a FaceTime call to that address and got both of us.
    I appreciate your help on this, but these were what I thought were obvious settings to check and already checked them all.  What seems to be obvious to both of us, is not working.  Weird.

  • How can I control a FLV video using the main play bar (not the FLV skin)?

    I need to have the ability to play/pause an FLV video in a slide with the main play bar.  Research has shown me that in previous versions, there was a "synchronize with project" checkbox that enabled this.  I cannot find this in version 8.  Is there a different way of doing this?

    Hello ,
    Welcome to Adobe Forums
    Try inserting the video as Multi-Slide  Synchronized Video instead of Event Video ,
    Then down below there will be an option to Distribute the video across the slides and you can select from Slide n to n ,(Where n is your slide number).
    Hope this will serve your need.
    Regards
    Himanshu

  • How can i control the motor movement of stepper motor using a NI PXI 7330

    Good day to all,
    i'm a newbie in programming in motion control of NI. I just want to ask if how can i control the clockwise and counter-clockwise rotation of a stepper motor using NI PXI 7330 module. all i can do is the counter-clockwise rotation using the example vi (Simple one-axis move.vi) found in the examples of LabView 2009.
    Thanks

    what type of limit switch sensor are you using and how did you wire itß What are your MAX settings regarding the limit switches?
    Good day SIr Jochen,
    I am using two reed switch for the reverse and forward limit. I wired the signal wire of the reed switch to the limit ports(forward and reverse Limit) and its ground to the digital ground of the UMI-7764.
    the attachment below is the my max configuration about limit switches
    Attachments:
    max configuration.JPG ‏155 KB

  • How can i control the I2C bus with Labview

    Hi
    How can i control the k8000 from http://www.velleman.be ( I2C bus) with
    Labview.
    all info is welcome.
    [email protected]

    if you are using Linux (and the Linux version of LabVIE W) it should be
    fairly easy to use the lm_sensors ( http://www.netroedge.com/~lm78/ )
    libraries and source code to control a device connected to a PC's I2C bus.
    Go here http://www.netroedge.com/~lm78/hardhack.html to see how to tap into
    the I2C bus of your PC. You may be able to apply info here to roll-your-own
    on a MS Windows 98 / 2000 OS.
    Chris
    "Wouters V" wrote in message
    news:39fff2de$0$4493$[email protected]..
    > Hi
    >
    > How can i control the k8000 from http://www.velleman.be ( I2C bus)
    with
    > Labview.
    > all info is welcome.
    >
    > [email protected]
    >
    >
    >
    >
    >

  • How can i design a smart antenna using labview?? plzz

    i have my final year project. I am student of Beng in Telecommunications. How can i design a smart antenna using switched beam algorithm on lab view??

    You can hardly use LabVIEW to design antenna, but definitely can use LabVIEW for Characterization, Optimization, and Test your antenna design.
    Hope you got the point here.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • I plug my computer into my stereo and use the remote app on my iPhone to control it. How can I control my wires iPad with the remote app on my iphone when it is plugged into the stereo? they are different iTunes accounts.

    I plug my computer into my stereo and use the remote app on my iPhone to control it. How can I control my wires iPad with the remote app on my iphone when it is plugged into the stereo? they are different iTunes accounts.

    I think this is probably a sign that your network could be better than it is.
    Intermittent problems are often a result of interference. Interference can be caused by other networks in the neighbourhood or from household electrical items.
    You can download and install iStumbler (NetStumbler for windows users) to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
    Refer to your router manual for instructions on changing your wifi channel or adjusting your multicast rate.
    There are other types of problems that can affect networks, but this is by far the most common, hence worth mentioning first.

  • How can i control the timings of my slideshow using iphoto on my ipad

    Q: 1 how can i control the timings of my pupil's slideshows using iPhoto on the iPad?
    Q: 2 then how can i export them?
    Q: 3 how can i combine them from 8 individual slideshows to 1 for showing to their parents at an assembly?
    many thanks in anticipation of your collective help
    brian

    Here's my take on the same thing:
    Short answer: the dpi is set when you decide what size you're printing at.
    Long Answer: Dpi means nothing in the digital world of your computer. There are no "inches" to have "dots per..." Size is measured in pixels. That's the same on your camera. It doesn't take 10 x 8 or 6 x 4 shots. It takes shots measured in megapixels. For instance 4,000 x 3,000 is a 12 megapixel camera.
    Using that example, that shot from that camera has 12 million pixels. So that's how many "Dots" there are. To decide the ratio of dots per inch, you now need to decide the "inches" part. And that's printing. Print at 10 x 8 and the dpi will be 4,000/10 or about 400 dpi. At 6 x 4 then it's 4,000/6 or 660 dpi. Work the other way: Print at 300 dpi and the resulting image will be about 13 inches on the longer side.
    So, your photo as a fixed number of pixels. Changing the dimensions of the print will vary the dpi, changing the dpi will vary the dimensions of the print.
    For more see http://www.rideau-info.com/photos/mythdpi.html
    Regards
    TD

  • Since I upgraded to IOS5, my Smart Playlists are in a random order. Since I use it for listening to Talking Books this makes it useless. How can I control the order of a Smart Playlist?

    Since I upgraded to IOS5, my Smart Playlists are in a random order. Since I use it for listening to Talking Books this makes it useless. How can I control the order of a Smart Playlist?

    It may be best to recreate the folder and the smart playlists from scratch.
    tt2

  • How can I control the order of iDVD menu items using the Arrow keys?

    I have a submenu screen containing 10 selectable buttons plus the Return Arrow button.  I have ordered all the slideshows in the correct order in the DVD map.  However, when I run the program, the arrow keys jump the selection focus in an apparently random sequence.  How can I control the order of the selection focus?
    I'm using iDVD v 7.1.2
    TIA.
    Ron

    Hi
    There is one thing You might miss in iDVD - So do I - the ability to re-arrange in the DVD map (block diagram)
    The order things will be pplayed or addrssed is same as the order each item is introduced into iDVD.
    To my knowledge ther is no way around this.
    Yours Bengt W

  • How can I build a LabView application that uses the 2012 runtime, on a development system with LabView 2013 or 2014 installed?

    I need to build a LabView application .exe to run with the 2012 Runtime, for legacy support. I currently have LabView 2013 installed on my development system, and have 2014 available. How can I build an application that uses the 2012 runtime on this development system? Do I have to downgrade to 2012? Thank you.

    We have existing customers that have installed our application that was originally built with 2012 (provided by a contractor that is no longer available).  Due to IT regulations, it is far easier to update these customers by simply replacing the .exe file, than creating an install that their IT department must run.
    If I have to downgrade to LabView 2012, where can I get the installation for this?

Maybe you are looking for

  • How to share files between two accounts on the same Macbook Pro???

    Hi, I have recently purchased a Macbook Pro and have created two accounts, one for me and one for my wife. I have all the itunes music on my account and my wife wants to load some of the songs nto her Itunes on her account but I don't want to start c

  • Itunes Reinstall

    To make a long story short, I have to reinstall Itunes. When I click the icon on my desktop I get this message: "iTunes cannot run because some of its required files are missing. Please reinstall iTunes." I don't know how to reinstall iTunes at this

  • USB over current notice and other problems

    I have a 17" MacBook Pro (original 2.16 Core Duo) that has a USB over current notice pop up. The pop up says that the USB hub it's attached to will be deactivated. I'm trying to troubleshoot it but can't figure out what's causing it. What exactly doe

  • Avi File  - Show's Only Audio

    Dear Forum Members, Recently I've recorded my self playing Assassin's Creed IV, using FRAPS. The file format that FRAPS giving is AVI. When i imported it to Premier Pro CS6 on my computer, it worked fine. On the laptop though, same premier program, i

  • Email specific subform

    I have an agenda form that has a repeating subform for capturing Action Items. What I would like to do is to email just the action items after the meeting has ended without having to cut and paste bits and pieces. Is there a way to use the email butt