Jump to content

Antoine Chalons

Members
  • Posts

    955
  • Joined

  • Last visited

  • Days Won

    34

Posts posted by Antoine Chalons

  1. This also works, with the added benefit of opening the VI. My problem was in trying to find a method of the BD instead of the VI. I included the Code Capture of the Traverse For References VI to show how I get an array of all my free labels (thanks Darren).

    post-7534-124758541964_thumb.png

    hmm I didn't know about that method.. Does anyone know what is this parameter "host window"? There is no documentation in LabVIEW about it and apparently the only acceptable value is "0" ; if I put more than zero then I can't open the BD anymore, I have to close the VI and re-open it to be able to see the BD..

  2. Dear LabVIEW Architects,

    Please help me with my situation. I want to programmitically generate a Control on the front panel.

    How can I do tihs?

    Regards,

    bUg

    You can only do that at edit time (not at runtime) and if the VI on which you want to create a control is not running, use scripting for this, see here.

    Another solution that can be a workaround at runtime is to hide/show your control, that means you have to create all your controls at edit time though..

    To hide/show a control, right clic on it, select "create >> property node >> visible" and link either true or false.

    Hope this helps

  3. HI,

    I have a problem...I want to run a main vi .exe and when it calls the subvi the subvi runs.

    I use the Open VI reference, the Invoke node FP Open and then the Invoke node RUn VI but it doesn't work.

    It shows the subvi front panel but it doesn't run.

    Thanks

    Hello,

    Are you sure there is no error before you call the Run VI method?

    You can try to disconnect the error input on this method and see if then the VI is ran.

  4. It looks like it should work, but it can only set the window to the top (or bottom?). I did a little more reading after posting at msdn and it does not set z-order as simply as I expected after looking at the NI example. You could loop through your windows in reverse order setting each one to the top to get your desired order, but that might be ugly.

    Well.. yes.. fortunately I have only 2 FP windows to manage at the same time (I have alot in fact but only 2 are displayed at the same time and I need to be able to choose which one is on top), so when the "secondary" FP window comes to top (over the main window), it first get the hWnd of the foreground window so that it can set back the main window to foreground when it has to go back to "second layer".

    It just bugs me that it's not cross-platform :(

  5. Hi,

    I have a few front panels which are top level VIs (tasks running in parallel) and I'd like to be able to manage their position, not (X,Y) position on the monitor, but which FP "first/second/third/etc" on top.

    I know I can bring a specific FP window on top, but I also would like to be able to bring a FP window "from top to bottom", can this be done in LV VI Server or do we have to use some "SetWindow..." from the user32.dll ?

    Thanks in advance for any help

  6. index.php?app=downloads&module=display&section=screenshot&id=68

    Name: Skype SDK

    Submitter: LAVA 1.0 Content

    Submitted: 04 Jul 2009

    Category: Remote Control, Monitoring and the Internet

    LabVIEW Version: 8.6

    Version: 1.0.1

    License Type: Creative Commons Attribution 3.0

    Potentially make this available on the VI Package Network?: Undecided

    Copyright © 2008, Antoine Châlons

    All rights reserved.

    Author:

    Antoine Châlons

    -- see readme file for contact information

    Description:

    These VIs embed ActiveX methods and properties to control Skype from LabVIEW.

    List of functions :

    - Launch / shut-down Skype

    - Retrieve contact list

    - Get profile info

    - Set user status

    - Get / set user mood

    - start / stop Skype call

    - Skype chat with contact(s)

    - Send Skype SMS

    Dependencies & Installation:

    To work it requires to have Skype4COM installed (version 1.0.31 or newer), you can get it from https://developer.skype.com/Download.

    To install Skype4Com run the following command : regsvr32 skype4com.dll

    To allow a program to use the ActiveX Skype interface you have to enable it in Skype:

    1. Skype Options

    2. Advanced

    3. Manage others programs' access to Skype

    4. Select your program (LabVIEW.exe) and click change if the text 'Not allowed to use Skype' is shown

    After that you can talk to Skype, otherwise you will get a question inside Skype that asks you to allow or deny your application.

    Support:

    This code was written with LabVIEW 8.6

    Change Log:

    1.0.0: Initial release of the code.

    1.0.1: Additional installation information.

    Click here to download this file

  7. In order to automate the process of right clicking on a case structure and selecting "Case Insensitive Match" I am trying to write a VI to do this programatically. I have cast a reference to the CaseSelector Object and i do not see any methods to call or properties to set that will accomplish this. I have also examined the methods and properties of the Selector object that is tied to the CaseSelector Object, but I still don't see the appropriate metohds/properties. Does anyone know if such a thing exists?

    Hi,

    I found it :)

    post-7452-124660400902_thumb.png

    Hope this helps

  8. QUOTE (scott123 @ Jun 10 2009, 10:34 PM)

    In order to automate the process of right clicking on a case structure and selecting "Case Insensitive Match" I am trying to write a VI to do this programatically. I have cast a reference to the CaseSelector Object and i do not see any methods to call or properties to set that will accomplish this. I have also examined the methods and properties of the Selector object that is tied to the CaseSelector Object, but I still don't see the appropriate metohds/properties. Does anyone know if such a thing exists?

    Hi

    I've been looking for the same thing.. and didn't find it.

    I just saw there are method to "get/set properties" on the structure, but I could find no documentation about that.. maybe this is a way to digg :-o

  9. QUOTE (george seifert @ Jun 9 2009, 04:11 PM)

    Hello,

    As you can see http://www.sonicspot.com/guide/wavefiles.html' rel='nofollow' target="_blank">here there can be different variation on the WAV format, you need to find the description of the format in which your files were written to.

    Then make a VI that reads the file byte per byte and decode "headers" by groups of byte.

    I did that a while ago for BMP files, you can use it as a starting point, hope it can help.

    NOTE : that would be nice to post it the LAVA cr :-o

×
×
  • Create New...

Important Information

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