about it and can even be quit without affecting
the children.
Greg McKaskle
substitution and treat the number as the result of some
mathematical operation, does it make sense to you how the three values
are being maintained.
Greg McKaskle
. Be sure not to
give it pointer to stack variables or you will cause some nasty
corruptions.
Greg McKaskle
about how this gets
torn down and released.
Greg McKaskle
to modify the constants throughout
the program.
When your C programmer friends start to snicker and talk about
efficiency, select some code and make a subVI from selection. Or start
explaining how LV has dynamic arrays and loop autoindexing. It will
usually send them away.
Greg McKaskle
now available on the Open VI Ref that help with the
autodisposing of the reference upon completion.
Greg McKaskle
problem you see?
What dialogs or errors do you get?
Greg McKaskle
through and possibly even modify.
Greg McKaskle
souls that turned on a hidden token that
make diagrams be partially transparent. It was a test feature for
allowing hidden code and wires to be seen through, but the performance
in nested loops quickly became a problem. So another question is, have
you added anything to the preference file?
Greg
at is, be sure that you aren't using local variables to store
and retrieve data into controls instead of using wires and dataflow. I
bring this up because this is a common habit when people move from a
procedural language like C or BASIC to LabVIEW or other functional
langauages.
Greg McKaskle
to build a wrapper function in C or other language.
Greg McKaskle
than trying to resize
individual elements of the diagram.
There are lots of ways to get images of diagrams, bitmaps, printing to
postscript, etc. If you have more specific questions, please ask again.
Greg McKaskle
is in the same
VI?
If I understand your question correctly, the answer is yes. A loop
around code is the same as a loop around a subVI containing the same
code, is the same as a subVI containing a loop containing the code, ...
There will be slight performance differences, but very small.
Greg
expressions, you will want to
escape the special characters by preceding them with a \. To search for
[]
you would search for
\[\]
Try it out in a simple example to learn how it works, and be sure to
click the more help and read the manual page on this node as it is full
of features.
Greg
is working fine. Without the extra typing
information provided by the To G Data, LV just doesn't know enough to
make a decent probe, at least not today.
Greg McKaskle
a decent amount
of code to do so, and the built-in behavior is pretty good if it isn't
growing millions of times.
Greg McKaskle
PROTECTED] along with some description of what you were trying to do
and what things you wished had turned out better.
The VIs will be made anonymous and the presentation will be very
interactive. Join us if you can for the NIWeek session.
Greg McKaskle
PROTECTED] along with some description of what you were trying to do
and what things you wished had turned out better.
The VIs will be made anonymous and the presentation will be very
interactive. Join us if you can for the NIWeek session.
Greg McKaskle
on devzone or other sites to do this, and
in the future more of this may be built into graph methods.
Greg McKaskle
casting. For higher properties, you may
need to cast the control reference before setting the property.
If this doesn't make sense or doesn't work, please ask again.
Greg McKaskle
and looking at remote panels
published there to check your installation. You might try reinstalling
the remote panel plug-in or looking for the plug-in file to see if it is
in the correct plug-in folder.
Greg McKaskle
the multiplication
10 or 100 thousand times to get a decent elapsed time for the PC clock
resolution.
Greg McKaskle
.
Greg McKaskle
it
to be there in a future release, but the current controls deal primarily
with internal binary data and haven't expanded to deal with external
clipboard data yet.
Greg McKaskle
is typically launched
from the menu or the web page at the client's request. You can do this
using the VI Server. Drop an invoke node and select the Remote Panel
Open Connection to Server. You can also make web pages and use LV to
programmatically open the web page.
Greg McKaskle
out.
Oops. I forgot it had been added and didn't look before posting. Live
and learn.
Greg McKaskle
as an
integer and pass a zero.
Greg McKaskle
, or human nature at least.
So, time is running out and if you have something that has a UI,
performance, or capability problem, please consider submitting it by
emailing to [EMAIL PROTECTED]
Thanks,
Greg McKaskle
to make the iterative version.
Greg McKaskle
in
attendance will learn something.
So if your app seems like good a good guinea pig, please consider
submitting it to [EMAIL PROTECTED], otherwise I'll keep asking.
Greg McKaskle
.
Of course I'd recommend that you be sure that you really need the
duplicates when used. If you have questions about the UI, you can ask
with more details, or you can also submit your UI to be critiqued for an
NIWeek session.
Greg McKaskle
that you overlay. The problem with this approach is that as
fonts change when you change platforms, or MS changes the default font,
your array and graph won't line up. The markers on the graph always will.
Greg McKaskle
. This is really just transferring the problem to the
subVI, but if you want to edit the main panel without this in your way,
that may be a decent solution. Otherwise, you can perhaps look for
another player that play more nicely.
Greg McKaskle
to Ctl-v.
Greg McKaskle
specific and can't
always be used in the general case.
Greg McKaskle
this interactively, show the cursor legend and use the style
button to select various appearance settings. Programmatically, you use
the graph property node, probably setting the Cursor Array with the
appearance properties all at once.
Greg McKaskle
pretty much the same
algorithm that LV uses. Or you can write the data to LV and immediately
set the min to zero leaving autoscaling on. You might try this in a
single property node or in a tightly sequenced set of property nodes,
possibly with panel updates turned off when doing it.
Greg
, just like the loop and case
statement that it is built from.
Greg McKaskle
the picture control. If you
have base, you can sacrifice some color information and use the
intensity graph.
Greg McKaskle
units. For time, that makes
seconds look like minutes.
Greg McKaskle
saw of it was the beta for 7.1, which was I believe
a few weeks after the OpenG version was posted.
So if it wins a Nobel or similar, I guess it will be a shared honor.
Anyway, it is interesting how many times this sort of thing seems to
happen.
Like I said, enjoy.
Greg McKaskle
Tracking tools? (Bugzilla, etc.)
SCC? (SourceSafe, CVS, etc.)
A home brewed company-wide groupware database for bug tracking, and we
once used our own front end to RCS, but currently use Perforce for SCC.
Greg McKaskle
and severely slowed down the app load time. The solution
was to convert the detailed .emf file to another form before adding to
the panel. As pointed out in the other posted answer, you might check
the VI Info to determine if it is panel, diagram, code, or data.
Greg McKaskle
, or attach a picture.
Greg McKaskle
go on vacation of something.
Greg McKaskle
this way for built apps.
Greg McKaskle
be pretty
reliable. But keep in mind that this will delay by consuming the CPU
for a period of time, not by releasing it to the OS, so the more this
delay is used, the higher the CPU usage will go.
Greg McKaskle
PROTECTED]
Greg McKaskle
doesn't work, search for high-precision timer or something
similar.
Greg McKaskle
color and name just
before showing to fit it to the thing clicked upon.
Greg McKaskle
in line. To
do this, you could use CGI in LV, Perl, etc.
Greg McKaskle
the outer scale ticks where you want, then
coloring or hiding the pieces you don't want to see. Unfortunately, the
meter is a troublesome control that has lots of ratios and things
hard-coded.
Greg McKaskle
for other functionality, it has
to have special code for the window manager, KDE, etc.
Greg McKaskle
save a few of the newest. Coming up with a
universal storage format is very difficult.
Greg McKaskle
.
Greg McKaskle
, by by an
OpenGL driver in its own memory buffer slows it down further. For
slowly changing plots, they look quite nice. This doesn't make sense
for dense data or quickly changing data.
Greg McKaskle
usually be collapsed down
into a single loop, but some prefer to keep them separate.
If you describe more of why you want the event structures in different
cases, we can give alternatives that make more sense.
Greg McKaskle
the tasks you want to proceed in
parallel. This is different than older DAQ where the balance was often
out of whack and one mechanism existed to yield the CPU and thread back
to LV.
Greg McKaskle
%26temp1=%26node=
If this URL doesn't work search for two words, wish list, and it will
lead you to the Product Suggestion Center.
Greg McKaskle
Use this wish list instead:
http://forums.lavausergroup.org/index.php?showforum=14
} Can't find NI's wishlist page.
}
and set
the option. When dropped, you will get the build array's default size
already wired to the other subVI.
Greg McKaskle
probably want a delay in the loop.
Greg McKaskle
returning or leave it to the
caller. Just be sure they are in agreement.
Greg McKaskle
.
Greg McKaskle
is equivalent to a coversion bullet.
Does this answer your question?
Greg McKaskle
the .NET or C# code will produce an
assembly, the easiest thing to do is to use the .NET assembly. It is
probably possible to build a DLL instead or put a DLL wrapper on it, but
I'm not sure it is worth it.
Greg McKaskle
is the
IsFrontmost property of a VI.
You might start by looking up the help and looking for examples on these
individually. If you need additional help, please be more explicit.
Greg McKaskle
Libraries (DLLs) and Calling Them from LabVIEW
on zone.ni.com. This tutorial goes over lots of DLL related issues and
has an example of passing a numeric array in and out of a DLL.
Greg McKaskle
indicators to view the results.
If you still have problems, please be specific as to which step causes
problems.
Greg McKaskle
. If it is nonfunctional, the
reentrancy only makes sense one way, and the compiler can't tell which
makes sense, only the designer of the VI.
Greg Mckaskle
the VI
server code to them as well, or add a user event that passes the request
on to the Main VI.
To close a panel, get the reference and close the window. You can also
abort the VI if that is what you intend.
Greg McKaskle
, you might try smaller numbers and see if that is part
of the problem. Otherwise it might be some other part of your diagram.
Greg McKaskle
There are some examples that ship with LV, but you will find many more
on devzone or labview zone if you search for Calling External Code.
Greg McKaskle
seb wrote:
Thank you Greg for the answer,
Do you know where I can find some example to write my drivers ?
Merci !
Sebastien
through a function that computes colors and puts the value into
the output array of clusters.
Greg McKaskle
But unfortunately all suggestions did not work.
Is there any other chance to cancel it?
Open a New VI, use VI... to browse to and drop the icon for the top VI.
It will not start running. Double click on it and it will not start
running. If it does, please explain where it starts.
Greg
many functions you will
need and how many times you see the word struct or other more
complicated C datatype stuff. If you haven't got the time or skills,
but do have the money, you might want to look for an alliance member in
your area.
Greg McKaskle
at either development SDK functions from the
vendors or to third party toolkits that have already wrapped things up
into VIs.
Greg McKaskle
it and put it in your own palette, it is pretty similar.
Greg McKaskle
asynchronous
notifications and more a function call with a funny calling convention.
So what is in LV7 is a subVI callback that you register.
Greg McKaskle
. Another
trick is to open and set a breakpoint on a subVI of the VI.
Greg McKaskle
several shift registers for various data, you might decide to
combine them into a cluster and use fewer shift registers. The choice
is yours.
Greg McKaskle
, and if they are the same, the
waveforms will line up on their initial point.
Greg McKaskle
on a
panel using 3D controls.
Greg McKaskle
they will need to know this later in life
while others hack their way through just enough to get the desired A, B,
or C.
Enjoy,
Greg McKaskle
, write to them always, but if you can
measure a problem or have spare time on your hands, add code to make the
update conditional and deal with the data when being shown.
Greg McKaskle
, then
programmatically hide the ones you don't need and show the ones you are
using. You can also set the Plot Active Y Scale to select which Y scale
is used for the plot.
Greg McKaskle
solution to what problem is
quicker if you are an experienced programmer in any other language. If
not, make lots of small controlled experiments and ask questions.
Greg McKaskle
a minimum of locals as more locals open up the
possibility of more race conditions.
To update a progress bar on another panel, use a control reference's
value property.
Greg McKaskle
done, please ask,
I'll stop making excuses for how hard it is now.
Greg McKaskle
the VI to check for corruption. Post
again if this is the case and it isn't obvious why the DLL call is
corrupting memory.
Greg McKaskle
.
Greg McKaskle
and you probably will get what you want.
I believe this is what happens by default when using single point DAQ.
Greg McKaskle
will
still be with us. If you or anyone else has more concrete suggestions,
please let us know about them, here or better yet in a suggestion form.
Greg McKaskle
be minimized to a point, but at some point the
convenience of dealing with a simple arrays takes too much memory and
you need to operate in blocks or on decimated data. There are some
pretty good articles on dealing with large arrays on the NI web site.
Greg McKaskle
it to the subpanel versions of themselves. Definitely
not elegant, but quick in a pinch.
Greg McKaskle
. This hopefully means this interface
doesn't change as much, but the LV to LV interface can offer more
options and change more often without disturbing the rest of the app.
Greg McKaskle
and the scales
would just change alot.
It is not built-in, but a subVI could easily be written to do this
whenever asked on any slide, given its reference and perhaps a parameter
to state the style of rescaling.
Perhaps someone already has a similar VI they would like to put on devzone?
Greg McKaskle
.
Greg McKaskle
,
accessable and usable from LV so that you get the best of both. This is
true of most/all good libraries.
Greg McKaskle
user
directory. If this doesn't help, ask again and I can look into it
further when I'm near a PC.
Greg McKaskle
synchronization from both LV using the DLL node and from
your C++ code.
Personally I'd go for the call unless you need notification during their
execution and not simply at the end of the VI.
Greg McKaskle
1 - 100 of 281 matches
Mail list logo