-
Posts
955 -
Joined
-
Last visited
-
Days Won
34
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by Antoine Chalons
-
-
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).
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..
-
Hi,
I use this when I need to open the BD of a specific VI.
I think you can then use the property "BlockDiagram.OSWindow" to get the ref and then use it with the user32.dll to make the window frontmost. See attached VI who does the same for a FP.
ViBox_860_User32_BringVIsFPToFront.vi
Hope this helps
- 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
-
Hi,
On my work PC I use WinXP's defragmenter, I launch it once a while before going for lunch so I don't really care about how slow/fast it can be.
If you look for an alternative solution, I recommend having a look at AlternativeTo.net I quite like this website and the voting system like in StackOverFlow, here for Windows defrag softs.
Hope this helps
-
Hi,
LAVA 1.0 had tagging, I quite liked it. Is there any plan to introduce tags on LAVA 2.0 ?
Cheers
-
That looks nice!
How about posting this to the LAVA CR or Peer Code Review?
I am interested in seeing the project.. Haven't jumped in OO Programming yet and having example projects could really help me take the leap.
-
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.
-
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
-
You can set the z-order by calling SetWindowPos in User32.dll.
Thanks, technically this is does exactly what I need.. I was just hopping we could do the same using VI Server in order to be more cross-platform :-o
-
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
-
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.
-
Great job LAVA team!
A huge thank you for your hard work. You make LAVA an awesome community!
-
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
Hope this helps
-
Please upload small under 100Kb zip files
-
hmmm.. it works fine when I upload a *.doc and when i try to upload a *.vi I get a message saying that I'm not allowed to upload this type of file :-o
Firefox 3.5 on mac os x.5
-
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
-
QUOTE (george seifert @ Jun 9 2009, 04:11 PM)
Has anyone used LV to access the meta data in a WAV file? I've searched the archives here and at NI and came up emtpy. Specifically I need to edit the Genre data. Another group here has written some software (not in LV - shame on them) to process WAV files. They use the Genre data for some reason to pass data into their program.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
-
QUOTE (george seifert @ Jun 8 2009, 04:09 PM)
I usually use OpenG array functions to do that.
http://lavag.org/old_files/monthly_06_2009/post-7452-1244471808.png' target="_blank">
Hope this helps
-
-
Latest information received from NI support in Germany :
- issue has been sent to R&D (Austin) for further investigation
- it is still not clear if the change of behaviour was intentional (LOL, the eternal "bug or feature?")
- a "quick fix" is not be expected in a short term futur
- issue has been sent to R&D (Austin) for further investigation
-
-
The issue has been reproduced by NI support engineer and is being investigated.
Apparently a change has been made between LV 8.0 and 8.20. I'll keep posting as soon as I recieve info fron NI.
Reference#8637-B43187
-
QUOTE (Michael Aivaliotis @ May 15 2009, 10:10 AM)
Great news!!
Looks like the effort of the community to get scripting out of the shadows is on the roll!
-
Sending SMS to mobile using LabVIEW
in Remote Control, Monitoring and the Internet
Posted
With some limitations*, the skype sdk can send SMS.
*: a skype account with skype credit must be open by the user on the computer. More info about limitations.
Hope this helps