Jump to content

eberaud

Members
  • Posts

    297
  • Joined

  • Last visited

  • Days Won

    10

Posts posted by eberaud

  1. Hi, I struggled quite a bit with it too but now everything works really nice, so let's see if I can help. There is a disable structure, should I look at the enable or disable case? In case it's the enable one, can you make a simplified version that has all the TDMS code in one VI and demonstrates what you're trying to achieve on the TDMS side only?

  2. I'm really interested in is preserving my LabVIEW.ini settings across systems. Mostly for the quick drop shortcuts

     

    I recently installed some MGI quickdrop shortcuts, but can't find related changes to LabVIEW.ini. What settings are you talking about in this case?

  3. Is LuaVIEW going to support Lua 5.1 or higher at some point? I read that LuaVIEW 2.0 was in the making, but that post is 2 years old, and the LuaVIEW website shows that 1.2.2 is the latest version, and uses Lua 5.0. I'm not using Lua for now, so this is not a request, I'm just trying to understand what is going on :)

     

    Edit: sorry to post about LuaVIEW in the MLua thread, the thing is that I'm quoting a post about LuaVIEW that was posted here...

  4. Resolved by downloading CCT 2.1.3-1 and installing that package first from the product homepage.  VIPM was scessful in installing 3.2.1-46 as an upgrade

     

    I ran into the same conflict issue, so I tried to find version 2.1.3-1 and let VIPM upgrade it but I can't find this version. The earliest version 3.x I can find is 3.2.0-41 which led to the same conflict error...

  5. So I'm getting a little confused here. Everything is installed in the user lib at first, which doesn't insert the "Rex - New Command" utility in the Tools menu. Moving the whole Rex folder to C:\Program Files (x86)\National Instruments\LabVIEW 2014\project\ does the trick. But now when I click on "Rex - New Command", it can't find the files it needs and seems to be looking for them in the user lib.

     

    Long story short, what files should be where?

     

    Thanks!

  6. I wouldn't cast your objects into variant. The fact that you can have an array of the ancestor class is the whole point and beauty of OOP. What is important is how you create the object. As long as you create an object as a child class, the child overriding method - if there is one - will be called instead of the parent one when the method is called on one element of your array. For this to happen, you need dynamic dispatch of course.

     

    I put together a quick demo of what I'm talking about.

    LVOOP demo.zip

  7. I have an array that is already sorted. I want to find or write a VI that returns a subset of this array based on a minimum and a maximum values that I define.

     

    For example, if the array contains [0,1,2,3,4,5] and I set min = 2.9 and max = 4.1, the function should return [3,4]. So far the only way I can think of is to take each element starting at index 0 and compare it to the minimum. When I find a value that is greater than the minimum, I start comparing each following element to the maximum. When a value is greater than the maximum, I can stop the execution and return what I have collected. Although this would work, it seems light-years away from being optimized... I can't find any LabVIEW or OpenG functions that does this.

     

    I can't use the Search function since the minimum and maximum values might not match any element in the array...

     

    Ideas appreciated :)

×
×
  • Create New...

Important Information

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