one very simple solution is to place
1. Read characters from file.vi
2. extract numbers.vi(in the examples/general/strings.llb)
3. string read from file vi
4. temperature graph
connect 1 to 2 and 3
connect 2 to 4
As you run the programme, you'll be asked to open a file and then view it on
the
Hallo Thomas,
der Fehler trat in jedem PCI Slot auf - ich habe fast alle
Einsteckm=F6glichkeiten ausprobiert die so m=F6glich sind. Die andere 6602
funktioniert oft - aber auf keinen Fall immer. Ja - ich denke auch das
alles funktionieren sollte. Aber der Rechner erkennt selten alle
Karten (ist
The problem is that your VI needs to be recompiled when changing the
number of plots on this kind of graph. According to this, there can't
be any property to remove unused graphs during execution.
Regards,
Julien
Hi all,
I am really impressed about the number and quality of answers / comments /
recommendations my question has initiated. I still have to think about the
different aspects of the suggestions, but I am learning a lot out of each
one.
As I will be out of the office for the next week, I will
Hi Rolf, You work for NI Now?
:-)
I mean : I don't need any explanations why this works this way. I
need, if exists, a direct and elegant workaround to my problem.
So if you don't have any solution, don't waste your time by giving an
answer that any commercial guy could give...
Sorry to be dure,
Every time I install new version of LabVIEW it creates another
directory and feed it will 500MB of data. I do not use the old
directory, and most of the things are anyways in the new installation.
So I need to uninstall old stuff.
What do you think about installing LV into one common directory.
Gokul [EMAIL PROTECTED] wrote:
I am trying to acquire data using LabView from KV16AR
PLCs data memory. A program in PLC is going to dump
data in PLCs data memory and LabView is going to
simultaneously acquire it. The transmission is over
serial port and I have done serial port acquisition
before
andrew johnson [EMAIL PROTECTED] wrote:
Is there yet a list of labview bug fixes that 7.1 incorporates?
NI doesn't release such a list.
Also, has anyone been able to find information on what, if anything,
has changed in DSC? There is a new version of DSC as well, 7.1, but
there doesn't seem
Bookwalter, Dan [EMAIL PROTECTED] wrote:
Not having seen the Linux version, so this is probably a dumb question , but
,does it have the same TCP/IP support as the other platforms ?? any other
things I need to be aware of
TCP/IP support: Yes.
Well Linux works in a few ways different than
Thank you Rolf!!
I know that I can comunicate with the modules using an ASCII comands
that the ADAM can understand. I have any problem doing this.
But I have to use Modbus protocol to comunicate with them, so I need a
Modbus driver!!!
Thank you again!!
Graci
Here is the situation:
I have to process files which contains records.
These records contain data of the waveform datatype.
I need to append the record to eachother, using a (while)loop,
appending the Y values only as the rest of the attributes and values
are the same.
The problem:
If i try to
Hi Pawel
The main reason why different directories are created, is because
there are a lot of developers which must have different LV versions
installed. This programmers have customers which are using LV 5.x, LV
6.x, LV 7.x. This programmers wouldn't be happy if they've to use a
different PC for
Sorry Rolfk!!!
I am not shouting!!The reason of using ! is that I am very happy
because the weather is really nice and I am learning a lot about
Labview!!!
So, don think that I am shouting, I would never shout to people that
are helping me ;)!!!
Ciao bambino!!
Graci
Hi,
See in the MenuBar - Options... - Changes in LV7.0 - untick
Terminals as icons.
That should do what you want.
Hope this helps !
Julien
Hi Powder,
Go to the LabVIEW options (ToolsOptions...) and uncheck the the
option named: Place front panel terminals as icons
Regards,
Luca
Go to
http://labview.brianrenken.com/INI/
Here you can find a complete list of the ini file.
I have a cluster containing listboxes. when i transmit the cluster in
a subvi I loose the elements in the listboxes (thats logic because a
listbox return a number). Is it possible to use the properties of the
refnum in order to recover the elements in the listboxes
thanks
Thanks, I will check it
Dear all,
My application which was written by labview monitor a value of an
instrment.
I would like to add the beep option for alarming when the value is
higher than that I want.
Beep.vi was not operated.(Does this operated in mac only?)
In other method, I tried to play some wav. file but the
Good Morning Folks,
Well with a bit fewer hair on my head I found what was causing my program to fail to get good data in my 9-bit serial scheme here. My initial transmit to the device under test is with the MARK parity set to tell the devices on the RS-485 "bus" that it is an address. I then
Yes, that's how they are normally used. You can pass the notifier
reference via wire or global, or obtain it by name in each VI.
Hi, I=92m using LV to move a linear stage stepwise. I use =93Wait until
next ms multiple=94 in a =93for=94 loop to specify the time delay between
the steps. When the time is set to 2000 ms, things are fine. But when
it is set to 1500 ms, the time delay is significantly shorter
between the first
hi,
yes we can do like this. but i have a lot of listboxes in my cluster
so i m going to transmits all the reference of each listboxe.
is it possible to recover the element names of each listboxes from the
refnum of the cluster
thanks
This may sound stupid, but do you have speakers connected to your PC?
And if you have, did you make sure the Volume Control Panel is
configured to not Mute the loudspeaker nor the waveform device?
Rolf Kalbermatter
Hi,
Why don't you use the wait (ms) stock VI. This enables you to wait
for the specified time.
Here's a little explanation between the VI you've used and the Wait
(ms) VI :
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/12b2ea9ad5b265ad86256257004dd8e2?OpenDocument
Hope this
hi julien,
I can't open your vi because i have labview 6.1
yea this is very easily done.But you cannot just do a simple import
but what you can do is open the picture that you want to put on the
panel. Select it(edit, copy) then go to the front panel of your VI and
paste it in. Then you can resize it as needed.
Hope this helps.
Joe
Is it possible to insert a company logo in the front panel?
I can't save any VIs. When trying to save a VI, LabVIEW crashes and
gives the following error message:
Error #3:memory.cpp, line 996 LabVIEW version 6.1
This a new installation of LabVIEW 6.1 on a WIndows NT operating
system.
yea this is very easily done.But you cannot just do a simple import
but what you can do is open the picture that you want to put on the
panel. Select it(edit, copy) then go to the front panel of your VI and
paste it in. Then you can resize it as needed.
Hope this helps.
Joe
If you're really confident that there won't be any bugs in the new
version and if you don't have a whole lot of existing programs that
you have to maintain, then go ahead and uninstall your old version
first. I prefer to keep it safe and do a slower, planned transition
with a new release. Once
my understanding is that you are generating a sine wave (on one of the
anlogoutput channels) and you are trying to read the signal.
Since you can verify the signal at low frequency, but not at high
frequency, it looks like you should increase the scan rate of the data
acquistion (if you can, set
Thanks for the reply.
Yeah, I want the PC speaker to play the beep sound.
In normal condition, my computer is beeping.
I could play a wav. file but the time delay was a problem to monitor
the value.
Thanks again.
Lee
Thanks a lot Julien. I just changed to Wait and it works perfectly
even with very small time delay. I had never actually understood the
difference between the two VIs until I read that explanation. Many
thanks.
Btw, I have another question regarding the time delay. Is there any
simple way to have
Thanks for the reply.
Yeah, I want the PC speaker to play the beep sound.
In normal condition, my computer is beeping.
I could play a wav. file but the time delay was a problem to monitor
the value.
Thanks again.
Lee
Question:
- Is there a limit in the amount of data that can be but into wavevorm
data type instance
- Is there a limit in the append function
- Am i getting stuck on limitations on memory in Labview or windows
You probably want to use the task manager or other Windows tools to see
just
Try to put the beep code into a separate loop.
-Joe
Hi CB,
It's Pete from NIUK Tech. Support department here. I have been
watching over this post and the answers posted by Dennis and the
others look comprehensive.
If you have any further questions then please post back and I will
look into the matter for you.
Best regards,
Peter H.
Applications
Hi Rolf, You work for NI Now?
I wish. Personally, Rolf says what I'd say 60% of the time, but I don't
have to say it. Thanks Rolf.
I mean : I don't need any explanations why this works this way. I
need, if exists, a direct and elegant workaround to my problem.
So if you don't have any
Hi Guys,
Just spent 2 days isolating a very specific problem that I had when
using the SCXI 1125 module with the SCXI 1313 breakout board.
I set up an analog input virtual channel in old style DAQ (7.1 and the
latest version 7.2) and the corresponding global channel in DAQmx.
The old style daq
I just got the update in the mail for the Developer Suite. I'm sure many of
you will be pleasantly surprised to find out that ALL Professional versions of
the various Developer Suits now include the following:
LabVIEW State Diagram Toolkit 1.0
LabVIEW VI Analyzer Toolkit 1.0
LabVIEW Express VI
Thank you so much RJay!! This worked great. Molly
LabVIEW 7 has the Delay function with error in/out connections so you
could use those for data dependency instead of a sequence structure.
Older (and current) versions have a Wait(ms) function with error
in/out as well but it's kind of hidden. If you go to the Data
AcquisitionCounterIntermediate
I'm controlling an external program using ActiveX and a com interface. One
of the properties returns a variant. I don't know what data type it will
translate to and I'm not sure how to find out. Can some one help me out?
I'm new to variants but have been using LabVIEW (6.02) for the last 3
Hi Greg,
Thanks for not triving to find explanations to this lack. You try to
give me a work around and that's the purpose of those forums...
Ok, something I miss : Giving keyfocus to a control won't activate
this control! Your solution says that when you press a hotkey then
focus is given to the
Honestly, is this code scary?:
http://lavausergroup.org/labviewimages/dynamicrun.gif :-) That's
really all you need.
Well, you conveniently forget that you usually need to have
some means of communicating with this task through queues or
in my case more often functional globals. Not
You need to split this down into various sections.
1) Electrical connections
2) Communications Protocol
3) Software
1.1 Obtain cables for the Mic's to the MUX
1.2 Obtain cables from the MUX to the PC
1.3 Plug them all in
1.4 Test the system
2.1 Obtain data for the comms protocol
2.2 Understand
Thanks Julien and Dennis. What do you mean by data dependency? Why do
I need it? Please explain to me just anything, I'm new to LabView.
Cheers,
Thanks. I believe I see what you are doing. I do have another
soultion that generates all possible combinations of indices into the
swept parameter vectors that uses a mixed base adder. This can either
generate indices one at a time, or a list of all combinations that can
be placed before the
I have two related questions about the way LabView handles data type.
I would like the user to be able to connect to a terminal of a VI data
of anything type (same type as the input of To variant node). How
can I do that?
What can I use as a container to store a meaningful descriptor of
My application automatically creates and/or modifies an .ini file to
save key settings in the software. This works fine when running it
within LabVIEW itself, but when I run the .exe application file
created using LabVIEW 7.0's application builder, the software always
uses the default settings I
Hi there,
any one know how to get the run-time menu to work when a panel is
viewed remotely via the web server?
The UUT is actually failing (it is a known bad part). Test sequence
saves previous UUT test data and presents it in the sequence test
report. After running the sequence a second time, test report
indicates correct (failing) data. Test is using a HP34401A meter. All
other test vi using this meter
On Windows, LabVIEW uses the default MessageBeep function. Look in
Control Panel Sounds and Audio Devices Sounds Sound scheme
and make sure you have a working scheme.
Hello Hors,
Can you give me please more information about your application to
detect problem.
Thanks.
Sanaa TAZI
Application Engineer
National Instruments
LabVIEW is a dataflow language. The order of execution is detemined by
data flowing from one function to another. A function will not execute
until all of its data is present. Those functions that are not
connected by wires, will not have data dependency and LabVIEW will
attempt to execute them in
Does Mitutoyo have a sample communication program that you can run on
your computer to test cabling, etc?? It may not give you the specific
data that you want, but knowing that you can talk to it will eliminate
many questions. The instrument assistant express vi's might be a good
place to start,
Here is a link to a third party Mitutoyo serial port program on the
NI site.
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=D52A66C728FC4950E034080020E74861p_node=DZ52363p_source=external
Here is another website with a labview program to download for the
digimatic
http://gaugelink.com/index.htm
Actually, there is a function specifically for databases called
Database Variant To Data. Have you tried using this function?
It's probably because the path is wrong. If you are obtaining the path
to the ini file relative to the current VI's, then you need to do
another strip path. For example, a current VI's path might be
c:\folder\example.vi but in a built app, it will be
c:\folder\app.exe\example.vi. You can put a
Excellent. This works very well. FYI, the link to the website does
not work.
Thanks
Henry
Why do we always have to do things to get time formatted correctly. I
will pay extra to have some good time functions built into labview. I
should be able to do math on a time string and DISPLAY time on the
xaxis of a chart without jumping thru obscure hoops.
btw I am reading data from a database
Thanks for the explanation Dennis. I just tried both ways suggested by
you guys and they both work fine. Many thanks. Have a good weekend.
Will have more questions next week :)
kevinm,
The issue has been reported and confirmed. Our RD department is
looking into it and will work on a solution for the future release of
LabVIEW.
Arkadiusz Roszczewski
National Instruments
HI,
i'd like to play back a huge file containing 16-bit ambient noise data
thru the sound card.
to make sure i don't run out of memory, i'd like to read just a segment
of the data and
write to the sound card in a loop.
how do i know when the sound output is done before writing to the card
Search your examples in LabVIEW, there is a VI that does what you ask called
Continuous Sound Output It uses a function SO Wait
that waits until the previous generation is complete inside a while loop.
Michael Aivaliotis
i'd like to play back a huge file containing 16-bit ambient
noise data
On the same theme as Rolfk.
Before P.Cs had sound cards I think you will find the Beep came
through the P.C's internal speaker. Perhaps the beep is not being
passed to the sound card (Driver or card issue).
Perhaps you could check that the P.C. has an internal speaker fitted
and if it is
I have an application that is running a test. A field ask a technician
to add a serial number, however this field only accepts numeric
characters and i have alphanumeric serial numbers. Can i change the
porperty of this field wihtout affectinc the source code?
To the very best of my knowledge (fairly extensive in this particular
area, though not necessarily 100%).
No they do not, they have a line of SPC software which they sell to
handle data from the Digimatic instruments.
The main problem with gauge link is that you need to purchase the
gauge link device.
When you use or have the MUX series of devices the digimatic interface
products connect through MUX to the serial port through the MUX.
P.S. MUX stands for Multiplexor.
There are a number of types of these
Again this is for gaugelink and is not a suitable answer to the
question posed. Gaugelink is a third party product (Not by Mitutoyo),
the MUX2 is I believe a Mitutoyo product.
I strongly suspect that gaugelink does not use the same command
protocol as the MUX devices. I have had a quick look at
*bahahaha...*
You know your entire life revolves around Friday, January 1, 1904 at
12am!
take a look at the high speed data reader.vi... you shoul dbe able to
adapt that to do what you want...
Dan
version 5.1.1 and daq 6.0 on win 98
under the data acquisition vis there used to be fft and min/max. I
reinstalled the daq driver and labview several times. What is there
works fine but some of the other analysis vis dont seem to be there.
the problem is not ghost question marks but the vi not
If the application software checks the validity of the serial number,
which must consist of the following characters (0123456789), then
changing the property may not buy you anything.
If you must pass it a numeric value, do you control the number though
LV or TestStand first before passing the
I am acquiring data at a 1000 samples/sec rate and would like to
display a rectangular image, as the data coming in. is there an easy
way to do this? Alternatively I can wait collect the data in an array
and then display the image. Can anyone point out an example/s on how
to do this? Thanks you.
For your first issue, you need to create a polymorphic VI.
bQuote from the online help:/b Polymorphic VIs accept different
data types for a single input or output terminal. A polymorphic VI is
a collection of subVIs with the same connector pane patterns. Each
subVI is an instance of the
I cannot use polymorphic VIs as I do not know at the design time all
possible data types during run time. Besides, use of polymorphic VIs
is cumbersome. However, I know answer for the first question already.
The second question deals with inability of LabView (to my
knowledge)to provide a way to
What I mean to say is the use of time is inconsistant. Trying to put
time on the x-axis of a chart is terrifying. XY chart is pretty easy
and intuitive. Measurement Studio and VB is intuitive.
The realtime.vi is a help but what happens when your data is coming in
at irregular intervals. (40sec to
There are two ways that you can create a VI with a terminal that
mimics the behaviour of the anything type. The first is to create a
Polymorphic VI. This allows you to know exactly what kind of data was
wired into the VI. Of course, the drawback is that you must create a
new version of your VI
I want to thank you guys, Greg and Rolf, for taking the time to
elaborate on the issue and encourage you to do so in the future. You
both seem very knowledgeable and it helps to get a better
understanding of what is really going on with the code. I have been
operating under some flawed
I had set up a VI to use AI ONE POINT.VI for multiple channels.
Getting one data point for me is useless. I need, say, 100 data points
from multiple channels at once. Is there a way to do that? Is there an
example program I'm not seeing that already does that?
Thanks!
p.s. I have Labview 6.1
There's a bunch of analog in examples. Go to HelpFind Examples and in
the Browse tab, select Hardware Input and OutputDAQGeneralAnalog
Input. Try one like Cont AcqGraph or Cont AcqChart. In the channel
control, type in your channel list for multiple channels.
Thanks a lot, it helps.
How come NI did not address this issue yet?! They got to have a
universal GetTypeofVariant thing somehwere there, I am pretty sure.
Regards,
Michael
The other way is to create a VI with a variant control
that will be your polymorphic terminal. On the block
diagram of your VI, you will want to drop the Variant
To Flattened String primitive
(Functions-Advanced-Data Manipulation-Variant).
This primitive will provide you with both a flattened
That should work. Please explain what the problem is. Is the file
empty, formatted wrong, or what? Kind of hard to help when you don't
say what's broken.
Thank you for the assistance.
Unfortunately, Equal? does not do what I need: if values of two
variants are different, but types are the same, Equal? gives FALSE,
even though I need TRUE.
To some extent, you can compare two variants using bEqual?/b
comparison nodes. There are some issues as 0.0(DBL) will be different
from 0(U32) and NaN(DBL) will be equal to NaN(DBL) (IEEE spec requires
that (NaN == NaN) should return False).
Take a look at LabVIEW Data Tools in the OpenG Toolkit
then what vi I should use for the solving?
Follow this link it should help you.
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=135HOID=5065000800A38FUCATEGORY_0=_49_%24_6_UCATEGORY_S=0USEARCHCONTEXT_TIER_0=0USEARCHCONTEXT_TIER_S=0USEARCHCONTEXT_QUESTION_0=moitor+cpu+usageUSEARCHCONTEXT_QUESTION_S=0
Thanks for letting me know about the link. The website is up again.
MichaelS wrote:
Thanks a lot, it helps.
How come NI did not address this issue yet?! They got to have a
universal GetTypeofVariant thing somehwere there, I am pretty sure.
Regards,
Michael
Can't you do all this with references? After all, the terminal could be
a reference to a
I want to disable the right-click of my mouse while my Labview app is
running. Anyone have a solution for this?
I'm trying to do the same thing with a progress bar. The closest I have
come to increase/decrease control of the bar is to use a variable. Right
click on the variable name and select the desired indicator. Feed the
variable the data and the progress bar will follow. The indicator does
not
Hi all,
Has anyone had trouble with slow updates of tag data in LabVIEW DSC v 6.1? Or better
yet, have a resolution to the problem! We have a control system that consists of an
Allen-Bradley PLC SLC5/05 connected via Ethernet to our HMI PC. Occaisionally (once a
week or so), the control
96 matches
Mail list logo