I get a real TTL-Signal from a resolver which is connected at the
parallel port. From this parallel port I would like to read the
frequency of the signal coming in. The resolver is connected at the
parallel port at only one data pin and at a ground pin, without using
a DAQ. (In past I used the InPo
John,
you asked on Mon, 14 Jun 2004 14:52:32 -0400:
I have ... set of VI's to manage configuration files
and parameter data as functional globals.
> ... I'd like to get some
feeling for the most suitable way to earn some money this way.
Selling routines without diagrams seems a chancy business fo
Hi all,
I am sending this mail again as I did not receive any response for my
previous posting.
I have an application wherein I have to insert teletext or video images
during the vertical blanking interval of the composite video signal. I am
looking at NI 5431 Video signal generator card which ca
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 15, 2004 8:59 AM
Subject: "Insert Teletext"
> Hi all,
>
> I am sending this mail again as I did not receive any response for my
> previous posting.
If you don't get a reply, it generally means no
I want to publish a diagram on a journal.
Unfortunately function icons (like the sum operateur) are too small.
After printing it is thus not possible to read correctly the diagram.
Is it possible , like for objects on the front-panel, to resize
objects on
the diagram (line connexions and operators)
Hello
I have a doubt about using while loops in VI and subVI. I have a VI,
with two loop that are executed in parallel, and stoped with the same
button, by using property nodes and references. One of the while loop
executes a subVI.
If the Block Diagram of the subvi there is a while loop covering a
Hallo,
I'm looking for some vonversion VIs or function to convert RGB color values
into HSB color values and vice versa. Can LabVIEW do this by default or
does anyone know if anybody has written anywhere in the world something
like a "Color toolbox".
I'm running LV7 Express
Thank you
Oliver
Hi LV Newbie,
The answer that the other user posted on the forum is
what you need. I have access to a copy of Labview 5.0 and I'll try to
convert his code to 5.0 for you.
Chris M
National Instruments (UK)
How to search for special characters (peculiars)
in the developer exchange, e.g. "[" "]"
or whole phrases like "controls[]"
Stefan Pofahl
You also can use the serial read function or VISA read function to read
the parallel port. But before you have to set a porrt no. for your LPT
in the labview.ini to access to the LPT. This is documentated somewhere
on ni.com.
wimmer franz wrote:
> I get a real TTL-Signal from a resolver which
It is not so easy, because the applcication is realy complex, so I have
to reduce it a lot.
But I can tell you so far, that the the write commands to the two COM
ports happens nearly at the same time. Maybe windows does not like this.
So I will change the timing. Unfortunatly I does not have the
- Original Message -
From: "Daniel Alejandro Moyano" <[EMAIL PROTECTED]>
To: "Info LabVIEW Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, June 10, 2004 7:49 PM
Subject: Ramp meter.
> Hello very nice people:
>In a virtual instrument, I have
choosed
The easiest ways are always the best !!
Thanks for helping me.
Dear LouisP,
Thanks for your help. I've upgraded to Labview 7.1 but I still get
the same problem. Labview crashes with error message:
LabVIEW caught fatal signal
7.1 - Received SIGSEGV
Reason: address not mapped to object
Attempt to reference address: 0x27ebe4f4
Segmentation fault
if i make my sub vi's as reentrant, do I lose any process speed, in
other words are there any limitation for using the reentrant
execution? and thanks for your reply.
Hi Michael:
Thanks for looking at this for me. The other issue is that when I use
the IMAQ VISION cross-correlation fx (which allows me to do direct
image correlations without having to do the fft steps), I get
different answers than what I get with my LabVIEW routines. I believe
that most of th
Nuno asked:
... any help on sending keystrokes to other application?
I'm attaching (private email only) my collection of snippets from
this forum about capturing and forwarding keystrokes.
--
Paul F. Sullivan
SULLutions
how about using the subpanel feature?
create 20 subpanel vis for your setups an splash them on your screen?
Thank you very much
The Application Note on Custom Controls is most helpful - thank you
also.
And yet another idea
Use a tab control or a set of tab controls.
You can drive a single tab control with 20 tabs for 20 views,
or
use 20 single page tab controls.
Ben
My "NO" was to Mudda Q.
I am the same page as Ed.
Ben
If the subvi does not contain data that are dependent on a previous
run , such as local variable or shift register data, then there is no
need to make the vi reentrant.
First: yes, the operation is correct.
Second: yes again. When you consider a multi-channel acquisition, your
sampling rate must be shared among the channels.
Third: when you specify a list of channels you want to acquire from,
the channel considered for analog triggering is the first you put in
the
Hello,
You can modify the view of functions in diagram by right-clicking
then selecting "view as icon". Nevertheless,this option is only
available for VI express and standard functions. Standard functions
are functions which have this own diagram and front-panel. You cant
expand simple arithmetic
No!
You may pick some up.
What you will loose is debugging.
The main "gotcha" is the seperate memory space issue mentioned
earlier.
This means that if your sub-VI's use local storage (like shift
register that store results from the last call for use in the next)
are distict for each occurence o
As far as I know, making a subvi reentrant would have no performance
difference over having multiple VIs with different names. Maybe an app
eng could verify this.
Each time a reentrant VI is called from a new location in the code, it
creates a separate area for it in LabVIEWs dataspace, the same a
You get the unsupported error because the daq card you're using does
not support AC coupling. It is DC coupling only.
Thanks for clearing up my mistake. Kura Altenbach is correct. After
reading your question again I realize I was wrong. sorry for that,
thanks again altenbach.
If the sub-VI is CPU intensive,
and
you do not want one call of the sub-VI to delay another call to the
sub-VI
Then re-entrancy is very useful.
Ben
The model equation (where x is a function of C and of T) is as
follows:
x=K1+K2/(C+K5*T*C)+K3/(C^2+C^2*K5*T+C^2*K5^2*T^2)+K4/(C^3+2*C^3*K5*T+2*C^3*K5^2*T^2+C^3*K5^3*T^3)
The example that you kindly provided would not open due to an error
message stating that I needed LabVIEW 7.1: I am running the
> I want to publish a diagram on a journal.
> Unfortunately function icons (like the sum operateur) are too small.
> After printing it is thus not possible to read correctly the diagram.
> Is it possible , like for objects on the front-panel, to resize
> objects on
> the diagram (line connexions an
> If the Block Diagram of the subvi there is a while loop covering all
> the code, it's the same to put it in the main VI with another while
> loop, or it's not necessary?
> it's the same if this subVI has a while loop covering itself that if
> the subvi doesn't have this while loop because the loo
Bipin,
You need to look at what you want to do in more detail I think. First off I
do not think the NI 5431 will be able to take the .trp files in a MPEG-2
format and generate composite video test patterns. You will have to convert
the files to the format needed by the 5431. Second to insert te
Although it isn't as convenient as having the feature built in, you can
paste any graphic you want into LV's ramp control. Simply design the color
ramp you want in your favorite graphics program, save it to a file (.gif,
.png, .jpg, .bmp) then use "Edit >> Import Image from File" to put that
im
In principle, Yes,
However, how much true that is depends on how LabView (R/D)developers
are implementing it, and things have been changing between LabView
versions, to different degrees, all the time.
Hi Chris
As promised I have done some further investigation.
If I remove the vi that registers all the events and associates the
callback vi's with an event then the app closes down ok.
It looks as though the callback vi's themselves are not closing down.
> How to search for special characters (peculiars)
> in the developer exchange, e.g. "[" "]"
> or whole phrases like "controls[]"
Some of the search functions do not use regular expressions or
wildcarding and you can simply search for the phrase. If you are using
match pattern, which does use r
Yes sir!
>From what I have read about LV 7.X and hyperthreading, two of these
re-entrant sub-VI's can be executing simultaneously without having to
resort to dual-proccessors.
Ben
> I have an ATL project on the go which returns an array of strings to
> labview, which is working fine, with no problems, exept I cant 'probe'
> the returned VARIANT data for some reason, so me thinks its the wrong
> variant type!, but it works :)
>
> Is it a "variant containing a safearray of ty
Hi Stephen,
Thank ypu for the extra files and information. I've been
investigating your code further
and I understand from your comments that the problem lies in the
'InletKernel_RegisterAllEvents2.vi', is this correct?
However I still need the .dll, executable or control wh
I need to control a PIC Programmer (MPLAB PM3) with LabVIEW. How to do
this?
Hello,
NI-SPY is installed with NI-488.2, NI-CAN, and NI-VISA. There is
however a known issue where if you install NI-VISA 3.1, the first time
you run the installer NI-SPY doesn't get installed, but if you run the
installer again it will install NI-SPY.
Hope this helps!
Regards,
Steven B.
Appli
Thank you for the response. I have the capability to reprogram my
serial device to output any format. What format would be preferable
from a LabVIEW point of view?
What is the problem with niswitch_32.dll?
Can I download an evaluation version of MAX? I'm trying to setup an
application to read measurements from a Micrometer and show them on
display and save to disk. I really need to setup a working example so
I can convince my company to buy the software.
Hello
It's the first time I use DataSocket, and DataSocket server.
I have developed an application, using the examples "DS Writer" and
"DS writer" as a base.
In my application one of the subVI has a while loop, and is subscribed
to a DataSocket variable.
When I stop this subVI from the Main VI, wh
Check the following link:
http://www.calbay.com/ProgramIC%20Data%20Sheet.pdf
This toolkit might support the PIC Microcontroller.
Robert
Thanks to all of you for your comments,
Mudda.
Thank you for your assistance. You have been very helpful. Cheers!
When I try to open a .vi file that someone else made on my computer, I
get the message from LabVIEW: "The file *.vi is not a VI. Select
another?" What does this message mean, and how can I open these
files?
I am running LabVIEW 6i on Windows 2000 Professional inside an office
network.
Thank yo
Hey Fred,
There are two different VI Server properties that I think may be
useful to you. If you haven't used VI Server before here's a link to
some general information on it.
http://zone.ni.com/devzone/learningcenter.nsf/03f7c60f17aad210862567a90054a26c/371c4fea97121ea686256c4e0062de8a?OpenDocum
Baud, stop bits etc. is purely personal preference.
LAbVIEW can read in basically any format, but I have a personal
preference for tab seperators between values and newline/carriage
return as a termination.
This way the text can be streamed to a text file and is readable
afterwards in Excel usw..
Is 100 msec too slow?
I have loops that update the indicators this fast.
Err.. alright, but how do I get all of the property nodes into a
subvi?
Hello.
I'm already a bit confused when reading about drivers and APIs...
What's the difference between an API and a driver???(because sometimes
texts refers to some of them without distinction).
Once known the difference, which is which? NI-DAQ is a... driver or
API???
And this for NI-DAQ, NI-DAQ
how to create an application which can run without
the motor of Labview.
I have the developper toolkit
and application with I can build run also with the motor of labview on
the computer
Is it possible to crreate an application which can run without this
motor?
I can't run VISA 3.1 because the target system is W98. I installed
VISA 3.0.1 run-time. Is NI-Spy included in the run-time? It doesn't
appear on the start menu or in the add/remove programs panel.
-Jim
Hey Paul,
DD is correct the full system does not include the application
builder. Refer to the following link for a comparison of what the
different versions include.
http://www.ni.com/labview/how_to_buy.htm#compare>Compare
Development Systems
If you have questions on the different versions or wa
Do you close the DataSocket connection using the DataSocket
Close function and by passing it the connection ID? If not, do
this outside the While Loop.
Regards,
Khalid
It does not appear to be possible to creat a reference to a subpanel
(to pass to a subvi). Can someone confirm this? Can a subvi in anyway
access the subpanel of another vi? This will make my code much more
object oriented. Does anyone else feel this is a desired feature?
Thanks.
Zuolan
Hello,
I hope I understood you correctly... In general, it's better to use
sub VIs to organize and modularize your code. So, if you can separate
part of the code into a sub VI, do it.
And if your main VI is calling the sub VI in a loop, the sub VI
executes every iteration of the loop. So, you
Anyone can take any file and rename the extension to *.vi. This still
does not make it a VI, right?
You need to ask the author of the files what they are. There is no
other way. Have you tried opening them in notepad to get some clues?
(a true VI file typically starts with a few upper case charact
Hey Todd,
The Write LabVIEW measurement file express VI is built on top of other
LabVIEW VIs for writing to file. If you open the help for the Express
VI it lists the VIs and functions the Express VI utilizes. If the
data you want to write does not work with the Express VI you can
always use the
Phil,
The help file suggests that the main vi has to be running to prevent
the subvi from being removed. You can add a pause at the end of the
program so that it can be viewed. Or it might be possible (I don't
know how) that you grab a picture of the front panel of the subvi and
overlay it in front
Bonjour,
Les VIs dits de compatibilit=E9 se trouvent au chemin suivant:
C:\Program Files\National Instruments\LabVIEW
7.0\vi.lib\platform\dataskt.llb
Vous trouverez =E9galement des exemples standards de programmation
OPC/DataSocket dans LabVIEW:
Menu Aide >> Recherche d'exemples...
Cat=E9gorie "N
Hello!
The main factor that determines how fast you can acquire is the type
of data acquisition board that you have. In the user=92s manual of your
board, under the specifications section, the maximum sample rate is
listed and you cannot go any faster than that.
Once you have written your data ac
Every built LabVIEW application requires the run-time engine
installed. Just like the on-line help states. Much older versions of
LabVIEW included the run-time engine in the executable which resulted
in large exe files. Now, the exe's are smaller but the engine is still
required. A separate engine
Hello,
I'm aquiring a voltage signal from a thermistor using DAQ and Labview.
I'm using "for-loop" in Labview for that. Is it possible to take my
previous readings of the voltage signal (through A/D channel), say,
V(i-1), compare it to its current value V(i) and if a comparison
condition holds - "f
Hi
I have two remote systems which are supposed to remain connected with VI
Server. Sometimes, when one computer starts LabVIEW and tries to
connect, it gets error 63, connection refused by server. Since the
systems are remote, I'm having a hard time figuring out exactly what
causes the proble
I have a 2D matrix of test parameters that I'd like to step through,
hitting all possible combinations. I'd like the system to be dynamic
so that I can input a matrix of any size.
The obvious solution is to use nested for loops, but I don't think
that will allow me to handle dynamic matrix sizing
Your code is awesome. I have taken a number of informal cracks at
making a 2d lev mar function and have given up. I also want to
complement you on your nice UI in the toplevel VI. It is clean and
intuitive (plus it has directions if it is not so intutive for
someone). Great Example!
Just a thought but if this is starting Labview after a Boot, perhaps it
is starting Labview before the network services are completely up and
running.
In other words maybe this is not truly a server issue, maybe its all
within
the remote box. Just a thought...
Rick M
LMC Syracuse NY
-Origin
I am new to LabVIEW and I am having trouble finding some information.
Specifically I would like to know what the different wire data types
correspond to on the block diagram. For example the thick pink wire
is for errors, etc. The manual says to look at the Quick Reference
Card for this informati
I am trying to use a digital output to turn on an array of sensors
that I then wish to read on 16 analog input lines. I have a 6024E DAQ
card. I am planning to take data at 10-20 hz, so not terribly fast,
but I will be acquiring for long periods of time (days) so I will be
streaming data to disk.
The color of the wires is the same as the Terminal Data Types that's
on the quick reference card. Clusters such as the error control are a
mix of data types and are represented by the thick pinkish, sort of
dashed wire. Clusters of numeric data type are brown and dashed.
Arrays are thicker and of t
And while you are playing around, switch to the wiring tool with the
help window (ctrl-h) open.
Floating over the wire will tell you exactly what is in the wire.
Ben
LabVIEW does not yet officially support 64 bit XP. We have done some
basic testing, which indicated that the environment generally runs,
but we have not tested extensively, so it's quite possible that there
are bugs or unexpected behavior.
Regards,
Ryan K.
NI
I am trying to generate a continuous waveform at all frequencies
ranging from 100Hz-20kHz. The standard buffer size of 1000 works well
for multiples of 100 between 100 and 1000Hz and for multiples of 1000
from 1kHz-20kHz. However, when I try to generate waveforms at
intermediate values such as 1800
Hello,
National Instruments does not currently offer or support products that
are certified for use with 64-bit processors and corresponding Windows
operating systems. Note that the 64-bit versions of Windows are not
compatible with previous 32-bit Windows drivers. All National
Instruments hardwar
Hi,
I get this message sometimes when I run my program: System is low on
virtual memory My program has two loops, and I use shift registers
on these two loops. I have a loop for data array and a loop for
graphing the data array. My data when put into excel is more than 1500
rows. Is it gi
What are the basic differences
between Baseband, Subset, and Zoom FFTs and when should I use
each?
Enjoy!!
The subVI is a Daq AssistantVI with a Statistic VI. Numeric
indicators are wired to the statisic VI. A graph indicator is also
wired to the signal from the Daq Assistant. The SubVI works by
itself. Can not figure out why the numeric indicator and graph, that
are wired to the connector pane, do n
Thank you.
Hello Emiliano -
What version of LabVIEW and what Platform are you using?
Refer to the LabVIEW Release Notes for the version of LabVIEW you are
using for the required version of Mozilla. Also, if you installed
Mozilla in the default location, the LabVIEW installer automatically
installs the brows
Hi,
I get this message sometimes when I run my program: System is low on
virtual memory My program has two loops, and I use shift
registers on these two loops. I have a loop for data array and a loop
for graphing the data array. My data when put into excel is more than
1500 rows. Is it gi
There could be a number of reasons for this behavior. It may be that
the function is not working properly on the run time engine (RTE).
The best fix for this is to see if the problem persists in LV 7.1. It
is the best version of LabVIEW to date. If you can post code that
shows the problem then i
I figure there are two possiblities. LabVIEW is poorly installed on
your system causing the error or your VIs are corrupted. You can
test the former by installing LabVIEW on another computer. If you can
open the VIs there, consider contacting NI for ways to more throughly
remove NI products fro
From my days as a C programmer (shudder) I have to say I do miss the
#define. I realize LabVIEW cannot really have an exactly analogous feature
because the scope of .vi is too different from the scope of .c, but there
must be some way to get the same functionality. I figure a global might be
Hi;
I think config files can also be considered. You can initialize a
particular variable (I32, Bool, etc)
using config files
Just my thought
+
Dr. Hamid R. Yazdi
Federal Mogul
Manufacturing technology
3935 Research park drive
Ann Arbor, MI 48108
Tel: 734 222 4108
Lai, Ann wrote:
> Hi,
>
> I get this message sometimes when I run my program: System is low on
> virtual memory My program has two loops, and I use shift
> registers on these two loops. I have a loop for data array and a
> loop for graphing the data array. My data when put into excel is
> m
[EMAIL PROTECTED] wrote:
> Hi;
> I think config files can also be considered. You can initialize a
> particular variable (I32, Bool, etc)
> using config files
> Just my thought
strict typedef?
--
Dr. Craig Graham, Software Engineer
Advanced Analysis and Integration Limited, UK. http://www.aail.c
The author of the files is a professional who wrote a program for me a
couple of years ago. If I try to open the file in Notepad, I get a
Windows ! message that says "Access is Denied".
I am trying to open the file directly from the LabVIEW startup screen,
I am fairly sure that the process I am u
There is a stop button on my main vi and the boolean value could be
passed to subvi using control reference. So the subvi could stop when
the stop button on main vi's front panel is pressed. My question is
how I can pass that boolean value to nested subvi, so once the stop
button in main vi is pres
I have a problem. When I tried to combine my vi with yours there was a
error. It says 'Array to spreadsheet String:contains unwired or bad
terminal,you have connected two terminals of different types' I am not
well experienced with Labview. Thus , I need your help at this
point.You can find the pic
Hi Jim,
Very efficient VI. Is there an OpenG version of this?
Regards,
Khalid
ps: I'm sorry if this spams "notification" mail to all others on this
thread.
At 16:23 -0400 06/15/2004, George Gatling (Contractor) wrote:
>From my days as a C programmer (shudder) I have to say I do miss the #define. I
>realize LabVIEW cannot really have an exactly analogous feature because the scope of
>.vi is too different from the scope of .c, but there must be some
I thought about using an file to store the values in and doing elaborate
sorts of things to make it "easier" to update the values, but in truth that
is all overkill for what I am trying to do. These are not values that the
user would ever want to mess with... things that are currently just
con
After I create shortcut for my LabVIEW application=92s EXE on desktop,
LabVIEW icon shows up.
This default LabVIEW icon also shows up in Windows explorer window.
( This is not the one which I create in Labview icon editor. Icon
created in Icon editor only shows up on toolbar)
How to get rid of t
Hey Gonzo,
My first thought is that you really might want to reconsider this VI
that you are developing. Is there another way that you could design it
such that it does not require more than 28 inputs/outputs?
Some other information that could be useful: what do you plan on
calling this dll from?
1 - 100 of 127 matches
Mail list logo