Hi there !
I have a simple ActiveX client program (written in C) which uses
LabVIEW as ActiveX server, loads the specified VI, is able to set a
control value and run the VI.
When I use SetControlValue (controlLabel, value), the corresponding
control indeed is set to the specified value and, if I
Thanks a lot. I have installed both versions of LabView and it works
perfectly.
Hello Dennis,
I am truly sorry for that rating thing. I always get a response to my
questions from you and they proove helpful. I wanted to give this one
the max ratings. By mistake I clicked that three star one . I have no
idea how to reverse that.
I once again appologize for the mistake
Hi there,
when using the event structure is there a way to
interrupt a certain event for a more important one?
For instance the stop button, no matter what the program is doing it
should immediately stop.
Thanks
Thanks Dennis. I hope I can look forward to your continuing support in
future.
hi,
i'm not able to set the mouse cursor to a defined position in a
picture.ctl when loading the picture. i think it must be possible. i'm
new in labview and would thank for help.
--5515485.1076332199448.JavaMail.quiq.tekken
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Dear Sirs:
My name is Juan Crespo and I write you from Spain. I answer if you
could help me with a Labview problem. This is the problem.
I want to write a DLL
The abort button will stop the VI immediatly regardless what the VI is
doing (tested with the Wait (ms) function). I think this is true even
for the Abort VI Method.
Waldemar
Ok so stopping is possible, but what about events with priority
settings is that possible?
1) Yes, as long as you have the appropriate LabVIEW development
environment for the other OS and you aren't relying on
platform-specific features such as ActiveX. Any CIN's/DLL's that
aren't part of LabVIEW would obviously also need recompiling.
2) No, unless you can get it to work under some
When you clear the items, also set the value to '0'.
-Joe
Thanks, I'll try that today. What do I do about Microsoft Word
reports, though? It doesn't work either.
Hi,
do anybody knows how i can make such effects happen in labview 6.1?
I'm new here and i do't know if i could.
thanx for help.
I am not sure you can control which event goes first when multiple
comes in at the same time.
Event should be use to handle simple tasks. Any time intensive /
consuming operations should be put into a separate case, or even
better a loop, you can put some checks there to skip them should a
more
Maybe a little bit off topic, but I remember there was a (set) VI(s)
in the internet toolkit which help you to detech if there are any
image (png or other type) updates.
To synchronize the data and graph update, you can move or hide/show
the graph everytime after each data update, so labview is
Another thought.
In pre-LV7, I used to be able to set the selection for -1. Since the
user could only select non-negative values, any value other than -1
would indicate a new value was selected.
Writing a -1 now resluts in the display showing 65535 (-1). It
used to show a blank selection.
To
I would also suggest to mass compile the office VIs.
Looking at the image I notied there are coercion dots which indicate
the report references not quite match.
Joe
We use a queue to queue up states for a seperate state machine. The
event handler only adds states to the queue. I know that it sounds a
little awkward, but it has many advantages since you can take things
out of the queue or put things in the front of the queue. When it come
right down to it, you
I have 2 loops in parallel. The first runs at 500Hz. The AIread
controls the frequency. How can I set the second one at 100Hz ? It is
very easy to set it with local variable, but really not clean. The
second loop must not use the CPU while waiting the next 100Hz tick. Is
it possible ? I am trying
Thanks a lot. I solved that problem. But I will
see your solution later.
Interesting that we use the (-1) case in our LV 7.0 programs. So I did
a little digging. The default for menu rings is to be a U16 in which
case what you're mentioning makes a lot of sense (it's an unsigned
number after all). Click on the terminal in the block diagram and make
it I16 and the (-1)
Why do I get an Error -2147312566 when I run New Report.vi? I have the
Microsoft Report Generation Toolkit 1.0.1 installed and am running
LabVIEW 6.1. I don' tthink that New Report.vi is the only problem I'm
having. None of the SubVI's seem like they are able to be called when
I run any of the
Does anyone know what drivers are available for the Agilent 5973 GC?
I've looked a little at the Agilent site and have found their Cerity
software package, which interfaces through the LV DSC toolkit via OPC.
Are any other drivers available? Perhaps something a bit lower-level,
that
Not that I know of, unless NI has some backdoor to do so it isn't
possible. You can always save to 6.1 and then to 6.0. Sorry.
Thanks for your answer.
I wanted to not use the wait function because it is not precise (I
think). If I put a 'case structure' in the second loop that waits for
an occurrence, it will be more precise, but the test of the 'case
structure' will use CPU time. Is there a better way to use the
Thanks for your advice, Liz F.
Hello all,
This is a great example. However, I just wanted to emphasize that the
front-panel booleans used for this purpose should be latch-action to
avoid an endless loop. Just a bit of advice!
Happy coding,
Liz F.
National Instruments
Hello Ren=E9,
Thank you for contacting National Instruments.
As Weibe has answered, there is no way to disable the front panel
scroll bars after the VI has finished running. To prevent users from
altering the VI, you can set the front panel to close upon completion.
You can do this by including
I've tried downloading the GOOP toolkit found at
ftp://ftp.natinst.com/support/labview/vis/windows/6.0/goop6i.zip but I
keep getting a response that the link does not exist ?!
Has the LabVIEW version 6 GOOP toolkit been moved or discontinued?
Thanks.
Sure you can do this. THe best way would be to create a DLL in LV
that you can call directly from VB. You can pass inputs and outputs
to and from the DLL also.
You will need the application builder toolkit and be sure to define
your function prototype the same way you do in VB. Hope this helps.
You are right, the link to
ftp://ftp.natinst.com/support/labview/vis/windows/6.0/goop6i.zip
does not work. I suspect the ftp server may be down temporarily.. I
doubt that it is discontinued ;o)
Check again later.
JLV
I had already looked at that link. Thank you though. I don't have
Labview 7 Express. It's Labview 6.1. Any help for 6.1?
Hi:
thanks for your response, now I=B4m using a subpanel.
See you
Gabriel
The real issue here is if you convert existing code written in LabView
6/6.1, it should work in the same way without having to worry about
the little things, that makes you examine and rewrite some of the code
I've already tried something like this and it just does not work like
I want it to.
Enforced with a sequence structure I do this:
1) put up a message saying Updating
2) dump the updated data to the display
3) clear the message
What I see on the CRT is this:
1) a message saying Updating
2) the
Ahh! I see! Well, that removes the danger of missinterpretation at the
cost of increased bandwidth as you say.
Sampling only a couple of times a second means that the bandwidth wont
be a problem in and of itself, however, we are running the PIC
controller on at a very low clock rate (32.kHz) and
Is there any way (certain syntax needed) to get all files of specified
types to display in files portion of dialog when specifying multiple
file types (egs. *.png,*.bmp,*.jpg) for the pattern input in
Open/Create/Replace fx? When one specifies just one type (eg.
*.png) in the pattern input, all
Ciao Lucia,
per l'utilizzo dell'asse delle ascisse come base dei tempi dai
un'occhiata all'esempio Real-Time Chart.vi che trovi negli esempi di
LV.Come puoi vedere il tempo corrente convertito in secondi stabilisce
l'offset temporale del chart; tieni presente che la scala X =E8
impostata come
Hi
Thanks for your reply. Its not really what I was looking for but
thanks for the suggestion. I need to convert the array of seconds into
time and date and display it on the 3D curve. At the moment it only
displays seconds and won't convert to time/date. Any further
suggestions???
The occurence halts all execution until it is set, no CPU load.
Hello Pbuerki,
Thank you for contacting National Instruments.
The Instrument Driver Network can be accessed at the following link:
http://www.ni.com/devzone/idnet/default.htm
There you can download instrument drivers provided by manufacturers
and customers.
I have searched our drivers and was
I have two test stations that need to share a Spectrum Analyzer.
I've set up a boolean flag to indicate when one VI is accessing the
equipment and the Second VI waits until the flag goes false.
My problem occurs evey once in a while when both VI's try to Accress
the test equipment at exactly the
Thank you, Sean.
Naturally, I first checked the NI Instrument driver Network and
contacted the manufacturer, before I posted this message. As both
avenues turned out to be dead ends, I posted the message as a last
resort.
Thanks again for your reply.
Peter
I have a boolean global variable that change its value from time to
time. At hte beginning of my program I take the actual time, but
everytime this value change I have to reset this previous value and
take the actual one. I've tried to do this with the event structure
but it doesn't work because
Did you see the answer I posted A
href=http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=135HOID=5065000800D2BDUCATEGORY_0=_49_%24_6_UCATEGORY_S=0;here/A.
The driver available won't teach you about the instrument - you'll
have to learn that yourself, but it will provide
I have a problem here.
Program has 3 screens
screen 1
To save user entered parameters. Example - acquisition period value,
data storage location, averaging
screen 2
-data acquisition(DAQ) takes place
-graphs are displayed for user
-additional user parameter selection (user selected momentary
Yes, thanks this works and I should have read the help for the
function more carefully.
I would suggest that you look at the shipping example called
Locking.vi. It uses the VISA Lock and VISA Unlock functions to control
access to a single resource. The example shows how it works in a
single VI but as the text mentions, it would typically be used in two
separate ones.
Are there any examples of CATV measurement for a Spectrum Analyzer
that includes Carrier level, Carrier Frequency, Aural level, Aural
Frequency, Aural Deviation, and Depth of Modulation. I am using
LabView 7 and I am fairly new to the LabView world. I'm hoping to find
examples to help me learn
Hi again,
I think I found a solution:
-right click on the graph, select CWgraph3D/property
- Click on the Format tab and select YAxis
- Select date format and the format that you want
Now you can input the time values in Y to be displaied on the graph.
The problem is that the 3D graph has a
I would use a functional global to store the boolean, or skip the
boolean all together and just have the functional global store the
time. The global should have read and write funtionality, and when you
use the write method it should update the time...
You mention events and events do not need
Sounds like there is a copy of the arrays that is never deleted...but
it's not good to tell without the code. You could try stripping away
parts of the code and see if there is a certain part that keeps the
memory (try loading the VI dynamically and then unload it completely,
do you see the same
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 different than
Thanks for the reply, but moving the image or blanking it out prior to
displaying it won't work for us because we are looking for possible
subtle changes between subsequent images and doing this would make
that difficult (and it would also tend to introduce a considerable
delay in the update).
From the input spectrum data (magnitude and phase), I can tell the
complex input data to the inverse FFT is not DFT Symmetric. In order
to compute correct Real Inverse FFT, the input complex vector must be
even symmetric on the real part and odd symetric on the imaginary part
( it is in the DFT
I am answering my own question which is clearly addresed in the help
for the Open/Create/Replace fx. The items must be separated by
semicolons (not commas as I was doing).
Hello RipGurl,
Thank you for contacting National Instruments.
To get immediate access to your data, it would be best to acquire
directly from Visual C++ (VC). You can download an example for this
from the NI Developer Zone at:
When using IMAQ fxs (such as 'Write File') in subVIs, if one wanted to
use references to an image control, what property or method would be
used to feed into the image terminal in the imaq fx on the subVI? Is
this possible?
What did work: I was able to directly use the image control on the
main
Hello Medha,
Thank you for contacting National Instruments.
From the information you have provided, I am not sure what is causing
your problem. Make sure that you do not have an evaluation license
for LabVIEW.
What, if anything, was changed in your VI before it stopped working?
Will it run
Hello Medha,
Thank you for contacting National Instruments.
From the information you have provided, I am not sure what is causing
your problem. Make sure that you do not have an evaluation license
for LabVIEW.
What, if anything, was changed in your VI before it stopped working?
Will it run
Excelent point Rob!
The good news is the most recent app only uses 2 of them so it should
be easy.
My reply above sounds a little desperate I must admit.
If I had known this was going to be fixed, I never would have used
it.
Quoting from Greg McKaskle from earlier today,
Why? Accepting the
I agree,
See my other reply to Rob.
It's a real drag when you find out a feature is really a bug that gets
fixed without much mention in the release notes (yes I read them).
Ben
I noticed that it is not possible to use the tcp vi's, i.e. tcp create
listener or tcp open (I even tried the supplied examples dataserver.vi
and dataclient.vi in tcp.llb) without running them as root, any body
has an idea, no one would like to let the end user use root to run the
application!. Is
I found a defora core 1 release and verified your problem (on LabVIEW
7.0). It's because the fedora kernel uses native posix threads
instead of pthreads. This changes the behavior of signals.
If you recompile your kernel and use pthreads the problem should go
away. (Although I have not done
RESPONSE: www.ni.com/labview
thanks, will try.
I am attempting to search a 1D array for a certain value... the
problem is that the value appears more than once in the array and i
need it to find all those values... unfortunately the 1D array search
template stops after finding the first item... anyone know a solution
to this?
Actually, you will need a USB driver for the camera. There are
several third party organizations which make such drivers. For
example, Inventeering.com has an ActiveX Control that interfaces to
USB Cameras, as well as LabVIEW examples. You might also check out
Thanks Matthew C!
I found another way to generate ramp pattern by using Simulate
Arbitary Signal VI. I find the new LabView7 very interesting.
Dr. Tapas Chaudhuri
National Renewable Energy Laboratory
Hello plainman,
Thank you for contacting National Instruments.
It appears that you are having problems displaying embedded ActiveX
controls in a web page on a remote client.
ActiveX controls embedded within an application do not display on a
remote client because they are dynamically linked to
Right click on the ring, and select Create - Property Node. Then on
the node, change it to Write and change the property to Value.
Now, wire the default value into it, and set it to execute after you
have used the value that the user sets into the manu ring.
Don't know if it's clean, but it
Hello,
I am relatively new to LabVIEW and have the following question.
I am using a colour ramp within a VI to show a colour dependent on a
value I am measuring against defined minimum and maximum values.
However I need these minimum and maximum values to change
automatically based on other
Could you please post your actual benchmark VI with your input test
data saved as default (or optionally embedded as constants on the
block diagram) and we will of course take a closer look at the issues.
Thank you
} As I understand it a version of LabVIEW can always(?) open a VI written
} with an earlier LV version but the converse is not true.
Converse... inverse... reverse... nope, it's been too long since my
discrete math courses. Can't remember how to form logical converse.
But this is true in
When I tried to close version 1.0.0, LabVIEW popped up a message box
saying, Resetting VI: Bird's Eye View.vi, and hung. Since this does
not happen with version 1.0.1, where a number of race conditions were
fixed, I presume that something was getting in something else's way,
but does
I have a datasocket server (WinXP) that is currently handling six labview
applications (also WinXP) quite happily. I want to add one more app,
written in C and running on linux, that will publish to the datasocket
server. Being a simple labview programmer I don't know much about the ins
and
John,
The SubPanel control has size and position attributes that can be set using
VI Server. You can inspect the size of the target VI's FP/Controls and
adjust the SubPanel.
-Jim
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Brohan
Sent:
These URLs are interesting reading... there is some confusion I think about
datasocket buffering... I think (not sure though) there were some
significant changes in DS between LV5/6 and LV7 and maybe these changes
contribute to the confusion.
I am running two DS apps now... one is simple and
78 matches
Mail list logo