Hey pyj
You are right, but unfortunatelly I do not have LV6.1 rigt now.
good luck
Pawel
for example, after a vi(frontpanel included) has been executed, could
it be closed automatically? (not only stop the vi,but also close the
frontpanel)
I accomplish it through the vi property node and invoke node, it seems
that this method isn't so weell.
> The first question is just a question about the inital placement of a
> control/indicator.
> I had my application just about finished when I thought about hiding and moving
> controls. At which point the 'Origin' of the panel
> was lost. I just programmatically move a control to 0,0 and took it
> This DLL is supplied by the hardware manufacturer and I cannot
> re-build or breakpoint the DLL as I do not have the source. I've also
> looked at the excellent "Call DLL.vi" example that ship with LV7.0 and
> have tried to replicate the Call Lib Node configuration in the VIs
> (WinCHAR.vi, ANSIu
Thank you for your reply. I completely understand the meaning of
backlog. And I found in my program the backlog can be as high as 1000
but it does not increase continusely. Sometimes it will decrease to
about 200, and all can work well. When I try to set a small buffer
size, error will occur immedi
1. Add big boolean button on your front panel, and lable it "Run";)
2. Hide toolbar
3. Make your VI run when open
4. At the beginning of your VI, add a while loop.
5. Use the big "Run" button to stop the loop, and start run your VI.
6. Don't forget to add an time delay in the while loop, so that it
esvaq;
You can check (i.e., search) internal errors at the following page:
http://www.ni.com/support/failure/
Apparently, the specific internal error you are mentioning is not
documented in NI Knowledge base. Check the NI document http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3c
LMichaud;
The LabVIEW 6i Student Edition http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B4B83FB38BFC3469E034080020E74861&p_node=DZ52026&p_submitted=N&p_rank=&p_answer=&p_source=External";>VIs
are here. I think those are the VIs included in the Learning with
LabView 6i book.
Rega
Miro;
That type of error is an internal error. You can check (i.e. search)
for documented errors here:
http://www.ni.com/support/failure/
Apparently, your specific error is not documented. Look also at the
following NI document:
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/
Sumara;
"NI Developer Zone" is a section at NI website dedicated to developers
that use National Instruments products. The following link will take
you there:
http://zone.ni.com/zone/jsp/zone.jsp
Because you are interested in LabVIEW, you can go directly to the http://zone.ni.com/devzone/labview
If you cleverly store 60 MS/s as 8 bit binary files, you may get close to fast disk
speed. If you convert them to single precision or anything else you well certainly
have to get a raid and possibly multiple channels at that.
Further this will impact the PCI bus and you better have good bandwid
Hi Ben,
Thanks for taking the time to respond. From my understanding, on a
dedicated connection, a network utilization of close to 60% can be
reasonably expected for TCP/IP connections. That would give me 60mbps
in which to work. (I usually like to work with around 100% overhead
available.) Th
has anyone tried using labview to send msgs to an irc channel??? if so
i would lie to know more.
Dave,
I think that your best bet would be to access a TWAIN driver from LabVIEW.
If you go any lower-level than this, you will need to know a lot more about
your scanner than you probably care to learn.
Alliance Vision sells a library that contains the LabVIEW / IMAQ Vision Vi's
for TWAIN pro
Matthew,
the link you provided does not seem to work (at this very moment), but
your explanation was sufficient to change my example code and have my
ActiveX client generate an event. Great !
Thanks a lot for your help.
Frans.
LabVIEW 6.1 and up allow you to put animated GIF files on the panel
and on the diagram (we have a picture of a burning computer on one
diagram :). You can put an animated GIF in a picture control and hide
the control until you want people to see it. We are using an animated
hourglass to show that t
I don't think there is. You could lower the resolution on the screen,
use a help program to magnify the area around the mouse pointer
(you'll find lot's of those on download.com e.g.)...or encourage the
use of the Ctrl+R shortcut instead.
If this is in a built application I would not show the LV t
Having run LabVIEW on a variety of systems, I've found that it's not
that unusual to find a program run faster on an NT system than on
other systems. I haven't compared WIN2000 with NT yet, but WIN2000
does run faster than on XP.
NT has *MUCH* better multitasking than Win98, so this explains quite
Has anyone ever tried to access a flatbed or sheetfeed scanner
directly from LV?
One could have a user make files from the scanner's software and then
access the files from LV, but it would be nicer to have the LV app do
everything...
David
--
David Ferster
Actimetrics, Inc.
1024 Austin St.,
I have an app that will disassemble a peice of code.
in VB I use this to execute the file then various other commands to
enter my data.
AppActivate hDis
Clipboard.Clear
SendKeys "^{HOME}", True
SendKeys "+{END}", True
SendKeys "{DEL}", True
SendKeys address, True
SendKeys
Hi! I am not certain about some more sophisticated way to do it, but
this 'primitive one' will still do the job:
- you completely edit one (first one) box
- simply clone the first box multiple times (by Ctrl + mouse drag, or
by copy and then paste) and change their names to the ones you need
(new l
On your front panel, select the 6 string controls.
The third button to the right of the Application Font selector is
called "Resize Objects", select it.
Choose "Set Width & Height".
It will show you the current values for the string controls that you
selected (at the bottom of the window). Pick
Hi!
This is another failure that I got lately. I think it also has
something with the "3D Surface Graph" that I already posted a question
about (in fact, just yesterday). My impression is that cw 3D Surface
Graph has some fatalities in it that cause the whole application work
unstably.
Thanks,
Miro
Hello all,
Is there a simple way to enlarge the run button on the front panel?
One of my co-workers compaains that it is too small and would I like
to enlarge it.
Thanks,
Jay Poret
AOT, Inc.
Sean,
Thank you for the follow up.
Hello Frans,
Thank you for contacting National Instruments.
The Value (Signaling) property allows you to change the value of a
control or indicator programmatically on the block diagram, while also
generating a value-changed event that can be captured for further use
in the program. The followin
Hi, Mike
I can't completely answer your question but will tell you the best I
can. If you dig into the guts of the Database Connectivity Toolkit
VIs, you'll eventually get down to the ActiveX layer. Here you will
see exactly what methods and properties are used and in what order.
You can use the
We did use the help menu for the colors and we were unable to make it
work. Thank you for your help.
Please learn to use the "find example ..." from the "Help" menu,
search for "colors", there is a VI called "Create IntGraph Color
Table.vi" which you can use to generate the color table you want to
use. Then you need to create a property node of the intensity graph
and there is a property called "
i have six 6 string control (text boxes) for say 12 chars Max. i can
place text boxes on my front panel, align & label them but i can't
remember how to make them the same size???
I wouldn't expect a speed difference because of the serial port. What
about the performance of the different PCs? I suspect the Win-NT is
more powerful. If so, it may be capable of doing the other tasks
(non-serial communication) faster.
One bottleneck may be writing data to the HardDrive.
Whe
Try enabling flow control (not hardware handshaking). That should
handle all of the X-on and X-off's.
The only things you have to cover then are FF and LF.
The other characters may not even come up if you are not using the
device to do editing of commands.
Your termination character will be CR,
I have a few more questions for you about the VI. How do I change the
colors on the graph so that they range from blue to red instead of
being all shades of blue? Also can the Q1, Q2, Q3, and Q4 inputs be a
Four seperate input channels? Could you also tell me what exactly the
array does because
Hello Dawna:
In fact, I had already implemented your 'global' alternative solution
using a LabVIEW 2 style global and it worked fine. Thanks for the
information that NI is addressing this.
Sincerely,
Don
I ran across this ini file setting and had to try it out on this
example.
defprecision=Single
Sure enough, if you re-start LV with this setting then disconnect the
lower input feeding the subtract node and then re-connect it,
BINGO
It is now a Single.
So...
any ideas what the bottom line is?
I
Why not use a progress bar.
>From your front panel, go into the Controls Palette, select "Numeric"
and pick one of the 4 available progress bar. Pick something that you
can measure progress with and wire it to the bar.
If you wish to have a flash-light that moves sideways (like Windows),
then tr
My problem is that inserting BLOBs into an Oracle database using their
ADO drivers is very slow. I have talked to Oracle and to troubleshoot
the problem that need to know exactly what LV tells the ADO drivers to
do during the insert. There is clearly something going on because LV
somehow filters-ou
"I have two machines running the same program, interfacing with a
serial device. Both are running Labview 6.1, NI-DAQ 6.9.3. The only
difference is one machine is Windows NT, the other Win98. The Win98
machine runs the serial program about 3 times as slow. There is no
difference in the program. An
I am using an 1104C SCXI card reading into a 6052E series DAQ card.
When I configure my virtual channels in MAX, how does that range map
over onto the card's range? If I set from say 0-8V does the card see
it as 0-10V? I am wondering what kind of accuracy issues I may be
dealing with here. I can
Hello David,
Thank you for contacting National Instruments.
We currently do not have drivers specific to that instrument in our
Instrument Driver Network. You may need to use the VISA functions in
LabVIEW to communicate with the instrument. You can, however, submit
a request that drivers be mad
Thank you!
These are called Sequence Locals. You add them to the sequence
structure by right clicking on the sequence frame, and selecting 'Add
sequence local' from the context menu. A new one will be placed on the
border, but initially it will not have an arrow.
Once you wire something to it, an arrow will
Waldemar,
Thank you so much for your response!
I knew there was something silly I was doing wrong, but I just
couldn't figure it out.
Thanks again, you've saved me a bunch of time!
Dave Neumann
I can create a container and insert an active x object.
The vi will run but if saved and recalled the control
disappears! No other indication of a problem.
Hi
Is there any one out there who has used LabVIEW to build a policy
server? What is I mean by policy server here is a set of rules to
administer, manage, and
control access to some resources and its use in granting access. Would
like to know if there exists any such readily available LV tools/VIs
Instead of asking if this is possible, I would ask if this is necessary.
If you are just averaging the data, there is no reason to acquire at 10
MS/s. I assume you are using a portion of this data for some sort of
analysis or storing it for later use.
Perhaps you could use a slower speed card an
Sorry for the intrusion, but , with the wealth of knowledge on this list I
am hoping someone can assist us...
We are in need of a thermal shock chamber easy so far
The temps are a little more extreme than usual:
Cold side -40C
Hot side 1000C (yep 3 zeros)
Anyone know of a company that c
Well that certainly did it. Thank you very much for your time in
looking at this so quickly. This is definitely a point that I missed.
It is interesting that LabVIEW 6.1 handled this error "okay", but I am
happy to know the correct way to build the input waveform.
Thanks again.
Hello Greg
Not sure what happened in my last posting but the LabVIEW error detail
got missed off the posting!
In answer to your questions regarding the blank string buffer - I've
tried 24 bytes, 48 bytes and 100 bytes of reserved space for the
output string buffer from the DLL but LabVIEW always
i find there are arrow inside a small squares next to the edge of the
sequence for passing data over frames.
i couldn't neither find this square in the control panel nor copy them
from examples and paste to my vi.
please advise.
thank you
nick
I am looking for a indicator like a FLASH LIGH, just show my
sequencies moving on, so that nobody thinks program stops when it
works
thank you very much..but what is NI's developer?!?thanx
thanks I will try that
Thanks. I actually came up with that solution but I was having a bit
of a problem implementing/modifying the simple data logger since I'm
quite new to LabView and am working with limited time.
I'm considering other solutions in LabView as well.
Thanks for your help.
Dear Dave,
The setting of the size is working but your parameters are inadequate
for a HTML document.
The reporting VIs are generating HTML which is decrepated. It
generates a FONT tag with a size attribute with "30pt" and "10pt" as
you have set in the Set Report Font parameters. The HTML standard
I think NI needs to realize that with the latest round of high-speed
DAQ cards, they've broken the back of the PCI/PXI bus. The PCI/PXI
backplane, in reality, will only handle 70-80 MBytes/sec. Continuous 60
MS/s of 12-bit or better data is 120MBytes/sec.
What we have used for high data rate
Doug 80910,
I apologize for the false link. I tried to link you to an internal
only page. I will list the steps below in case you are still
interested. (Again, replace steps 4-6 with the appropriate steps for
your activeX object)
1 On the front panel, open the Controls Palette and select
Refnu
By function I mean a LabVIEW function or VI. If the paths are
constants, I'd check to make sure that the path is still valid. You
could also replace the constant with the File Dialog function on the
File I/O>Advanced File Options palette or use a front panel path
control with the browse button visi
Typically you would update an Image Display control from a subVI using
the Value property nodes. However, this method does not currently work
with LabVIEW 7 and Vision 7, but the issue will be resolved in the
next release of LabVIEW and Vision.
In the meantime, in addition to the solution you foun
How about a sequence like this:
1. Set cursor to busy (wait glass)
2. Update display
3. Reset cursor
George Zou
http://gtoolbox.yeah.net
Hello Ondra,
After some research I have discovered that Mozilla is not supported
for viewing remote panels. I suggest using Netscape 6 or later.
I hope this helps,
Sean C.
Applications Engineer
National Instruments
I'm streaming waveform data to a binary file to be read by a
third-party waveform analysis software. When opening the file,
however, the waveform data is unintelligible. I have read that Labview
uses BigEndian coding, while most PC programs use LittleEndian coding;
how do I convert from Big to Litt
Dennis,
I always forget this because it is so self-evident (I hope the word is
right) for a experienced programmer.
You should send me a bomb if I do it again.
Waldemar
instead of a case struture. How do you think about the event structure
? Would it be a better idea ?
There is not a direct way of saving back 2 versions. LabVIEW only
supports saving a single version back, ie 7.0 to 6.1. I believe the
conversion kit that was mentioned refers to the ability to open old
versions, 3.1, in newer versions of LabVIEW.
The only way that you can save a VI from 7.0 to 6
Thanks to Sean and Ben for their responses. Each response is useful
but I am actually looking for something a little different. My
application needs to do five things.
1) communicate with the host via serial port or tcp/ip.
2) emulated the vt100 (xterm) display
3) direct input to host from the LV
all the paths in the program are constannts.
by function you mean my program?
The best way to implement this is using a background VI for
DAQ+storage. Load this VI from your main VI with Open VI Reference and
start the VI with the Invoke node Run VI. Use a named queue to send
data from your UI VI to the background VI. Use a strict typedef for
the data to transfer over the qu
I exhausted every resource I could find, and came up with only one
answer: unclutter
It is a small utility that will hide the mouse cursor after a small
period of inactivity. It will not work on the root window, however.
Also, it is probably not ideal for a touchscreen since the cursor will
reap
The error could be due to an invalid path or file name. How are you
providing the path to the function? Is it a constant or are you using
the File Dialog function first to allow for path selection?
The front panel of all VIs which are Top level VIs in the application
will be opened. You can use the property FP.State to hide the front
panel if there is no need to show it.
Waldemar
Hi, I don't udnerstand what you mean. If I want to store the new time
value in a global, I need to detect my change of state of this bolean
indicator. How can I mange it? Could you send me a small VI? Thanks,
Angel
dear pawel;
thank you ,but what you say is proper for lv7.0,my question is used in
lv 6.1,can you help me!!1
Unfortunately I don't have the code anymore. My harddrive was damaged
sometime ago, and puff, everything was gone.
Search for some examples from Help>>Find Examples ...
Try to search for "structures" or "mouse". The examples are
straightforward.
Joe
> My kludge/workaround is to add a variable delay before the message is
> cleared. The delay is based on the image size and some
> empirically-derived constants.
The issue is that the terminals and locals of controls schedule an
update and allow for batching. They are not synchronous. To
synch
I posted 6.1 and 5.0 versions. Open the 5.0 one.
If you have strict typedefs for the dynamic loaded VIs you need to
include the line "BldApp.RemovePolyVIsandTypedefs=False" into your LV
ini file. See http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650008005497&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0";>this
di
Are you taking into account that the path to a VI is different in a
built app?
Has anyone ever come across Short Time Processing methods? I would
like to look into Short Time Energy Function, Short Time Average Zero
Crossing Rate and Median Smoothing. I don't know a lot about them, but
don't want to get too deep in before I find out it's going to be a
nightmare to work on! I'
Mathews example uses the old SQL Toolkit from NI. I don't believe this
is sold anymore. It has been replaced with the http://sine.ni.com/apps/we/nioc.vp?cid=6429&lang=US";>Database
Connectivity Toolkit. It comes with a bunch of examples and is
pretty simple to use but it is not cheap. If you're fam
Hi,
in a circular buffered acquisition the scan backlog indicates the
number of acquired data to be retrieved from the allocated buffer.
If the scan backlog overcomes the buffer size an error (code:-10846)is
generated, this situation occurs when you are not reading fast enough
from the buffer until
I was just helping a colleague who was having a tremendous slowdown in a data acq
system. It was continuously taking 34 channels at 2 kHz and buffering about 15
seconds of data. Not a tremendous amounts but it kept running out of data and after
taking some data, LV itself would take 30 seconds
> I don't believe though that the other event will actually execute
> until the first one completely finishes. Even if you use a sequence
> to call the other event. The other event's timecode will indicate
> when it was called or placed in the queue to be executed. Note this
> behavior is differ
You cannot prioritize the events handled by the event structure. The
events will always be handled in a FIFO like manner. There seems to be
no other method than Abort VI to terminate an event.
If you need to reorder the events you have to use your own queue and a
state machine to do that. Also long
You can set under Tools>>Options>>Performance and Disk the "Deallocate
memory as soon as possible" check box. This will release memory
earlier than LV will normally do. It will increase runtime in the case
when memory is allocated and freed often during the processing of the
data.
In LV 7.0 under A
Hi Adam,
It has been a couple of days and no response on this Q so I will
relpy.
First, you have done your homework well. I have not used the TCP
functions from Sheldon Instruments so I can not comment on that.
I think the Naegel option would help if you were send alot of small
packets that need
Any help about the first error, i tried to remove the error but I am
not to be able to solve it.
I would like the legend plot name, at start the program was items, and
i add curves, show the names and when i remove the any curve,it would
remove the name, but i dont know how can i doing it...
Rega
Many thanks - this has worked a treat!
"Hello
Frequency = 1/Time
frequency is the reciprocal function of time and is available in
"Functions pallette -> Numeric pallette"
wire your time value into this and it will return 1/X which is the
frequency of the corresponding time. and save the data which is giving
the frequency output to save
Ok thanks!, but is it possible to call to external program compiler?
with the vi to modified the text in c to hex and then with labview vi
program the pic... dont is?.
thanks, any help?.
I am an italian student and I am trying to monitoring a cutting marble
process using accelerometers. I have done a programm using Labview 6
and I am able to save data displaing in time domain to read them with
excel, but I am not able to save data from displaing in frequency
domain.Someone can help
Thank you Mads - you've pointed me in a new direction.
Hi there,
is there a way to close a vi's front panel (in labview 6.1) besides
the quit labview function,
this function closes all vi's that are open.
Say you have a main vi and several subvi's, in the main you select a
task which opens a subvi where you can select several subtasks. But
from the mo
This is done using a property node. Right-click on the control and
select create -> property node. A property ndoe will pop up on the
diagramme. Click on the property node and you can select what property
to read or write. You can expand the node to include multiple property
terminals. You'll find
Most often controlling the closing and opening of the panel is done
from the VI properties -> window appearance setup, there you can set
whether the VIs front panel should open when called or loaded and
whether it should close when finished. The same properties can be
set/overrun when calling the V
Hello f_d,
yes it's possible. You have to use the VI property
nodes. With this you can control the front panel of
sub-vi's (or main-vi's).
You have to pass a vi reference (Open VI Reference)
and then select the property FrontPanel.Open, wire
true (or false, just as needed) and then it works...
Be
As many other LabVIEW users, I wanted to include Matlab functions in
LabVIEW by means of a DLL. To achieve this, instead of using a wrapper
DLL as I have seen in this Discussion Forums, I created the DLL with
Mathworks COM Builder, directly from the '.m' files, that builds and
registers the compone
Thank you for the answer joe. working inside labview would be enough
for me. is it possiple to post or send me an example. i'm not so
familiar with event structure and so i could learn. thanxs a lot and a
nice day.
st
Hello Dennis, Since my requirement is somewhat is solvable with your
method, I tried to use your vis. But they could not be open (error9:
newer labview version 6.1 than version 6.0 ). could you give the code
compabtible for labview6i.
Thanks
Dear Mr.Nayisoe,
Thanks for yor reply. The code you you have attached could not be
opened as the error pops up to say the vi version(6.1) is newer than
6.0. But I myself tried as per your suggestion. But the front panel
just pops and closes. Just flickers.
Actually I want a sub vi's front panel to
1 - 100 of 103 matches
Mail list logo