In TS how can I use a cvi panel launched by one .dll in a different .dll

I have a dll file that has common functions used by
several of our PCA's. In this dll I launch a console
window to dump RS232 strings to for user convenience.
Each PCA's also has it's own specific dll and I want
to dump RS232 strings to the console window that was
lauched by the common dll. Can I do this...

You can definitely call one common DLL from multiple other DLL's. Some things to watch out for:
1. If you are accessing your "common DLL" from multiple other programs (the DLL's for each of you PCA's) you need to set up some type of data protection. You may get unexpected results if one program is using the DLL, and another tries to access it. There are many ways to accomplish this. Try searching on MSDN (msdn.microsoft.com) for "multithread-safe DLL".
2. Since you will be writing to a panel that is created by the common DLL, you will have to set up a communications scheme to accomplish this. The easiest way would be to pass strings between the DLL's using exported function calls. So the common DLL will have an exported function, say "DisplayText(...)" whi
ch each of the PCA DLL's will call in order to pass in text to be displayed in the common window.
regards,
Eric Meyer
Applications Engineering
National Instruments

Similar Messages

  • How can i use Itunes to update more than one IPad with more than one owner

    How can i use Itunes to update more than one IPad with more than one owner?  I own an IPad and my wife owns an IPad.  I want to use my system to update both IPads.  We have different Apple Accounts and different applications.  Is this possible?

    Of course, that is too easy.  I am such a bonehead.

  • How can i use my iphone with more than one itunes

    how can i use my iphone with more than one itunes

    Sync iPod/iPad/iPhone with two computers
    Although it isn't possible to sync an Apple device with two different libraries it is possible to sync with the same logical library from multiple computers. Each library has an internal ID and when iTunes connects to your iPod/iPad/iPhone it compares the local ID with the one the device normally syncs with. If they are the same you can go ahead and sync...
    I have my library cloned to a small 1Tb USB drive which I can take between home & work. At either location I use SyncToy 2.1 to update the local copy with the external drive. Mac users should be able to find similar tools. I can open either of the local libraries or the one on the external drive and update the media content of my iPhone. The slight exception is Photos which normally connects to a specific folder on a specific machine, although that can easily be remapped to the current library if you create a "Photos" folder inside the iTunes Media folder so that syncing the iTunes folders keeps this up to date as well. I periodically sweep my library for new files & orphans with iTunes Folder Watch just in case I make changes at one location but then overwrite the library with a newer copy from the other. Again Mac users should be able to find similar tools.
    As long as your media is organised within an iTunes Music or Tunes Media folder, in turn held inside the main iTunes folder that has your library files (whether or not you let iTunes keep the media folder organised) each library can access items at the same relative path from the library folder so the library can be at different drives/paths on different machines. This solution ensures I always have adequate backups of my library and I can update my devices whenever I can connect to the same build of iTunes.
    When working with an iPhone earlier builds of iTunes would remove any file not physically present in the local library, even if there was an entry for it, making manual management practically redundant on the iPhone. This behaviour has been changed but it will still only permit manual management with a library that has the correct internal ID. If you don't want to sync your library between machines on a regular basis just copy the iTunes Library.itl file from the current "home" machine to any other you want to use, then clean out the library entries and import the local content you have on that box.
    tt2

  • How can I use LabWindows/CVI do Roulette Wheel ?

    This is LabVIEW's example.
    I want use cvi to like it. (push  start button & picture will be whirl)
    How do I create an image and Rotate it ?

    The LV program does not rotates the image: it recalculates and redraws it instead. You can observe that numbers are not rotated but are always drawn horizontally.
    You could replicate this behaviour using a canvas control and the appropriate functions to draw text and arcs and paint them. You can look at canvas.cws and piedemo.cws examples. They are already installed on your machine in samples directory: use the example finder (Helo >> Find examples menu function) to locate it.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How can I run a CVI panel in labview ???

    Seems simple enough... I want to create a DLL to be called from my labview VI using the "call library function". The DLL will have a panel that the user can navigate around and push buttons to invoke callbacks.
    Seems simple enough, but when I try this the buttons do not work. If I try to compile the DLL with the "real time only" runtime support, then it does not like the "LoadPanel, DiscardPanel, RunUserInterface", etc...  vital commands to run a panel.
    So what gives? anyone know how to create a DLL with an operable panel to be called from within a labview VI?
    I guess I should clarify, the callbacks are CVI callbacks.
    Much thanks in advance...

    Use LoadPanelEx instead of LoadPanel.
    And enable this in the setup:
    George Zou
    http://webspace.webring.com/people/og/gtoolbox

  • How can I use the move tool to drag ONE pixel at a time?

    The move tool is stuck to snapping at ~20 pixels at a time, so when I try to move a layer by a few pixels, its super frustrating. I dont want to have to use the arrow keys, I should be able to drag wherever I want.
    How can I stop the move tool from snapping? I want to drag things precisely. I am zoomed at 100% if that makes a difference. I cant find anything about this under Preferences.

    kelly-bot wrote:
    Thanks for the tip, but like I said, I dont want to always have to use the arrow keys. Is it not possible to actually DRAG one pixel at a time? I recently upgraded to CC from CS3 and I keep running into things that feel like a downgrade. Super disappointed.
    Our posts overlapped there.  Are you saying you could reliably drag one pixel with CS3? 
    What other issues are you having?  Things like the Crop tool can feel strange at first, but I promise you you'll never want to use Classic mode once you get used to it.

  • How can I use two apple id's on one macbook air?

    I have two accounts on my macbook air and two apple id's mine and my husbands. He has his set up on his account and I have mine set up on my account. Only problem is is that it seems we can only have one id associated with the computer at one time and to change it we have to wait 90 days.
    How can I get around this?

    One or both of you needs to buy your music on Amazon.  Then the re-downloading process will be from the Amazon Cloud, which, for obvious reasons, does not have any restrictions about Apple ID.

  • How can you use AirPlay Mirroring to always show one of your open desktop screens?

    I have Mountain Lion on a 2011 Mac, and have a number of desktop screens which I use regularly.
    My question is, how do I choose only one of those open desktop screens to beam to Apple TV via mirroring? For example, so that I can show a presentation on the projector screen (via Apple TV) and read the slide notes directly from a word document on the Mac screen (which the audience cannot see) or for example, to beam a full screen DVD to my TV so that the family can watch it, whilst I continue to actually work on the Mac on a different desktop screen?
    Hope that makes sense...
    Thanks
    Jonathan

    I understand your problem but don't think it's possible:( My only solution is to play my tutorials from the networked drive to my ATV2 while following along with the exercise materials. If you've found a solution please let me know? I thought it'd be possible to assign mirroring to one desktop, like I think you said in the original post, with some type of terminal command but no luck yet. Thanks

  • How can I use multiple front panel controls to be mirrors of each other?

    Hi All:
        I know this is going to be a strange question, but I have multiple inputs that control one output.  This in itself not necessarily difficult, but I have a strange need.  If one of the control inputs change I would like this to be indicated by the other controls.  For example, I have a slider, numeric and dial controls on the front panel that control RPM.  If the slider changes to 1000 RPM I would like the numeric and dial controls to see that change.  Is this possible.  If so, can you give me advice on doing this.  I am using 7.1.  Thanks for the help.
    John Honnold

    What you want is not that hard, but asked for a rather  limited times.
    Here's a how to:
    Drop a slider
    Right click Visible items-> Digital display
    Right click on the slider Advanced-> Customize
    Right click on the Digital display Replace select the control you want to replace it with (a gauge for instance)
    Right click on the Gauge Visible items -> Digital Display
    Now you have one control with three control options:
    This was done in 8.2 but I think the same goes for 7.1
    Ton
    Message Edited by TonP on 04-06-2009 09:52 AM
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!
    Attachments:
    Example_VI.png ‏7 KB

  • How can I use my HP 1315 All-in-One scan features on my computer?

    I am able to use the printing function from my computer but am unable to use the scanning feature on my printer.  I have downloaded the Apple stuff and have searched HP (many features, including a diagnostic test, are blocked by Apple!!) and can't figure out how to use my scanner on the printer.  The suggestions from Apple (web help) are not helpful in the least.  I have a HP 1315 All-in-One (1310 Series) and the Mac installation disk will not work on my MacBook.  Any suggestions will be helpfull.  In advance, thank you!!

    Set System Preferences > Security : Gatekeeper: Anywhere
    Visit HP site, find your necessary software, download and install.
    You know where not to download potentially malicious software from right?
    How to download and install programs
    The install disk is too old, you need the newer software version direct from HP and to apply the update.
    http://www8.hp.com/us/en/support-drivers.html
    Click Driver and proceed....

  • How can I use the accordion panel widget with a footer?

    Hi,
    My question is may be not clear. So I'm gonna be more specific. I'm using a menu for my website with the accordion panel widget. The menu is working fine and when I'm opening it, it pushs the items below on the pages.
    My problem is with the footer of the page. Because, when the items below the widgets are pushed, they go below the footer and the footer is not pushed.
    Is there any way to pushe the footer when I use the accordion widget? I don t want to overlap it.

    I assume this is what you want to achieve in the footer....
    Make sure in Muse before you export that the panel is closed, and also as Brad suggested, make sure Overlap Items Below is unchecked. I would also check the "Can Close All" button.

  • How can I use two drop down lists for one time value?

    I want to enter the length of time that someone does an activity in hours and minutes using two drop down lists, then enter them as a single time value (H:i:s) in Mysql.
    I've used the basic drop down lists, and a few different variations of the following with no success (seconds is a hidden field with a value of "00"):
                           GetSQLValueString(strftime('%H:%i:%s', strtotime($_POST["sleeptimemin"]." ".$_POST["sleeptimehr"]." ".$_POST["seconds"])), "date"),
    This returns 00:00:16, no matter what is selected on the drop down list.
    Any help would be appreciated.

    MySQL stores times in human-understandable format, using the 24-hour clock.
    GetSQLValueString($_POST['sleeptimehr'] . ':' . $_POST['sleeptimemin'] . ':00', "date"),

  • How can I use the tabbed panel with the accordion panel options of close all panels and over/not overlap the items below?

    Ideas for features in Adobe Muse

    I assume this is what you want to achieve in the footer....
    Make sure in Muse before you export that the panel is closed, and also as Brad suggested, make sure Overlap Items Below is unchecked. I would also check the "Can Close All" button.

  • How can I use the N8 with more then one VOIP-Accou...

    Hello,
    on my older Nokia-phones (N82 and E52) there wasn't a problem to use more then 2 different VOIP-Accounts. Now I have successfully create one VOIP-Account on my N8. The target should be to create an another (different) VOIP-Account and switch to this, if it's necessary. The second VOIP-Account should be a backup-solution ;-)
    Thanks

    OK, so did you try creating a second VOIP account on the N8?  What steps did you try, and what were the results?  If you post specific details, you will get better answers.
    Lumia 920, Lumia 800
    Nokia N8-00 (NAM, Product Code: 059C8T6), Symbian Belle, Type RM-596, 111.030.0609
    Nokia 5800 XpressMusic (NAM, Product Code: 0577454) Software v51.2.007, Type RM-428

  • HT201303 How can i use the 10 dollar credit from one apple accont on another

    I have purchased an apple itunes 10 dollar card and it doesnt allow me to make a purchase with the credit instead of with my debit card

    Why do you say this?
    It actually charged your credit card?
    or did it simply ask to verify your billing info?
    Does your credit show in the itunes store?

Maybe you are looking for