Adnan
-
Posts
24 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by Adnan
-
-
QUOTE(Aristos Queue @ Dec 17 2007, 11:04 PM)
I just bought the Orange box. Portal is really a Great game. What's real gameplay.
And if you like multiplayer, you have in the same box the incredible cartoon-like http://orange.half-life2.com/tf2.html' target="_blank">TeamFortress 2.(not really tried yet but i like the visuals).
-
-
-
Hi, I am Adnan and I am a lurker. I think, I am a little bit shy and not very self-confident for replying. But I try to heal myself (are we in group therapy? ).
People are very unselfish, passionate, and love :beer: . I really like this place .
-
Here a possible implementatin of Ben idea.
We could go further and have different editor for cells (numeric, checkbox, ring). I'm going to try to do an "AdvancedEditableTable" XControl as we could find in JAVA JTableCellEditor
-
You can convert LabVOOP wire to variant (To Variant function). It gives information on type and value (check show type on Variant indicator).
With OpenG' Data tools, you can have maybe these informations formated into String.
-
You can find this template here :
C:\Program Files\National Instruments\LabVIEW 8.2\resource\Framework\Providers\LVClassLibrary\CLSUIP_MemberTemplate.vit
-
I attached a basic example which update array caption when you clicked on booleans. I hope it helps.
-
Hello!
I think i've found a solution by using "FP.State=Hidden" instead of "FP.Open".
I only tested it with LV7.1! (afaik LV6.x does not have this Property)
Indeed, it works well! It seems to be the best solution.
Moreover with adding the lines below in application INI file (WriteTimeToFile_LV711.ini), it will hide window in Task Bar.
[WriteTimeToFile_LV711]
HideRootWindow = TRUE
Walx a question : what is the "WriteTimeToFile_LV711.bat" file in your build directory?
-
I found here an information about how LabVIEW handle the panel and the VI in memory but I'm not sure it was true for every version.
To sum up, they suggest that the VI must open a self reference in such way LabVIEW keep it memory.
So I made some tests in different versions of LV : 6.1, 7.1.1, 8.0.1 (see Attachment).
The code of VI is simple and it is the same for all version (Open Self VI Reference - CloseFP - write date & time in a text file - Close VI Reference). I'm build exe for every version and use it for results.
Test machine :
PC WinXP sp2
CPU : P4-2.6GHz
RAM : 1.5Gb
Results :
- LV61 : always works
- LV711 : randomly works
- LV801 : doesn't work
It's difficult to me to explain this difference. Someone has an idea ?
Rolf, you seem to understand threading rules in LabVIEW, maybe it's obvious for you.
- LV61 : always works
-
Alright, after playing with a few more things I managed to find a property node that appears to work for hiding the Front Panel of the VI in an executable. First thing I do is Set the Run VI Transparently to True, then I set the Transparency Level to 100% which makes the VI invisible. Now when I launch the VI all I see is a Windows Task Bar for the VI come up, No Front Panel Flash or anything. Thanks to all for the help!
Great idea !
-
I was a bit surprised to see this reply because I have always thought LabVIEW executables would terminate immediately if they do not have any front panels open...and when I tried this just now that still seems to be the case, however I am using LV 7.1.1 here so perhaps this works in LV8 or there is some detail I have overlooked?
I deactivated all options in the window appearance option window and the first thing I run is the VI close method, and voila - the application does no longer run.
Regards,
Mads
I use to think so. But It seems it depends on which kind of code is on your BD. I will try to synthesize this and post some example when i have time.
I suppose it is due to thread switching as Rolf said.
-
Deactivate all options in VI properties.Window Appearance (Title bar, Menu bar,etc...) and use Close FP method on start of your VI.
-
I like Poseidon. There is a community edition, which is enough for most of needs.
-
I have a blank VI named Reentrant.vi (reentrant himself of course), which i put in every reentrant VI block diagram. By finding all instance of this VI, I have access of block diagram of callers.
-
I have to convert RGB pixel intensity to its grayscale intensity. Is it possible to convert it using LV functions?
You can use this attach VI. It uses the following equation : Gray scale intensity = 0.333R + 0.333G + 0.333B
-
-
+1
Same problem. It seems LabVIEW reload all subVIs each time we create an instance of VIT (even if the subVIs are in memory).
The only workaround, we've found is to use Reentrant VI technique instead of VIT instanciation.
-
You can just associate "Value Change" event to the control path. It works well. See attach VI.
-
SITUATION
Labview 7.1.1 Run Time Engine
OS : Linux Redhad WS4 or Mac OS X (we don't have time to really test it on WinXP, but it would be done soon)
Machines : Dell Bi-Xeon 3Ghz 1GB and Apple G5 Dual 2.5Ghz 1GB.
Application : ~2000 VIs, with lot of dynamic launches of parallel processes (VIT instanciation). Every 10 seconds, 4 processes are launched and destroy themselves after 7 secondes.
PROBLEM
Error 1124 appears randomly on Open VI Reference for instantiation of process VIs (it take between ~20 minutes and 24 hours~to happen). We try to handle this error by filtering and re-trying the launch but the application crash with a "memory.cpp in line 1038".
From LabVIEW General Error Codes page we have Here :
"VI is not loadable. In a built application, this error might occur because the VI being loaded was last compiled for a different OS, in which case you must save the VI on the current platform. This error also might occur if the VI is a polymorphic VI, which cannot be loaded in the LabVIEW Run-Time Engine. You must load an instance of the polymorphic VI instead of the polymorphic VI itself."
We have done a mass compile of all VI hierarchy before building application, and our process VIs are not polymorphic.
Some weird think seem to happen with intensive use of VI Server and multi-threading in LabVIEW. It remind me an another problem we have here (NI is aware of this bug but not resolved today), and I've seen something similar on this page.
Someone know what is really mean or ever seen this kind of problem?
-
Which kind of picture do you mean?
If it is a image file, just copy/paste your image file to front panel and save your vi.
If you mean using picture toolkit, you must load your image file via "Picture ToolKit/Read XXX File.vi" (where XXX is File Type) to a Picture Control. And then, Right-click on the Picture control, Data Operation>>Make Current Value Default and save the vi, to make it persistent.
-
Try this link : LycanGeek. It's from one of developper of LabVIEW, particulary the .NET part. (I think LV 8 use .NET 2.0)
-
Do you mean the FP state of VI in the SubPanel ?
In this case the only way i have found is to remove VI from subpanel, change his properties, and re-insert it.
3D Picture - How to set triangle mesh transparency
in User Interface
Posted
Hi,
You must set SceneObject.Blending.Mode to ON.