Can I store a DBC file inside a exe?

I have a progaram that I turned into a executable that works fine except that I have to include a DBC file for the XNET sessions that are used in the program.  The problem is that I don't want anyone to find the external DBC file.
So the question is if there is a way to put the DBC file into the VI so there is no way to see what it contains?
I found the example CAN Dynamic Database Creation.VI, which could work for a low channel count.  My DBC file has 14 messages with over 60 signals, not impossible but I would rather not do it by hand.  I only display about 25 signals on the front panel but I record all of them in a data file.
Any good ideas on how to go about doing this?

Bryan,
Dynamic database creation is the best solution to this problem. Even if you were to include the DBC file in your EXE build, it would store the DBC file in a data folder created along with the executable, which would be available to anyone browsing through that file structure. I suppose the file could be converted to binary and included, reconstituted to a DBC by your VI and then be destroyed upon program completion. However, the DBC file would still be accessible at some file path during program execution. By far the safest and most straightforward way to handle this is to dynamically create the database. 
-Nick-
Nick C | Staff LabVIEW Platform Product Support Engineer | National Instruments

Similar Messages

  • How can I store my music files on an external hard drive and listen to them through iTunes that way?

    How can I store my music files on an external hard drive and listen to them through iTunes that way? At the moment they're both on the external hard drive and also stored on the computer but I'm quickly running out of memory on my iBook G4 so I'd like to only keep them on the external hard drive and, if possible, delete them from my computer's hard drive. At the moment, when the hard drive isn't plugged in a lot of the files won't play and I get the exclamation mark next to the particular song in iTunes, but everything plays fine when the hard drive is plugged in.
    Thank you.

    Sounds like your files are playing from the external drive already.  To check go to iTunes - Preferences - Advanced and check the Media Folder Location.  Change it to the external drive if you need to.

  • How can we cretae the DBC file?

    Hi all,
    I am attempting to run the test_fwktutorial.jsp within the toolbox.jws/Tutorial.jpr project in Jdeveloper . We have to provide the Oracle application DB connection in the project properties ( we have to provide this as a DBC file) . How can we create the dbc file from the Database connection ? i tried to export the DB connection in Jdev , but it is getting exported to xml file rather than dbc file . Please help to fix this

    Yes, you can do that.
    Put both the DBC files under dbc_files\secure folder.
    You can change the dbc files from project settings and point to the desired file.
    I am not sure, but maybe you need to stop JDevloper and start again for the new DBC file to take effect.

  • How can we create the DBC file?

    Hi all,
    I am attempting to run the test_fwktutorial.jsp within the toolbox.jws/Tutorial.jpr project in Jdeveloper . We have to provide the Oracle application DB connection in the project properties ( we have to provide this as a DBC file) . How can we create the dbc file from the Database connection ? i tried to export the DB connection in Jdev , but it is getting exported to xml file rather than dbc file . Please help to fix this.

    Yes, you can do that.
    Put both the DBC files under dbc_files\secure folder.
    You can change the dbc files from project settings and point to the desired file.
    I am not sure, but maybe you need to stop JDevloper and start again for the new DBC file to take effect.

  • HT4847 how can i store ms office files in iCloud?

    how can i store ms office files in iCloud?

    Welcome to the Apple Support Communities
    To store Office files on iCloud, you need Numbers, Keynote or Pages, depending of the files you want to upload (Word, PowerPoint or Excel).
    First, if you haven't done it, open App Store and purchase Keynote, Numbers and/or Pages. Then, if you have OS X Mountain Lion, when you open the app, you will see an iCloud window where you can drag your Office documents to be uploaded to iCloud.
    If you don't have OS X Mountain Lion, open http://www.icloud.com, login with your Apple ID, select iWork and drag your Office documents

  • How can i store a picture file in a table using sql

    can anyone help me
    to store a pic file in a table using sql

    You can find an example in this link
    http://www.orafaq.com/forum/t/38347/0/

  • How can i store a video file into a ORacle Database

    I want to create a table which will store video file
    How should be the table created and how can i upload the video file to the database from my PC Say the video file is in C:\Video
    Please help me

    Take a look at the Oracle interMedia Sample Code on OTN
    http://www.oracle.com/technology/sample_code/products/intermedia/index.html

  • Can I access my backup files inside the airport using finder?

    When I tried to open some files inside the airport extreme appear this message:
    The alias “Documents” can’t be opened because the original item can’t be found.
    Someone know how to open this file? I didnt lose any file, I just want to open using AirPort.
    Thanks

    It's recommended NOT to use your AirPort Extreme for backups Mainly because the Time Machine software was not deigned to work with the AirPort Extreme and the Extreme wasn't designed to work with Time Machine. That's why Apple has the Time Capsule, for wireless backups.
    Try connecting your hard drive directly to your computer.

  • How can I store a word file in database and other one download this file

    My dears:
    I want to upload a word file at my form then store in database
    and other one user want to download this file
    I Use developer 10g R2
    Database 1og
    thanks more

    If you take a look at the WebUtil page, there is a demo which can be downloaded. Look carefully at the option to upload to DB. If you want to manipulate the doc you can use OLE. This is also offered as part of the example.
    http://www.oracle.com/technetwork/developer-tools/forms/webutil-090641.html
    Be sure to carefully review the included ReadMe file as it includes some minor configuration required to use file upload/download functionality.

  • Can I store and email files from my iphone? Is there an app?

    Hi,
    Sorry you've heard this all before. I'm new to apple discussions. I've seen apps that let you transfer files, but how do I email files from my iphone?
    Thanks

    You cannot officially store emails on the phone other than photo's which come in via iTunes and attachments to emails. There is no disk mode on the iPhone.
    If you want to store files on the phone you can use something like DropBox App which will let you if you have an internet connection.

  • Can I refer to a file insider a .JAR archive with an instance of File?

    Hi,
    I was wondering if it is possible to refer to a file stored inside a .JAR file just as if it was on a regular folder by using an instance of the java.io.File class. Otherwise, how can one do that?
    Essencially what I need is to check if a particular class file is contained inside a .JAR archive.
    Best regards,
    Norberto

    http://java.sun.com/j2se/1.4.2/docs/api/java/util/jar/JarFile.html
    See the entries() method to get a list of everything in the jar file. Most of the time the only thing you would want to do with a File is read the bytes from it, which you can do easily using the JarFile class.

  • How can I read a text file inside the .xsjs?

    I need to read line by line of a text file just like FileReader and BufferedReader in Java. It contains a script SQL to insert data in my DB. Can I use some API?

    There is no API that allows you to access the file system of the server in XSJS. You would need to upload the file from the client side and it will appear as a array buffer in the request object.  From there you can convert the array buffer to a string and process however you like.
    For example:
      var content = "";
        content = $.request.body.asArrayBuffer();
        var array = new Uint8Array(content);
        var encodedString = String.fromCharCode.apply(null,array),
             decodedString = decodeURIComponent(escape(encodedString));
            content = decodedString;
        var lines = content.split(/\r\n|\n/);

  • Can I store referenced master files on a shared folder on a windows file server?

    I have a windows file server where I have setup shared folders that my Macbook can access. Is it a supported configuration to keep my referenced master files on the windows share?

    I hardly ever use the Bridge.  I mostly use the Bridges to work one groups of new image RAW to edit metadata and create ACR settings.  I don't use bridge features like collections or use the bridge to organize my image and I also don't use Lightroom.    I mostly use Photoshop and Window's File explorer with my Image files.  I have installed FastPictureViewer Codeg package to get thumbnails  for RAW and PSD files in a Window's dialog.   I don't like the delays introduced in workflows that are cause by the overhead requires for Bridge Cashes and Lighroom Databases.
    However for you with 50 users sharing assets on network drives I would think you would need a library system above and beyond Bridge and Lightroom. A library system that provides access and version processes so users don't step on each others work.
    If you want to use the bridge I do not believe it would be possible to use a shared cashed where multiple instances of the Bridge could concurrently maintain a common cache. I do not believe either Bridge or Lighroom design would have the locking protocols required for shared concurrent use.

  • Can i store photoshop elements files on onedrive

    Is it possible to store all my photo files on Microsoft OneDrive and synchronize them with photoshop elements?

    Will depend on what OS the "server" runs, I guess?! What do you hope to achive by that, anyway?
    Mylenium

  • How can I store ALL cache files in ONE place? i.e. in one folder

    Firefox 28.0
    WIN xp
    I would like all the cache files to be maintained in one single folder and not spread over multiple folders in a directory structure (as it currently operates).
    (current cache location)
    C:\Documents and Settings\xxx\Local Settings\Application Data\Mozilla\Firefox\Profiles\xxxx.default
    (multiple folders and sub-folders)
    Is there some way for Firefox to do this?

    AFAIK that is not possible.
    It is possible to choose an alternative location but the structure will remain the same.
    * see http://kb.mozillazine.org/Browser.cache.disk.parent_directory
    I do not know whether you have discovered it but you cache details may be accessed from Firefox by navigating to ''about:cache'' . About:cache details the three caches.

Maybe you are looking for