Jump to content

Wolfram

Members
  • Posts

    65
  • Joined

  • Last visited

Posts posted by Wolfram

  1. I prefer not to process any callback in the callback VI itself. What I do is to fire events of any callback into a single queue, by which queue element is a cluster of an enum [state or callback name] and a variant [hold the data]. An existing centralized queue state machine will than process all events of all callbacks. Make the enum "state" as type def for easy and fast adding of new states.

    Wolfram

  2. ZITAT(tcplomp @ Jul 4 2007, 08:13 AM)

    Somehow I expecte the following code to set the VI to be the active window:

    http://forums.lavag.org/index.php?act=attach&type=post&id=6302

    But the Frontpanel is not the active window.

    I set my Front panel to be floating:

    http://forums.lavag.org/index.php?act=attach&type=post&id=6303

    Does anyone know a solution?

    This is all in LV 8.2.1, in LV 8.0.1 it works as expected

    Ton

    See here: forums.lavag.org/index.php?showtopic=8523&pid=32105&st=0&

    This might help.

    Wolfram

  3. ZITAT(BrokenArrow @ Jun 19 2007, 03:03 PM)

    Parallel loops...

    Loop 1 writes to Howdy.txt file every 2 minutes to 30 minutes.

    Loop 2 opens up Howdy.txt every 1000mS and looks at it - to see if it's been written to. This happens all the time, 24/7.

    With this scenario, it appears there's a small chance the file can be open at the same time in two places. Is this common? Can it cause problems?

    The VI's are Write Characters To Fle and Read Characters From File.

    You can do this when you open the file in loop 2 only as "read only". Then it should work.

    Wolfram

  4. ZITAT(engineer123 @ Jun 20 2007, 08:43 AM)

    Hi,

    I have a problem in calculating the time difference between 2 events.

    Can any one see the attached VI because the difference is not correct.

    Thanks in advance.

    The calculated time difference seem to be correct. So I don't know where the problem is.

    Wolfram

  5. Generating objects programmatically is a feature that is called scripting. This is a hidden feature

    that can be enabled by a special LabVIEW.ini entry (reserved only for NI).

    In LabVIEW 7.1.1 this feature can be made visible by adding the keyword "SuperPrivateScriptingFeatureVisible=True" in the LabVIEW.ini.

    Have a look into the "rusty nails" -> "scripting" topic in this forum.

    Unfortunately this keyword does not work any more. NI has changed this in LabVIEW 8.0

    Wolfram

  6. ZITAT(jlokanis @ May 25 2007, 01:17 AM)

    Does anyone know of any advantage or disadvantage to any of these methods?

    There is one key feature:

    If you want to hold a VI to itsself for hidden top level execution, the only way is to

    use the "Open VI Reference" primitive. Otherwise, the execution stops immediately,

    if you close the front panel.

    Wolfram

  7. ZITAT(Aristos Queue @ May 9 2007, 04:06 PM)

    Bug confirmed. I'm investigating. I'll try to get back to you before the end of the week.

    CAR 49882DJ1

    Hi Aristos Queue,

    have you investigated this issue. I'm interested how it is going on.

    Wolfram

  8. This bug on tab controls is a really really old one (since LabVIEW 3.0). The problem is that the front panel interface does not show the corresponding tab page, if you change the value of the tab control in block diagram code programmatically. I found out the following solution. Write to both a local variable of the tab and a tab property "value". This works in most cases. I suppose that the property "value" forces the panel to update the page finally.

    I hope this helps.

    Wolfram

  9. This is really weird.... Can I trust my LabVIEW to compute correctly after bugs like this and the constant loop bug?

    Strange thing like the "For Loop" bug in 7.1.

    I guess, we can expect LV 8.2.1

    I also found out the same behaviour in LV 7.1.1 and 8.0.1

    Wolfram

×
×
  • Create New...

Important Information

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