Jump to content

LAVA 1.0 Content

Members
  • Posts

    2,739
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by LAVA 1.0 Content

  1. LabVIEW is preparing the data fed to the Call Library Node so that it matches the datatype the Library is expecting.

    For instance if it is given a U8 and the function needs a Pointer to an U8, LabVIEW will setup some memory space exclusively for that Library Call and sent the memory location (32-bit) to the Library.

    For strings the same thing happens, only for C-strings they remove the upper four bytes (the size) and terminate the string with a NULL byte. Then the starting memory address (eg. pointer) is sent to the Library. (at least that is what I think is happening, Rolf will be of much more value)

    Ton

  2. The LabVIEW options dialog box has options to exclude vi.lib and instr.lib from Source Code Control add actions.

    I have been requesting to extend this to user.lib as well for ages.

    I even filed a bug report once :shifty: .

    Do we need this feature?

    I am in need of this feature because I like the option to include all dependencies when adding a single file to SCC, however it also tries to add all the user.lib (which shouldn't be in SCC IMHO), this can't be added since it is outside the SCC scope and results in error messages.

    Is it that much work to extent this feature (or even make an option to exclude a whole custom folder).

    Ton

  3. QUOTE (Daklu @ Feb 10 2009, 02:11 AM)

    OpenG builder post-build files have the info you need (pre-build names and post-build names.

    QUOTE (Aristos Queue @ Feb 10 2009, 11:35 AM)

    Every
    LV
    8.x release has included features designed to eliminate the need for prefixing. If you're still needing it, then clearly there is something that the R&D team does not understand about LabVIEW and how our users are using it, because there's general agreement on the team that the tools exist now (8.6) such that you shouldn't have any reason to keep using prefixes. This should probably move to a new thread, rather than hijack Daklu's original question about how to deal with this, but a detailed list of why, between the project application instance isolation and the library namespacing, prefixing for distribution is still necessary.

    The options in OpenG builder are a little bit more advanced:

    • Prefix or postfix
    • Optional random namespace
    • Next release of OpenG builder allows to namespace the library files only
    • Optional random password
    • Pre and postbuild VIs (to alter description for instance)
    • Version info on source distribution builds
    • Pure G version info

    Ton

  4. QUOTE (David Wisti @ Feb 9 2009, 10:34 PM)

    QUOTE (Chris Davis @ Feb 10 2009, 04:12 AM)

    I've had it working in every version of LabVIEW I've tried since 7 (7, 7.1, 8.0, 8.2, 8.5). I didn't do anything special, just added the keywords as properties within TortiseSVN's panel in a file's properties, then did a commit.

    Strange, I used LabVIEW 8.6 with exactly the same text on the FP as on the VI description. It only worked on the VI description.

    Than I looked at the contents of the ctl-file and noticed the text only once in the binary stream.

    So I removed the tokens from the VI description and the strings were gone from the actual VI file.

    Maybe an optimization on LabVIEW's part.

    Ton

  5. QUOTE (Donald @ Feb 6 2009, 01:33 PM)

    For OpenG VIs we use some VIs during the build process. In the post-build VIs we write the SVN properties to a FP decoration.

    QUOTE (Chris Davis @ Feb 7 2009, 08:45 PM)

    I'm doing this now and it takes no special code modifications whatsoever. Just put the following free label on your front panel, and

    What version of LabVIEW are you using?

    QUOTE (Randy @ Feb 9 2009, 04:46 PM)

    Any more insight would be appreciated (maybe I'm not finding the correct label).

    No you are doing it right. LabVIEW doesn't store the FP decoration as ASCII text, however VI descriptions are stored as ASCII text.

    This can easily be seen with an hex-editor.

    That is exactly the reason it doesn't work.

    I assume Chris is using LabVIEW 7, LabVIEW 8 used a new saving technique that reduced file size (I guess zip-compression).

    Ton

  6. If you edit a page with multiple templates in a row (like the Configuration pages) with the new editor. The layout will be scrambled.

    The templates will be prepended next to each other with a space in between. The space should be replaced by a new-line.

    A workaround:

    after editing with the new editor, switch to wiki view copy the contents to a text editor and do a search and replace on }}/s{{ and replace that with }}/n/n{{ with notepad++ for instance.

    Using the double /n delimiter will make sure the enter stays in place.

    Ton

  7. QUOTE (tilli @ Feb 6 2009, 01:21 PM)

    hello,

    please contact me if you want any more information

    samia

    If you think you have information that helps us better understand your problem, always append it.

    Include links to items you refer to (what is tshark's ring buffer?) to help us understand.

    If you have some code that is a big plus!

    Ton

  8. In one of our applications,we are measuring temperature.We configured DAQ mx VI in AI Temperature,thermocouple.We are measuring temperature based on type and units as per the user configuration.For all thermocouple types except B Type,DAQ mx Read VI is giving correct values based on the range user configured.But,for B Type thermocouple,after 200 degrees to 300 degrees only,DAQ mx Read VI is giving correct values.If we source 0 degrees,DAQ mx Read VI is not giving any value.If we give 5 degrees to 90 degrees its showing temperature from 100 to 101 degrees.If we give 100 degrees,its showing 125 degrees.After 200 degrees only,DAQ mx Read VI is giving correct values.But range for a B Type thermocouple is -250 degrees to 1830 degrees.Is there any limitation in the measurement of temperature of a thermocouple of B Type?

    Regards,

    Naresh.N

×
×
  • Create New...

Important Information

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