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. Here comes the deeper question, when should one mass compile it's source directory?

    You don't get any 'This feature has changed for LabVIEW x.x' messages, you hardly get warnings.

    I believe that excluding certain directory from mass compile is unwanted behaviour.

    What happens if you have a.vi with a link to _dir\b.vi, and you mass compile and ignore _dir*.*?

    Ton

  2. Hi,

    I used auto-clean up to trim down the size of the screenshot, unfortunatly the title of the event was truncated.

    The screenshot I showed was for the 'Mouse Down' event. This event has a mod.doubleclick terminal to indicate whether the mouse down was part of a double click. All provided by the OS, I am not sure if the HMI module has this possibility.

    Ton

  3. QUOTE (jcarmody @ Feb 28 2009, 08:53 AM)

    Is there a way to keep the digital output lines from dropping when I change programs?

    Jim,

    I'll check on this Monday when I get back to the office. Can you let me know which HW and what LV version you are using?

  4. QUOTE (jdunham @ Feb 26 2009, 01:07 AM)

    It takes about a minute to go into C:\Program Files\National Instruments\LabVIEW 8.6\vi.lib\errclust.llb and remove the annoying "(no error)" part of the label (don't forget to fix both the classic and the 3D version). That's just about the second thing I do to a fresh copy of LabVIEW after turning off 'Lock Automatic Tool Selection', 'Automatic Wire Routing', and AutoGrow.

    The fun thing is, you can create an OGP file (either with VIPM or OpenG Package builder) to overwrite that specific llb, just take the OGP's with you run VIPM and tada.

    Ton

  5. QUOTE (sachsm @ Feb 26 2009, 10:23 PM)

    I have a single registered mouse down and value changed event for all of the control references in my HMI so I need a generic solution to differentiate between a value change event and a double click. So far I have not been successful. Is it possible within the value change event to disable the double click event or throw away a mouse click?

    You could look for the 'Mouse Down?' event, one of the left hand terminals has the value 'Double Click', if this is true, discard the event.

    This might (might) the actual Double click (I seriously don't know), otherwise I think the same terminal is available in the 'Mouse Down' event.

    Ton

  6. QUOTE (BrokenArrow @ Feb 26 2009, 10:24 AM)

    2)

    If you could take a look at the attached JPG, do these ratios here look OK? If my "code" is taking 161kb, and "data" is taking up 99kb, seems like maybe I haven't wired my code as effieciently as I could to reduce data space allocation. Or maybe, that conclusion can't be gleaned from these figures? This code has no globals, but quite a few locals. It also has lots of dead-end tunnels which I'm slowly working out, but I don't think those make copies of data. (?).

    It depends greatly on your specific code and may be perfectly okay. The most likely cause of having a lot of data memory are arrays. I can quickly create a VI with less than 10 kB of code and MBs of memory, by allocating large arrays. Also other large data structures like clusters will add to this.

    In regards to using lots of locals it depends on why and how you are using them.

  7. QUOTE (joey braem @ Feb 23 2009, 11:24 PM)

    because the solution is more elegant in a EXE ;) You're solutions is a nice work around, but in the dutch we call this a little bit "Een houtje touwtje oplossing "( a log and a string solution) ;) I hope in the future the analyser Vi's can be used in a executable program.

    Hi Joey,

    calling it a 'Houtje touwtje oplossing' is a bit strong, I would call it 'the long way round'.

    However what is it that you try to do?

    You could for instance write an executable that calls the VI analyzer routines that are performed and hosted inside the LabVIEW IDE.

    Or build a tool that is started from the LabVIEW menu bar.

    Ton

  8. QUOTE (TobyD @ Feb 23 2009, 03:06 PM)

    I confirmed that this doesn't work in XP with LV8.2 (that's all I had installed). What happens if you open this vi? It should look about like the screenshot I posted above, but with each character in its own comment/constant.

    It's work for me in XP with LV8.6.1

    I also notice that if I change to Hex display, the hex is C603. But... if I entered C603 in Hex display mode I got (text removed) when I come back to Normal display.

  9. QUOTE (jaehov @ Feb 17 2009, 10:18 PM)

    I would like to convert a labview decimal string, e.g. "242992472391692" into an equivalent HEX String "DD001800000C"

    Here are the steps (LabVIEW isn't currently running).

    Use a string to numeric conversion VI:

    dectonum.gif

    With a I64 (or U64) as datatype.

    Now you have two options

    1.Use a Number to Hexadecimal string:

    numtohex.gif

    2.Display the 'number' and change it's representation to HEX.

    Ton

  10. QUOTE (crelf @ Feb 16 2009, 10:48 AM)

    Are you sure that's the only way to get passwords into the cache? We're talking about the development environment here, not our code, so maybe there's another way to do it - maybe have LabVIEW load up with a few commonly-used passwords? I have no idea, and, of course, only pose these questions in the hopes of making LabVIEW better.

    You can add multiple passwords to the cache and store them concurrently. You do have to add the passwords one at a time to the cache. In 8.6 this seems to take 10-11 ms per password.

    I have a small VI that I use to store all of the passwords that I have and call the VI to add all the passwords to the cache. This VI could be called automatically from the link you use to start the LV environment.

    EDIT: It looks like this feature is not fully exposed. I must have received this VI from R&D a long time ago as I have been using it for quite a few years.

  11. QUOTE (Ic3Knight @ Feb 15 2009, 12:14 PM)

    The DAQ device starts acquiring data from channel 0 at a constant rate (in this case 1000 Hz). My question is "where is that data stored"? I'm using a USB6211 multifunction DAQ device, is the data being streamed to my PC even if I don't call the read function? Or is it sat in a buffer on the card waiting for me to call the read VI?

    The data is stored in the on-board buffer, or in the systems ram (I am not sure). However if you wait too lang after a read you will get a buffer over-flow error.

    What you want can be done with TDMS files, simultaneously write to the file and read from the file.

    Make sure you open the TDMS file twice and make sure you don't read more than is in the file.

    Ton

×
×
  • Create New...

Important Information

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