Jump to content

Yair

Members
  • Posts

    2,869
  • Joined

  • Last visited

  • Days Won

    44

Posts posted by Yair

  1. So does the Type Cast primitive manipulate the actual data (i.e., the thing the refnum is pointing to) in any way, or does it just cause the block diagram editor to interpret the data type of the wire differently?

    A type cast takes the bit pattern of whatever you wire into it and reinterpets it as the new data type. The actual data (as you saw in your example) does not change.

    In this case, the type cast is only necessary because the editor does not let you see the Text property when you use the StringConstant class. If you had wired the numeric class to the top terminal, you would have gotten the numeric class properties.

  2. I understand that the "whopping" part is not your opinion, but why bother?

    Worst case scenario, you have to email the executable and instruct the client to download the RTE from the web (if you have somewhere without a web connection, you might as well send them a CD).

    NI presumably puts a lot of design and testing into the development of the RTE and installers for each version and attempting to work around that with each new version sounds like a lot of work for little gain (unless you wanted to be able to run something without installing, which is not your case).

    I doubt you will find many people who can give you a definitive answer, as this is clearly unusual usage.

  3. As far as I can figure out, the license agreement (at least for 7.1) says that you have to put the text in the application's about box.

    Some of our applications are distributed without about boxes (they run full screen with no menus) and so they do not have this text. I don't know if this is problematic, but that's how I read it. In any case, the client doesn't care what the system was written it, as long as they get results.

  4. To rotate a dial you need to place the cursor over the end of the scale and you should get a rotate icon. Clicking and dragging at this point will control this.

    You should note that doing this at the low end of the scale will cause the scale to be rotated as-is and doing this at the top end of the scale will allow you to control the size of the gap between the end and beginning of the scale.

    In Norm's example, the scale end (and beginning) are found at the bottom of the dial, where the green and red meet.

    I wouldn't be surprised if you could get cooler effects from a picture control, but they would require more work.

  5. This looks like it could work well for GObjects, however, I'm trying to set a property on an Application reference.

    If the Application class does have this method and it's simply not exposed, I'm wondering whether type casting it to the generic class would do the trick?

    Of course, you would need to find the property indexes to test this, and attempting to automate this crashes my copy of LV, but I'm fairly sure I saw a list of indexes around here somewhere (maybe Brian posted it?).

  6. Helo.

    my techer give us asinment to calc in laviuw and i need help :lightbulb: :worship: :!: :ninja:

    can you help me pleeeease??!!!!

    the asinment is Calculate using LabVIEW how much wood would a woodchuck chuck if a woodchuck could chuck wood.

    can you pleease help me!!! i need it tomorow!!!!1

    thank u

  7. Related to this topic, has anybody written a tutorial of setting up SVN repository with LabVIEW?

    Based on the recommendations made here, I've made a decision recently to check out SVN as well (since I'm going to have another developer working in parallel), so I would like to add my voice to this request.

    I have started experimenting with TSVN using a local DB, but I haven't had the time to really go over all the postings about this topic, and I would like to be more confident about it before proceeding.

×
×
  • Create New...

Important Information

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