Not real sure what you are trying to ask here.
If you don't want to use the Unbundle functions, you can get to the
cluster element values using a property node, but the Unbundle
functions are far more efficient and using the property nodes would be
just as annoying if not more so.
I don't think t
Hi Grace,
You can actually pick a single element from the cluster. This way you
do not have to unbundle the entire cluster.
In the Functions Palette, under "Cluster", place the "Unbundle By
Name" icon on the block diagram and wire in the cluster. Use the
"Operate Value" tool (the finger icon) a
>You pointed out that depending on which calling
>convention you use, either the function or the calling
>code pops parameters off the stack. Which convention
>does which, and does one method inherently involve
> less overhead than the other?
With cdecl the caller is responsible to adjust the sta
If the microcontroller doesn't have a stand-alone async serial port,
it's necessary to bit-bang data in and out. When doing that there's
no inherent buffering - the microcontroller has to be programmed to
sample (and usually oversample) the incoming data stream to
reconstruct the bits into a byte,
Lori,
Again, this is a very intriguing problem. When the bus is "broken"
and the offending instrument is on it, do you get the error in MAX
that says that it could not find any instruments, or does it simply
not tell you anything after you hit "Scan for instruments"? Looking
at your SPY file, I
Thanks, David,
You've answered my question. If you don't mind carrying on this
discussion just a little further, though, you've brought up one more
question...
You pointed out that depending on which calling convention you use,
either the function or the calling code pops parameters off the stac
I work for a multinational Japanesse Company and use Labview to take
data on a daily basis. I also need to view Japanesse text so that I
can utilize translation software in comunication with our parent
company. When Japanesse Text is enabled on the system the file
location changes from C:\Program
Thanks for the help, that's how I ended up getting around the problem.
I am still confused why I can't just overwrite the file when I select
that option using the Write LabVIEW Measurement file.
Hi,
I looked into this issue and here's what I found.
http://digital.ni.com/public.nsf/websearch/89E970DB93084AB386256DAE004378A1?OpenDocument";>Null
Window Error when Running Application Built with Sub-VI?
I hope this helps.
Feroz
National Instruments
Yes, I can undrestand it is a memory leak.
Can Anybody advise me on how to debug or fix the problem. I have
altered the code to make it as memory efficient as possible.
Dennis,
You have given me links to a Print VI that prints the whole front
panel. How would I make this VI functional for printing just a graph
or table in the front panel ? Also, the Print Dialog VI that you
pointed at, does not have the option of selecting number of copies for
prin
I'm using activex to write and save excel files in LabVIEW. My
application opens excel (not visible)writes a file, saves it, and then
closes both the file and excel. When I try to open the file Excel
opens but the file is not displayed, I see the excel header and footer
but the file itself does no
I am upgrading an image acquisition system to LabVIEW 7 and was
wondering what are the relative benefits, if any, of 2000 and XP (both
Pro). I primarily use two 1422 boards to grab simultaneous images
from two cameras at a rate of up to 60 Hz (320x256x8 and 320x240x8).
Any advice?
It sounds like a memory leak.
I'm not sure what you mean with "before being concatenated with the
rest of the pointer".
An x86 machine is little endian. So the CPU expects the bytes to be
in reverse order. If a function in your dll expects an int32, it will
want the bytes in reverse order.
So, when LabVIEW makes calls to na
Do u mean "Main.vi" , File , Vi properties and where over there , eg.
documentation category i don't have anything help file "Help Path".
I think allso that there could be refer to some vi what i dont have !
Is there problem if i insert all possible LLB:s in to source file. I
mean that if there i
Are you using 6.0 or 6.1? I can convert it to 6.1, and may have a
version of it somewhere in 6.0.2.
You can create reference for individual element in the cluster
explicitly. To do so, right click on an element inside the cluster,
goto "Create >> Reference". See if this helps.
-Joe
Sometimes when you dialog controls, the last "OK" button added to the
front panel has the focus turned on by default. You can right click
on the control and select "Customize >> Key Navigation" and select
"None" in the list.
It seems you have a different problem and are using event structure.
Nom
It seems like you already doing it, but not complete, you need to
close the report reference by using "Dispose Report", one of the input
for this VI is "Save Change?".
-Joe
You can always use a smaller wait (either wait or Wait Until Next ms
Multiple) in a loop so your VI does not lock up (no response from
clicks), and count how long the vi is in idle. It should be acurate
enough (within 30 seoncds out of 19 minutes).
If you use event in your VI, then simply wire 19
The only thing I can imagine is if the input range is set too high
(The gain too low) so that the resolution is too low to detect any
better then +- 0.465V. +-0.465 V is a HUGE threshold if this has
anything to do with resolution! Are you sure it's Volt, and not
Millivolt?
Shane.
In LabVIEW's examples -> Key word : Waveforms -> Lots of VI's could be
intersting for you (Noise waveforms and PS Density.vi for instance).
Feel free to refer as much as possible to those examples. They often
show you how to develop things.
That's all I can tell you
Hope this helps !
Julien
If I call a batch file with parameters with the system exec I get the
message "Out of enviroment space"
The command Line looks like that:
command.com /C go.bat "Parameter1" "Parameter2"
go.bat starts but withe the message "out of environment space" and the
parameters are not transmitted.
> New format for the daily digest
> by "Christopher J. Dubea" <[EMAIL PROTECTED]>
> Format of new digest messages
> by <[EMAIL PROTECTED]>
> RE: Digest Format...
> by "Scott Remington" <[EMAIL PROTECTED]>
> RE: Digest Format...
> by "Coffmon, Roger [L
Dave...there shouldn't be any reason why you couldn't do this with the
16E-1 adn the BNC-2110. On the 2110 there is a BNC for counter0
output. You need to wire this into User1 BNC and wire that to PFI4
which is the gate of counter1. Then you can wire your trigger into
PFI0 which is also a BNC co
The question is: have you ever heard that some DAQ VI don't work if
input signal is too low? It seems quite strange.
Normally, it should work.
Which version of Netmeeting and LabVIEW do you have ?
When you say that NetMeeting shuts down, what is the VI State ? How
dou you perform testing ?
Regards.
Naveen,
you asked on Wed, 14 Apr 2004 12:02:42 +0530:
We are planning to build a test system for testing a power supply
module. Power supply module has 10 outputs ranging from 5V to 24V
We are planning to use a single NI DMM 4060 / 4070. and a switch
multiplexer (SCXI 1127 as there are some other
I have a string of 39KB that I want to store into a SQL server 2000
table. The defined field in the table is "text" because a "nvarchar"
type can only store up to 8KB. The problem now is that the NI ODBC
toolkit converts a LabVIEW string into a varchar field (see supported
data types). That's why S
I don't know about accuracy, but I noticed something funny last week
while running a program.
I have a program which communicates over RS-232 and I need to make
pauses now and then. After sending a few commands, I set the VI to
wait for 20 minutes (120 ms). If I call the 20 minutes, half the
Hi,
I want to adjust the color of an ROI, when it is moved by the user.
Normally it will be white, but I want a more visible color, like red:
(it's a b/w picture, where you don't see the roi during moving).
TIA
Peter
I only have the evaluation version of LV 7 on my computer, and I don't
have any DAQ installed for it. Therefore, I can't test the program.
I have seen, however, that you send "0" to the parameter for "number
of scans" for the AI Start function. Is this correct for continuous
scans, or should this
Still the main vi events are fired. When the key focus is set to a
certain control does that mean that this control is the first to
handle the events? If so, can you keep them from passing trhough to
the vi?
JOhan
G'Day Mihai,
As far as I'm aware, although there is no longer a physical NI NZ
office, NI still has a FSE (Archie Garcia) on the ground parttime in NZ.
That said, I'm sure that you're always welcome to either chat to Archie when
he's not in NZ, and/or someone here at Neo Vista System Integ
Hey Joe, thanks for your answer. Unfortunately I'm not able to find
that VI anywhere. If you could help me find it, that would be great. I
wire it then to the converted "Write LVM" VI, right?
Bernd
I just learned how to use property nodes and refnums to modify the
values of individual controls inside of a type-defined cluster. But
when I incorporate this into an existing and working VI, a weird thing
happens: the VI works exactly as it should when it is running, but
when I quit the VI, the V
G'Day Dan,
Have a look at the LabVIEW config file VIs (Functions>>File I/O>>Conjuration
File Vis) - they were created using OOP principles. Probably one of the
most important Vis you want to look at in their hierarchy is "Config Data
Registry" - this is the structured LV2-Style global that acts a
HI,
I have program1.vi running. When a user clicks on a button,
Program2.vi needs to be launched. The way I am doing it now, is by
calling Program2 in Program1; so program2 acts as a subVI. But I have
a problem here..I dont want my Program1 to be running, when Program2
is called
In building pointers to be passed to certain dll calls, I have noticed
that I need to pay attention to some peculiar details if I want the
functions to execute properly. Namely, numeric types must have their
bytes reversed from the way in which LabVIEW orders them
(least-significant last) before b
Chances are you only have the base package and this is only included
with the Full version and up. If this isn't mentioned in the
instructions, then I suggest contacting NI directly and mentioning
that the manual needs to be corrected.
actually the card is a PCI-MIO 16E-1. On a PXI-6025E that we have, I
see that there are hardware connections for all the aforementioned
signals. I don't think the gates are available on the 16E-1 combined
with the BNC-2110. So is such a trigger possible with my setup or
should I be using some other
Right click on the Y scale and select Duplicate Scale. You can keep it
on the left side or right click again on the scale you want and select
Swap Sides. When you have a duplicate scale, the next thing to do is
to associate that scale to a specific plot. In the plot legend, right
click the plot and
When I loaded the VI Example for Chapter 2 of getting started it won't
let me run the program because its missing the amplitude and level
measurement palette/VI. I was wondering how I could get it back?
I guess I should have added that I'm using an E-series pci card (no
PXI) with a BNC-2110 breakout box. I'll have to plead ignorance as to
how to connect these signals, is this a software routing? Thanks for
the help.
Actually, I was refering to the OpenOffice.org suite (you know, the
FREE office tools). I can control Microsoft products already but I
would like to get away from them.
Hi,
I want to communicate with this USB-Interface-Chip USBN9603 ->
http://www.farnell.com/datasheets/35246.pdf
When I take a look at this tutorial
http://zone.ni.com/devzone/conceptd.nsf/webmain/6792BAB18242082786256DD7006B6416?opendocument
I have to know things like vendor ID, product ID, manufac
I am a fairly new user to Labview and I would like to time an event.
More specifically how would I be able to time (in ms) how long it
takes a user to push a button on the hardware.
I am new to the industry and very new to labwindows. In my lab we use
ProComm Plus, a terminal emulation application to control our hardware
via serial connection to our PC's. We can write simple scripts to
perform testing on our products, update our products, etc. I am
looking for something in Lab
In the examples, all of that has already been done for you. All you
have to do is use the provided VIs. However, if you wish to learn
about calling DLLs and using CINs, Open the LabVIEW Bookshelf from the
hlpe menu and open "Using External Code in LabVIEW".
Thanks for the info Dennis.
How do I interface with C-code through Call Library Function?
And what is the difference between Call Library Function and Call
Interface Node ?
Thanks.
Hmmm...
It looks to me like you should be able to as if you'll look under XY
Graph Properties->Plots, each plot has a drop-down list of items
specifying the Y-Scale and X-Scale that the current plot is using.
The only problem is, each list only contains a single item - either
the current X-Scale
Howdy all,
There was a similar earlier post asking about wait accuracy over small
periods:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000800D4A2&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=Accuracy+of+Wait+Function&USEARCHCONTEXT_
I was looking into using subpanels in an application that I am building. I
want subpanels so that I can add new filetypes to the app at a later time
without any problems. I was wondering about any pitfalls that I may find if
I go with subpanels. The app will end up being an executable and that i
hey bernd it's me again. What you will need to do if you want to use
this Vi is place it on the block diagram. right click on it then
select open front panel and then convert. Go to the block diagram and
dig down in the vi until you find a Vi called
ex_Headertospreadsheetstr open that up and save i
Hey Jared,
I would suggest starting by determining how you're going to
communicate with your hardware. You'll need to have some way maybe
through Serial or GPIB to communicate with the micrologger and the
cirulator. I would get the communication working in LabVIEW and then
move onto programming
I=92ve been tasked to build some VIs to control a Mitsubishi PLC that
controls a Temp/Vibe chamber. The PLC series in question is on the OPC
server support list, so that=92s not an issue.
Since there are only a dozen items that I need to communicate with, I
though I=92d try using Datasockets. The
The LabVIEW tool for printing is the report generation functions. Why
do you not want to use that. It can easily handle printing a single
indicator. The other option is the transfer all data to a subVI that
only has the single indicator and is set to print upon completion.
This is settable from VI
I ran into this same problem when using the database connectivity
toolset. On a win2000 machine, the .mdb file size was limited to 1GB.
I changed my DSC application to store the data in the CITADEL
database. CITADEL handles all of the file naming and size issues
internally.
Hi Don,
I had a quick glance on your VI and the formula in it. This formula
contains terms like fcc(taumax + tau) which IMO are meant to read:
value of the (time dependent) function fcc at time (taumax+tau). In
your code however you calculate the product fcc * (taumax + tau) which
is of course qui
Hi all,
Glad to say that it didn't take long for us to write a new driver!
It's basically a wrapper around the sending of different GPIB command
strings, with lots of room for alteration and expansion.
Although there were plenty of specific VI's for the Anritsu 372xxA, we
decided to write a drive
you will need to change both the Strings and Value property node.
Drat - that's the part that breaks my code. Well, it doesn't "break" ,
but it's now uglier than it used to be.
Thanks for the info.
Hi
Have you found a solution to your problem of saving excel spreadsheet
data using Report Generation toolkit yet? If so, could you please post
it here? I am trying to do the same thing and can't figure out how to
save the excel data.
Thanks in advance.
The forums seem to be working okay, I wonder if there is a firewall
issue. You can upload the files to ftp.ni.com in the Incoming folder.
Zip them up and name them "BCLioness.zip" and post here when you have
done that and I'll take a look at them. Sorry for all the trouble.
Scott
I can't explain it either but if I resize the tab control by even a
slight amount, the tabs get displayed correctly.
Charts and graphs are indicators, so you have to look at it's source.
If it is a waveform, use the waveform unbundler in the waveform
palette.
Are you saying that you are able to resize the tab control and then
create an executable that displays correctly?
All you need probably is two functions. Write Characters to File for
titles and labels, and Write To Spreadsheet File for the data. You
would have to use them each a couple of times. By that I mean write a
couple of lines with the labels, write the data, write a couple of
lines with new labels, wri
Hello,
I would recommend the first web adress, personally, for what you are
doing. You can download the vis direct from that site, at no charge. A
text file come with the download, explaining how to populate the
LabVIEW functions pallette with your newly downloaded vis.
Kind Regards
Louis Price
GEMPLUS,
Apr=E8s v=E9rification, il n'exsite pas de driver Lv permettant de gerer
les smartcard.
Cependant, si vous possedez une DLL permettant de communiquer avec
cette outil, il est possible d'appeler directement cette DLL dans
LabVIEW.
Dans le dossier "\National Instruments\Labview\manuals\
Pavitra,
I'm not very familiar with "envelope spectral analysis"; however there
are a couple of links that I can recommend:
http://www.ni.com/industrial/";>Industrial applications:
This is a good colection of customer solutions and general information
on machine monitoring, vibration, process con
I was able to build and run a program following your instructions. I
saw no problem. What do you mean by "will not build properly"? Do you
get an error or what?
I'm only doing measurement at a constant frequency, 100 Hz. And I am
using the Averaging function on the keypad of the 4192.
As for going on to the next measurement, I'm not using any control,
that I know of. I (naively) assumed the instrument would make a new
measurement with each increment of
Hi..everybody
I want to get the timestamp from the waveform chart/graph in order to
save to file.
Thanks in advance for any help.
Using LV 6.1, try the following;
Create a new vi. Place a Tab control,(from the Arrays & Clusters
palette), on it's front panel. Right click on one of it's tabs and
follow "Advance-->Tab Location-->select Left". Save your vi. Create a
build for it and run the program. Does anyone know of a fix for
Vision Assistant does not currently have the ability to create
coordinate systems. You can either generate LabVIEW code from your
Vision Assistant script and insert the coordinate system VIs, or use
Vision Builder for Automated Inspection to set up a coordinate system.
Best regards,
Dawna P.
Appl
Unfortunently there aren't many options except using windows API.
-Joe
Does anyone know how to automate OpenOffice applications from LabVIEW?
Hi Julien !
I'm trying to import some data from txt file ( time and
amplititude)I've imported the data but I'm struggling a bit to bring
it into the table that you've created as a cluster , is it possible to
set the inputs as two seperate float inputs.
Thanks in advance
Rajan
The thing you have remember is that even though there are only two
instances of =91S=92 in the code of =91C=92, there are two instances of =91=
C=92
(if set to reentrant) in the code for =91M=92. So each instance of =91C=92
will have its own data space within =91M=92, and as it loads its subVIs,
it
David Ferster wrote:
>
> I suppose I ought to learn to use the space bar or auto-tools or some
> such, but I still think the inventor of the caps-lock deserves Dante's
> special attention.
Use Linux, there you can set it in the Config of the X-Server... ;-)
Okok, try
http://johnhaller.com/jh/usefu
I frequently use the control.disabled property nodes to control how a
user interacts with a GUI. It is crucial my application runs well via
remote panels. I was delighted that these control properties (visible,
disabled, etc) work in a remote panel, but built applications do not
work properly. Spe
Hi Thandal,
Please take a look at the following posting
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000800F7CE&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=draw+an+angle&USEARCHCONTEXT_QUESTION_S=0";>
Draw an Angle
Sincerely,
Feroz
A little off-topic, but I use the tab key to change tools all the
time. Since my different keyboards are slightly different, as I go
back and forth between computers and get confused. So I miss the tab
key a lot and hit the caps-lock key. I drived me nuts.
Does anyone ever use the caps-lock key
We have a Bentley Nevada 208P data acquisition unit used with their
Adre system (software/hardware). We would find it benifitial to
utilize it on another application other than monitoring proximitors,
and do some calculations on the voltage signals received outside
Bentley's Adre system software.
I am trying to save a multicolumn data to a text file without using
Report Generation VIs. Here is the detail scenario...
I have data in the following format.
Time Voltage
1 2
2 3
3 6 ...
and
Power
1
and
Peaks
x-axisy-axis
Peak1 1 4
Peak2 5
I have never used the 4192, but am familiar with the 4194a. I can
easily get 20 cap readings/second in a loop. Cap readings typically
happen quickly. What parameters do you have set up in the 4192 for
the cap readings? Are you doing a sweep of many frequencies? Using
averaging, etc.? What are
The first thing to study is the board that you're testing. You should
have a good basic understanding of its operation. Whfen you
functionally test something, you are attempting to recreate the normal
working environment of the board and verify that it meets it's design
specifications. You will nee
thanks
First off, you must ensure that the daq channel you wish to use is a
high impedance input. This is not normally a problem, as any daq board
I have used is in the hi-K's to Meg ohms input.
The Omron will normally supply a constant current drive to the RTD,
and then measure the voltage across it, in
both tools are external applications.
-Joe
I would recommend you to read for example the "LabVIEW Analysis
Concepts" document that explains all the different concepts, "bin",
"averaging" etc...
You can access the document from your Desktop: Start>>Programs>>Nat.
Inst.>>LabVIEW **>>Search the LabVIEW Bookshelf
Select the "Measurement Manua
What you have said is really informative. Thanks a lot!
You suggested not using a window, but if I try without one, the
spectrum is crowded without any clear pattern showing up. I think not
removing the dc, was the problem why that high value for 0.0033 HZ
showed up. You talk about bins here, how
My IIC Vi's are not working anymore with LabView 7, does somebody has
a solution (hardware+software) for use IIC in this LabView version?
Usually i worked with LabView 6 and i had no problems with IIC
communications, but due to some reasons i made the upgrade to vertion
7 and I'm facing some probl
When you say you fill your time data array dynamically, do you mean
the length of the array change?
The reason I am asking is that the behavior you describe is "weird".
The only "thing" that can make your Y-values grow is if the energy in
each bin grows. This can happen if:
1 - You bin size gets r
Here is a little twist. I usually do not show my subVi's when
running. I did a little more troubleshooting and changed this subVi
to show when called and it works fine. Any Ideas?
OK - that occurred to me that there could be 4 values of V, but I
wasn't sure. (It's good in my case).
I had always thought about it in terms of callers - there is one V for
each caller instance. But if the caller is reentrant itself, then S
has FOUR callers, EVEN THOUGH there are only two instanc
Are you talking about Labview Tools here or something else ?
OK, thanks.
The confusing thing for me is that S would have FOUR callers (and thus
FOUR values of V), even though there are only TWO instances of it in
the code.
bonjour,
je dois d=E9finir le spectre d'un signal, pour cela j'ai tent=E9
d'utiliser "FFT Power Spectrum.vi" et "FFT spectrum (Mag-phase).vi".
Dans les 2 cas le r=E9sultat graphique que j'obtiens en sortie de ces vi
n'est pas correct, la fr=E9quence est en y et ne cesse d'augmenter, au
lieu d'=EAtr
201 - 300 of 329 matches
Mail list logo