
Zou
-
Posts
74 -
Joined
-
Last visited
-
Days Won
6
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by Zou
-
-
Thanks. But there are many other components you can "Steal" from NI ctrls.
For example, the 3-D semi-circles from the Modern thermometer ctrl.
In addition to replace an existing component, you can add extra components to a ctrl as long as you can set the component to be slave of the housing/frame.
-
1
-
-
On 6/26/2023 at 9:23 PM, bjustice said:
I created the following VI for myself, but re-sharing here to be helpful.
Could you save it to LabVIEW 2018?
Thanks.
-
On 6/23/2023 at 2:57 PM, bjustice said:
Lack of semi-circles means that I had to use a full-circle for the mouse, and then overlap it with a black square.
You can get a semi-circle from the Classic Tank.
-
You need the .h file which defines g_hSystem.
-
13 minutes ago, bjustice said:
"You can import boolean glyph as Decal to any button"
How? I can't seem to figure out any mechanism for importing an item part into a control.
Right click a glyph and copy it to clipboard.
Then you can import the image as Decal.
-
You can import boolean glyph as Decal to any button.
For other controls, you can add images as long as you can set it to "slave to frame". Only LabVIEW decorations (vector image) can resize without problem.
There is no way to change a 4 part items button to 6 part items button.
-
You can also configure the exe (or it's shortcut) to "Run this program as an administrator" on the file properties dialog window in the Windows Explorer.
One way to verify if the LabVIEW is run as admin is: the path ctrl doesn't works with drag & drop.
-
Button outside the window:
-
Demo VI attached.Search Unicode String.vi
-
It's the "space" character problem.
Build your own search function:
1. Change your unicode string display mode to Hex to find out the "space" character in Hex
2. Use it to convert your string to an array using the spreadsheet to array function
3. Use search 1D array to find matching word
-
-
1
-
-
When a window (any window, including LabVIEW) is maximized on monitor1 (1920x1080), the window rectangle is (-8,-8,1928,1048) on my laptop (Win7 Pro). That extra 8 pixels on each side is the frame edge. I noticed this when I started to use Win7.
-
Use the NI Tool.
One property node is not enough.
-
I did an English/Russian project last year based on NI Unicode tool:
-
1
-
-
LabVIEW ctrls DO cause problem sometime.
See my post:
It seems LabVIEW has problem with translucent images occasionally.
Even if the image is copied from the Silver Button.
-
You can add an animated GIF as a decor to a button, just like other image types.
See attached ctrl.AnimatedGIF.ctl
-
Put a transparent decor on the numeric control, partially block the button, so that user can only click the up/down button.
-
Use .Net OpenFileDialog (or Windows API GetOpenFileName) where you can specify the owner window.
The dialog window will be in the front of its owner window.
-
I added this gauge to an existing VI/proj. in LabVIEW 2014 SP1, and then customized it.
The VI/proj. was upgraded from LabVIEW 2011 previously.
Had a huge performance problem with a translucent button before, so I checked when I have performance issue again.
-
Is there a way to prevent this ?
Or should I check every ctrl ?
-
It's getting and process redraw message like crazy !
Anyone had this kind of problem before?
LabVIEW 2014 SP1, Windows 7 Pro. 64 bit.
Tested with LabVIEW 2018 too.
-
I got the same message from NI about the LabVIEW SoftMotion Module.
We just switched from FlexMotion to SoftMotion this year !
-
Version 1.1.0 overwrites the .ini settings.
-
Can't you use property node=>Path Text=>Scroll Position instead?
LabVIEW's "hidden" decoration styles
in LabVIEW General
Posted · Edited by Zou
Add ctl and images
That's not accurate.
It's more like this:
- All states looks different decor: 1 decor,
- True state has decor, False state has no decor: 1 decor,
- All states looks same decor: as many as you want.
2 decors.ctl