-
Posts
1,991 -
Joined
-
Last visited
-
Days Won
38
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by Ton Plomp
-
-
QUOTE(wenwen @ Mar 30 2007, 11:53 PM)
This is something related to your advances state.
Second, saying that C++ can do 60% off your problems means you lack 40% advanced C++ programming (I'm no C++ programmer) I think anything can be done with C++ and LabVIEW but LabVIEW will normally allow you to program faster! Normally good C++ code executes faster than good LabVIEW code. However good LabVIEW code outruns shitty C++ code .
For a beginner the http://forums.ni.com' target="_blank">NI forums are better, why? because people of NI get payed to help you and the user base is bigger.
About the time of becoming an advanced LabVIEW programmer....
I started in my 3rd year of my bachelor (2003), and did since about 3 years of full-time LabVIEW development. I won't say I'm advanced but my heads grips LabVIEW (sometimes I dream about the missing error out function of my 2 year old ).
To become an advanced LabVIEW programmer you need enthousiasm!
Good luck,
Ton
-
Hi Thang,
you should do a search for destroy queue in your VI's most likely you have more than 3!
Is there any reason to flush the queues before destroying them?
Ton
-
QUOTE(Thang Nguyen @ Mar 30 2007, 09:31 PM)
The 'http://zone.ni.com/reference/en-XX/help/371361B-01/glang/create_queue/' target="_blank">Obtaine queue' function has a boolean input that is: 'create if not found? (T)', and an output 'Created new?'.
Also you use a local to get your queue's from, maybe you run into some race condition, could you add your vi?
Ton
-
QUOTE(yen @ Mar 30 2007, 11:46 AM)
QUOTE(Nullllll @ Mar 30 2007, 04:07 PM)
from where can I get it , can an y one give me a link?Google is your friend (or me)
Ton
-
Recently I needed to know on which pane a control resided, so I looked at the control.owner property.
Unfortunately (and strangely) that gave a reference to the panel ( a reference quite hard to get your hands on in 8.x) and not the pane.
So for your (and my own) pleasure I wrote a VI that returns a reference to the pane a control resides on:
http://forums.lavag.org/index.php?act=attach&type=post&id=5360
Use it if you need it!
Ton
-
I recently claimed it would be possible to use XControls as a ChildWindow container for sub-panels.
As a proof of concept I have coded the following (fun starts at 15 seconds):
http://forums.lavag.org/index.php?act=attach&type=post&id=5358
The avi shows a window with two panes, on the left a stop button and two load buttons, each load button will load a vi (reentrantly) into one of the two Child-windows in the right pane.
The movie is a little bit shacky since the load of the software that makes the movie.
Each XCTL has a 'mimimize', ' maximize' and 'close' button.
The top bar of the XCTL allows you to drag the window around, the upper 3 pixels allow you to resize the window vertically (other directions are not done yet).
Instructions to use (after extracting the .zip):
open the test.vi in subpanels\VIs
Run it, load the daughter.vi in subpanels\VIs into each of the child-windows with the two ' load VIs...' buttons.
If you want to move the windows you will notice you loose control of the window soon because the mouse get out of the window, haven't figured out how to trick that but maybe later....
Ton
Disclaimer:
The .zip contains 4 .ani files which are part of Windows XP, if anyone knows good royalty free cursors I'd love to hear (too lazy to google)
The movie is made with Broadcaster Studio Pro which allow you to capture your screen (or area) and stream that to a virtual webcam or disk!
- 1
-
One nifty feature I found out today (I think it is new in 8.0):
SMART Right mouse button on error wires
Explanation:
Here's your error:
http://forums.lavag.org/index.php?act=attach&type=post&id=5354
And here's your pop-up menu:
http://forums.lavag.org/index.php?act=attach&type=post&id=5355
See the 'Insert Index array' and 'Disable indexing at Source'. absolutely in the right place!
It gets even better if you insert a 'Merge errors.vi' this will insert like you want it to (the array on the array input), the same thing has happened with the insertion of a 'Bundle by name' feature, which[?] fits in quite nicelay
Ton
-
QUOTE(Jim Kring @ Mar 29 2007, 07:59 PM)
Now wher is my head plug, for the espresso machine...
Or is JKI bought by NI?
Ton
-
QUOTE(fuzzycontrolfreak @ Mar 29 2007, 05:40 PM)
Is there any other way to build daq VI's other than DAQ Assistant, or is there a way to solve this problem.Hi Fuzzycontrolfreak,
DAQ assistant is only good for short tests/simple acquisitions
If you want to seriously use DAQ you have to start use lower level DAQmx VIs. There are a lot of examples in the Example finder.
Have a look there and you will most likely find what you need.
Ton
-
ActivePlot.color
A good place to start is right click on a property and select help, then go one level up (property of ......) you'll have the possibility of a lot of plot related properties!
Ton
-
Given your slow update rate (1/(15*60) Hz) AND the fact that the history can change, meaning you anyway have to trace the history yourself, I'd go for a graph.
This means you have to update the graph totally every 15 mins.
To edit the names of the plot select the Active Plot property with the index of the plot-line, and then set the Active Plot.Name property.
Ton
-
QUOTE(1a2s3d4f @ Mar 28 2007, 05:29 AM)
PS Have a look at http://forums.lavag.org/How-to-use-the-LAVA-Website-t735.html' target="_blank">the guidelines
-
-
QUOTE(TomIto @ Mar 26 2007, 09:12 AM)
Could you give some way of communication? Serial/ethernet/gpib or some manual
QUOTE(TomIto @ Mar 26 2007, 09:12 AM)
Also would like to know how much is theaccuracy in a case that I adopt LabVIEW.The accuracy of LabVIEW is limited by the acquistion device and communication protocol, internally LabVIEW uses up to 128 bit floating point IEEE data storage, but a double datatype (64 bit) will generally be 15 decimal accurate
QUOTE(TomIto @ Mar 26 2007, 09:12 AM)
I wonder RT engine is necessary.I think RT stands for runtime, you'll need that if you are building an executable or dll for a non-development PC. But generally it is free.
Could you give some more info and show something of what you have already tried?
Ton
-
QUOTE(njkirchner @ Mar 26 2007, 06:17 AM)
I bet w/ the improvements in event registration and handling and xcontrols, this might have the potential to be a bit more fruitful this go around.I have even a (hopefully) better idea, why not use an Xcontrol with an subpanel. In that case you could have maximize, minimize events handled inside the XControl.
Ton
-
If you are setting the precision to zero you could also use %d as the formatter, this will have the same effect.
Ton
-
A value change event on a numeric is a valid use case. But a dial (or slide) is a different thing, what you most likely want is a to check if the mouse button is up.
A simple mouse up-event wouldn't work because you can change the value while the mouse-pointer is outside the control (test this: mouse down on the control, move mouse out of control, and you can change the dial value, but you won't get a mouse-up event).
So you better get a 'value change' event, and check with the mouse status vi for a mouse-up state (eg. don't act if the mouse is down)
Ton
-
Great!!!!!
I go on holiday for two weeks and this arrives. Super, well the next few weeks I have some spare time. Remind me to do something on XControl
Ton
-
QUOTE(orko @ Mar 12 2007, 06:15 AM)
Would the tool mentioned (Tagscanner) be suitable for this?Most likely: Yes.
Tagscanner can create tags based on directory structure/filename and create a directory structure/filename based on tags.
What I normally do is check the tags, update them from the directory structure if needed, and then apply my own directory structure based on the tags.
Ton
-
At least ID3 v1 tags are quite easy according to tst (dark side alert)
Ton
-
aaah, the good old homework.
sorry, forget LV and start using Tagscanner,
does it nice and quick and versatile
Ton
-
-
I don't know how it is in the rest of the world, but on a sort of traditional wedding/party in the Netherlands (esp. on the countryside) you finish the night with coffee and a sandwich... :thumbup:
Just came back of a 12 1/2 wedding year anniversary with beer and coffee :thumbup: (no sandwich though)
Ton
-
Chuck,
please update (a simplified version of) your code,
so we can spot any anomalies
Ton
How to remove this breakpoint?
in Development Environment (IDE)
Posted
QUOTE(JFM @ Apr 2 2007, 11:16 AM)
I normally use this 'trick' with the CTRL button down (in run mode (ctrl-m)), no break point tool selection needed
Ton