Possible to allow user to select XNET DB?

I'm writing an application to create a test sequence incorporating user-selected CAN commands. I want to allow the user to select the XNET DB file while the application is running, but this doesn't seem to be possible, at least not as far as I can tell. I have already successfully written all the parsing code I need, now I just have to figure out how to let the user choose the DB file.
Any ideas? I'm looking into the Generic 'Create Session' approach right now, but I don't know if that's going to work.
Thanks in advance!

Under the XNet palette there is a palette for database control.  Generally what I do is delete the existing database on startup, clear the error (incase no database with that name exists) then add that database back with the path to the file that the user provides.  This way the user just replaces the DBC file (or whatever) and the application uses the new one.  There are all kinds of other things you can do with the database editing palette too.
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Similar Messages

  • Allow user to select rows

    Is there any way we can allow Users to select rows in a report so that they can print the details present for that report from an underlying details sub-report?
    Dhananjay Rele

    It is possible but might prove unscalable. SSRS reports provide 3 mechanisms for handling click events.
    Hyperlinks. You can format text placeholders to interpret basic HTML, including hyperlinks.
    Action. Most SSRS controls have an Action property that has 4 possible methods to handle the click event: None (ignore, default behavior), Go to report, Go to bookmark, Go to URL.
    Visibility (Display can be toggled by this report item). You can specify another report control that, when clicked, toggles the visibility of this report control.
    The first 2 might be used to reload the current report with updated parameter settings. For instance, I create a parameter called @PrintThis. When I click a row in a tablix, I am clicking on a textbox in one of the colloumns of that row. I can set the action
    property of that text box to open the current report, passing all the same parameter values in except that I set @PrintThis to @PrintThis+";"+Fields!MyCell.Value. This parameter is used to display the details of the row I clicked plus any previously clicked
    rows. With this approach, you would need a text box with the action property set to pass "" to @PrintThis so the user can clear that property to start over. Or set up a table that displays each value of the @PrintThis parameter with the action property set
    to remove that value from @PrintThis (@PrintThis = Replace(@PrintThis, Fields!ClickedCell.Value+";","")).
    The 3rd option could be used if the report already has a separate details subreport embedded for each row in the main report's tablix with it's Visibility set to Hide and with "Display can be toggled by this report item" set to the appropriate row's clickable
    cell. It will likely take longer to run the report initially but the toggling of the subreports is near instantaneous. Using Action or hyperlink will be quicker initially but each click will have a similar delay to the initial report rendering.
    So this will include certain details as determined by the "clicks" a user selects
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • Allow user to select each item in list item only once.

    Hi,
    What is the best way to go to stop the user selecting the same item in a list item more than one.
    I have a multi record block, the user can select values 1-10 for each record, but they should not be allowed to select duplicates.
    Thanks for any help!

    Hi,
    Suppose you have 4 list items A,B,C,D in block "test" and same 4 values in each list item. Now you want that, no two values selected by user in list item should be same.
    On when-validate-item of list item B write code like :
    If :test.A is null then
    Message('First A must be enter");
    Raise form_trigger_failure;
    end if;
    If :test.B = :test.A then
    Message('value already in list item A');
    Raise form_trigger_failure;
    end if;
    Now, for C same code with a addition of condition for B with OR operator like:
    If :test.C = :test.A or then :test.C = :test.B
    Like that.... you can achive your functionality.
    But one restriction is that user has to enter values in list item in a pre-defined order only....
    Hope that it would work for you.....

  • How to allow user to select multiple languages in ESO

    Hi Expert,
    I need your help on ESO languages capability.
    I need to allow end user to change language options like from english to chinese or from chinese to spanish. Now we have this option only tied to profile like user can select only one language in profile in "display langauge" option.
    Please help me how to do this in ESO as i am new to this application.
    Thanks much for your cooperation and help in advance.
    Regards,
    Gurvi.

    use transaction SE63 in order to translate the texts -> menu Translation / ABAP Objects / Short texts then choose OTR in tree
    to find object name, use the matchcode and specify the development class (or package) as collection
    SAP will display texts according to logon language of user

  • Lightroom Web Gallery which Allows Users to Select and Email Their Photo Choices

    Does this exist......
    A gallery option which allows users to click the photos they want, then easily email those photo numbers to a certain email address?
    Thanks!

    I found the error on another thread. You can likely search for the other thread by using "Web Gallery Restore".
    Apple support helped another user resolve the issue in 30 minutes on the phone. The problem is evidently due to the order in which I added the .Mac account to my iPhone vs. applying 1.01 update, vs. iLife 08 update.
    The solution was to Restore my iPhone and then select NEW SETTING (not previous backup settings). Then, I setup my .Mac email address on iPhone. Then publish a new WebGallery in iPhoto 08 and ensure upload privilege is checked. Finally, sync with the Mac which enabled the WebGallery button (yea!) and restored contacts, calendar and other email accounts.
    The only thing not retained was my wallpaper, usage statistics, and notes (none of these are a big deal).

  • Diplaying records from database and allowing user to select row

    I am trying to diplay some records from a database inside of a JPanel that I am going to add to a JFrame application if the user clicks on an "Index view" button, then allow the user to select a particular row. When they double click on a row, it will load that record into another JPanel I created to display that record. My question is how would I display the record(s) in a way that will allow the user to select the row?

    OK, so the user can select a row. I was thinking of adding this JTable to a JPanel inside of a JFrame, but if I also want to allow the user to click on a button on the left side of the JFrame ('A' to 'Z'), which will highlight the first record starting with that letter, is it better/easier to put the JTable directly in the JFrame, or put inside a JPanel first?

  • How to allow user to select pdf file on local machine and populate field with file name only

    Folks,
    I have a project requirement that I am stumped on.  I am admittedly a novice, so forgive questions that may seem obvious.
    My requirement is a form running on a client system where the user can click a button and select a PDF file name from a PDF on their local machine and then populate a form field with that file path & filename.  The file names vary between all machines, so there is no static list.  Note that the PDF is not embedded, nothing is executed, I simply need the file name.
    There are several of these on a form (20+), so manual name entry is too error prone.   I would like to use a 'browse' type dialog, but can not figure out how to implement it.
    I've looked at app.browseForFile, but the users can not install a javascript file in their adobe folder or any other files;  the functionality has to be integral with the original PDF. 
    Functionally, this is no different from the image object file browse, except that I need a PDF instead of an image file, so there doesn't seem like there should be a security issue that is any different from those surrounding the image object.
    I've been stumped on this for the entire week, and I have a deadline rapidly approaching, so any examples or suggestions (please remember I'm a novice) would be greatly appreciated! 

    Thanks for the reply Paul - do you have any sample code of how to attach the PDF?  Or how the user can select a PDF to open?  I might be able to attach it, retrieve the file name, and then un-attach it.
    Alternatively, do you know how to retrieve the file name from the imagePath object?  It will let you select PDF files, but I can't find info on how to retrieve the file name.   It should be the way you would retrieve the file name for an image.
    As a novice in this, thanks for your help and patience!

  • Allow user to select up to 5 answers and enter a ranking

    Hello,
    I ahve a multi page form created with LiveCycle 10.0.2.201. On one page, there is a grid of goals presented to the user. There are 33 of these goals in 3 columns of 11.
    Here is a link to an image of the grid. (For some reason I cannot get the image to upload to this posting)
    http://i.imgur.com/TYM3JVY.jpg
    What I want to have happen is for the user to select up to 5 goals and those selections show the order of importance from 1 to 5.
    Any thoughts on how to accomplish this?
    Thanks!
    Joe
    ***Added: I suppose it would be necessary for some sort of warning to pop up if the user selected a) more than 5 and b) if they had made a selection twice.

    Try the LCD forum.

  • Allow users to select Fields that the resulting report would be sorted on

    Is it possible to make available to the users some specific fields from the database that they would be allowed to select themselves which fields they would like the resulting report sorted upon?

    The suggestion that was provided seems to have worked.  But right now I have a situation where I would like to give the users the option to select the desired sort order from 6 different fields.
    Invoice Date
    Due Date
    TransDate
    PO Num
    Invoice No
    Status.
    Right now I have a Sort Parameter created
    Then I also have a Sort Formula generated as follows.
    If {?SortField} = "DueDate" Then {APMASTER.DUE_DATE}
    Else
         If {?SortField} = "TransDate" Then {APMASTER.TRANS_DT}
         Else
              if{?SortField} = "InvDate" Then {APMASTER.INVDATE}
    as soon as I attempt to add another line to this formular that would be for the Invoice No as shown below.
    Else
                 if{?SortField} = "InvNo" Then {APMASTER.INVNO}
    I keep receiving a "A date-Time is required here"  I am assuming it must be because CR is not allowing me to create a formula and/or parameter that is using a mixture of Date and Text fields. 
    If you have any suggestion for a work around, it would be appreciated.

  • Allow user to select data, see the tables list but not view the table/view/stored procs definition

    Hi,
    May I know how to achieve the above ? Please enlighten me.
    TIA !

    So you want users to be able to see the name of the table, but not the definition? I am afraid that this is not possible. You can give users access to a table and hide the definition, but the name is considered part of the definition.
    Olaf mentioned VIEW DEFINITION. What he did not say is that when you have SELECT permission (or EXECUTE permission on a stored procedure), the permission VIEW DEFINITION is implied by the stronger permission. For this reason you need to explicitly DENY this
    permission as shown in the script below.
    In the script I create a user without a login and then impersonate a user. This is an excellent way to test permissions.
    [sql]
    CREATE TABLE tabbe (a int NOT NULL)
    go
    CREATE USER usse WITHOUT LOGIN
    go
    GRANT SELECT ON tabbe TO usse
    DENY VIEW DEFINITION ON tabbe TO usse
    go
    EXECUTE AS USER = 'usse'
    go
    SELECT * FROM tabbe
    go
    SELECT name FROM sys.objects WHERE type = 'U'
    EXEC sp_help tabbe
    go
    REVERT
    go
    DROP USER usse
    DROP TABLE tabbe
    {/sql]
    Note: rather than denying VIEW DEFINITION on an individual object you can leave out "ON tabbe" to deny the permission across the database.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Is it possible for a user to select what channel appears on a tab?

    I would like for a user to be able to choose content and move that content from tab to tab. Or is it that tabs are administrator defined and that the content in a tab can't be selected by an end user?

    Unfortunately no, currently the channels for a particular tab need to be predifined by the administrator.

  • Multiple drop down lists that allow users to select 3 unique choices from a list of options

    Lawanna Wice - 2:18pm Mar 15, 05 PST (#1 of 1)
    I'm creating a form from scratch in Adobe Designer. Well, the problem I'm having is I'm trying to create dropdowns in my form and I need three dropdowns with the same information but I would like to only select three of the items from each dropdown but I'm not sure what I need to do. I hope you'll understand.
    Ex: Directions: Please select your 1st, 2nd and 3rd peference from the listing but do not select the same perference, it has to be different.
    1st Preference: RCC, UPPP, AAA and TO
    2nd Preference: RCC, UPPP, AAA and TO
    3rd Preference: RCC, UPPP, AAA and TO
    The object is for them to select only three but not the same for each prefence but how can I create it in the form.

    Lawanna,
    Here is an example that is similar to what you are looking for.
    Click here to see it

  • Allow user to select default sound device.

    Currently Spotify defaults to using the default sound device under windows when launched, it would be neat if you could choose which sound device you want to use isntead in the options screen, Thanks

    I really need this feature. I use multiple soundcards to split outputs into different sets. For example. I do not want Spotify to playback using my headphones but my speakers while I play a game or anything else for that matter. I also tend to Stream some of my games and don't want Spotify to be recorded- This is the whole reason I had to set up another soundcard by the way.
    Please, just add this small but essencial feature like any other Audio related product.

  • No "Allow users to select new root certification authorities (CAs) to trust" option in GPO

    Hello,
    We have a Windows 2008 R2 standard server, which is the domain controller
    I copied a policy and wanted to clear unneeded properties in that newly copied policy.  There are few properties below "Computer Configuration\Policies\Windows Settings\Security Settings\Public Key Policies/Trusted Root Certification Authorities"
    that are shown in Group Policy Object Settings, but not in GP Editor!  Maybe it is a property coming from our old 2003 domain controller, as I saw in a technet page that those properties were available in 2003 active directory policies.
    How can I remove those properties from the policy?
    Thanks, Dominic

    Hi Dominic,
    Based on your description, we can check the scenario 1 and scenario 2 described in the following hotfix, and we can install the hotfix if one of these two scenarios
    represents our situation.
    The "Trusted Root Certification Authorities" setting cannot be removed from a GPO in Windows 7 or Windows Server 2008 R2
    http://support.microsoft.com/kb/2842986/en-us
    Hope it helps.
    Best regards,
    Frank Shen

  • Why has moziila chosen to control the user homepage selection?

    Why does mozilla feel it necessary to not allow users to select a single hompage for android devices? Is mozilla becoming are do they want to become the next IBM, Microsoft, Apple, you name it, by forcing users to go your way or the highway? Setting a specific homepage has long been a standard for browsers so what does mozilla think it is accomplishing by forcing users to use one of your predetermined pages? The same thing has been a great pain since firefox has long disallowed users from setting a homepage for new tabs. Wasnt mozilla founded on open source principals and focusing on what users want, and not on what mozilla thinks users should have?

    hello Mendskyz, it is currently not possible to set a custom homepage in firefox on android (this is a trade-off for technical reasons in order for the app to launch faster).
    however as a workaround you could create a bookmark for that page & add it to the homescreen of your phone - this will have the same effect when you launch firefox from that bookmark.
    [[Use bookmarks on Firefox for Android to keep track of your favorite websites]]

Maybe you are looking for

  • Can a single database be used for two operation system in a single machine

    Hi, I have a typical question. My problem is that in my testing machine I have Linux Enterprise(UFS file system) and Windows XP(FAT partition) both installed as dual partitions.. In Linux I have mounted the Windows XP file system as read write , so I

  • 6 Step Signed Applet for IE

    last week I have the problem for Signed Applet, and I hope this will Help You. but, I am sorry for Netscape, it's not done yet. So, here are the Step for IE 1. Create you java code (takepic.java)      in your code write the securiy permission      if

  • Mini-Calendar not passing proper ID's

    Hello; I have posted about this little calendar before. But then, I didn't have anything really working, now, I actually have it passing the proper dates from the db and making links in the day an event falls on.... BUT it passes the same ID to all t

  • USB Communicat​ions specificat​ion and monitoring

    I want to debug my legacy HP USB printer and want to understand the USB traffic. Does anybody have a USB protocol monitoring tool or communications specification or know anything about how to go about this. I am looking for C/C++/C#/VB code Visual St

  • Fuji X-E1 RAW support?

    I`m a Aperture user and need to edit my Fuji X-E1 RAW files. Aperture does not offer support even though Apple has all the information they need given to them by Fuji. Are Apple going to support the X-Trna sensored camera? It`s a fast growing market.