How can I get the measured data of a compiled LabView application via active X?

I want use data measured by a compiled labview application in a visual basic program by the way of active x. i your knowledge base is only explained how to do this with a notcompiled vi
or how to call a compiled vi but not how to get the properties.

A. Rafiq's reply / answer is just exactly what I was looking for as well. I'm using it with VBA for an Excel application.
Note that the differences between this and the "not compiled" VI is that the application is the compiled application name, versus LabVIEW.
Additional information:
Remember that when you build the application, it puts the VI(s) in a wrapper app, which requires the Run-Time Engine.
In order to access the VI, you have to get a reference to it. Doing this starts the app.
Now the VI's methods and properties are exposed.
With the GetControlValue and SetControlValue
methods of the VI you can access all of the controls on the front panel.
Remember that the values returned from the GetControlValue method are of type Variant.
If you find you h
ave some trouble getting data in or out of your (LabVIEW) ActiveX server app, you can also easily write a VI to access the server.
Remember that if you want to run these, the ActiveX server (LabVIEW) and the VB client app, on a remote machine you must:
Install on the target machine the LabVIEW RTE (which you can include with Application Builder.
Running the server app once on the remote machine before running the client is a way for the server app to register itself (at least in LV 5.1).

Similar Messages

  • How can i get the meta data from database?

    Hi, all java and db experts,
    I need to write a tool to generate java file which will be used to hold the resultset of a stored procedure of Oracle. Is there any API call or tools to connect to db and then get the meta data of the return cursor instead of reading stored procedure definition on my own?
    Please help, thanks a lot.
    Hanna

    if i execute a Oracle stored procedure, the resultset of a cursor is returned. It's easy to know the meta data at the runtime.
    However, could i get the meta data about the resultset of a cursor before runtime? Such as by connecting to the database and ask it about meta data of a specified stored procedure?
    Is it feasible?
    DatabaseMetaData dbmd = conn.getMetaData();
    ResultSet rs = dbmd.getProcedureColumns("", "%", "SP_NAME", "%");
    while (rs.next()) {
    String colName = rs.getString(4);
    int colType = rs.getInt(5);
    int colDataType = rs.getInt(6);
    int colPrecision = rs.getInt(8);
    int colLen = rs.getInt(9);
    int colScale = rs.getInt(10);
    long defaultValue = rs.getLong(11);
    But what i get is a list of stored procedure parameters. In oracle, cursor is IN OUT parameter . How can i get the meta data about the resultset of cursor?

  • I have made a burn folder with photos exported from I-photo.  It now shows in information, that the date is created and modified is different from the original digitized date.  How can I get the original date to show in the info from Finder?

    I have made a burn folder with photos exported from I-photo.  It now shows in information, that the date  created and modified is different from the original digitized date.  How can I get the original date to show in the info from Finder?

    The Finder reports File information. The date and time of the photo are in the Photo's Exif metadata. The Finder has no awareness of this. All photos apps on any system do.
    Regards
    TD

  • How can I get the system date in mm/dd/yyyy,

    how can I get the system date in mm/dd/yyyy, i need to compare system date with some other date,continuosly using threads,can U plz help me.
    With Some code
    Thanks In advnace
    Mahiiii

    Hi,
    You can use SimpleDateFormat class under java.text package.
    SimpleDateFormat formatter = new SimpleDateFormat("dd-MMM-yy h:mm a z", new Locale());
    //formatter.setTimeZone(timezone);
    String dateTime = formatter.format(new Date());

  • Hi, can you help?  My emails that I have received show the date received as either today, yesterday or July 28.  How can I get the correct date received?

    Hi, The emails that I have received show the date received as either today, yesterday or July 28.  How can I get the correct date received?

    That's very scary. They might do it, but I personally have never had Apple contact me re id's except on their site when signing in. I suggest you DO NOT respond until you have a phone conversation with Apple security. They can verify if they sent you the e-mail and why.
    While it's very possible it's true,again, I suggest you not respond until you speak to someone at Apple. I've often read here that when people sign in they are not allowed to because "someone else has used the id" type of statement.
    Also, you should be able to go to the app store and see what apps you have downloaded.
    Though it could have been a free app, have you checked to see if any were bought with your id account?
    I've gotten these types of e-mails from places like USPS and FedEx which look amazingly authentic and were from their website. I also received an odd e-mail from my cousin in Ireland last year that clearly was not from him. It was also sent to others in his family in Ireland. I e-mailed him that I only opened it because it had a .ie, but suggested he change... Days later I received mail from 'him' - same name, but at yahoo.com. 
    Again, I would call Apple. You can also report it at [email protected], but I would not settle for that given your situation. If nothing else, call Apple sales (sales depts. anywhere answer fast) and ask them to transfer you to security. Apple will not want anybody accessing their name, and while it's unlikely, it's not impossible that it is someone phishing.
    Hope this helps and can you let the support community know your results by posting on this thread when you're done? Thank you.
    Hope this helps.

  • Please help.........how can i get the last date of the month?????

    Hello....
    I want to get the last date of the month.
    For example, the last date of Jan is 31.
    How can I get the last date of the particular month and year ????
    Thanks for help.
    Gloria

    Hi Gloria
    1. How can I compare the date???date1.compareTo(date2)
    where date1 and date2 is a java.util.Date Object
    will return 0 if it is the same date
    or
    date1.after(date2)
    where date1 and date2 is a java.util.Date Object
    will return true if date1 is after date2
    (the same for date1.before)
    2. How can I change the date format into yyyymmdd format???? I just want the year, month and date.try the java.text.SimpleDateFormat Object
    new SimpleDateFormat("yyyymmdd").format(yourdate)
    Hope this help.
    Please also have a look at a calendar I wrote, (maybe it help)
    demo & source :
    http://www.geocities.com/globe_software/java/components/
    globe_sa

  • How can I get the iPad to sync Outlook 2010 in Parallels via iTunes?

    Hi
    I want to be able to sync my iPad with both iCal on the iMac and Outlook 2010 in Microsoft Office 2010, installed in Parallels 7.  What happens is that when I connect the iPad to the iMac (USB) it syncs directly with iCal via iTunes.  How can I get the iPad to sync Outlook 2010 in Parallels via iTunes as well?  Do I have to download and install another copy of iTunes in Windows 7 in Parallels?
    Appreciate your help.
    Kind regards
    Alani

    Don't think that's possible as iOS devices can only be synced to one iTunes library at a time.
    Is there a specific reason you're using Outlook?

  • How can i get the previous date?

    Hi,
    I am entering a future date(xx-xx-xxxx) through my application.I need to perform some actions on the previous date of the entered date(xx-xx-xxxx).How can i get that previous date?

    Oh dear god.
    Parse the date using SimpleDateFormat. You can then use Calendar's setTime to set a Calendar instance to your date, and use add(Calendar.DAY_OF_MONTH, -1) to substract a day. getTime() will then provide a new Date. And yes, look it up in the API docs.

  • How can I get the image data from Clipboard with LV

    Anybody knows How can get the image data after pressd "print screen button" with LV?
    I want to program a software which can save a image as a bmp or jpeg etc, and the image data is from pressed print screen button. 
    How to get it out from clipboard. I am trapping about. thanks in advance.
    Try to make everything Automatic

    You can have a look at Rolf Kalbermatter's post here (give him stars) or, if you're using scripting, you can use the Application class Get Clipboard Image method.
    Try to take over the world!

  • How can I get the start date and end date of a certain week?

    Hello, in my java code, I can get the week ID , using
    org.joda.time.base.AbstractDateTime.getWeekOfWeekyear() , for example, this week is the 16th week of this year. And I want to get the start date(date of Monday) and end date(date of Sunday) of the week. Is there any method can supply such date value??thanks

    1 public Date getCurrentMonday(){
    2 Date monday = null;
    3 Calendar rightNow = Calendar.getInstance();
    4 int day = rightNow.get(Calendar.DAY_OF_WEEK);
    5 int distance = 0;
    6
    7
    8 if (day == Calendar.MONDAY)
    9 monday = rightNow.getTime();
    10 else
    11 {
    12 distance = day - Calendar.MONDAY;
    13 if (distance == -1)
    14 distance = 6;
    15
    16 monday = (Date) (rightNow.getTime());
    17 monday.setTime(monday.getTime() - 1000 *60 *60 *24 *(distance));
    18 }
    19 return monday;
    20 }

  • If Mountain Lion comes pre-installed on my machine, how can I get the OS discs if it's only available via download?

    Had someone ask a very good question, I think.
    If you buy a new Mac that has Mountain Lion pre-installed on the machine, you are able to download updates as they come out; however, you can't necessarily download the Mountain Lion installer via the App Store since it came already installed on your computer.
    So my question is, how can you get a OS disk/drive of Mountain Lion if your computer fails? I know Apple has the Recovery drive, and even the Internet Recovery drive, along with Time Machine and whatever else, but what if none of these options are available to recover the computer?
    I suggested to the person to clone their hard drive using the 30-day trial of Carbon Copy Cloner. That way, they have a bootable image with the OS already available in case they run into this option. BUT, what if that isn't even an option? How does one go about recovering their computer if no OS disc of Mountain Lion is available?
    I haven't been able to find anything about workarounds besides the methods I mentioned above, so please tell me if I am missing something.

    you can't necessarily download the Mountain Lion installer via the App Store since it came already installed on your computer.
    Not true. You can go to the Mac App Store and download the installer
    (from the link that WALTER-MILANO-ITALY posted above)
    Install OS X Lion or OS X Mountain Lion
    If you completed your installation of OS X, your installer may have been removed after your successful first login to OS X Lion or OS X Mountain Lion.  Mac App Store's Purchases page should show Install OS X as being "Installed", and disallow its download, when viewed from a computer running OS X.
    To redownload the installer on a computer running OS X Lion or OS X Mountain Lion, press and hold the Option key while you click the Purchases tab. If the button to the right of the Install OS X Lion or OS X Mountain Lion item doesn't change to "Install" and allow you to download OS X, use Spotlight to search for "Install OS X Lion or OS X Mountain Lion" on your computer.

  • How can i get the recurring date

    Is there any API can provide the recurring date i selected?
    I know token "ItemGetDate" can provide me an appointment 's assign, create, begin, DueDate, end date, otherwise the DataType Duration(0) i always failed to get anything.

    Hi,
    Depending on the cycle type will dictate the next invoice date. 
    So if you had a monthly recurring order starting today on July 27, 2012 the next upcoming date will a month from the date.  However the invoice will send 14 days prior to the upcoming date. 
    For more details please view the article below on how this works exactly.
    http://kb.worldsecuresystems.com/239/bc_2391.html#main_How_the_invoicing_works
    Kind regards,
    -Sidney

  • How can i get the pulish data for Price change?

    From the rpm-1205-og.pdf document, the RegularPriceChangePublishBatch Batch can formats and stages output of regular price change price events.
    but I can't get data from rpm_price_publish_stage table after I run the batch.
    if I want generate data into rpm_price_publish_stage, how can I do?
    Please help me. thanks.
    Daniel

    Message was edited by:
    user616568

  • How can I get the POST data out of a quiz?

    Trying to get data out of a quiz with PHP or ASP. How? Do I
    have to set up the Quiz Output to something in particular? I want
    to get the $_POST['correct'] information out --or
    Request.Form("correct"). How do I do it?

    This thread is cross posted. Please review the
    Posting
    Guidelines for more information on why this is a bad thing.
    Click
    here to view the original thread

  • First I had the last date up and now all of a sudden stands the last date under the list of incomming emails how can I get the last date again up the list

    I hope you understand what I mean because English is not my language but Dutch.
    Example: 17-11-2014
    16-11-2014
    15-11-2014 so I recieved my e mails and now
    15-11-2014
    16-11-2014
    17-11-2014
    and I want that the newest date become up
    I hope their is someone to help me.
    Thanks.
    Heinja

    In English: ;-)
    Click on "Date" to sort by date. Click it again to reverse the sorting.
    Or, in the menu, '''View|Sort By''' and select '''Date''' and '''Ascending '''or '''Descending '''as you require. You probably want '''Unthreaded''' too.

Maybe you are looking for

  • Business rules execution error

    Hi, I am facing an error with business rules and forms. We are having 6 folders and each folder relating to different departments and each department (folder) contains 5 forms. The same environment is in UAT server and Production server. The same UAT

  • Simple CQL query error - Invalid statement: select one from inputChannel

    Hi, I am new to oracle cep, I wrote a simple query.... "select * from inputChannel RETAIN 5 EVENTS" but some how it shows the error as . Invalid statement: "select one from >>inputChannel RETAIN<< 5 EVENTS" Cause: generic syntax error Action: The syn

  • Can I boot my G4 533mhz PPC from a USB external?

    My disk utility shows my hard drive to be "FAILING" in red. I have purchased a Seagate Expansion External USB Hard Drive and using SuperDuper! cloned my hard drive to the external. Side-by-side comparisons of both drives in Finder appear to show that

  • Can't create new contacts from email message

    I get an email message that has a phone number in it and of course an email address. I want to create a new contact. I hold down on the phone number and a dialog appears asking if I want to add to contacts. I select it and press Create New Contact. I

  • JFileChooser - mnemonics for buttons

    Hi, is it possible to set your own mnemonics for the buttons save/open and cancel in JFileChooser? If so, how does it work?? thanks sicki