-
Posts
432 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by Eugen Graf
-
-
Hello,
I use a queued state machine in my program. The bottom loop is my parser and works in own VI. If I click connect my parser should start to read interface and triggers himself for the next read. But if I want to stop them, they will not stop. I see why, but have no right solution.
http://forums.lavag.org/index.php?act=attach&type=post&id=6857
My bad solution is to flush the queue in state idle, but it works wrong, if I click any other button while waiting on reading (5 sek). In realy reading doesn't need 5 seconds, it only to show you my problem.
http://forums.lavag.org/index.php?act=attach&type=post&id=6858
Thank you, Eugen
-
QUOTE(yen @ Sep 5 2007, 09:12 PM)
And with rightclick on the border and selection with space key works for both controls.
QUOTE(yen @ Sep 5 2007, 09:12 PM)
Sounds like a reasonable idea. Why not submit it to NI's product suggestion center?In really.
I thank you for solution. Eugen
-
QUOTE(yen @ Sep 5 2007, 08:29 PM)
QUOTE(yen @ Sep 5 2007, 08:29 PM)
You could probably also do the programmatic replacing - there is a Control class (private) method which allows you to replace a control with another one, but I believe it suffers from the same problems you mentioned with the manual replace.Sorry, I don't love/use private methods and properties.
QUOTE(yen @ Sep 5 2007, 08:29 PM)
What I would probably do about that is use KShif's property saver to transfer the properties (although I don't know if it would handle all kinds of objects) and replace the controls inside the arrays and clusters instead of the arrays and clusters themselves.That is too difficult for this. I wish it would be implemented in LV, like:
rightklick on
Control->Control Style->Classic
->Modern
->System (optional, if possible)
Eugen
-
QUOTE(Tomi Maila @ Sep 4 2007, 05:22 PM)
You mean you want to do this manually for some VIs or automatically for a large number of VIs?Yes, manually. I know I can use Control->Replace and then replace my modern object to a classic. But it doesn't work for clusters and arrays. Furthermore if I replace a object to any other, then the new loses properties, like formatting.
Eugen
-
Hello, I wish I can change the look out style of FP elements.
E.g. I created a modern cluster or array and want to change it to classic style and make than boarders transparent.
Eugen
-
For UDP broadcast, a UDP server should run on the XBOX and wait for your request. If no UDP server ist available, than you can try to connect to the XBOX over TCP/IP in a for loop.
Eugen
P.S. if you know any program, which do, what you want, than you can use any sniffer to hear up the traffic between this program and the XBOX.
-
QUOTE(jbrohan @ Sep 3 2007, 02:25 PM)
QUOTE(jbrohan @ Sep 3 2007, 02:25 PM)
2) The split 1D array can be moved inside the case statement3) The Buffer Size check can be moved inside the case tooYours SincerelyJohnThe Buffer size control(terminal on BD) inside the case too.
One more comment from me:
Build array VI can eat some CPU, so you can better use "replace array subset". Than you have to know the max. buffer size in developing phase and probably limit the buffer size control to this max. size.
Eugen
-
I am a new LV user and I take it so, how NI engineers have developed it.
I don't use express VIs, but I use autowiing, autotool selection and alignment. E.g. it is not possible to see every pixel on your FP, so you will take more time to align elements without autogrid. IMHO.
Eugen
-
Hello, here my example code to show high frequency data with low CPU load.
Eugen
-
I am working with data monitoring for IMUs. But I newer try to integrate or differentiate a signal under Windows.
1. And if I should do it, I need a TIMESTAMP for EVERY sample or I need to know the sampling frequency.
2. I would say integrate or differentiate every 25th or 50th sample is a wrong way to reduce CPU load. This way means, that you loose some important informations about the signal. The right way would be to integrate every sample and buffer them. After them you can show data with e.g. 10 or 5 Hz. So you will dont get more than 5% CPU load.
3. To log data on HD you can use the right sampling frequency, it doesn't need some CPU.
Eugen
P.S. AND I AM SURE that LV is not much slower than C/C++ or other programming languages. You have only right use it.
-
-
-
Hello, what is the most appropriate alignment grid for Front Panel? I don't more know my default value. I think e.g. on default sizes of controls.
If I place a LV control (e.g. 39X20 = default size of a boolean button) to my FP and move them, but my alignment grid is 8X8, then I get some little problems (see attachment).
Eugen
P.S. I know I can group/ungroup or resize buttons, but I want only to know what is the default grid size after LV installation.
-
If I create a new it doen't more happen.
If you open the BD of the VISA Configure Serial Port.vi and copy the Property node inside them to your BD, then you will get this comic behaviour.
Eugen
-
-
Hello, does anybody know, why Instr. property node has the output on the top side ?
Eugen
-
All is right, what you wrote. It's only one alternative way to do it, but the MOST REALIBLE is to use App.Kind property.
Eugen
-
Or you can use the property "BD Size" and compare it with 0.
Eugen
-
QUOTE(Mike Ashe @ Aug 24 2007, 03:41 AM)
http://forums.lavag.org/index.php?act=attach&type=post&id=6756''>http://forums.lavag.org/index.php?act=attach&type=post&id=6756'>http://forums.lavag.org/index.php?act=attach&type=post&id=6756
And I have two problems too:
1. I want to mix the communication with Notifiers and user events (I think here on a 3d topic table or array).
2. private topics should stay in module and must be not published to other modules, so I don't want to subscribe them on dispatcher.
Eugen
-
QUOTE(LV Punk @ Aug 24 2007, 07:49 PM)
Michael has http://forums.jkisoft.com/index.php?showtopic=490' target="_blank">a very detailed video located here explaining how to create the buttons. It helps if youv'e got both LV Versions 7 and 8 available.Yes, I just seen it. I want an answer to my question: how to make it under lv 8.x only???
Eugen
-
-
-
I thank you all. I use Pub/Sub model in one project now. It's really cool. I can see all queues traffic, all themes and tasks:
http://forums.lavag.org/index.php?act=attach&type=post&id=6729
My StartUp VI looks like in following example:
http://forums.lavag.org/index.php?act=attach&type=post&id=6730
My Dispatcher Task is here:
http://forums.lavag.org/index.php?act=attach&type=post&id=6731
And on this example you can see, how my modules (tasks) say to dispather about themes (topics) while starting:
http://forums.lavag.org/index.php?act=attach&type=post&id=6732
And this is my Create&Subscribe VI used in each task:
http://forums.lavag.org/index.php?act=attach&type=post&id=6733
A big thank to all, Eugen
-
Hello, look on this error message.
Eugen
This happens if I want to preview the screenshot on this page:
Need help using queued state machine
in Application Design & Architecture
Posted
QUOTE(ragglefrock @ Sep 6 2007, 04:48 PM)
I want only to start the COM-interface reading in the bottom loop from the upper loop. After it is started, it should do reading up to the upper loop commands idle.
Why not? What can be wrong here?
Thanks, Eugen