Create DLL from labview and calling it from other application

I have an application built using Labview. I wanted to create DLL out of it. The application has
two String inputs start and stop buttons and two status indicators.
1. How to itegrate start and stop buttons from function prototype?
2. Does Labview created DLLs requires labview runtime engine when it is to be called from other application?
Can some one help on this.
Solved!
Go to Solution.

Hi Yuvish,
1) They should be boolean inputs to your VI. But does it makes sense to provide a stop button input at the start of your VI? (THINK DATAFLOW!)
2) Yes, the LV-RTE is needed...
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • Create dll with arrays and call it

    I am trying to create dll with labview in order to pass a 2d array to the main program. The problem is that I don't really know how to create the function to call it (I don't know much about pointers)
    The function I have created to call the dll is void Untitled1(TD1Hdl *Array1) which is suposse to return the array created on it.
    For example, in the program attached, how should I do to pass the array to another program using dlls?
    Thanks a lot,
    Juanlu
    Attachments:
    Untitled 1.vi ‏7 KB

    The code you've provided doesn't do anything (just a control wired to an indicator) so I'm not sure what you're asking here.
    If I understand correctly, you want to build a DLL from your LabVIEW VI.  From what language will you call that DLL?  There is no standard way to pass a 2-D array.  If you can convert to a 1-D array, you can use a simple pointer.  With a 2-D array, you're stuck with LabVIEW's array representation (the TD1Hdl type), which means that whatever code calls that function will need to understand the LabVIEW data type and how to manipulate it.

  • Hi. how to create Subroutine Pool and call it from sapscript

    HI,
    Can anyone tell is there any standard subroutine pool available which could fetch the customer number. 
    how to create an subroutine pool and call it from the sapscript..
    please help me
    Advance Thanks..
    Guhapriyan.

    Hi Guhapriyan,
    1. Create a FORM in your program.
    2. call it from sapscript using
    /:   PERFORM GET_COMPANY_INFO IN PROGRAM YHRR_OFFER_CONTRACT_FORM      
    /:   USING &P0001-BUKRS&                                               
    /:   CHANGING &COMP_NAME&                                              
    /:   ENDPERFORM                                                        
    3. The form in your program should be of the following  parameters only.
    form GET_COMPANY_INFO tables IN_PAR  structure ITCSY
                            OUT_PAR structure ITCSY.
    (important is IN_PAR, OUT_PAR -
    where in your read the values passed,
    and pass back the values
    thru internal table using varname, varvalue)
    regards,
    amit m.

  • Creating a DLL in Labview 8.6 and calling it from Visual Basic 6.0

    Dear friends,
    I need to create a DLL in Labview 8.6 and call it from Visual Basic 6.0. The system works as follows:
    I made an application using Labview 8.6 + Vision Assistant 8.6 where I can obtain the x,y coordinates of a template in an certain image being captured by an USB camera. The template coordinates change every time it moves and Visual Basic 6.0 must read these x,y values in real time. I found some information in the link http://zone.ni.com/devzone/cda/tut/p/id/3925, but it works for version 6.x of Labview and 8.6 version is different. Am I in the right path? If you have an updated tutorial like the one in the link above but for Labview 8.6 It would be very nice. Please help me.
    Kind regards.
    João Júnior

    Hello Osvaldo,
    I analysed the updated tutorial you sent me, but the thing is that it doen't show how to create the DLL in LV 8.6 but only show how to accessing the DLL from VB6. My problem is really HOW TO CREATE THE DLL IN LV8.6. In the link http://zone.ni.com/devzone/cda/tut/p/id/3063 there is detailed information about how to do this in LV6.x, the problem is that I don't find the path Tools»Build Application or Shared Library (DLL) in LV8.6, I think the procedure in LV8.6 is a little bit different. Don´t you have an updated tutorial on how to build a dll in LV8.6?How could you help me?
    Kind regards.
    João Júnior

  • How bapi different from session and call transaction?

    how bapi different from session and call transaction?
    thanks in advance.

    For one, Batch Data Communication (BDC) is older. Business Application Programming Interface (BAPI) came later, about 10 years ago (you can see this already from the name, which contains marketese like "business" ).
    More important though, they are different technologies. With BDC you build the "batch input transaction" yourself, with an ABAP program which creates the "batch input session" ("Batch-Input-Mappe" in german). You then take that session, like an object, and "run" it on a system (most of the time, this is done on a local system by the administrators, after it has been tested for correctness).
    With BAPI, a system (local or remote) exposes its interface to you through some kind of Remote Function Call (RFC). Practically, it tells you: "What do you want to do? Insert that data into Materials Management? Here is the function and the the parameters you have to use for each record". You only work with the Interface - the exposed function. How this function works does not have to interest you. You don't have sessions to "run", you fire your function calls filled with data, one after another and you're done.
    BAPI can be run remotely. With BDC, you probably have to call the administrators of the remote system and send them the session you created for them to run. With BDC you go through the whole transaction in one BDC session, with BAPI you may need more than one "BAPI calls" to do this.
    With BAPI you don't fill obcure field names with values, you just fill the parameters. You can use a BAPI from inside your ABAP program to let a "business object" do some clearly defined work for you, then you can continue with your code doing other things. You don't do this with BDC. With BDC you write a dedicated program that creates the "session", which is then executed separately.
    Batch Data Communication (BDC) is the oldest batch interfacing technique that SAP provided since the early versions of R/3. BDC is not a
    typical integration tool, in the sense that, it can be only be used for uploading data into R/3 and so it is not bi-directional.
    BDC works on the principle of simulating user input for transactional screen, via an ABAP program. Typically the input comes in the form of a flat file. The ABAP program reads this file and formats the input data screen by screen into an internal table (BDCDATA). The transaction is then started using this internal table as the input and executed in the background.
    In Call Transaction, the transactions are triggered at the time of processing itself and so the ABAP program must do the error handling.
    It can also be used for real-time interfaces and custom error handling & logging features. Whereas in Batch Input Sessions, the ABAP
    program creates a session with all the transactional data, and this session can be viewed, scheduled and processed (using Transaction SM35) at a later time. The latter technique has a built-in error processing mechanism too.
    Batch Input (BI) programs still use the classical BDC approach but doesnt require an ABAP program to be written to format the
    BDCDATA. The user has to format the data using predefined structures and store it in a flat file. The BI program then reads this and
    invokes the transaction mentioned in the header record of the file.
    Direct Input (DI) programs work exactly similar to BI programs. But the only difference is, instead of processing screens they validate
    fields and directly load the data into tables using standard function modules. For this reason, DI programs are much faster (RMDATIND - Material Master DI program works at least 5 times faster) than the BDC counterpart and so ideally suited for loading large volume data. DI programs are
    not available for all application areas.
    Business Add-In (BADI) are a new SAP enhancement technique based on ABAP Objects.
    They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software.
    As with customer exits two different views are available:
    In the definition view, an application programmer predefines exit points in a source that allow specific industry sectors, partners, and customers to attach additional software to standard SAP source code without having to modify the original object.
    In the implementation view, the users of Business Add-Ins can customize the logic they need or use a standard logic if one is available.
    In contrast to customer exits, Business Add-Ins no longer assume a two-level infrastructure (SAP and customer solutions), but instead allow for a multi-level system landscape (SAP, partner, and customer solutions, as well as country versions, industry solutions, and the like). Definitions and implementations of Business Add-Ins can be created at each level within such a system infrastructure.

  • How do I create a new account and get stuff from the old account to the new account

    How do I create a new account and get stuff from the old account to the new account

    There are instructions on this page for creating a new account : Set up an Apple ID in iTunes
    Or if you don't want to give credit card details : Create an iTunes Store, App Store, or iBooks Store account without a credit card or other payment method
    But you won't be able to transfer purchases from your old account to it, all content that you download from the store will remain tied to the account that downloaded it.

  • Is there any way to salvage contact info, media and call logs from an account that is currently suspended

    Is there any way to salvage contact info, media and call logs from an account that is currently suspended

        Hello screamer666.
    I definitely understand wanting to maintain your information. If you have suspended your account, you are still able to access your My Verizon online account to review contacts saved with Backup Assistant or media and call logs saved with Verizon Cloud. Are you having trouble accessing your account?
    AndreaS_VZW
    Follow us on Twitter @VZWSupport

  • Can I use my Address Book to create a data base and then merge from it to create mailing labels?

    Is it possible to use my Address Book to create a data base and then merge from it to create mailing labels?
    Thanks,
    CF

    I know one way, it is not elegant but it does work.
    1. Open Thunderbird. (download here: https://www.mozilla.org/EN/thunderbird/)
    2. Click on Address Book.
    3. On the left in the new window is a list of your Address books and groups. Select the one you want.
    Your addresses will appear to the right.
    4. In Thunderbird / Tools select Export, and Save as "Comma Separated".
    You can open that list of addresses in Excel or in FileMaker Pro. Mail merge proceeds from there.

  • I lost all the information in the ical. I am using icloud and info desapear from ical and several times from my agenda too. But I desperately need the info from my ical. I tried using the time machine but i received a messagem saying that they can not mod

    I am using icloud and info desapear from ical and several times from my agenda too.
    But I desperately need the info from my ical.
    I tried using the time machine but i received a messagem saying that they can not modify ical.
    Can somebody help me?

    First of all, we are not Adobe.  This is a user to user forum.  We are consumers just like you. And I have arthritis, too, although not severe.
    Now let's see if we can help you resolve your problem.
    Where was it purchased from?
    Was it downloaded or was a disc purchased?
    What is your operating system?
    Is it version Photoshop Elements 13?
    Did you use a redemption code to get a serial number?
    Did you sign in/activate?
    Did you create an Adobe account?

  • Ipod touch is trying to download a song from itunes and an app from the store. Both are waiting, and won't dowload. Is there a way I can stop them dowloading? Doesn't seem to be an option to

    My ipod touch is trying to download a song from itunes and an app from the store. Both are waiting, and won't dowload. Is there a way I can stop them dowloading? Doesn't seem to be an option to

    Create a iTune and App Store account without credit card
    1. Go to App Store and select a free app
    2. Tap INSTALL APP
    3. Create New Apple ID
    4. Confirm Your Country
    5. Agree with Terms and Conditions
    6. Fill in your Apple ID and Password (must be a valid email address)
    7. Create and answer your secret question e.g. What is the name of my dog?
    8. Select NONE for Payment Method
    9. Fill in Billing Address i.e. your address
    10. Submit application for new Apple ID
    11. Wait for verification email
    12. When email arrive, verify your account
    13. Start downloading your free apps

  • How get all record from master and matching record from detail

    hi master
    sir i have master detail table
    i have many record in master table but some record in detail table how i get
    all record from master and matching record from detail
    such as
    select m.accid,m.title,d.dr,d.cr from master m, detail d where m.accid=d.accid
    this query not work that get only related record i need all record from master
    please give me idea
    thanking you
    aamir

    hi master
    sir i have master detail table
    i have many record in master table but some record in
    detail table how i get
    all record from master and matching record from
    detail
    such as
    select m.accid,m.title,d.dr,d.cr from master m,
    detail d where m.accid=d.accid
    this query not work that get only related record i
    need all record from master
    please give me idea
    thanking you
    aamir
    select m.accid,m.title,d.dr,d.cr
    from master m, detail d
    where m.accid=d.accid (+)The outer join operator (+) will get you all the details from master and any details from the detail if they exist, but the master details will still be got even if there are not details.
    Note: Oracle 10g now supports ANSI standard outer joins as in:
    select m.accid,m.title,d.dr,d.cr
    from master m LEFT OUTER JOIN detail d on m.accid=d.accid

  • I have some music from CDs and recent purchases from iTunes on my iPhone 4 that are not synced with my iTunes account on my computer.  How can I sync my phone and iTunes on my computer without losing what is on my iPhone?  (original computer was stolen)

    I have some music from CDs and recent purchases from iTunes on my iPhone 4 that I would like to sync with my iTunes account on my computer.  The CDs were on my original laptap also, but it was stolen and I set up the iTunes on my new computer.
    When I try to sync I get a message indicating that the iPhone iTunes will be replaced with the computer iTunes.
    How can I sync and retain both iTunes?

    Music is designed to sync in one way only, and that is from iTunes to the phone. There is the expectation that you would backup the computer to save this data. There are 3rd party solutions to try and recover music from the phone to put back into a blank iTunes library.
    See this user generated tip for help https://discussions.apple.com/docs/DOC-3141

  • I purchase iPhone 3GS and 4 and 4s from eBay and Amazone sometime from best buy all  of that is ok but now befor 3 or 5 week I purchase one white iPhone 4s is locked and I can't active it i don't know why serial number c39****td0 Imei. 012936000039082

    I purchase iPhone 3GS and 4 and 4s from eBay and Amazone sometime from best buy all  of that is ok but now befor 3 or 5 week I purchase one white iPhone 4s is locked and I can't active it i don't know why serial number c39*****dtd0
    <Personal Information Edited by Host>

    Only the Apple Store sells unlocked iphones in the U.S

  • Album uploaded to Itunes match, plays on computer but won't play on ipod, no cloud symbol next to songs. Press play on 1 track and it skips through the album without playing. I've tried deleting the album from PC and downloading again from match and even

    Album uploaded to Itunes match, plays on computer but won't play on ipod, no cloud symbol next to songs. Press play on 1 track and it skips through the album without playing. I've tried deleting the album from PC and downloading again from match and even after syncing the album won't play on the ipod
    iPod touch, iOS 6.1

    I've just connected the ipod to my computer and checked the music on the iPod. The album that I am having trouble with shows an exclamation symbol next to it. I've tried deleting the album from iTunes and re downloading it then syncing but it doesn't appear to affect the information shown the iPod. The album neither deletes nor updates.

  • Using Final Cut Pro, can we create a subtitle which can be used in other applications?

    Can a subtitle file be created using FCP and later use in other application?

    Ian R. Brown wrote:
    You can create a title and export it as a video file to be used in any editing app but you won't be able to alter the words or layout once it has been exported.
    Export as ProRes 4444 if the title has alpha channel otherwise you'll lose the transparency.
    Andy

Maybe you are looking for

  • How to transfer certificate money from one account to another?

    I've deleted the AOL account that was my iTunes login. I had redeemed hundreds of dollars in iTunes certificates with that account, and now do not know how to access that money with my new username. Any ideas would be hugely appreciated...

  • New iPod Touch: restore WIFI settings

    I got a second iTouch and have successfully restored it from a backup of the previous one, but that didn't restore any WIFI configurations. Is that expected? Is there any way I can either get those configurations copied over or at least see the previ

  • How do I convert a PDF document into an editable document?

    How do I convert a PDF document into an editable document? All I see is a button to export as PDF. I purchased this program because it says, easily convert a pdf document into an editable word document. That is what I needed it for. Thanks

  • When I click on e-mail from the BT home page I get a blank screen.

    I run windowsXP for which back-up ended yesterday. Up until then I have had no problems at all with my e-mail.

  • Big problem with JFormattedTextField.

    When I use a JFormattedTextField to receive on input just letters when the JFormattedTextField loses focus it just clear the field! Why that? try  {          MaskFormatter mask = new MaskFormatter("????????????????????");          mask.setValidCharac