Well, thats it, the launch is in T -2.5 hours and counting. Me and
some core members have been out in the hangar working all night to
weed out some minor problems that crept up during final integration,
but I think we got it.
For some weird reason, neither the original VI (barebone save data to
Hello,
thanks for your answer. But I placed the button outside the loop so
that it don=B4t work every iteration.
I want to open a com port, start a microwave generator with it or
something else - once only or alternativly in very different time
intervals - user controlled.
Or for example
If you want to do that, then you have to program it...
Make a case statement and let the user select when
to save data to a file. Or make some logic and start
your microwave generator only at certain conditions...
All the same programming: make a case statement of it,
like in every other language.
Notifiers are ideal for this situation. If your two loops don't
necessarily run simultaneously (or fast enough), you might want to
make a third loop just for the purpose of reading the button and
sending the notification each time it is clicked.
One thing you'll have to think about is each time
I am slowly getting to grips with ActiveX for Excel and Word and can
now display a chart in Excel. However, when I
Invoke _Chart Copy
it gives a copy of the chart in Excel, but I then cannot Ctrl-V it
into Word, i.e. it is not copied to the clipboard.
Could anyone tell me how to do this
You can use different loops with different timings.
One loop with a fixed timing for device controlling,
other loop for user interface (using Wait for front
panel activity).
Or the mentioned case statement: use a loop with a
small timing value (10 to 50ms) and check for a
condition to start your
I don't mind at all, and am not even opposed to something along these
lines, BUT... :)
This still requires several nested structures on the top level together
with a case structure that could have MANY cases. Admittedly all this code
has to land somewhere, and my aim to to move it out of the
If the execution order is important, you must use data dependencies to force
the order. Otherwise, LabVIEW will determine the execution order using its
own algorithm. If the sub-vi's or functions you are using do not provide an
easy method for using data dependencies, such as wiring together
Thanks for addition to my circuit. I tried it out and unfortunately
the results don't seem to make much sense. The amplitude part works
perfectly. The phase, however, jumps around and is consistantly too
high in value.
Presently I am inputing a 4v sine wave @ 1 khz. Channel 0 is directly
from the
Hello km9394 =96
It appears you are receiving error 1322 while installing LabVIEW 6.0.
What operating system is this occurring on? Make sure you have
administrator access to the OS. What MSI cleanup utility did you use?
Did you use MSIBlast?
If you had administrator access and MSIBlast did not
We are getting there ...
136 and -223 degrees are actually two versions of the same value
modulo 360 degrees. You can remove this problem by for example adding
360 to your result and compute the reminder of the division by 360.
Or, an easier way to do that is, to add 360 to your result if it is
I have a large diagram, so it involves sliding the screen back and
fort to see the whole diagram.
If I wire an item then slide the screen over to select another item,
the item is selected, however, the screen shifts automatically back to
were the previous tool position was. Then I have to re-slide
Hello Demitry,
Although we do not have a driver for the Rohde Schwarz SFM, you can
submit a request for an instrument driver through our request database
at: http://zone.ni.com/idnet97.nsf/instrumentdriverrequest/. Your
request may be considered for development. We try to develop
instrument
Hello codeman,
Thank you for your inquiry regarding closing a third party ActiveX
server. It sounds like the third party application is having trouble
closing. There are several Windows Utility VIs available that could
help in this case. One of the Utility VIs is called Get Window Refnum
and
In order to have S-Functions work in Simulink and the Real time
workshop generated code, refer to the section Writing S-Functions:
Writing S-Functions for Real-Time Workshop in Simulink documentation.
In general placing the C source file of the S-Function in the same
directory as the model will
You have to blame Microsoft for changing the ActiveX interface every
time they release a new version of Excel. If you wrote a VB or C++
program that used properties and methods of one Excel version and
those properties and methods changed with a newer version of Excel,
you would have the same sort
There are two ways of correcting for the multiplexing delay of your
board.
- You can either use the method I suggested in your previous posting
http://exchange.ni.com/servlet/Redirect?id=10455451 or
- You can re-align your signals so they are in phase. To do so use
the Align Waveforms VIs
Hello mlusmore =96
You can plot load vs. position by using the Plot XY VI. Wire each
input into an input in the Build Array VI. Wire the output of the
Build Array VI to the data input of the Plot XY VI. Note: The Plot XY
VI is not included in the Base Package.
Have a great day!
Becky B.
When I've seen this happen, it usually turns out to be a timing issue.
With Hilight Execution turned on, the program executes much slower
than it does when running normally.
Try putting some delay between your steps, one at a time to see if
that fixes your problem.
Your ActiveX calls may be
Property Nodes really have nothing to do with Event Structures.
Property Nodes either Read from or Write to the various properties of
the linked control/indicator. Event Structures react to an action from
a control/indicator.
Drop an event structure and a single boolean button inside of it,
Hello MusicIsLive,
Thank you for your inquiry regarding an IVI driver for the HP335b. It
sounds like you are receiving an out of range error while running the
Getting Started.vi. I have tried to replicate the problem on LabVIEW
6.1 with the Getting Started.vi in simulation mode and have been
Are you sure the constant is a strict-type? Right-click on it to see.
Also, sometimes LV requires you to select apply changes from the
control editor instead of just saving the strict-type control.
Michael Aivaliotis
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
I am pretty surprised to hear so many people clamoring to keep the top
level VI laden with code. In nearly all of the other languages (admittedly
those crude text based ones) the convention is to keep main() or its
equivalent relatively codeless, except to start the necessary objects or
Hello Becky,
Thanks for you reply to my question.
I found reg key HKEY_LOCAL_MACHINE/SOFTWARE/National
Instruments/Common/Installer and there is no entry of LabVIEW except
a key in the Product. However it have no effect after i delete this
key.
The MSI Clean up utility I used is provided by
In article [EMAIL PROTECTED],
Greg McKaskle [EMAIL PROTECTED] wrote:
} Okay... some simple benchmarks. numbers are updates/sec for an xy graph of
} 2000 points (random numbers)
}
} 1139 - no update, calculation only
} 942 - direct wire
} 132 - by value (directly linked property node)
}
Does anyone know of a way to get a list of the IP addresses associated
with network interfaces on a Windows PC running LabVIEW? I could call
IPCONFIG with a System Exec node and parse the output but that's a dirty
hack, so I'd rather not.
I don't know what will happen with multiple cards,
Hello,
What you will want to do is the following:
1) First, place a waveform chart on the front panel by right-clicking
on the panel and selecting a Waveform Graph under the [Graph Inds]
panel
2) Press [Ctrl]+[E] to go to the block diagram
3) [Right-click] on the diagram and choose [Signal
Hello RS232 Question,
Thank you for contacting National Instruments.
You have a similar post with a different answer at the following link:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=135HOID=5065000800C0C1UCATEGORY_0=_49_%24_6_UCATEGORY_S=0
Have a great day.
Sandhya,
You might want to check this post out:
a
href=http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=135HOID=506500080073C1UCATEGORY_0=_33_%24_12_UCATEGORY_S=0Real
Time Feedback using NI 6025E/a
I believe it addresses the same issue. Good luck! If you have any
If you have 10 controls and 5 indicator on your front panel. Group
your controls close together, group your indicators together and move
them beside the control group. Now, resize your front panel so that
it is large enough just to display all the elements. (To resize the
panel, move your mouse
Hello Rickm,
Thank you for your inquiry regarding time delays in LabVIEW. It sounds
like your application is making calculations immediately after the
speed reaches 50. I am having a hard time deciphering your code
without taking a lot of time to understand it. Could you supply a
simpler
When you use the web publishing tool to create the html it uses the
current window size of the VI to create the correct width/height
dimensions for the LabVIEW object in the html code. Following is an
extract from an example html file created using the web publishing
tool:
OBJECT
Dear Badhri,
I came across your support request and realized that I've seen a
similar circumstance occur in the past. A customer was having problems
building a MatLAB simulink DLL using a LabVIEW toolkit.
You need to change the window size of the VI, you can do this by going
to the LabVIEW menu:
File VI properties
Then Category Window Size
Under Minimum Panel Size specify the dimensions. After closing this
you need to resize the VI window manually anything down to the
previous specified
Sam,
Unfortunately, this is not a LabVIEW error. You have a memory conflict
within Windows. The previous response to your thread is an excellent
evaluation of the problem. Because the error is a Windows
registry-level error, I cannot provide support for this issue. You may
want to contact
What I am trying to accomplish is to 1) launch a vi dynamically that uses
event structures for interaction with the user interface, 2) sometimes
update the display on this dynamically launched vi by using another vi
(opens a VI reference and invokes the set control method). It seems I could
use
Perhaps not what your looking for, but all the same...
A while back I created some queue and notifier templates that have been
VERY useful. The template is one reentrant vi to enque and deque. It
stores the refnum in a USR on first call, and names the queue according to
the name of the VI.
I hope no one minds me bringing up LCOD again - it just seems like a really
good solution here. :)
LCOD (LabVIEW Component Oriented Design as explained in the book A Software
Engineering Approach to LabVIEW) provides a very elegant solution to this
problem. Using LCOD one would encapsulate all
Sorry for the inconvenience , but , I haven't received a post in two
days... if this gets through can someone email me directly ?? our internet
filters have been changed and I fear that info-labview may be blocked...
thanks
Dan Bookwalter N8DCJ
Hi-Stat a Stoneridge Co.
345 South Mill St.
In LV 6, event handling worked on the base package. You couldn't edit
the events or any part of the structure, but it ran properly. I assume
LV 7 is the same.
If you use library VIs which are only part of the Full Edition, your VIs
will not load successfully in the base package. I'm sure you
This sounds like a positively cryptic way to structure a VI.
Not necessarily.
What is good about a BD or FP that is pretty or clean or sterile,
if it communicates nothing about its function?
Well what it does communicate is a structured and designed approach, and my argument
would be that a
I have one 1D array in that array the elements are started like
04_02_26LS1004(format is yy_mm_ddserialnumber).I Dont know the array
size. It may go more than 6. I want to search the elements which
are all matching for the first 8 characters(yy_mm_dd).I don't need to
compare one element by one
I am trying to link IDL with labview via ActiveX. I have a tutorial
walking me through it (from NI) however when I try to import IDL
DrawWidget control, I receive an error that I do not have a file named
image.c Is there anywhere I could download the newest version of this
component (I didn't
Using VISA serial read, I do not wish to have a terminator character
as the returned data includes all codes possible (other VISA features
are required).
I have read the documentation and am unable to determine if it is
possible to configure the VISA port without a Terminator character.
I have
Some thoughts are a
href=http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=135HOID=5065000800FD75UCATEGORY_0=_49_%24_6_UCATEGORY_S=0;here/a.
a
I'm not an expert per say but this could be a Windows corrupted hard
disk fault.
Perform System Backup!!!
Empty re-cycle bins
Delete Temporary files
Run disk check
Defrag hard disc
reboot
Defrag hard disc
Rationale
A page fault is either memory or memory being paged to hard disk. An
error in
Sorry for the broken message!
In addition, most computers are able to stream to disk at about 20
MB/s. So it should be able to write and handle the output of the 4472
just fine, without needing the HSDL.
Jeremy L.
National Instruments
Hi,
I need to execute two commands in a loop. After the first command is
executed the system must wait for about 30 seconds before the next is
carried out. In what order with LV execute the elements within a loop?
I am not sure if the program is executing the two commands first and
then waiting.
Hello,
It sounds like you've sorted out your questions through the two
excellent response posts.
I found a couple of knowledge base entries regarding FFT analysis in
LabVIEW, and I thought you may want to reference them for further
information/instruction. Please look at the following links.
Answer was not clear to me. Please explain again.
Dear Neal-
I think that you can implement queues to communicate between LabVIEW
app's on the same computer. Queues are one of the newer LabVIEW
features, and I feel that they will be much easier to use than a Data
Socket.
LabVIEW includes several excellent queue operation examples, which can
be
Hello...
The emulator is not a function of the PDA Model and/or its Make. You
must install the LabVIEW patch (Version 7.0f1) and you must also install
the MS Embedded Visual Tools 3.0 (it is a free download from MS). You
must locate the Visual Tools download (through the NI website) and then
LV-RT is not required unless you are doing something else in addition
to the acquisition.
I will assume you will only be collecting one channel of data.
If you do some math you will see that the acquistion alone will eat up
a large portion of the PXI bus bandwidth.
If you throw in saving to
I am using a 6023E card and need to input 2 similiar channels into
Labview and see the amplitude and phase differences. I have the
program working for simulated inputs but the problem (according to NI)
seems to be that the time delay in switching between channels causes
the phase numbers to be
Excel 2002 Power Programming and Excel 200 VBA are two of the
books I use from time to time. The VBA Editor help file in Excel is
also an excellent soure.
You may need to write some VBA code yourself to copy a Excel chart
into word.
Joe
We had meetings about this. It was in the package that we got that was
marked Only for distribution in Canada. Maybe their lawyer were
working overtime figuring what the licensing should be for different
countries - I don't know. But we definitely had a couple of meetings
to discuss this. I don't
For the Excel (.xls) file itself. If it is created with Excel97, then
there should be no problem of opening it in any later version of
Excel.
Normally, when you use Excel components in your VI to create or read
Excel file, you need to re-compile for each version of Excel.
However, we have been
The package count I used was to count # of BEXUS, not the complete
package, replace the 2 with 1 should count each data package.
The data file shows the time from 00:28:09 to 00:28:59, then went to
00:00:01 and then to 00:03:59. The VI assumes the package format as
(each complete package is
The only catch to this method is
if for instance, the normal desired setting for a control is ENABLED,
and during the vi run, it is set to DISABLED, and the vi is saved
(before the method is called). The default setting will be DISABLED
assuming that the vi is then closed.
When the vi is later
Great idea!!! Smart and Speedy way to clear panel. Thanks Joe!!!
Does anyone know of a way to get a list of the IP addresses associated
with network interfaces on a Windows PC running LabVIEW? I could call
IPCONFIG with a System Exec node and parse the output but that's a dirty
hack, so I'd rather not.
Simon Whitaker [EMAIL PROTECTED]
Software developer, Tiab
If I design a VI in LabVIEW 7.0 Full Edition, using features not
available in the base edition (e.g. event handling), will the VI run on
a PC that only has LabVIEW 7.0 Base Edition installed?
Simon Whitaker [EMAIL PROTECTED]
Software developer, Tiab Ltd
tel: +44 (0)1295 714046
fax: +44 (0)1295
Hello,
If you only want to capture data from your RS485 port, communicate
through Datasockets.
or you can use a RS-485 to RS-232 converter and Address to a RS232
port, such as COM1, then you use VISA to communicate via RS232 using
ASRL1::INSTR.
National Instruments sells RS485 board that that
I have read every post regarding how to obtain the phase difference
between 2 input signals of the same frequency. I am using Labview 7
and have simulated the signals into my vi and everything worked great.
I then input a signal into the 2 channels and used an RC filter to
induce a phase shift and
How about using a queue?
65 matches
Mail list logo