Jump to content

keiran

Members
  • Posts

    38
  • Joined

  • Last visited

    Never

Posts posted by keiran

  1. I want to use Tree control realize the effect of PerfactTreeAction.swf(attachment 1),It can:

    1,use checkbox image as the tree symbol;

    2,when I click the Item, It must change the symbol(if the symbol is checked image,it turns unchecked image,and vice versa)

    So I use value change and mouse click to achieve this effect, Program.png is my Blockdiagram(I can't upload *.rar file, if so ,I should upload my program)

    but my program doesn't act like PerfactTreeAction.swf:

    1,If I Drag the scroolbar, I get the Mouse Click events, I don't want to get this event when I Drag or Click the scroolbar);

    2,When I Close or Open the Iterm in tree, I get the Mouse Click events, and I don't want to get this event when I open or close the Iterm in tree

    my Program act like mytreeaction.swf(attchment 2)

    Is there other way to achieve the effect of PerfactTreeAction.swf? any suggestion wellcome, thanks!

    BTW, forgive my english! :oops:

    the attachement is my program and images

  2. QUOTE(Jim Kring @ Jul 18 2007, 01:04 PM)

    Hi Keiran,

    You can use OpenG Package Builder to create OGP files that are installable using VI Package Manager. This is not extremely well documented and it is designed with OpenG developers in mind. Rest assured that we are working to make the package building process easier and more stream-lined for casual users.

    For starters, please download and install the ogrsc_package_builder package using VIPM and run it from the Tools>>OpenG Package Builder menu option in LabVIEW. You will find that this has a similar look and feel as the OpenG Builder UI. If you have any specific questions or issues, please post them and I or others will be happy to help answer them.

    Thanks,

    -Jim

    Tks, Jim!

    Are there some tutorials about the using of OpenG Package Builder?

  3. In LabVIEW 7.1, If you Build a vi into application(exe style, for example the vi's name is testmain.vi, and testmain.vi include a named testsub.vi,you build testmain.vi as test.exe),then you can treat the test.exe as a library file and use "Libriarian List.vi" to list what's include in test.exe!

    But In LabVIEW 8.2, I can't List the files in an exe file that was build from LabVIEW 8.2!

    How NI orgnize vis in the application?

  4. QUOTE(Jim Kring @ Mar 29 2007, 11:52 AM)

    I'm looking to take a business trip to explore the LabVIEW market in Nicaragua (I hear that the surf is also very good there). If anyone would like to set up some meetings in July, please let me know :-)

    Cheers,

    Let me know if you trip to China (PRC)! :beer: :P:)

  5. Hello,

    I don't think 4 byte character will be related to the slowness of the measurement especially your software is English version... Maybe you can ctrl+alt+delete to bring out the task manager to see the memory usage and CPU usage, see when the measurement slows down, what happens to the memory usuage and is CPU usage rising?

    Irene

    Yes ,I don't think that It's the Chinese OS make your program slower than English OS either. We use english verision of LabVIEW develop applications, and run it on Chinese or English OS, the effect is same.Check your program!

  6. In LabVIEW 8.2 , The Preference Dialog Appears Like Below;

    post-356-1164898630.png?width=400

    In the directory of resource\dialog\PreferencesDialog you can find the PreferenceDialog.vi, the UI looks like the image as below:

    post-356-1164898736.png?width=400

    and in the directory of \resource\dialog\PreferencesDialog\PreferencePages you can find all PreferenceDialog pages, such like prefPage_BlockDiagram.vi look like the image as below:

    post-356-1164898841.png?width=400

    so I guess the PreferenceDialog.vi embodied the page Vis User Interface,When user select one item, the PreferenceDialog.vi embody the selected page vi realtime, and I think this may be implement by subPanel, But I can't realize it. Any one know the secret of PreferenceDialog? thanks a lot?

    By the way, this is one way to implement plugins archetecture?

  7. Hi,

    I tested "DB Tools List Tables.vi" in order to check your problem. (I'm using LV 7.1.1)

    In my Access database, table referenced at index 0 doesn't really exist. It seems to be a metabase.

    So i think you must access first table of your database with index 1.

    I hope that solves your problem :)

    No,I Probed my 0th element, It is one of table in my Database!

    I think we're all a little mixed up here - is the problem that you can't write data into a table, or that you can't read it out from a table?

    Yes, I Can Create the Table, But I can not write data into a table and can not read it out from a table!

  8. My SQL is a little rusty, but here goes: it could be a permissions issue, but I doubt it since you're able to create the table and insert data.

    No, I only can Create the Table, I can't Insert data! the Error Message is the Same!

    Have you looked at the table using something other than LabVIEW to make sure that the data actually goes into the table? Can you post the database file to we can check it out? What's in the "table" control?

    Yes ,the Created table is here, and the Columns is what I want to creat!

    You might actually have more than one table in your DB - how big is the 1D string array that comes out of "DB Tools List Tables"? Are you sure indexing out the 0th element is getting the table you expect and not one that already existed?

    It's only a test, so I am sure indexing out the 0th element is getting the table I expect and not one that already existed!

  9. Recently I use NI SQL Toolkit Connect MS Server, I use System DSN, It's OK to Connect the Database and It's OK to Create Table in the Default Database, but I can't ListTables and Can't List All Column's Information.Why? Please Help,tks!

    Then I use UDL File Path as the input of Open Connection VI, This time can Obtain All tables In the database ,but when I want to List All column's information of one specific Table, the Error described Below, must I set some permiition in database? why this error happened? tks! images below is the error dailog and the create table vi and the List Column vi

    post-356-1164356395.png?width=400

    post-356-1164356460.png?width=400

    post-356-1164356475.png?width=400

  10. At NI Week, Christina Rogers showed her refactoring of the Getting Started Window using LabVIEW classes. The source code of that refactoring is now available. Here is the link to her blog.

    http://eyesonvis.blogspot.com/2006/08/obje...ted-window.html

    But I can't open any vis in this file,

    it assert that the version of the vis in this file is newer than what i used!my labview is 8.20,why??

  11. Hello all,

    can anybody give a thread to realize a facade showing like that Database sheet, add diferent control items at a list box, or list table effect, for example, string control, number control and ring etc, I know cluster can do this, but it is not convenience and beautiful. can ActiveX control insert an object OK ? but I haven't found that item yet, thanks in advance.

    You can use an array of Cluster that include diffient controls(any type control you wanted!), and then customize the cluster and the array, make them frameless and transparant background and foreground. then you can use the property of the array --NumRows to control how many lines to be shown, IndexVals to control the beganing displaying line.

    forgive my english.

    the attached vi is an example that contain an boolean, a string, an numeric. it's an array of cluster, but if you don't know the diagram of it, you may be not know it's an array of cluster, :laugh:

    Download File:post-356-1154002729.vi

  12. Hello,

    I have been using NSIS for my products and have done exactly what you are trying to for the DataAct Version Chooser. Here is the code that I use to determine if the runtime engine is required:

    In this case you add all of the runtime files in a Section (Sec05 in my case) and it is automatically selected if not already installed. For the DataAct Version Chooser I don't install the full runtime engine, only the minimun files required for DVC so I can use the same check for uninstalling the runtime engine. Depending on wether you are installing the full runtime engine or not, you may need to write an entry to the uninstall registry key to keep track of wether or not the runtime engine was already installed.

    NSIS is very powerful, it's great to hear of others using it for LabVIEW applications.

    Brian

    Hi,Brian,Thanks for your help!

    Actually you are my guide on using NSIS! Because when I use your LabVIEW Version Chooser, your Chm file attract me(in your chm file, you tell that you use NSIS to make the setup file!). Then I am absorbed in NSIS,

    It's very Cool!

    I know I run LabVIEW runtime Engine with Command Line:<installer file> [quiet options] [reboot options],But I don't know how can I install LabVIEW Runtime Engine incompletely so that the setup file is small enough. If I include the full runtime engine, the setup file will be too large, how can i slim it? any idear? thanks !

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.