I am just a beginner learning the LabVIEW programming currently.
I have a PXI 6115 DAQ card and have to make a hardware timed
acquisition VI for maximum performance. Thus I use the High Speed Data
Logger VI for data acquisition.
However, when I read my data by using the High Speed Data Reader VI,
Hi Lorry,
Have these answers cleared up your problem. If so, then great. If not,
then I have subscribed to this thread and will be notified if you post
to it again.
Speak to you soon,
Peter H
Applications Engineer
National Instruments
can you attached your program? As i am not sure what you mean of The
mainVI button is suppose to reset and close the subVI FP. Normally i
us ed set the subVI to be open when called and close subVI after
finished runing. you can do it by pointing the subvi in your mainVI
and right click selected
I need to open a different Labview Vi when a certain function is
performed from within my current Labview Vi.
If it is possible, what are the minimum specifications for the PC? And
can anyone recommend a manufacturer?
If your instrument has an A
href=http://www.ni.com/devzone/idnet/types.htm#ivi;IVI Driver/A,
then there's simulation built in. If it's not, running the driver will
create errors. You will have to modify the driver to eliminate the
errors or rewrite the program to ignore them.
Tbob, thanks for your help.. I ll try and i think to succeed!
Post a sample VI with the controls that you cut and paste from your
app.
The other though that comes to mind is that they may be locked.
Just guessing,
Ben
If you build a vi with the subpanel and connect using remote front
panels from your remote computer sure. Hope this helps.
Make sure that there is no front panel decoration in front of you
string controls.
humm..not sure if I understand your order of events. First the main vi
is open and has the focus, then I click the button on it, then the sub
vi is lauched. It should lauch on top and have the focus. Instead, on
the instances when it it does not work, when I hit the button, the
main VI flashes
Using a data socket connection between the two VIs should do the
trick. There are some examples provided with LabView
You can do this using vi server. These functions are located under
the application control palette. The first thing that you will need
to do is open a vi reference. You can use the path of the vi you want
to open to obtain this reference. Then you can use a combination or
just one property node
Thanks for advice. I do apologize for the long delay before replying, but I've not
been in the office.
The frame grabber I have installed has no LabView wrappers to my knowledge.
Apparently, I need a NI grabber board for Vision Builder. With that in mind, I'll
now concentrate solely on
Try using the system exec function under the communications palette.
This can be used just like opening a dos window and running the exe
from the command prompt. Hope this helps.
How can I programatically control a stand-alone LabVIEW
application(exe) from another VI. I tried wiring localhost to the
machine name(in open application reference node) and specifying the
path of the exe to the (open VI refernce). I can't, it throws error.
The main thing you need to do is
You can run an executable from labview using the system exec function
under the communication palette. This acts like the command prompt in
windows. You will execute your exe just like in the command prompt.
As far as inputs and outputs you can't do this with and executable
that I know of. I do
To eleminate the possibility of errors, you need to convert the
application to a version fully compatible with windows XP, like 6.1 or
7.0 (6.02 should do it)
Would version 5.1 work with XP, NI do not gaurantee that. However, I
had installed apllications written in version 5.1.1 and worked fine
Did you save your excel/txt file in .lvm format. (LabVIEW Measurement
File). If not I would try that. If it isn't what you can do is read
in your excel file and get all the data points and then place them
into the write labVIEW measurment file express vi. This will help you
convert to the
No wonder I never noticed the upper limit!
Ben
Here's what you'd need to provide to tell me for sure:
- The hardware configuration, for example, the GPIB controller board
number
- The instrument address
- The resource string you are using
- Whether the instrument appears in our tools like MAX or VISAIC
But I've got a couple of ideas based on
Wow!
The only other thing I can think of is way out there.
If there was sufficient noise on the serial line, it could look like a
continual stream of data that will prevent your timeout logic from
running.
This would show up in your accumulator string indicator.
So, the only thing I suggest at
Ah, I think I understand.
Your ECU is sending a stream of six bytes...
FF,data1,data2,data3,data4,data5
And I guess it just does this continuously.
So, you probably want to continuously read the data and update a data
structure that shows all of your engineering data (such as what state
the
Hi,
I need to refresh CWGraph3D continuously with about 1 points. For
some reason the graph allocates memory all the time and in the long
run (after 24 hours) CPU's memory will become full and the application
will be slow down.
I have tried to clear the graph with ClearData -function with no
Hello suresh.r,
Thank you for your question regarding a LabVIEW internal error. You
mentioned that the error only occurred after using a help icon but
removing is has not helped. There are a couple of scenarios that could
be causing the error that you are seeing. Most likely one or more
objects
Or just call a subVI statically. This is the simplest and most common
method. Just exactly what are you trying to do?
Hi,
I am using a Keithley 2400 multimeter in combination with Keithley
Original driver/labview 7/windows 2000. When somebody else uses the
programmes i wrote, the time for 1 measurement increases by a factor 3
compared to the access speed on my account. Since there a lot of
measurements in my
Hi Sami,
The PCI-1200 Legacy DAQ Board is not supported by new versions of
NI-DAQ. If you have a newer version, I would go uninstall DAQ and
reinstall DAQ version 6.9.3, which can be found a
href=http://www.ni.com/support/daq/versions.htm;here./a Also,
remember that you will not be able to use
One of the things that you might try is that the property node for
front panels includes the Front Panel Open property that you can READ
to see if the panel is open before you try to close it. It's a boolean
so easy to build a case structure after it.
Hope this helps.
Rob
One more thing jbao,
THe best way to thank someone on this exchange is to give the best
answer a four star rating.
This way others in the future can quickly find the answer to their
questions.
Have fun,
Ben
Just for the record - since this question came up for me recently -
the official answer is that VISA 3.0.1 does support LabVIEW 5.1. In
fact it should support any older version of LabVIEW, but that may not
be tested/officially supported. See a
When an Emergency Stop 'button' is pressed I wish to jump into a
different Vi which will allow me to restart a sequence of events. When
this Vi is complete, i want to return to the original Vi, containing
the emergency stop function. I will try the SubVI method (I'm not a
very experienced user
It sounds like you can do this like Dennis said. Maybe try using a
state machine architecture. hope this helps.
Thanks. I will try this method. But it means that i have to read every
one of my subVIs?(Pls correct me if im wrong.) And if thats the case
its alot of them. Is there any way to get hold of any reference to the
front panel that is opened?
Hello cnxht,
Thank you for your question regarding the DB Connectivity Toolset. You
mentioned that you were trying to use the DB Tools Execute Query.vi
but you can=92t select certain data in a MS access database using the
SQL that you mentioned. You may want to use single quotes around the
Joe,
Your re-wiring suggestion worked. The graph now functions as I had
hoped it would. Also, up to this point I havent had any problems with
freezing. I have my fingers crossed that the wait function also
worked. Thanks for all your help. Due to your knowledge of my
program, is it ok to add
i think my prob. with this is that i dont want my subVI to close
unless i specify them. i will post my program tomorrow thanks.
I actually need a button in my mainVI to reset mainVI front panel
settings and close subVIs (that is opened). And this button is suppose
to be able to work anytime. Thus
A note on the close listener diagram: The abort input terminal
was documented as being ignored, though I still tried giving it a
true when the default false didn't seem to work.
I cannot see anything wrong with the telnet side of your code, but I
am no telnet expert.
On the LV side of your code, you may want to move the boolean
terminals inside of the event that pertains to them. This way your
buttons will pop up after the event is fired.
OK,
How about an image of how these sub-VI are being called.
The extensive use of Globals makes me nervous but I can not spot
anything solid that would cause me to suspect a race condition.
Images of these VI's being called will shut me up.
Ben
40 matches
Mail list logo