Jump to content

Eugen Graf

Members
  • Posts

    432
  • Joined

  • Last visited

Posts posted by Eugen Graf

  1. QUOTE(Omar Mussa @ Aug 3 2007, 11:51 PM)

    Dimensions don't really have names, they really only have values... you are really asking 'how do I get the data (values) from a particular dimension of 4d array?'.

    You need to disable indexing on the dimension you want to 'slice out' and use constants on the other dimensions to tell LV how you want to slice the data... Or alternatively you can get a subset of data using Array Subset. In your case, you probably want all data that is in the specified dimension so using the Index Array function (similar to how you showed it in your post) should work and be easier to use.

    Hmm :throwpc:

    I will tell you what is my issue, probably You can tell me how I organize it better.

    I want to make a VI translator wizzard. So I create me a data base ( a simple binary file with 4 D Array data). The values will be strings in any language.

    So

    1D is a String (text)

    2D Control Label

    3D Language

    4D VI

    So in step 1 I want to read my DB and look if VI Name is included in my DB. Then I want to list all available Languages for this VI. The user have to choose one of language or add a new. Then he should select a control to edit his texts (e.g. capture, scale label or on/off text). After editing all data will be stored in my DB and a entry in the ini file will say which language was selected at least for each VI. On the next start my VIs will have user specified texts.

    Eugen

    And thank You Omar Mussa for Your explanation, now I can understand that each dimension have only values.

    and NO NAMES of dimention

  2. QUOTE(crelf @ Aug 3 2007, 04:49 PM)

    A 4-D array is just a 3-D array with an extra dimension. What's a "Volume name"?

    Raw -> Column -> Page -> Volume

    Eugen

    If You imagine

    Letter or word - 1D

    Raw or column- 2D

    Page - 3D

    Book - 4D

    Rack with books- 5D

    Cabinet - 6D

    Library - 7D

    and so on...

    And I want to have a list of all books.

    Thanks

  3. How to get a list with Volume names from 4d array?

    Thank you

    QUOTE(Eugen Graf @ Aug 3 2007, 02:26 PM)

    How to get a list with Volume names from 4d array?

    Thank you

    Ok, I think I have it. Pages, Rows and Columns should be 0 and Volume shoulb be disabled in Index Array VI. Is it right?

    Eugen

    Like this?

  4. Hello,

    can anybody say me why I get a File Permission Error here?

    http://forums.lavag.org/index.php?act=attach&type=post&id=6414

    I think, I know why.

    The VI Read From Text File creates a reference to a Read-Only File.

    So I have either to open file with Read-Write-Permissions at the begin or

    Have to close the reference after reading.

    It's right?

    Eugen

    So, here is one which works without errors.

    http://forums.lavag.org/index.php?act=attach&type=post&id=6417

  5. Hello, I want to decorate my buttons with some icons. So I created a custom boolean control and add a icon from a file. Then I changed to customize mode an placed this icon over my button. Now I can't click the button on the icon, because the picture(icon) hide the button area.

    Thanks, Eugen

    I attach my VI with my customized Control.

    Eugen

  6. QUOTE(PJM_labview @ Jul 9 2007, 06:16 PM)

    Here you can read something.

    Silk icon set 1.3

    _________________________________________

    Mark James

    http://www.famfamfam.com/lab/icons/silk/

    _________________________________________

    This work is licensed under a

    Creative Commons Attribution 2.5 License.

    [ http://creativecommons.org/licenses/by/2.5/ ]

    This means you may use it for any purpose,

    and make any changes you like.

    All I ask is that you include a link back

    to this page in your credits.

    Are you using this icon set? Send me an email

    (including a link or picture if available) to

    mjames@gmail.com

    Any other questions about this icon set please

    contact mjames@gmail.com

    eg

  7. I would run all GUI-SubVIs in separately window. No Tabs, No SubPanels. The user have the choice what he want to see, can hide, resize ... If you have SubPanel or Tab you will show "only one" Page or SubVI on the same time. If you use multi windowing, you can show more things on the same time plus it's selectable by user.

    Eugen

    An example is here in chapter 12 (one of my projects)

    http://www.imar-navigation.de/download/tracert-f200_docu.pdf

  8. QUOTE(Ben @ Jun 28 2007, 09:13 PM)

    A diagnostic tool that allows you to monitor and log traffic.

    I use it to look at VISA reads and writes but it can do a lot more than that.

    Ben

    It's really not the best name for a service. I wish all NI services will be hidden in LV Runtime and will no be shown to user.

    In really some users say LV is OK, but you have to install a lot of NI stuff and you have a many services running only if you want to use a simple LV program. Sorry, but I can't say anything again this.

    Eugen

  9. QUOTE(ZZZZZZ @ Jun 28 2007, 12:41 PM)

    I have disabled it (and the NILM too) and saw no change.

    But what does NI Service Locator do anyway?

    I don't know which one, but one NI service controls shared variables. So if you don't use shared variables you can disable this service.

    What is NI Spy?

    EUgen

  10. QUOTE(karim @ Jun 25 2007, 11:32 PM)

    Dear Shref..

    Really thanks alot for your reply..

    I want to ask another help from you .I know i'm gonna be heavy but i'm working on a graduation project & my deadline is 1-7,I tried to make your steps but i had some difficulities i didn't work on this program before,I'm sending to you the code i should modify.May you add the part you sent to me to this code.

    Kind Regards

    Karim

    I saw it in LV Example Finder. Sorry, but I think you have to take some time to understand how serial interface in LV works. What is Config, Open, Read and Write VISA and how to get numbers (values) from string or stream.

    Eugen

  11. QUOTE(Panos @ Jun 22 2007, 10:59 AM)

    Thnx,And good foto

    But i don't have those subvi's that u r using here...

    can u upload the vi with all those subvi's???

    You need only this palette. Other VIs (mylib) are from my application, you don't need them.

    Eugen

×
×
  • Create New...

Important Information

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