The best shipping Example

I've run across what may be the best shipping example in LabVIEW, that is if your .dll’ly challenged like me.
It’s an example called "Call DLL.vi". You can find through the Example Finder or directly at "...National Instruments\LabVIEW 7.1\examples\dll\data passing\Call Native Code.llb\Call DLL.vi".
This VI lists all the C and C++ data types and their LabVIEW equivalents. Each data type has
an example VI that demonstrates the use of the Call Library Function Node for that data type. It also shows the C source code for that function in the dll and some note/cautions to be aware of when using that data type.
It first shipped with 7.0 and is also in 7.1.
Kudos to the NI person that wrote this fine example. If you’re at NIWeek this year, look me up some evening in the exhibition hall and I’ll "buy" you beer.
Ed
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

I'll have to see if I can find the older example. I have to write a bunch of dll wrappers in LabVIEW 6 and this one won't convert directly because it uses dynamic events. It wouldn't be that hard to rewrite though. I guess I could always just keep 7.1 open on the side for reference.
Ed
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

Similar Messages

  • ANSI C shipping examples for the NI-DAQmx C API are installed

    ANSI C shipping examples for the NI-DAQmx C API are installed as part of the language support and are available under Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C.
    I can not locate the examples
    I did install the software and
    Program Files\National Instruments\NI-DAQ\ does exist but no examples

    Hi asterof,
    I am not sure exactly which examples you are referring to in the ANSI C directory (dsp,dsw), but I believe that all of the examples were written in Visual C++ 6. Along with the C code, each example contains a Visual C++ 6 Project file and a Visual C++ 6 Workspace file.
    Keep me posted if you have additional questions.
    Message Edited by Jordan D on 04-16-2008 12:52 PM
    Best regards,
    Jordan D
    Applications Engineering
    National Instruments

  • What is the best way to arrange Videos on a Page? Do you have any examples?

    I'm trying to design an iWeb page strictly for [YouTube] videos and am still perplexed with what the best arrangement is. See my video page here: http://servalonline.com/Serval_Online/Video.html. As you can see, IT *****! Do you have any examples on your site? i.e. a page with videos, that you can share with me? Thanks.

    Chuka wrote:
    Do you have any examples on your site? i.e. a page with videos, that you can share with me?
    They're obviously not my sites, but perhaps they'll give you some layout ideas:
    http://www.bbc.co.uk/news/videoandaudio
    http://www.ted.com/talks
    http://devour.com

  • Best way to create an array of bound values (to the resourceManager for example)

    What's the best practice for creating an array (array collection) where each element is bound to another value?
    An example would be an array of error strings that are used by an application.  Each string needs to change as the resource manager changes.
    Passing a list of strings to a list control is another example.  These should get localized as well.

    hobby1 wrote:
    Crossrulz, I was planning on handling it like this: 
    I have a total of 17 element I need to build an array from.  Each case would include another element to be written to the array.  Is this the correct way to handle this?
    Thats one way to do it.  Not nearly as efficient as using the Build Array, but it will work.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • What's the best way to print content of javax Object (JTable for example)?

    Hi there,
    1) I would like to know the best way to print content of jtable (for example)
    2) I would like to know how can I Print content of SQL statment (for example "SELECT ID, NAME FROM COMPANY")?
    Best Regard,
    Eyal
    [email protected]

    Depends on what you want printed. You can do something like System.out.println(myTable);but you may not like what you see. If you want to print anything else, extend JTable and create a new toString() method that prints out what you want.
    As for printing a SQL statement - assuming it is in a String, you can just do System.out.println(mySQLStatement);

  • What's the best way to ship an iMac

    Hello,
    I'm going to be selling my iMac.  I do not have the original box.  What is the best way to ship it?  Specifically, what kind of box, should I use bubble wrap, etc?

    I just went through this and thought I'd add to this thread. An earlier post suggested going to an Apple Store and having them pack it. This did not work for me. When I called my Apple Store (Lenox in Atlanta) they first said that they had just gotten rid of all their boxes but to call back in two days. When I did that, they HUNG UP on me when I asked if they could pack my computer! I called Apple phone support to ask whether the bit posted on the online support community, about Apple Stores packing computers, was wrong. They said it depends on the store. So I called the Atlanta Perimeter location, and they were very helpful. They would have been happy to get a box for me, but my iMac is six months old so the new boxes would not fit my iMac. I ended up going to UPS to have it boxed. It cost about $25. So, if your computer is new (exact same size as new ones), I recommend calling an Apple Store but there is no guarantee they will listen to your question (in Altanta, Perimeter store = very helpful, Lenox store = hangup). If that fails, go to UPS.

  • HOW MUCH IS THE SHIPPING FOR THE BEST EVERS SKIN???

    How much is the shipping and handling for the best ever skin?

    Allan,
    I don't mean to sound rude, but why ask this on an Apple site? Why not go to their site and find out?
    www.bestskinsever.com
    Cheers!
    -Bryan

  • Shared Ball example works poorly! Is this the best FMS can do?

    I used AS2 to recreate the shared ball example ( a simplified version) but the ball is really jerky. I've set so.setFps(60) and it's just as bad. The active client is only updated when the mouse stops (the ball simply follows the mouse in my version) and the receiving client is very jerky even with swf framerate set to 60fps! Any suggestions? Or is FMS just for video (I don't plan to recreate Youtube)? I am really disappointed and frustrated.
    Thanks for any suggestions

    Thanks, Lisa, but I have tried that. The code is simple:
    connect to the server: nc = new netconnection
    nc.connect(url)
    so = SharedObject.getRemote(nc)
    so.onSync = function(list){ //update ball.xy here}
    and that's it!
    I don't know what else is there to do. It works, just very poorly. I've scoured the docs and can't seem to find any alternatives. The server performance shows mem/CPU usage so low it's not even registering. Bandwidth is also very low as the client is being tested on the development server. I've written realtime multiplayer-code using PHP that performed better! and that was on a shared hosted server that I didn't control that was "who-knows-where." Is it because I'm using the free development server? I need to impress my supervisor before I can recommend this product or we're going back to open source. I hope not because FMS is easier to code.
    Any other suggestions are welcome. Thanks

  • Where is the best place to buy a replacement screen for late 2007 Macbook (3.1)?

    All,
    My screen needs to be replaced on my late 2007 Macbook.  I am willing to do the work myself, but need help in finding the correct model screen to buy.  Where would be the best place to buy?

    Depending on your geographical location, region, country, etc, part
    sources will vary. So this is an open question. An independent
    authorized Apple trained repair specialist or service facilitiy may
    be able to get the part(s) and do the service. That is an old MB
    and a regular Apple Store may be able to diagnose or estimate
    a repair cost; but it also could be too old for that route to repair.
    A best place to buy a part could be anywhere one is for sale;
    there are several online and some ship almost world-wide.
    If you are in north America, there are some who also may ship
    to other areas, but then there is shipping, taxes, duty fees, etc.
    You may be able to narrow down the part numbers and such
    by looking into online parts resellers, an example may be
    powerbookmedic.com, powermax.com, wegenermedia, etc.
    There may be a part number reference in iFixit.com guides.
    A service part such as main original hardware is more difficult
    than a replacement hard disk drive or optical drive. Availability
    varies, so without knowing where you are, I can't speculate as
    to that, or any price structure. Authorized repair centers may
    be found in the main online Apple links for service centers.
    Sorry to not be of much help

  • How to write a  SQL based on a  view can get the best performance ?

    Hi ,
        I am thinking about performance of  sql based on VIEW .<b>For the best performance ,How to do when I create  and use a view ?</b>  for example , Should i use key in my where clause as select data from table?  (of cause ,this key refers to the key of table which structure the view. ) , <b>Could you give me any advice on creating and using view in term of performance</b> ?

    Hi Guixin Chen,
    Performance depends on various factors. The major key factors are:
    1.  Result Set should be Small
    2.  Amount of Data Transferred should be minimum.
    3.  Number of Data Transfers should be minimum.
    4.  Search Overhead should be minimum.
    5.  Database Load should be minimum.
    For more details, check the following docs.
    <b>Performance Notes</b>
    http://help.sap.com/saphelp_nw04s/helpdata/en/fc/eb3b7e358411d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/5b/320c40ac368f5ce10000000a155106/frameset.htm
    You can also check Performance by,
    1.  Transaction code ST05
    2.   From ABAP Workbench using the menu path Test Performance Trace.
    Dont forget to reward pts, if it helps ;>)
    Regards,
    Rakesh.

  • Which is the best app to clean my mac? MacKeeper?

    i need to know what you recommend me to clean my computer. I have read that MacKeeper is not good at all so i don´t know what should i do.
    thanks

    If you have a problem, please describe it, rather than your conclusion as to how it should be solved. Otherwise, see below.
    How to maintain a Mac
    1. Make redundant backups, keeping at least one off site at all times. One backup is not enough. Don’t back up your backups; all should be made directly from the original data. Don’t rely completely on any single backup method, such as Time Machine. If you get an indication that a backup has failed, don't ignore it.
    2. Keep your software up to date. In the App Store or Software Update preference pane (depending on the OS version), you can configure automatic notifications of updates to OS X and other Mac App Store products. Some third-party applications from other sources have a similar feature, if you don’t mind letting them phone home. Otherwise you have to check yourself on a regular basis.
    Keeping up to date is especially important for complex software that modifies the operating system, such as device drivers. Before installing any Apple update, you must check that all such modifications that you use are compatible. Incompatibility with third-party software is by far the most common cause of trouble with system updates.
    3. Don't install crapware, such as “themes,” "haxies," “add-ons,” “toolbars,” “enhancers," “optimizers,” “accelerators,” "boosters," “extenders,” “cleaners,” "doctors," "tune-ups," “defragmenters,” “firewalls,” "barriers," “guardians,” “defenders,” “protectors,” most “plugins,” commercial "virus scanners,” "disk tools," or "utilities." With very few exceptions, such stuff is useless or worse than useless. Above all, avoid any software that purports to change the look and feel of the user interface.
    It's not much of an exaggeration to say that the whole "utility" software industry for the Mac is a fraud on consumers. The most extreme example is the “MacKeeper” scam.
    As a rule, the only software you should install is that which directly enables you to do the things you use a computer for, and doesn't change the way other software works.
    Safari extensions, and perhaps the equivalent for other web browsers, are a partial exception to the above rule. Most are safe, and they're easy to get rid of if they don't work. Some may cause the browser to crash or otherwise malfunction.  Some are malicious. Use with caution, and install only well-known extensions from relatively trustworthy sources, such as the Safari Extensions Gallery.
    Never install any third-party software unless you know how to uninstall it. Otherwise you may create problems that are very hard to solve.
    4. Beware of malware. Malware is malicious software that circulates on the Internet. This kind of attack on OS X used to be so rare that it was hardly a concern, but it's now increasingly common, and increasingly dangerous.
    There is some built-in protection against downloading malware, but you can’t rely on it — the attackers are always at least one day ahead of the defense. You can’t rely on third-party protection either. What you can rely on is common-sense awareness — not paranoia, which only makes you more vulnerable.
    Never install software from an untrustworthy or unknown source. If in doubt, do some research. Any website that prompts you to install a “codec” or “plugin” that comes from the same site, or an unknown site, is untrustworthy. Software with a corporate brand, such as Adobe Flash Player, must come directly from the developer's website. No intermediary is acceptable, and don’t trust links unless you know how to parse them. Any file that is automatically downloaded from the web, without your having requested it, should go straight into the Trash. A web page that tells you that your computer has a “virus,” or that anything else is wrong with it, is a scam.
    In OS X 10.7.5 or later, downloaded applications and Installer packages that have not been digitally signed by a developer registered with Apple are blocked from loading by default. The block can be overridden, but think carefully before you do so.
    Because of recurring security issues in Java, it’s best to disable it in your web browsers, if it’s installed. Few websites have Java content nowadays, so you won’t be missing much. This action is mandatory if you’re running any version of OS X older than 10.6.8 with the latest Java update. Note: Java has nothing to do with JavaScript, despite the similar names. Don't install Java unless you're sure you need it. Most people don't.
    5. Don't fill up your boot volume. A common mistake is adding more and more large files to your home folder until you start to get warnings that you're out of space, which may be followed in short order by a boot failure. This is more prone to happen on the newer Macs that come with an internal SSD instead of the traditional hard drive. The drive can be very nearly full before you become aware of the problem.
    While it's not true that you should or must keep any particular percentage of space free, you should monitor your storage use and make sure you're not in immediate danger of using it up. According to Apple documentation, you need at least 9 GB of free space on the startup volume for normal operation.
    If storage space is running low, use a tool such as OmniDiskSweeper to explore the volume and find out what's taking up the most space. Move seldom-used large files to secondary storage.
    6. Relax, don’t do it. Besides the above, no routine maintenance is necessary or beneficial for the vast majority of users; specifically not “cleaning caches,” “zapping the PRAM,” "resetting the SMC," “rebuilding the directory,” "defragmenting the drive," “running periodic scripts,” “dumping logs,” "deleting temp files," “scanning for viruses,” "purging memory," "checking for bad blocks," "testing the hardware," or “repairing permissions.” Such measures are either completely pointless or are useful only for solving problems, not for prevention.
    To use a Mac effectively, you have to free yourself from the Windows mindset that every computer needs regular downtime maintenance such as "defragging" and "registry cleaning." Those concepts do not apply to the Mac platform. A computing device should not be a focus of your attention. It should be an almost invisible tool by means of which you communicate, work, and play. If you want a machine that is always whining for your attention like a neurotic dog, use a PC.
    The very height of futility is running an expensive third-party application called “Disk Warrior” when nothing is wrong, or even when something is wrong and you have backups, which you must have. Disk Warrior is a data-salvage tool, not a maintenance tool, and you will never need it if your backups are adequate. Don’t waste money on it or anything like it.

  • What would be the best way to use a list in a textarea to compare to values in a column in a database table?

    I'm trying to move a table from a MS Access database to a datasource online so I don't have to be the only one that can perform a specific task.
    Right now I regularly am having to assess change requests to determine if it impacts the servers my team supports.  Currently I copy and paste the text list into a temporary table in MS Access then hit a button to run a query comparing what was in that list to my server inventory.  Works fine but now I need to move this online so others can do this in a place where we can also keep everyone using the exact same inventory and am planning on using a ColdFusion server.
    So what I believe would be easiest is to create a form that has a textarea where I can just copy and paste what is in the change request and then hit a submit button and go to the next page where it would list all the servers that matched (with all the other info I also need).
    Almost always the info would hit the textarea with a separate row for each server with no other delimiters, etc.
    Example info in textarea:
    servername1
    servername2
    servername3
    What is the best/easiest way in the SQL code on the following page to take the values from the textarea the way they are listed and return results of any that match the server name column from that list?  What CF functions and SQL coding are needed?
    I've done something in the past where I did WHERE Server IN (#PreserveSingleQuotes(Form.ServerList)#)...
    But I had to input 'servername1', 'servername2', 'servername3' in the text box and with how often we'll be copying lists as show above from a text area or from an excel column I'd really like a way to get from the example above to the results I need without having to manipulate.  Sometimes the list I'm comparing against may be 300+ servers and adding that formatting is not desirable.
    Any help would be appreciated.

    So here is a solution I came up with
    <cfoutput>
    <cfset Servers="#StripCR(Form.ServerList)#">
    <cfset Servers2="'#Replace(Servers, "
    ", " ", "All")#'">
    <cfset Servers3="#ToString(Servers2)#">
    <cfset Servers4="#Replace(Servers3, " ", "', '", "All")#">
    </cfoutput>
    Then in the cfquery SQL I used
    WHERE Server IN (#PreserveSingleQuotes(Servers4)#)
    Right now this is working but it seems very cumbersome.  If anyone can come up with a way to simplify this please let me know.

  • Is inDesign the best product for publishing an interactive training manual?

    I am building an interactive training manual for a fire department and I need to find out the best way to publish this document for use on an iPad or other tablet.  I will be embedding video, text, and photos, along with stacking photos for the 360 degree view.  So far I have read that there is a 2GB size limitation for articles.  I've also read that there is was way to publish privately if it becomes difficult to download from acrobat.com.  I would like this training manual to be all inclusive without having to break it up into multiple articles.  I would like to embed over 3 hours of video, over 200 photographs, over 260 pages of text, and have interactivity throughout.  Is this out of inDesign's scope?  Is there a way to publish this large of a document to multiple iPads without using the App Store or Android Market?  I'm just starting out so I'm looking forward for any constructive help I can get.

    HOW interactive are we talking here? Buttons with rollovers, menus, or the ability to fill in answers like a workbook?
    A freelance client of mine wanted to prepare a workbook with "interactivity" and all looked well... until i was told what "interactive" meant. This example was a science workbook for schools which behaved as a facsimile of the normal book which would be filled in by hand, except that answers were not always checkboxes or text. Sometimes answers would be:
    plot a graph
    draw a picture of an amoeba (for example) and label the parts; or draw the diagram of isopropyl alcohol;
    fill in a crossword
    join the correct reducing agent to the correct oxidising agent
    AFAIK this kind of interactivity isn't possible with the off-the-shelf indesign, and i don't know of any third party software which provides this kind of interactivity. Yes, the author could have been asked to rephrase the questions to fit the limitations of indesign's fill-in forms and interactivity, but the author did not want this.
    Also, is tablet-specific software the right platform to use? Perhaps a website with a paywall may be a better form of distribution and construction, allowing a RIA (Rich Internet Application) to be made for the project.

  • What is the best way to read and manipulate large data in excel files and show them in Sharepoint

    Hi ,
    I have a large excel file that has 700,000 records in it. The excel file has a few columns that change every day.
    What is the best way to read the data form the excel file in fastest and most efficient way.
    2 nd Problem,
    I have one excel file that has many rows each row contain some data that has certain keywords.
    What I want is  to segregate the data of rows into respective sheets(tabs ) in the workbook.
    for example in rows have following data 
    1. Alfa
    2beta
    3 gama
    4beta
    5gama
    6gama
    7alfa
    in excel
    I want there to be 3 tabs now with each of the key words alfa beta and gamma.

    Hi,
    I don't really see any better options for SharePoint. SharePoint use other production called 'Office Web App' to allow users to view/edit Microsoft Office documents (word, excel etc.). But the web version of excel doesn't support that much records as well
    as there's size limitations (probably the default max size is 10MB).
    Regarding second problem, I think you need some custom solutions (like a SharePoint timer job/webpart ) to read and present data.
    However, if you can reduce the excel file records to something near 16k (which is supported rows in web version of excel) then you can use SharePoint Excel service to refresh data automatically in the excel file in SharePoint from some external sources.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • I am a new mac user and I switch to mac due to the graphics that it brings. I do website in pc and I heard iweb is the best.NOW i heard that iweb will be discontinue. so what is the best application there for website using MAC OSX lion?

    I am a new mac user and I switch to mac due to the graphics that it brings. I do website in pc and I heard iweb is the best.NOW i heard that iweb will be discontinue. so what is the best application there for website using MAC OSX lion?

    It is now confirmed  that iWeb, and iDVD, has been discontinued by Apple. This is evidenced by the fact that new Macs are shipping with iLife 11 installed but without iWeb and iDVD.
    On June 30, 2012 MobileMe will be shutdown. However, iWeb will still continue to work but without the following:
    Features No Longer Available Once MobileMe is Discontinued:
    ◼ Password protection
    ◼ Blog and photo comments
    ◼ Blog search
    ◼ Hit counter
    ◼ MobileMe Gallery
    All of these features can be replaced with 3rd party options.
    I found that if I published my site to a folder on my hard drive and then uploaded with a 3rd party FTP client subscriptions to slideshows and the RSS feed were broken.  If I published directly from iWeb to the FPT server those two features continued to work correctly.
    There's another problem and that's with iWeb's popup slideshows.  Once the MMe servers are no longer online the popup slideshow buttons will not display their images.
    Click to view full size
    However, Roddy McKay and I have figured out a way to modify existing sites with those slideshows and iWeb itself so that those images will display as expected once MobileMe servers are gone.  How to is described in this tutorial: #26 - How to Modify iWeb So Popup Slideshows Will Work After MobileMe is Discontinued.
    It now appears that the iLife suite of applications offered on disc is now a discontinued product and the remaining supported iApps will only be available thru the App Store from now on. However, the iLife 11 boxed version that is still available at the online Apple Store (Store button at the top of the page) and those still on the shelves of retailers will include iWeb and iDVD. Those two apps were listed in small, gray text on the iLife 11 box that I bought.
    Personally, if I didn't already have a copy I would purchase one to have it for reinstallation purposes if ever needed.
    This might be of some interest to you at this time: Life After MobileMe.
    OT

Maybe you are looking for

  • Why can't I see PDF files in Safari with new Lion OS?

    I installed Lion. Now when I click on bank statements and forms that are attached to web pages, they come out black! Like this one: http://www.whitewaterchallengers.com/lehigh/waiver_form.pdf JS

  • Help regarding MBeanServerConnection queryName function

    Hi guys, i recently start using JMX and i need some help regarding queryName function. I want to get a specific set of objectNames, not all of them. I have the following List of Beans ObjectName = WowzaMediaServerPro:loadBalancer=LoadBalancer,loadBal

  • Best screen resolution Macbook Pro 17"

    Question: What is the best screen resolution Macbook Pro 17"

  • Looking to by an external dvd burner

    I would like to add dvd burning capability for my imac dv. I want to use firewire than usb. Will a memorex dvd burner work my imac. I see them listed on ebay but don't want to buy one and it not work. Where can I find what will work on my imac and no

  • Is it possible bring Bloomberg Data to SAP?

    Hi I'm trying to focus my thesis in use Business Intelligence in the Stock Markets, but there's very little information about this topic. I wanna know if any one have Knowledge about this topic and if you know about any Paper too could be so helpfull