Jump to content

lvb

Members
  • Posts

    209
  • Joined

  • Days Won

    6

Posts posted by lvb

  1. Just checking in on the topic looming in the back of my mind every time NI Week occurs (although it is delayed this year).

    When will LabVIEW NXG have feature parity to LabVIEW 20xx?  When will we be forced to move to NXG for new features?

     

    As can be seen from the LabVIEW NXG Roadmap, it appears it is at least 3 releases away.

    http://www.ni.com/pdf/products/us/labview-roadmap.pdf

    Assuming an annual release cadence, that would mean 2023.

     

    Is there any roadmap for the last release of LabVIEW classic (aka 20xx)?

  2. With all of the changes from Windows XP to Windows 7 and furthermore Windows 10 we now have legit user profile folders along with public folders.
    I haven't had this conversation in a while so I was wondering how the community currently approaches this decision.
    How do you organize your code on disk?  Please respond along with any folder structure and reasoning.


    My old method:
    C:\dev\Project Name
       Archive
       Code
       Documentation
       Support
       LabVIEW Project 1 Name.lvproj

    Thoughts on a new method:
       The root of the "C" drive is no longer accessible on some PCs (due to security requirements).  Some PCs (not all) are equipped with another partition (D:\) for data.
       And it seems that all PCs have a Public folder.

       I have experienced some linking issues with placing the code on another partition (i.e. D:\)
       It seems the Public folder is the best location since it can be easily shared by multiple users.
       Any thoughts?  Where do you store your code?

  3. So after a long hiatus, I am back to the LAVA forums.  I am looking for some DC power supply recommendations from the community: something that works well with LabVIEW, along with the ability to acquire at a minimum voltage and current at a 20th century rate (i.e >10 Hz).

    I have worked with a lot of different vendors in the past, but nothing really stands out.  In addition to this, there has been so many mergers and acquisitions.  Looking to the community for some advice on what you like, along with some unique features from power supply technology.

     

    Thanks,

    Brian

  4. LabVIEW 2015 SP1 is now available.  Here is a link to the nifty new web based downloader/installer:

    Note: You can download the software with the above tool and install at a later time.

     

     

    Unfortunately I was not able to make it to the CLA summit this year so hopefully some of you can fill in on any new features!

     

     

    • Like 1
  5. I am working with a multi-pane user interface and splitter bars.  One of the pain points is the creation of controls and indicators from the block diagram.  My primary pane has a single indicator that is sized to fill the entire pane.  I have a lower "toolbar" of buttons on the 2nd pane.

     

    Whenever I create a control or indicator from the block diagram, I always have to go searching for where it was created on the front panel.  It usually ends up at some random point in space but on the 1st pane.

     

    This process created a few questions that I was curious of:

     

    1. What determines the position a front panel control/indicator is placed when it is created from the block diagram?

    2. Is there an easy way to configure which pane these will appear on before creation?

    3. Is there an easy way to change the pane a control or indicator is placed on rather than dragging and dropping?

     

    Looking forward to your responses!

  6. I recently implemented a Protobuf encoder in LabVIEW.  Using the KISS method, I used clusters to represent "messages" and used the cluster index along with the item name for the ID.  This used the OpenG variant data tools to dynamically parse the contents of the cluster.  The rest of the encoding is done with a VarInt encoding and flatten to string.  Depending on your .proto structure and requirements (if it is acceptable to send optional items), this may or may not be a simple solution.

     

    Proto Message <> LabVIEW Cluster

     

    The implementations from Google involve auto-code generation of a class and then reading/writing the class data.  For a "complete" tool that allowed optional items, this is a lot more work than simply using clusters.

     

     

    If you are looking for a starting point, the encoding is pretty well documented at the following link:

    https://developers.google.com/protocol-buffers/docs/encoding

  7. What are the improvements on this???

     

    From http://zone.ni.com/reference/en-XX/help/371361L-01/lvupgrade/labview_features/

     

    Improvements to Loading Packed Project Libraries and Shared Libraries with the Same Library Version

    To simplify the task of loading shared libraries from VIs or packed project libraries that share the same version, LabVIEW 2014 suppresses the Load Warning Summary dialog box that earlier versions of LabVIEW launch when you cross-link shared libraries or packed project libraries. Cross-linking occurs when you load a shared library from a VI or packed project library and then load another shared library with the same name from another VI or packed project library in a different location while the first library is still in memory. When loading the second shared library, LabVIEW links to the location of the first shared library. Shared libraries or packed project libraries must have the same version number to be the same version.

    Excluding Dependent Packed Project and Shared Libraries from a Build Specification

    In LabVIEW 2014, you can reduce the number of files LabVIEW copies when you create multiple build outputs that include the same libraries. You can specify to exclude dependent packed libraries and shared libraries from a build specification, and LabVIEW retains relative links to the source location of the excluded files. Otherwise, LabVIEW duplicates the packed project libraries and shared libraries in each subsequent output. To exclude these libraries, enable Exclude dependent packed libraries and Exclude dependent shared libraries on the Additional Exclusions page of the Properties dialog box for the build specification.

    Setting the Destinations of Packed Project and Shared Libraries You Include with a Build Specification

    In LabVIEW 2014, you can specify the destinations of dependent packed project libraries and shared libraries included as part of a build specification configuration. To specify the destinations of dependent files, select Dependencies on the Source Files Settings page of a build specification. Enable Set destination for all contained items and Set destination for packed and shared libraries, and select destinations from the drop-down menu.

  8. I've been rocking 1Password for the last few years and I've finally lost patience with their pathetic Android implementation (other platforms are fantastic though). This weekend as I go through my passwords I've decided to look at KeePass and LastPass.

    I agree, password managers are the way to go, but if you use Android, my recommendation is to avoid 1Password despite how much I like it.

     

     

    I would be very interested to hear from someone who is using LastPass. I've been on the fence for a few months and this very well could be the tipping point.

     

    I highly recommend Lastpass, especially if you are on Android.  There is a security now episode by Steve Gibson that covers how Lastpass works, it is very secure even though it is cloud based.

     

    The latest Android app update includes a "service" so you can "fill forms" just like you can on the desktop.

  9. Thanks for your quick reply lvb.

     

    Is there a way to explicitly set a LabVIEW class to a TestStand object reference variable, using LabVIEW code? I.e., something like the attached diagram? (Note, I've run this code, but the object reference ends up being "Nothing".)

     

    attachicon.gifLabVIEWclassAsTestStandObjectRef.png

     

    What exactly are you trying to accomplish with this code?  Typically, you want to be reading and writing variables related to a sequence or sequence file (Locals, FileGlobals, StationGlobals).  I would suggest using the TestStand - Set Property Value with the SequenceContext from the execution.

×
×
  • Create New...

Important Information

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