i am currently plotting data on a graph from a physical system.
However when i want to add new data to the plot, the old one is
replaced. I am trying to do more than one plot on the same graph,
where the incoming data is at different times. I want something like
Excel where i can just add a new plo
Has anybody been able to develop labview vi's for the A200SMC stepper
motor controller from StepperControl.com?
Trying to make labview vi based on the dll library provided by
StepperControl.com using the "Call Library Function" in labview. The
controller interfaces the pc by parallel port. Is ther
I am not having much luck with LabView 7, as far as running the code
becauase the code has changed with the new Visual Basic.NET and
Vernier software has yet to update it. Has anyone connected the two
to run a car with two ac motors and with a motion sensor at all or can
give me some pointers or e
I want to configure my usb controller with this example in windows
2000. I use my pc computer's usb in equiment's managers. I have four
usb controllers(ONE:intel(R)82802BA/BAM USB Universal Host
Controller-2442. TWO:Intel(R)82802BA/BAM USB Universal Host
Controller-2444. THREE:Usb Root hub. FOUR:Us
Thanks Jeremy, But i have to use a powerfull machine with high
configuration, the processor of the machine is 800 MHz Bus Speed,
which the 98 can't run on, so i have to use either 2000 or XP, i
forgot to tell you that on 2000 i get an error when i try to start the
application and when i click ok, i
Hello John,
You can use the 'Controls[]' property to get refnums to the controls in your
cluster. This array is indexed as per the cluster order (and thus tabbing
order). For each control refnum, the 'KeyFocus' property would tell you if
it's in focus currently, implying if it's the one that'
At 11:12 PM +0200 4/8/04, Christophe Salzmann wrote:
>Does anyone know how to set programmatically (via the VI server) the default
>value of a control, this when the VI is running?
That is one of those things that can't really be done since it actually is an editing
operation. This means that th
When I set your threashold terminal to 0.0015 and a width of 3, I got
7 peaks with the appropriate corresponding amplitudes. If you want
more peaks, then decrease the threashold. When I set it to 0.4, I
got 23 peaks.
Since you are interested in getting all the peaks, I think you need a
diffe
does someone have some sample code on how to read the registry keys?
ideally for EXCEL versioning.
Well, there are a few issues here. First if you want to load the VI
from your other application you will have to either reference it by
the path
/otherapp.exe/yourVI.vi or alternatively using VI server open a
reference to the other executable and then opening a reference to the
VI through the VI se
Denis Jolivet wrote:
> Hi All,
>
> I have two modules of code. The first is either in VI or EXE format,
> the second is in EXE format. I want the first module to link to a VI
> in the second using call by reference node. I find that when I try
> this I get error 1003 (The VI is not executable.)
Hi Darren,
Thank you for this. I did not mention in my first post that the combo
box was in a cluster. I've been able to do what I want by using a vi
that is new to me: 'To more specific class' and attaching a Combo Box
Refnum constant as target.
Thanks again.
Does anyone know how to set programmatically (via the VI server) the default
value of a control, this when the VI is running?
Thanks
Chris
Sam Behashtei wrote:
> Jim,
>
> Are you going to post new times? April 30th deadline is approaching
> fast and if you leave it too close to the dead line some of us may not
> have a chance to re submit new/improved entries.
>
> -Sam
What kind of message does that give? You're already best so can'
[EMAIL PROTECTED] wrote:
> Shouldn't a control's label be used as the connector label or am I
> crazy? I guess there is still new things to learn about LabVIEW even
> after using it for 11 years.
Are you sure the control wasn't displaying the caption instead of the label?
It's caught me out befor
Scott Serlin wrote:
> A simple method that I use is to use the "system exec command" and
> issue the "set" command from the dos prompt in win2k. From there you
> can pick off the username logged into the computer. You can try this
Hmm.
"Administrator"
--
Dr. Craig Graham, Software Engineer
Ad
Hi Martin,
I think you are having this problem because the control reference
input terminal on your subVI is the incorrect class. You can easily
create a control reference control that is the right class by dropping
a control refnum from the Controls > Refnum palette on the front
panel, then ctrl
Could you provide a little more detail? What is parallel2.vi? Could
you attach it and your main program? You say that the main VI is saved
with all workings in a DLL. You've used the app builder to create a
DLL from the main and only then the subVI doesn't work? What exactly
doesn't work>? Do you g
Is it possible to populate a combo box located in a main.vi from a
subvi using refnum? I've been able to do it within the same VI using
the property node 'String[]' but this property is not available when
used with control refnum. Any tips to do this from a subvi?
11 bits resolution (an unusual number, by the way) is equal to 2^11 =
2048 discrete values that a single reading can take.
If your card has a range of +/- 10 V, then that's a 20-volt spread,
divided into 2048 steps (I'll assume -1024 to +1023).
That means you have a resolution of 0.009766 Volts. (2
Stephen,
Here is a link to a Knowledge Base, which contains detailed
information about our SH68-68-EP cables:
http://digital.ni.com/public.nsf/websearch/36220E8F02BF21288625686900766E27?OpenDocument
In general our cables are built to preserve signal integrity. Our
cables feature individually shi
Thanks Scott...I think I have figured out how to go about doing it. If
I have further questions, I shall keep you posted.
Thanks.
You're probably tired of hearing me say this, but the global function
idea is the best.
A global variable makes a COPY of the data each time you read it. That
takes time, and memory. If each of 3 window reads the global, and
picks out a channel, then you've made 3 copies of the original data.
Depe
I look around a lot to see if I can answer questions but I havent
found any yet that I have half of a clue how to answer. I have only
been using LabVIEW since Feb. Thanks for everything.
Hello,
Thank you for contact National Instruments. Here are some links to
documents on our website that should be very helpful for you in
understanding your encoder and application. One of these links is
even an example program for LabVIEW that you may be able to modify to
do exactly what you ne
Mexx;
In this scenario, because there is no specific documentation on how it
is implemented, the trust you put on the password protection mechanism
derives from the trust you have in National Instruments and its
reputation. It is equivalent to the trust you have in LabVIEW - http://digital.ni.com/
Quite easy to do.
In your block diagram, right click on the control and select "Create -
Property Node"
It defaults to the "Visible" property - which is what you want.
Change it to "write" mode.
Go to the top of your functions palette, and select the floppy disk.
Select one of the "Read File" that
It's actually pretty simple. You can take a couple of different
approaches. For each control/indicator you can create a property node.
One of the properties is Visible. You could have a .ini file with
entries for each control. Use the Read Key function (File
I/O>Configuration File VIs palette) to r
Depending on the driver in use - there may be a setting in the
hardware settings/device manager in Windoze control panel. My system
allows me to turn on local echo through the driver in the device
manager. Annoying since my program does that function automatically.
Rob
Jeremy,
Thank you for starting my trial support membership with NI, it will
greatly assist me in my project. I am horribly insufficient at
working with the parallel port in labVIEW. You said that I can use
ssp mode on the port...how do I do this? Please excuse my ignorance
in this matter. Thank
I have a list of 8 cursors and would like to show the information of
one cursor (which the user has slected) in the cursor legend of the
graph. But I dont want to expand the whole cursor legend until all
cursor properties are visible because it occupies too much space in
the front panel.
How do I
>From a top-level VI, I need to get a list of controls/indicators that
are on a sub-vi. I need to know the type of data it handles and feed
it values based on the data type and range.
I was looking at the "Get All Control Values" method and it seems to
have a lot of information, but I can't find
It depends on how you intialize the algorithm and on whether you are
reversing the sequence or not
Refer to the following discussion thread.. Has vi's that are purely G,
no .dll
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500080021AF&UCATEGORY_0=_49_%
I guess you didn't see my http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000800B8CB&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0";>answer
to the same question you posted 3 days ago. To repeat, you cannot use
any of the NI DAQ functions in LabVIEW (i.e. AI Read, A
Hi Jumarion,
Really good examples.
Sanaa TAZI
Application Engineer
National Instruments
Hi all,
for initialization I have task to do with many of my controls on the
front panel. So I use the property node of the front panel to get an
array of references to the controls.
All worked fine but now I structured my controls using a tab control.
The very strange thing is, that on my develo
Greetings:
It looks like you need to increase your number of samples by quite
a bit. Can you supply any more information, such as your sample rate,
which DAQ vi you're using, etc?
Eric
Brian,
I have had this same problem with other types of daq cards. What i
found out is that labview for some reason could not initialize the
driver correctly and would crash or I would close out labview wrong
and it would not close out the driver, then when I restarted labview
and hit run on My VI
Thank you very much indeed Sanaa.
Forgive me if the comments are in French in the VIs.
I try to do my best to answer to the questions but I've read some of
your answers and I really can't reach your level...
Thank you anyway for your rating, I'm gonna become an enthusiast
pretty soon if you help m
> I want to compute all possible permutations of an input (string or
> array)! input with variable length
> input could be: abc
> output should be:
> abc bca cab
> acb bac cba
Look at the problem this way. Place the three characters above in a
circle, a necklace. Get three patterns by rotating
Je cherche =E0 r=E9aliser une tempo sous Labview qui soit independamment
du syst=E8me d'exploitation?
Following with Dennis's solution here is a link to an example taht can
automatically remove the VI.lib files from an LLB.
Run this example on your LLB and you shoul dthen be able to open the
top level VI up and it will find the new vi.lib files rather than the
old ones. You may have to run the VI
Save the VI as a template (.vit) and then open two (or more) references with
the VI server Open function. Each Open creats a new instance of the VI in
memory. You can then open their front panels, run them, etc.
Daniel L. Press
PrimeTest Corp.
www.primetest.com
Wiebe,
Thanks for your response. Unfortunately the VIs you talk of read and
write images to and from files, and cannot be used to convert an image
directly to jpeg without streaming it to a file.
I am in need of a method to convert my VI images to jpeg format for
networking via TCP, without saving
hi Djadjok
your ex. is a guideline for new commer like me
but still i am in trouble.
i understood the use of local veriable
In my case
i have 2 different array
to plot graph i use one array for x values
one array for y value.
now my problem is how to asign local variables for
X,Y values of the grap
Burcu;
I am not sure what type of examples are you looking, so this is a
start:
Searching at the LabVIEW Discussion forum I found:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650008006755&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_TIER_0=0&US
I have PCI-6601 and CB68-LP connector. How can I use these to
interpret quadrature signals coming off an optical encoder (to sense
the angular position of an-observatory dome). The encoder is
16-bit(don't know what this means in terms of PPR). I want to have a
display in Labview that will show me t
i need to input data into a file now when i use the "write (or
read) to spreadsheed file.vi" i get a blank page unless the file is a
text file and not a spreadsheet file... how do i do it so that i can
write to an actual SPREADSHEET file... thank you
Shakes;
You can download modified versions reading text files from file VIs
from my website. One of those is Read Strings From Spreadsheet
File, a modification of the Read From Spreadsheet File VI
included with LabVIEW.
http://www.jyestudio.com/lview.shtml
I hope they are of help.
Regards;
Enri
In LV the wire is the variable.
The controls and indicators are not supposed to be that much involved;
they are there for GUI purposes and are used to send data to and from
sub-VIs. Not much more.
If you need the data many different places wire it there. The
indicator can only show one result any
"Controling colors with XY graphs" this question posted by Per Johan
Brandvik on 6/22/2000 has the link to "Scatter plot.zip"
Which software? Neither MAX or the LabVIEW DAQ functions will work for
non-NI hardware. UEI has their own set of LabVIEW drivers that you
have to use.
I am presently trying to build a custom application using LabView. The
software can not find my hardware. The DAQ card I am using is PowerDAQ
PD2-MF-16-400/14H. Any help would be greatly appreciated.
This must be a pretty old box. I can't find any mention of it on
Agilent's web site and there is no driver for it from NI. Can you
describe what it is? Is it possible it has the same address as another
instrument? Can it act as a bus controller? What do you get back when
you do the IDN?
The "problem" I mentioned won't be from the code itself. It will work
just fine, insofar as it won't crash or puke or anything.
But I don't know your requirements.
The (potential) problem comes from this:
Suppose the DAQ posts new data every 1000 mSec.
Suppose each window replots every 1000 mSec.
I am acquiring two data and after bundling them, I plot them using "XY
Graph" with the help of a buffer.
I am giving a sequence of commands to acquire the data. I would like
to know how to give a command( n number of times in the sequence) to
change the color of plot, keeping the previous data dis
Hello,
Thank you for contacting National Instruments. You have a couple
options here.
1. Keep all of the processing on the server machine that is
controlling the hardware. You should only have controls and
indicators on your remote machine that will allow you to view the data
and change parame
> Friends
> I live near Toronto and the last I was told by NI was that my
> sales rep was in Buffalo NY.
This is getting a bit off-topic and I oppologize, however in case there are others
that are not aware. NI has had 2 local sales reps
in Ontario for many years now and they are doing a great j
I used application builder to build a DLL. I had VC6 codes to load the
DLL explicitly. Every time I called LoadLibrary, the handle returned
is the same.
I want each thread within my application to have its own copy of the
DLL's variable. How to do it? Thanks.
Hola,
Puedes usar NI-VISA para controlar el modem por los comandos seriales.
Debajo hay unos enlaces con mas informacion:
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/1ecefaa7ad52994986256966005356ea?OpenDocument
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067
Hello --
Although we do not have a driver for the HP 8756A, you can submit a
request for an instrument driver through our request database at
http://zone.ni.com/idnet97.nsf/instrumentdriverrequest/. Your request
may be considered for development. We try to develop instrument
drivers according to
I have recently upgraded to LabView7 and have an application that
comm. with a ModBus Controller. Works fine in LabView 6 and using
runtime 6. Works on my development computer using 7. On the same
computer that it works fine using runtime 6 it won't run using runtime
7. Any Ideas?
Hamid,
The answer you gave just didn't answer my question. It appeared that
you didn't understand what I was looking for. I was trying to clarify
what the problem was, but it must have sounded like I was upset or
offended. It is more that a key feature is missing from the image
control that ups
Use a property node, Properties, Scale, Range. That should do it.
I never used this VI but I did use VISA to do it. Get a Property Node
on the VISA palette, right click on it and select Properties>Modem
Line Settings. Others may disagree but I always prefered using VISA
over the older serial drivers and in fact the old ones are no longer
supported by NI or includ
Cooly,
There is an example included in LabVIEW called "Simul AIAO Buffer
(E-Series).vi" that does simultaneous analog input and output on a
single E-Series data acquisition card. With your setup you can use
this example and modify the analog output portion to use your
PCI-6703. You can find this
I'm generating 90-degree phase offset sinusoids with noise on two
sound card outputs (each card has stereo out for in-phase and
quadrature output). I'm generating 4 sinusoids per soundcard and my
user interface provides control over frequency and amplitude for the 8
complex sinusoids (16 real) as w
When using LabView, we are working with an oscilloscope driver
provided on the website. We have everything running properly, but we
had a question about convenience. Is there any way to place the
control for a numeric value on the front panel not corresponding to
the block diagram. Exactly, we h
quite useful
There is the NI-VISA User Manual (NI-VISAUsers.pdf) and VISA Help
file. Both of these you should be able to launch from the
Start>Programs>National Instruments>VISA. MAX has a help topic for
NI-VISA/NI-VXI. From LabVIEW, you can go to Help>Search the LabVIEW
Bookshelf and select the LabVIEW Measure
Here is a link to your other http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HFORCEKWTID=95035:5&HOID=506500080049CB&HExpertOnly=&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0";>posting.
Although I miss guessed your answer, it has info on finding this kind
of information on
i have a problem in clearing array.
1. i have a vi witch on a button click add element in array ,and plot
the values on graph.
2. second time when i run vi on graph i get all the values witch i got
in first run pluse the values on second run
2. i want my graph should not plot values i got in first
test
Can labview be used with any equipment that has an RS-232 connection?
What other requirements are there?
I am in the beginning stages of setting up a system of equipment for
calibration purposes, but I need to be sure the equipment meets all of
the requirements to run labVIEW. I only have experien
Dennis is right--you should use VISA.
The Device Control/Status function does not do what you want it to do.
Brian
> I do not think VISA is required for serial communication.
> The minimal VISA installation that Dan Mondrik mentioned
> would be fine for many applications,
Yes, I agree, but it's still VISA...
> but I have a requirement
> where (for reasons I will not go into here) the customer
> needs the
n my application, I assess a variable at each point of a polar mesh. I
would like to represent the results with a color scale... It would be
a kind of intensity graph based on a polar mesh instead of a
rectangular one. Is that possible ?
Thank you very much.
Hi
Anyone familiar with, or even have drivers for, this new device or anything
in it's family?
TIA
Blair Smith
When I created a VI recently, I noticed that a control's label in the
context help did not match the control's label. I had copied the control
from another VI and didn't realize that it had a caption set different than
the label (only the label was visible). When I wired the VI as a SubVI,
the te
A note that some PDAs (as we're finding here) have a local echo of
everything that you send to the serial port. You may have to parse
your input to remove the sent command and then read again to get any
new input. A pain and it doesn't happen with all PDAs, so if you're
only working with one type,
Well it is quite simple!! The first is the name of the control, the
second is the type descriptor as it is also returned by the Flatten to
String function and the third is tha actually flattened data.
The format of the type descriptor is documented in the LabVIEW
Reference Manual and also in an Ap
I think the drop shifted the arguments to the wrong places :) .
Do all the old VIs experience the same problem? When you check the
propery of the files, what do they show? Can you upload one small vi
that we can try it out? Maybe someone has the system than can open
your file.
-Joe
I'm looking to plot a best fit Gaussian curve unto a set of data and
was wondering if this is possible with just the labview 7 base
development software. Any help would be greatly appreciated
> I have had this same problem with other types of daq cards. What i
> found out is that labview for some reason could not initialize the
> driver correctly and would crash or I would close out labview wrong
> and it would not close out the driver, then when I restarted labview
> and hit run on My
Greetings!
Your application doesn't seem to be too demanding. Just about
any Labview DAQ card will do the trick at such a low sample rate, and
you might look at the DATALOGGING vi examples to get started.
Good Luck!
Eric
I am trying to make a Phase Locked Loop and I have to produce a
continuous output with the incoming data; so I should not use a buffer
which is refreshed in every 3 seconds (by this way I am not able to
get a continuous output). How am I going to obtain a continuous output
signal which uses a conti
I borrowed a couple laptops today (IBM Thinkpad, Dell
Latitude) and finally got it working on the IBM. The IBM
screen resolution only goes up to 1024x768 so I gotta
fix that now but I can live with this. Things still
did't work on the Latitude or my old Sager. Maybe it
is a driver thing but the err
Hi All,
I have two modules of code. The first is either in VI or EXE format,
the second is in EXE format. I want the first module to link to a VI
in the second using call by reference node. I find that when I try
this I get error 1003 (The VI is not executable.) even thought I know
it is functi
The grayed out values of 100 just tell you that the default value of
the control used inside the array was 100 (it is normally 0.00 but I
may have copied the control from another VI that had default value of
100). The grayed-out values do not affect the calculation. If you want
to get rid of this j
Hi,
I need to build a VI which has to search for a file in a specific
folder in the computer. The file for which the labview searches is
initially not present in that folder. That file will be in the process
created by a third party software. So I guess the lab view should use
a loop which keeps c
Actually I got the answer from NI. When you wire the activeX control
to the reg callback and then select the event, two inputs appear, VI
ref and User parameter. You first wire your object to the user
parameters, then right click on the VI ref and click create callback
vi. The vi is then created
Pascal calling convention is obsolete in Win32. It has nothing to do
with Pascal string parameters but rather is similar to the cdecl and
stdcall calling conventions you can configure in the Call Library
Node.
Rolf K
Hello, I try to count how often a true/false indicator is true. I'm
using a "(U16) count: the number of TTL rising edges counted" after
it, but with every incoming value the counter sets to 0. Therefore I
always have 0 or 1 on the front panel instead of adding the new true
to the previous ones. Tha
What your problem with this is is the following assuming you declared
it as this:
static unsigned char MemoBuffer[MEMO_BUFFER_SIZE];
p4 = (int)&MemoBuffer;
hasp(MEMOHASP_READBLOCK, SeedCode, PortNum, Pass1, Pass2, &p1, &p2,
&p3, &p4)
First you assign to p4 a reference (pointer) to the pointer o
Sarah,
It sounds like you modified "pulse width modulator.vi" but you only
attached the pidcontrol_pwm.vi.
Can you clarify the difference between "program" and "switch cycle"?
I've experiment with Counter Group Config.vi set to "retriggerable
pulse generation" and in that mode using"switch cycle"
I'm trying to install an ISA/AT card using Windows 98 for use with
LabVIEW software. I don't know the card model name or number, and the
installation wizard isn't loading properly.
Hello
Thanks for the reply. This chart is surely giving out some
information. I am trying to understand what the x and y axis indicate
in the lower chart. Other than that I guess I shall try to work on it
now.
Thanks for the help.
Regards
Check my previous answer. Adjusting 'Delta (s)' control should do the
job.
Hope this helps
Julien
Yes, I did rebuild the executable.
I am using serial visa as well as GPIB VISA.
The GPIB VISA that I execute before the MODBUS works fine. I did
rebuild and distribute with serial support selected. I get a null
node at the execution point for the MODBUS code only in the 7 runtime
environment.
1 - 100 of 760 matches
Mail list logo