Jump to content

Michael Aivaliotis

Administrators
  • Posts

    6,196
  • Joined

  • Last visited

  • Days Won

    104

Posts posted by Michael Aivaliotis

  1. I need to programmatically force my LabVIEW application to become frontmost on a Windows system. Basically I want it to punch through any currently open application windows and become the main active app.

    What I've tried:

    • I ran the SetForegroundWindow Windows API function. This causes the titlebar to flash and draw attention for a short while but does not make it frontmost.
    • I ran the BringWindowToTop Windows API function. This does not make it frontmost.
    • I made my application window floating. This does appear to work. However this causes other problems since the window which I need to be frontmost is also a dialog box. So I don't want the user to click behind the dialog box onto my main application window.
    • I tried using the floating window property (as mentioned above), then quickly made it modal again. This has the affect of flashing the window to the user and then disappearing behind any other app windows. Not good and also confusing.

    So, is there any way to do this?

  2. Relatively to what we had before the improvement is huge. In the absolut, the search stopped being crap and it now works.

    That's indeed a great news yes.gif

    That's good to hear guys. Search is the biggest sore spot here and it's nice to see some improvement. However, there is still a 3 character limit on the search terms which I'm working hard to resolve. It appears this is a Mysql issue and not related to IP.Board but still is annoying and I'm trying to resolve it if possible.

  3. A new feature on LAVA is Twitter and Facebook Integration.

    Watch a short video on how to enable this. This video has audio, so turn up the volume.

    Link to Video if embed below doesn't work.

    <object id="scPlayer" width="856" height="618"> <param name="movie" value="http://content.screencast.com/users/Michael_Aivaliotis/folders/LAVA%20Tutorials/media/b306704e-2017-4560-8505-1c85f8592118/Twitter%20and%20Facebook%20Integration_controller.swf">'>http://content.screencast.com/users/Michael_Aivaliotis/folders/LAVA%20Tutorials/media/b306704e-2017-4560-8505-1c85f8592118/Twitter%20and%20Facebook%20Integration_controller.swf"> <param name="quality" value="high"> <param name="bgcolor" value="#FFFFFF"> <param name="flashVars" value="thumb=http://content.screencast.com/users/Michael_Aivaliotis/folders/LAVA%20Tutorials/media/b306704e-2017-4560-8505-1c85f8592118/FirstFrame.png&containerwidth=856&containerheight=618&showstartscreen=false&showendscreen=false&loop=false&autostart=false&color=1A1A1A,1A1A1A&thumb=FirstFrame.png&thumbscale=45&content=http://content.screencast.com/users/Michael_Aivaliotis/folders/LAVA%20Tutorials/media/b306704e-2017-4560-8505-1c85f8592118/Twitter%20and%20Facebook%20Integration.mp4"> <param name="allowFullScreen" value="true"> <param name="scale" value="showall"> <param name="allowScriptAccess" value="always"> <param name="base" value="http://content.screencast.com/users/Michael_Aivaliotis/folders/LAVA%20Tutorials/media/b306704e-2017-4560-8505-1c85f8592118/">'>http://content.screencast.com/users/Michael_Aivaliotis/folders/LAVA%20Tutorials/media/b306704e-2017-4560-8505-1c85f8592118/"> <embed src="http://content.screencast.com/users/Michael_Aivaliotis/folders/LAVA%20Tutorials/media/b306704e-2017-4560-8505-1c85f8592118/Twitter%20and%20Facebook%20Integration_controller.swf" quality="high" bgcolor="#FFFFFF" width="856" height="618" type="application/x-shockwave-flash" allowscriptaccess="always" flashvars="thumb=http://content.screencast.com/users/Michael_Aivaliotis/folders/LAVA%20Tutorials/media/b306704e-2017-4560-8505-1c85f8592118/FirstFrame.png&containerwidth=856&containerheight=618&showstartscreen=false&showendscreen=false&loop=false&autostart=false&color=1A1A1A,1A1A1A&thumb=FirstFrame.png&thumbscale=45&content=http://content.screencast.com/users/Michael_Aivaliotis/folders/LAVA%20Tutorials/media/b306704e-2017-4560-8505-1c85f8592118/Twitter%20and%20Facebook%20Integration.mp4" allowfullscreen="true" base="http://content.screencast.com/users/Michael_Aivaliotis/folders/LAVA%20Tutorials/media/b306704e-2017-4560-8505-1c85f8592118/" scale="showall"> </object>

    In addition to allowing bidirectional data transfer between LAVA and Twitter\Facebook. You can also login to LAVA via your Twitter or Facebook login. As seen in the screenshot below:

    post-2-023479200 1276466678_thumb.png

  4. No. I'm saying delete version 1.0.0.2 of your class and redo whatever edit you did to create version 1.0.0.2. The mechanism works by watching the edits you make to the class. For some reason, it thinks that array is new instead of a mutation from the previous version.

    Well, the array contains a typedef cluster and the change is adding a new element to that cluster.

    Moving forward. What is the best practice in this case to support proper up-conversion? Should I disconnect all typedefs? Will that be enough, or should I convert them to objects? And if I switch to all objects, will the old clusters up-convert to objects properly?

  5. A) If you have version 1.0.0.1, you can try the edit again.

    I'm not understanding this suggestion. Are you saying I should try resaving the data in 1.0.0.1? I already did that and it didn't help.

    B) If that subcluster is a typedef, it is highly probable that autoconversion will fail for all the same reasons that typedef constants on diagrams loose their values. Classes lose a lot of their ability to automutate at the typedef boundary. Try disconnecting from the typedef in version 1.0.0.1 and then make the edit. Note that this is one of the reasons that I suggest using inner classes instead of subclusters, so you can have data preservation all the way to the roots of your data.

    Even if this suggestion works, it doesn't help me at the moment. V1.0.0.1 of the class is already built into an executable and released to my customer. They've saved hundreds of records with that class data. The data exists and now I need to read it with my new executable that uses class v1.0.0.2.

    C) There are VIs in vi.lib\utility\lvoop to let you examine and modify the mutation records of a class. There's no real documentation for the format of the data and the notation can be arcane, but I think Kring has done some work with those VIs and may be able to help you ID the problem (assuming it is something other than the typedef thing).

    I found the following folder: vi.lib\utility\LVClass but nothing useful is in there.

  6. We'll be going through a major site upgrade this weekend. It will start Saturday night and should only last a few hours. It's a very exciting upgrade and will give the site some cool features.

    You can read about them here.

    One of the key improvements is search. We'll have to see how that works in practice but anything is better than what we have now I guess.

    • Like 2
  7. I have some class data that was flattened and saved in class version 1.0.0.1. I can open the data fine with my class of version 1.0.0.1. It's a complicated cluster structure with many sub-clusters. One of the sub-clusters contains an array of cluster data. When I try to read the data and unflatten it with my class of version 1.0.0.2, I get all the data back correctly with the exception of that one sub-cluster. the array comes back as empty. The unflatten function doesn't return any errors.

    At this point i'm basically screwed. Any suggestions?

    I love the idea of automatic up-conversion but right now I'm burned badly.

×
×
  • Create New...

Important Information

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