Can a C++ sub-program invoked as a cin node call a LabView sub-vi as a "function"

The subject says it all, we have a mostly LabView system that controls a numerical
simulation program. We would like to add a new numerical analysis package written
in C. To be used as written this C package must call one of our LabView sub-vi's
as a function numerous times. Can this be done?
-thanks

> The subject says it all, we have a mostly LabView system that controls a numerical
> simulation program. We would like to add a new numerical analysis package written
> in C. To be used as written this C package must call one of our LabView sub-vi's
> as a function numerous times. Can this be done?
>
CINs are one way of doing this, but they are C code written specifically
for LV.
A better solution is to use the Call Library Function node, or the DLL node.
Your C code may already be built into a DLL. If not, it is easier and more
familiar to the people doing it.
Another option is to use a built EXE and the System Exec node. Note
that a
DLL has multiple entrypoints that can be called at different times to provide
lots of flexibility. An EXE has few, typically o
ne, entrypoint and is sort
of difficult to control once it is up.
Another option, if the C code is written this way already is to use an
automation interface -- an ActiveX interface. This is really about the
same as a DLL, but it follows certain standards so that ActiveX client
programs can access things in a standard way.
Be sure to look at the Code Interface or external code manual. It should
be a pdf manual in the help directory.
Greg McKaskle

Similar Messages

  • I am using a code based typesetting program (not WYSISYG) that outputs PDFs. I am producing 100 plus pages that have multiple graphics on each page. I need to know how to format a PDF command that I can incllude in my programming that will tag my graphics

    I am using a code based typesetting program (not WYSISYG) that outputs PDFs. I am producing 100 plus pages that have multiple graphics on each page. I need to know how to format a PDF command that I can incllude in my programming that will tag my graphics with "Alternative Text".
    I know that with a Microsoft product graphics can be tagged before a PDF is made. I need to know how to do this with my programming.

    The Acrobat SDK might be a starting point.
    From there, perhaps a plug-in (built with C+).
    Perhaps with a licensed release of a PDF Library (this could be $$).
    The viable and cost effective alternative is use the tried and true.
    Authoring in an appropriate authoring application with appropriate tag management.
    Example:  Adobe InDesign; Adobe FrameMaker or MS Word with PDFMaker (comes with install of Acrobat).
    This way you place "Alternative Text" when mastering content in the authoring file.
    Going the route and with some look-see (research) you may find programmatic approaches to placing the alt txt in the authoring file.
    Note: as discussed in the Matterhorn Protocols there is no programmatic method that provides a fully accessible PDF (specifically, that is an ISO 14289-1, PDF/UA-1 compliant PDF).
    Regardless, here you have a sub-forum for discussions on Acrobat usage.
    Consequently discussions on/of 3rd party software is rather out of scope eh.
    Be well...

  • Queue can not popup dialog program or VI

    hello everybody,
              I program this , push "E" key, but not see popup  VI or dialog program. Who can help me to analyse and solute it ? thank you .....
    Solved!
    Go to Solution.

    Bit880 wrote:
    my mind is when I push "E","F","G","0" key can open their sub vi, but debug only can see sub vi is running, however , can not see dialog box, why?
    Which dialog box?  As previously suggested, it would help if you attach your VIs.  Without that we have no idea what you're trying to do.
    Is your subVI a dialog box?  You may need to open VI Properties, go to the Window Appearance page, click Customize, and set the option for "Show Front Panel when Called."

  • I have a Macbook Air that had some coffee spilled on the keyboard and as a result the plus/equals key is no longer functioning. Can I use a program like Ukelele to reprogram a different key to be my plus/equals key? Can I program a function key? key

    I have a Macbook Air that had some coffee spilled on the keyboard and as a result the plus/equals key is no longer functioning. Can I use a program like Ukelele to re-program another key to do that function? Can I re-program a function key to do this function?

    Water + electronics do not mix.  Something was damaged insode, and the logic board may be corroding as is.
    Take it to a Genius Bar for an evaluation and repair estimate.
    This is accidental damage and not covered by warranty.

  • Links in Windows (7, 64-bit) doesn't open, getting error:" [link] Can't find the program", help!?

    Everytime I click a link that's not in the actual browser window, could be from a word doc, pdf-file or just plain info link in windows gadgets, I get an error:
    [Clicked link]
    Can't find the program
    I have:
    Windows 7 64-bit
    Firefox 4 RC 1
    Firefox is standard browser and installed at default location.
    please help, it's getting really annoying!!

    This is what I get when opening a link from Outlook 2010.
    Windows 7 64bit
    Firefox 4 RC
    Firefox 4 is set as the default browser
    Links won't open in FF4 from any external programs (tweetdeck, outlook, word, etc.)

  • Hello all.   Hope someone can help me. I recently downloaded some  updates for my imac.  Since doing this the computer starts up but I get no logon box.  The home screen opens but I can't open any programs or files. I've tried rebooting, no joy. Help!!

    Hello all..   I hope someone here can help.  I recently downloaded some updates to my imac.  Since then the computer starts but I get the home screen opening without the logon box.    I can't open any programs or files and if I click on the Safari tab it disappears from the dock.  I've tried rebooting with no joy.
    I contacted technical help at Apple and was told to hold down the ctrl and alt keys with two other keys, I think the S or P keys when powering up. This worked
    and the computer seemed fine but now the problem has reappeared.  Is there a way to removed downloaded updates from the computer or revert it to an earlier state?   Sorry for the long question. Hopefully one of you clever people can help.   Simon

    Clntxwhtby wrote:
    Hay thank you for your time . I do that every time I know I am online. It says that I am up to date . I have found that I have 10.4.11 version, and that my boot version is 10.6.2, and that my kernel version is 8.11.1.
    I have a hard drive icon on my desktop that says 10.6.2....
    I use to have iphoto, it doesnt open anymore, it says there is 1.2gigs on that disk.There are many things on here that are the same way. Where do I start?
    It's always good to go with one thing at a time and stay focused on that. Let's start with the OS you're running. Click on the Apple menu > About This Mac. What does it say under Mac OS X version ?

  • Can we use same program ID for more than one RFC scenarios

    Hi experts,
                I am working on a RFC to FILE scenario. I have created one TCP/IP connection in SM59 with a program ID. Can we use this program ID for more than one scenario. I have written code as below
    data: iquote type standard table of ZIQMD initial size 0,
          IPRODUCT type standard table of ZPMS initial size 0,
          wa_quote type ZIQMD,
          wa_PRODUCT type ZPMS.
    CALL FUNCTION 'Z_CBT_RFC_QUOTEMASTER'
      TABLES
        I_QUOTE       = iquote          .
    CALL FUNCTION 'Z_CBT_RFC_QUOTEMASTER' in background task DESTINATION
    'ID4'
      TABLES
        I_QUOTE       = iquote          .
      COMMIT WORK.
    CALL FUNCTION 'Z_CBT_RFC_PRODUCTMASTER'
      TABLES
        IPRODUCT       = IPRODUCT          .
    CALL FUNCTION 'Z_CBT_RFC_PRODUCTMASTER' in background task DESTINATION
    'ID4'
      TABLES
        IPRODUCT       = IPRODUCT          .
        COMMIT WORK.
    when i am executing the code like this. i am able to send the data to 'Z_CBT_RFC_QUOTEMASTER'  , but iam not getting data  for 'Z_CBT_RFC_PRODUCTMASTER'  interface. ID4 is the connection that i have created in SM59. with program ID as ABCD.
                  Can i use the same connection for all interfaces.Please help in this, if we can use same connection for all interfaces. then how to make changes in XI.
    Thanks in advance.
    Thanks & Regards,
    Poorna.

    Just tried this and I can confirm that my earlier understanding was correct!
    One of my colleagues confused me out and the conclusion is,
    1. You need a separate TCP IP Connection for every interface with a Unique program ID.
    Regards
    Bhavesh

  • Help. I have Creative Suites 5.5 on my MacBook Pro. Unfortunately, I had a major malfunction and must reformat the disk. How do I transfer Creative Suites to my desktop if I can't locate the programs booting up from my startup edrive?

    Help. I have Creative Suites 5.5 on my MacBook Pro. Unfortunately, I had a major malfunction and must reformat the disk. How do I transfer Creative Suites to my desktop if I can't locate the programs booting up from my startup edrive?

    http://helpx.adobe.com/creative-suite/kb/cs5-5-product-downloads.html
    Mylenium

  • In Lion, running on an i MAC (late 2006), how can I stop certain programs from automatically starting up when I start my MAC?

    In Lion, running on an I MAC, (late 2006), how can I stop certain programs (iTunes, Word) from automatically starting up when I start the computer?

    Any application that is open when you shut down will re-open when you restart unless you deselect this when shutting down/restarting:
    Also check System Preferences>Users & Groups>Login items tab and make sure there's nothing listed there that you don't want launched.

  • I have Photoshop CS4,on how many computers can you install this program ?

    Hello,
    I got Photoshop CS4. On how many computers can you install this program ?
    Sonste

    The license and activation rights are for a single user on two computers that are not used simultaneously—such as your desktop machine and your laptop.

  • When i bought my mac I used an old app account that i do not remember it's password, so i had to open a new one but i can't updates my programs, so what should i do !

    when i bought my mac I used an old app account that i do not remember it's password, so i had to open a new one but i can't updates my programs, so what should i do !

    Better to use the original Apple ID used when you set up your Mac.
    Help here >  Apple ID: How to find your Apple ID

  • I would like to read a text file in which the decimal numbers are using dots instead of commas. Is there a way of converting this in labVIEW, or how can I get the program to enterpret the figures in the correct way?

    The program doest enterpret my figures from the text file in the correct way since the numbers contain dots instead of commas. Is there a way to fix this in labVIEW, or do I have to change the files before reading them in the program? Thanks beforehend!

    You must go in the labview option menu, you can select 'use the local
    separator' in the front side submenu (LV6i).
    If you use the "From Exponential/Fract/Eng" vi, you are able to select this
    opton (with a boolean) without changing the labview parameters.
    (sorry for my english)
    Lange Jerome
    FRANCE
    "Nina" a ecrit dans le message news:
    [email protected]..
    > I would like to read a text file in which the decimal numbers are
    > using dots instead of commas. Is there a way of converting this in
    > labVIEW, or how can I get the program to enterpret the figures in the
    > correct way?
    >
    > The program doest enterpret my figures from the text file in the
    > correct way since the numbers contain dots instea
    d of commas. Is there
    > a way to fix this in labVIEW, or do I have to change the files before
    > reading them in the program? Thanks beforehend!

  • Can I choose which programs or apps upload data to iCloud?

    My iCloud account tells me that my 5GB are full (that's right from the start when I updated the software to iOS5 :-S) Well, I noticed that there are actually just a few apps that I would want to make data backups for in iCloud. Can I choose which programs use that function? The only option I found so far is to turn the data backup function off or on, for ALL the apps. But I only want to use it for a FEW ones! Is this supported in iOS5??
    PS. How come it gets full so quickly? The programs that uses most data (Hipstamatic for example) use only barely 0,5GB. So what I can see the 5GB shouldn't be full yet. What have I missed?

    I think starting from the second home screen, the new app will be placed in the first available space. If this is the case, you would be able to control the placement manually by making sure your landing screen has empty icon slots and all previous screens, with the exception of the first one, have all of the icon slots occupied. I did run across an app that seemed like it would allow the user to create placeholder icons on the home screens but I can not think of the keywords to pull it up now. There are several icon creators/enhancers that may do the same thing. You can use one of these apps or use the Safari button to Add to Home Screen, to fill up the screens. You could even use a folder to store and deploy your screen filler icons. It seems like it would be more trouble than it's worth but I do have my home screens assigned for different roles. Hopefully Apple will continue to refine the user interface.

  • How can i change a program from Request/Task ?

    Hi everybody
    I have a main program in some request/task number and some include in other request/task numer; i want to transport them in the same task.
    How can i change a program/include from one request/task to other ?
    Thanks
    Frank

    The simplest way is to go TR.SE09 and go to your request "Delete the Object " and again go to your object and save it it `ll ask for request ..add it where ever you want .
    Thanks
    SK

  • I have a hp C410 all-in-one series printer.  When I updated to 10.8.1 it was no longer supported.  HP told me to go to the Apple system updates and download an installation program.  I can't find that program in my Apple updates file.

    I have a hp C410 all-in-one series printer.  When I updated to 10.8.1 it was no longer supported.  HP told me to go to the Apple system updates and download an installation program update.  I can't find that program in my Apple updates file.  Please help.

    From the HP Support site, this may help:)
    "Re: Problem with latest HP software update for Mountain Lion and HP Photosmart Premier C410.
    Options 
    08-10-2012 10:54 AM
    Download and install this: http://support.apple.com/kb/DL907
    Reset the printing system:
    - Go to System Preferences > Print & Scan
    - Right (or control) click in the rectangle listing your printers and select Reset Printing System.
    WARNING - this will delete ALL of your printers!
    - Select the plus sign to re-add a printer. Select the Defualt tab on the top of the window. Look for the printer, select it and wait until the "Add" button becomes available. Click it."
    Hope this helps

Maybe you are looking for

  • Simple Q. how to store/publish acrobat form and "return" as email attachment

    New to acrobat.com and wondering if this can be done (with acrobat.com). I have roughly 20 acrobat forms that I want to be accessible on the internet for about 5 specific people to access via the internet. The goal would be for them to click on the a

  • New MBP retina migration question

    If I buy the new MBP I prefer to use the new thunderbolt - firewire dongle for migration assistant in target disk mode since they have eliminated the firewire port. However, this dongle is not yet available and a search shows MB air owners have been

  • How to remove and destroy Mac Book hard drive

    I have an old MacBook no longer working, won't even fire up.  I wish to dispose of it but even though it is not working I would like to make sure everything on it is wiped.  So I guess I need to remove the hard drive and smash it? How do I remove it?

  • Icons not changing?

    I just got Mavrericks. Before I updated, I used Candybar to change my application icons. Including system icons and icons like Garageband, iMovie, etc. However, after updating, I realized that Candybar is outdated. I want to delete my current icons a

  • Parallel hint as part of index not working

    Hello, I think that I am misusing the parallel hint on this one, and would appreciate some guidance. I have an insert statement as such: INSERT INTO TABLE1 SELECT column1, column2 FROM table2; I modified the query so that it has a parallel: SELECT /*