No problem.Any i got it workrd with your ideas.Thanks a lot.
I'm not sure if I'm on the right track here, but if you're saving the
file through LV, then a look at the code should reveal everything you
need to know about the file. The easiest thing may be to write a VI
to convert the data into a more Matlab-compatible format. This
requires also that you
I have used VISA WRITE synchronously and VISA Flush I/O Buffer but
indeed the problem persists.
thanks
All right Damien!
The files i did send to you are LV 6.1 so that=92s a problem if you are
using 5.0.
But in words i did it like this.
In the functions pallet i used
Functions-Application control-Open VI Reference
Functions-Application control-Property Node
Functions-Application control-Close LV
Hallo,ist es m=F6glich eine ISDN Karte in LabView einzubinden?? Ich
m=F6chte aus einem VI heraus eine Telefonnummer w=E4hlen!
Danke f=FCr die schnelle Hilfe.
MfG N.Venske
The VI stops after 3-4 Weeks you say? This sounds familiar. Do you
have a Timer(ms) function in this VI coupled with the stop criteria of
the loop? The ms counter is an U32, which can hold max. 4294967296
ms, which equals 49.7 days. Note that the counter starts immediately
when the computer is
I'm currently working on an application and I would like to be able to
generate VI's using LabVIEW. I remember seeing something like this
being used before, so I would like to know how one would go about
accomplishing such a feat. The point is that I want to be able to use
LabVIEW to generate
Thank you very much, my question is answered.
I cannot work on my vi and the investagate internal error found an
objheap.ccp (1237). What can I do to solve this problem?
I'm not able to do anything on my vi, that seems like breezed. When I
launched the diagnostic tool, it found an OBJHEAP.ccp (1237) error
I used At command to put CDMA phone to diagnostic mode, i used labview
to send command after the phone was in DM i send some commands which
end with 7E, the response from the phone is very difficult to
interpret can anyone help?
What can I do to eliminate the OBJHEAP.ccp internal error?
I've several subvi=B4s runnig on the main VI. I would like to show the
front panel of these subvi=B4s
in another window that appears if the user press different control
buttons on the panel of the main VI. How can i do it? Just give me an
idea or send me some examples.
Thanks in advanced
Hi.. everybody !!
I want to make bitwise operation in Labview. By the way,sum all bytes
in array and remove the carry/overflow.
Anybody has an idea about that ?
Thanks
well, there are several ways of doing this. you can use VI server, you
can use open front panel when called. Try this link,a
href=http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=135HOID=5065000800E1BDUCATEGORY_0=_49_$_6_UCATEGORY_S=0;
here/a
With what are you going to shut down the motor?
You must have a relay card in your Agilent 34970 or a separate
computer controlled relay.
I see two solutions
1.You can configure the Agilent 34970 to make alarms and pull a relay
on a internal relay card to switch off your motor.
2. In your
Hi,
Yes, I know.. This is 1 more thing that I want to talk about.. what is
the LPT port voltage? 5v or 12v? I think that 5v but I'm not sure..
10q very much..
I've tried a little more, with some logical operations (and or ...) of
grayscale pictures, sometimes, theres color in the displayed result-image.
Something must be wrong. Any Idea?
The logic on the image and the display of the image are really
unrelated. You can take a color image and
Yes I am using the Agilent Alarm Card. What vi's am I missing?
I have a VI set up to collect thermocouple data and write the data to
a file. How would I configure LabView if I wanted the file writing to
write to a new file at the start of each new day (at midnight)?
The idea of buffers seems to be difficult to implement since the entire
Labview is per sample oriented.
Ah. This is making more sense now. In that case, I'd recommend
wrapping the CIN into a subVI. You pass in the point and the while loop
I desribed earlier is inside the subVI. From the
You have a couple of choices. You can use the FFT function in the
Analyze Waveform Measurements pallette or you can use the Get
Waveform Components function from the Waveform pallete. To create the
time array you just build it knowing t0, dt, and the length of the
amplitude array.
Tim
Hi Steve,
I have to confess that I am having a hard time folling this.
Could you please post an example to clarify?
Without that I will put forth a theory that may explain what you are
seeing.
First for the not wired to connector pane terminals.
The will be set to their default state when the
1,It is not a NI USB-Serial Convertor.
2,Unplug USB-Serial Convertor Cause Computer dead.
I suspect that you will probably get similar behavior if you
disconnect the USB-Serial from within any application (like hyperterm
with the port open).
You will probably have to contact the manufacturer of your USB-Serial
convertor for support if the computer hangs (not just application
hangs) as
I would like to trim a large 2d array from the end. Is there an easy
way? Or do I have to break it down to a 1D, flip, trim, flip and
rebuild?
thanks
I connect to a MS access database using Database Connectivity
Toolset(Version 1.0.1).But I can't select the certain data useing DB
Tools Execute Query.I have set condition statement to the SQL query
(for example:SELECT * FROM testdata WHERE date=2004-3-12),but i
received all the data of database.
Please help.
The program was compiled in LV7. I use the web browser control to
display some html file. Initially I set the size to fit 1024x768
screen. But the customer use the size 800x600 to install the program.
after he reset the screen size to 1024x768, the web browser control
size is larger
when i use DB Tools Select Data node,the same problem visit me.I set
condition statement to the optional clause,I have received all the
data in the DB.
Hi I am using Labview 7.0 and I want to copy a graph to buffer so I
can paste it to word/powerpoint in a vector graph format. Is there an
easy way to achieve this?
Does it have to be Slicker than the
Array Subset
?
Ben
a
href=http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=261HRedirected=TrueHUserId=101_3529RFORMNUMBER=6;Ben
Rayner/a
a href=
http://volt.ni.com/niwc/common.jsp?page=products_certification_cldnode=10638;
Certified LabVIEW
One easy way is to base the file name on the current date. The Get
Date/Time String function output can be formatted how you want (i.e.
replace / with _) and then use the Build Path to create complete
path. If this iw wire to the file write function, You'll automatically
create a new file when the
Try copying everything in one go into a new VI and saving this VI.
Often this fixes any random corruption the VI may have suffered.
Shane.
Thank you for your help.The link you send me help me a lot for do it.
Hi Nirmal
Thanks a lot for answering, but finally I=B4ve achieved what I wanted.
Best regards
Hello -
This a
href=http://digital.ni.com/public.nsf/websearch/2F8ED0F588E06BE1862565A90066E9BA?OpenDocument;KnowledgeBase/a
discusses importing data from LabVIEW to Matlab. Good luck with your
project and have a great day!
Becky B.
Applications Engineer
National Instruments
If your array is an array of U8 type numerics, then all you have to do
is sum the elements. This will return a U8. No carries. Sounds like
what you're looking for.
Rob
The difference is about a few degree.
I am new for Labview, can you tell me how to caliberate the system.
And I am using T-type
thermocouples.
Are you re-initializing the array in your vi every time it executes?
If not, the array will keep on growing. When you open the file for
writing, what mode are you using, append or replace? If append, the
file will continue growing, if replace the file will only hold the
latest data. You have to
Thanks that just what I needed.
I am using the Wait Until Next ms Multiple to time the loop, and the
loop stop condition is a Boolean constant. I remember hearing about
some problems with these ms counters a long time ago, but I thought
that they were fixed in recent versions. Does the Wait Until Next ms
Multiple function work
Les,
Any of the sound cards that are compatible with Windows will work with
LabVIEW. Some of the top brands are: Aopen, Chaintech Inc., Creative
Labs, Gainward/Card Expert, Guillemot/ Hercules, M-Audio, Turtle
Beach/Voyetra, and Zalman Tech Co. Any of the cards from these
companies with stereo
does anyone knows if it's possible to compile a shared library in
linux with g++ that could be recognized by labview?
thks
JP
I have not seen this behavior. Are you doing anything else with the
Booleans in the program like using local variables or property nodes
to set their values? If you are, you may have some sort of race
condition that is evident now that the VI was recompiled for version
7. If you could post a VI
The event handling is divided amongst multiple loops for the sake of
encapsulating the related code - in the actual program, there are lots
of controls on each tab and lots of events to handle. Lumping all the
events together in a single event structure makes the code less
readable then I would
Hi JP,
Yes you can use g++ to build shared libraries that labview can use.
You'll want to give your C++ library a C interface. This is really
common practice. You can do this by simply declaring functions as
'extern C'. Here is a link with more information:
I think the cause of the freeze is what's explained in the caveats to
using event structures in the on-line help. To quote:
National Instruments recommends that you place only one Event
structure in a loop. When an event occurs in this configuration, the
Event structure handles the event, the
The only way to get that kind of determinism is with LabVIEW Real
Time. You'll never get 1 ms with a Windows OS application.
PS
If you create a local for that indicator and use that to wire to the
indicator, everything works as I would expect.
BUT,
That just don't make sense!
Ben
Hi,
I am working on communicating with a few devicenet devices using
the I/O communication. In am using the Multiple I/O commuication vi
for this purpose with a NI DNET PCI card. In this vi, there is a while
loop running that gets and puts information into my various DNET
Jack Remiasz,
Let's see if we can get to the bottom of this. Which operating systems
are you running and which VIs are you using? Also if you could include
the text of the error message that would be helpful. Thanks!
Craig H.
National Instruments
I see your confusion!
Two suggestions;
1) Repost just the puzzle version as a new questions and ask if this
is a bug. I will watch for others to reply.
2) Report this as a bug to NI.
I suspect this is one of those Don't do that! bugs.
It appears the indicator is behaving as if it is a set for
Can I get the LabVIEW 5.0 Application Builder User Manual in .pdf
format?
Hello nealpederson,
Thank you for your question regarding DataSocket. You mentioned that
you would like to communicate through two separate NICs using
DataSocket. This feature is not available in DataSocket. One possible
solution may be to run DataSocket server on the client computers and
send
I'm trying to call a LabVIEW VI from C# using LabVIEW's ActiveX
interface. I've successfully imported LabVIEW.tlb and can do a few
simple things like load a VI into memory and run it.
But things get more complicated when I need to use a cluster output
from one VI as the input to another. The
First you'll have to convert the string received from each serial port
read into numbers. Use a Scan From String function on each serial port
data to do this. To plot in real-time, the simplest thing to use is a
chart. Bundle together the two numbers output from the Scan From
string and wire the
Reiss Rotem,
LPT port voltage is between +2.4v to +5.0v for a TTL high and between
+0v and +0.8v for a TTL low. Hope that helps!
Craig H.
National Instruments
To CALIBRATE you must use a reference which is traceable to a national
standard.
I suspect what you want to do is check.
Warning the following involves water which could be near electricity -
take EXTREME CARE! There is also hot water and electricity - very
dangerous if care is not
I've used the TCP Listen VI and the combination of TCP Create
Listener TCP Wait on Listener to accept a socket connection.
That works fine, but I do not want the app to listen for any more
requests once it has a connection. I would expect TCP Listen to
close the listener once it has a
During the installation of the Driver CD, I get internal error 2349
during installation of NI-SWITCH 2.0.0. What is wrong and how do I fix
this problem?
thks I will use your sugestion.
JP
Hey JP,
Does your problem stem from the fact that you have no way to enter
your password?
If so, you could setup a public/private key and use the
authorized_keys file so that ssh never prompts for a password.
Everything should work after that.
You could also use an agent so that you only have
I have do something like this. However, I did not get a good result.
For example, I keep the CJC constant to be the room temperature. then
I put the thermocouple into ice watter system. It did not show zero.
Should I change the constant? Or Change it to be 'bulit in', or
anything else?
I forgot one thing, When the thermocpuple in the ice water system, the
reading decreaced after a few second. Do you know the reason.
Hi all,
I'm using PCI 1200 and i'm trying to generate a 2kHz signal from
the output pin of counter 1 (pin 43). What i did is just placing
a Pulse Train icon on the diagram window and connected the
device # and the freq. I entered 1 for the counter #. When I ran the
vi i got the following
Both of the modules you mentioned have built in cjc sensors. You
mentioned the 1303 terminal block then later called it a 1300. The
1303 should have a more accurate cjc reference than the 1300. I have
not used the 1112 but since it is designed specifically for
Thermocouple measurements they
It is as if the default value is being applied AFTER the VI runs.
Ben
BUt then again,
why would the default be applied?
Still puzzled,
Ben
An indicator that is connected to a terminal (if not updated) will
pass its default value.
But why you have to run the vi twice to make the indicator restore to
its default value, that I do not know
This is also an issue in version 6.02 that I have seen before (but
never been woried about)
If I am
I place a new control on a front panel and the label is bolded. It
just started doing this so what did I do to cause this?
I have worked in Labview for years currently using Labview 7.0.
some fonts are set depending on how they are in windows settings
(assuming Windows OS).. Check on these settings
Also, in Labview menu, select
Tools
Options and then make sure the fonts are not set to bold. You may
have pressed some keyboard key that automated that
It has been like that since the days of LabView version 3.1 (when I
started using LabView.
This is also true for controls.
I have this note hanging on my cubicle since late 1996
The controls that are not connected use their default values
The outputs (indicators) that are not connected use their
Here is a link to past answers on this topic.
Look at the bottom of all the answers... But the short answer is no
simple method
link:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=135HOID=50650008007036UCATEGORY_0=_49_%24_6_UCATEGORY_S=0
OOps!
Hi,
I'm feeling very stupid because I've alreasy forgot what is TTL.. :-/
I looked in my book of the basic course I and I didn't find nothing
about it but I read the part on the LPT connection.. All I remember is
that TTL realated to a squre signal or something like that.. please
remind my.. :-(
Hi Joel,
Thanks. That is what i gathered also for making emf files (NI should
really add this to their write to file menu btw), but I just want to
copy my graph to the windows clipboard so then I can paste it to
word/powerpoint as emf/wmf/jpg/etc. I know I can do
it manually (using ctrl-c) when I
I have 6.0 labview with NI-6023E and CB-68LP. My goal is to run some
samples of prtein solutions using a light scattering. However, I don't
a clue how to program to capture the a plot of intensity vs. time of
the solution using a laser diode and a detector. So, if there is an
easy way to do it
OK, Thanks. If anyone listening has one of these cards and likes it
or hates it, please let me know.
Thanks again.
Les
I believe that MSVCRT stands for MicroSoft Visual C Run Time. So this
must be the run time library for Visual C programs. There is MSVCRT
and a MSVCRTD library file in Program Files\Microsoft Visual
Studio\VC98\Lib. The DLLs should be in the Windows\System32 folder (I
use XP). I have Visual
Check out this link
http://hamiltondesign-consulting.com/Cus_ctrl.html
It does pretty much what you want in principle.
For absolute db levels check out
http://members.lycos.co.uk/sgctek/
I have used dynamic events a bunch and I do not thing there is a
better way to do this. Your VI is an excellent example!!
I am new for Labview. So I didn't use the miniconnector. You mean the
module can update the
CJC temperature, it cause the decrease in reading from thermocoupes,
right?
Also I have not use resistor and my tcs were not grounded. So I can
use the resistor, right? and how?
I looked at your code !!
Anyway, I think your problem is the approach that you are using. You
have constructed logic out of CASE statements and used Property Nodes
to read values not yet set.
You need to use the basic native logic functions built into Labview.
Here are two example custom
Hello -
Have you performed all Windows XP updates? This may help.
Did you completely uninstall LabVIEW before reinstalling it? Make
sure the registry values were wiped clean and then try a fresh
install.
a
Already checked Options/Fonts and they are still default in Labview.
Using Windows 2000 where would you think to could look? The label font
is the standard Labview application font but is bold,
Hello -
Have you tried any of the shipping examples for the database
connectivity tookit? You can find them by navigating Help Find
Examples Toolsets and Modules Database Connectivity. The Insert
Example.vi may help you get started. Click a
A) -- could not find how to select a graph for copying,
the keyfocus property alone did not select the graph.
You can't select an object, and copy it at run time.
Only works when the VI is in edit mode.
With keyboard simulation, you can copy the whole front
panel to clipboard.
B) -- don't know
Wow. That's pretty complex. Have you seen this A
href=http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=135HOID=506500080014C6USEARCHCONTEXT_CATEGORY_0=_49_%24_6_USEARCHCONTEXT_CATEGORY_S=0UCATEGORY_0=_49_%24_6_UCATEGORY_S=0;posting/A?
The x-scale is always 01/01/1904 even after I selected the 'absolute
time' option from waveform chart properties. If I add 2004 as offset
of x-scale as suggested by the previous post, the waveform of the
signal cannot be displayed, the system think it is still running in
1904.Could you give
nbort;
To the best of my knowledge, the D in MSVCRTD stand for Debug.
When you compile an application in Microsoft VC++, it first uses
debug dll files that facilitates debugging your application. Debug
dll are bigger than regular dlls. Once you finish your application and
you know it work as
How to setup the microphone in order to measure sound.
Before I go into the details, here is the basic rules to remember.
Everything that comes into memory is given its default value. So we can
take that one off the table.
Objects not connected to the connector pane probably behave as you
expect. The have the value written to it via local,
In a nutshell, when a lot of events fire in rapid succession, the
user-interface locks up.
I can't really replicate your problem since I'm responding to these on a
Mac. But the event structure has a Boolean checkbox for Locking the UI
during the processing. This makes sense for UI events,
I think that last part of :Fooling... is what I was missing.
Ben
Hi,
NI-6023E module has total of 8 differential or 16 single ended voltage
channels. Each channel can capture voltage values between -10 to +10
Votls. So for capturing the light signals, you have to convert these
signals in the compatible voltage range suitable to above DAQ card.
After you
94 matches
Mail list logo