Hi All,
Im having a bit of a problem coming up with a solution for my PID
loop.
What I would like to do is to toggle the SP between two set values (0
and 5 MPa). I know you can do somthing like this with SP Profile, but
this does not suit my requirements as I would like to ensure that the
Process
Hi, I'm programming an Labview application.
Is there a way to change the pointing direction of the Y-Axis of
XY-Graphs? The default Y-Axis is pointing to North (pointing upwards),
my application (a image simulator) needs the Y-Axis pointing to South
(pointing downwards). Thanks!
Also I am new to Labview, what would be a better option, to write in
Labview or Visual Basic
good morning
i have a LBV application (VI) which does some a small
job, and i want to run it from TestStand or CVI
i dont see how to conenct between both
please your advise
thanks in advance
Have a .vi with a bunch of hidden indicators. Anyway to show them
all? Impossible to go through all the block diagram terminals, right
click and ask to show...
Thanks-
Hi Terp,
Right click a marker (you will get other/more options) of the X-Axis
and you see an option Swap Side. This will bring the X-Axis to the
top or the Y-Axis pointing downwards.
Hope this will solve your problem!
Hello Felix:
First, is that you have to remember that ordinarily LabVIEW does not
come with IMAQ or Vision tools as a single package and so you have to
learn them separately but ultimately integrate them together in
application. There is a set of toolset called picture control (early
version in
hi Greg,
Noted your input. Will give it a try :)
Hi,
no, this is not possible as I explained before. Just use the vis
delivered with the LabJack or downloaded from the website.
Regards
Matthias
Perhaps, NI should spare some time to look into this matter as most of
us do not just simply deal with LV but also third party drivers etc.
Still, if anyone out there has got any built wrapper DLLs or CINs for
the above, I would very much appreciate that you can post them here or
email to
The PID is a toolkit you can buy seperatly. The PID toolkit is
included in the LV RT Module.
The part number is 777874-03 for Windows -23 for Mac.
Waldemar
Have you considered to use Teststand? Teststand organizes all the
tests and allows to parameterize them.
Creating a tool with a similar functionality will be more expensive
than buying Teststand and modifing the operator interface.
Waldemar
Dear Greg,
this would solve the problem 1a.
For 1b I can define a U32 for SRB_BufPointer. I can create the buffer
with Initialze Array but I don't know how to assign the address of
the array to a U32. I made a look into the LV Data Storage but not
into the External Code document so my knowledge
It seems you are using a string input to enter a number. The String
to Byte Array gives you an array of the ASCII codes of the Input
string. I don't think that is what you want. You should either use a
numeric control or a String to Integer to get a number an the but it
in an U8 array.
Hope this
Thank you very much for your post
But i can't control the time, i need two inputs one for time (real
time) and one for the value.
For an example; after 15 min the temperature have to be 100 degrees,
one hour later the temperature have to cool down to 50 degrees. I can
create a chart or waveform
Hallo,
First you open a Vi-Reference to your Application. Than connect this
with a property node. Use the property panel. After that add a
second property Node withe the property controls. controls is an
array. This array connect to a for-loop. Inside the for-loop a third
property with the
Hi Matthew, thank you for replying. I forgot to attach the vi.
Actually, I have another question. I'm not able to make a GPIB
connection because the driver hasn't been well installed. I would like
to uninstall it in order to reinstall it properly, but there no such
option on the CD rom. How could
Hi
I have been working with a vi witch connects to a serial port and
reads load and displacement, how can I simulate the type of data I
would normally be receiving , so that I can test everything
thoroughly, without actually connecting to the instrument at work.
There is a peak load detection
Hi IMMA,
As far as I know, %f should do the trick. However, you need to take
into account the setting for the local decimal point. If your machine
is set to use comma , as decimal point, the scan from string will
stop at 3 because it doesn't interpret the dot . as part of a
number. There is an
The best is probably to make a simulation software and then use a
null-modem cable and have your application talk to the simulator via a
loop-back serial link...But making the simulator could be some work
(if it's just a few commands to support it should be possible to make
within an hour, but
Thanks mads , surely there's got to be a easier way ,Perhaps there's a
vi around that I could wire up to the relevant paths and this could
give we a sort of ascending or descending streams numerics
Hi Wiebe,
I did not know that. I thought that this was maybe just in LV 7.0,
but I just looked in my LV version (6.1) and wow, it's there. I never
knew that. Thanks for the info. Shame I can't give your post a
rating
I have encountered this problem quite a lot, and this will help solve
I am recieving data (displacment) and wish to represent this as an
arrow blinking up or down depending on the number when the displacment
data is increasing the arrow blinks down and the opposite for negative
displacment ,Does anybody know a easy way to do this or even better a
example vi in V6
4 Stars!
Luca
What is it that stops your calling VI from continuing to run while the
subVI also runs? LabVIEW code only waits for a subVI call to finish if
you have made it do so by some kind of data dependency.
If your problem is that you need to pass data to/from a running subVI,
you might want to look at
Dear all,
A wrapper DLL certainly do the job!
And, I will try out other possible solutions mentioned by you guys as
and when is possible.
Thanks for your invaluable inputs/ suggestions, and hope these will
also benefits many others.
Cheers!
ian
Here are some steps:
1. Open TestStand.
2. Make sure the LabView Adapter is displayed in the pull-down menu
near the middle of the icon window (top). When you pull it down, it
gives selections such as C++/dll, Active-X, Sequence, etc. Leave it
at Labview.
Since you already have an existing
Hi,
Do you mean: 8720C Microwave Network Analyzer?
It looks like you have to use the driver for the HP8753 (apparently
the same)
If so, follow this link for the drivers:
http://zone.ni.com/idnet97.nsf/9b2b33e1993d877786256436006ec498/99fd4a9bfc561ba7862568ab005fbb48?OpenDocument
The better
OK, I had a look at the help for LV 6.1, but saw nothing about %p.
You also haven't explicitly mentioned how this works in your original
message.
Can you give me an example of this (textual will do) so that I can try
it out? What does the %p option do?
Thanks
Shane.
Please post an example of your code.
We should be able to advise you on how to speed it up (if possible).
Trying to help,
Ben
a
href=http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=261HRedirected=TrueHUserId=101_3529RFORMNUMBER=6;Ben
Rayner/a
a href=
You might try increasing the rights of the user. I have not
experienced this problem or know why user rights should correct it but
other problems are corrected this way.
Perhaps reinstalling the video driver could correct this.
If you have corrected the problem I would be interested in knowing
I all ready answered Don's Q on Info-LabVIEW.
For the record, his reply follows;
Worked great, especially after I added 10 pixels to the final result.,
thanks again, Don
At 11:52 AM 3/2/2004 -0500, you wrote:
Under the picture control functions there is a VI that let you put
text
in a
I have the same kind of problem (scott's)
i have to communicate with a machine thru an ethernet network. My
problem is : what function in labview do i have to use : visa, tcp,
..
any help would be appreciated...
Ryo
Hi, I'm programming an Labview application.
Is there a way to change the pointing direction of the Y-Axis of
XY-Graphs? The default Y-Axis is pointing to North (pointing upwards),
my application (a image simulator) needs the Y-Axis pointing to South
(pointing downwards). Thanks!
There is a
I am currently have a table control with column headers and I would
like to have all of the cells of any particular column to have their
widths equal to the number of characters in the header string of that
column Is this possible to do programmatically?
Currently, I see the cell width and
I am trying to communicate with labview and a machine through an
ethernet network (rj45).
I don't know how to start my vi .
This doesn't give much information. Assuming that you have other
software running on thet computer with the RJ45, you might try TCP or
UDP communications. LV running
When formatting strings to be sent to the instrument, wire a False
Constant to the Use System Decimal Point terminal of the Number To
Exponential String and Number To Fractional String functions.
As you probably know, instruments send and receive ASCII numbers using
decimal points as separators,
And what is the format string that you're using? And how can the data
in the saved file be correct if it's integers and what you are trying
to write is floats? Stick a probe on the input to array to spreadsheet
and one on the output. That way you now whether you have a problem
with the format
Thank you Joe and Dennis,
I think with your suggestions I will now be able to satisfy the
requirements of my program. Because of some hardware difficulties at
the office, I will be unable to test the program for a short time.
However, once I am able to test I will let you know if I have any
Labview version 5.1.1
I can't edit anything on block diagram or even save file. When I try I
get oheapmgr.c L 60 error I can highlight everything visible except
the while loop with the arrow, but I can't move, resize, or even clear
it. If I click on While Loop it goes strait to error. After
I'm not sure what you're looking for. There's the function Save/Recall
Data and a Data to Memory function that apparently will recall saved
data. Can't say how well it works. If that's not the function you're
looking for, could you explain in further detail what instrument
command you need to
The I/O works system is a VMIC/GE I/O system and provides an OPC
interface. You might try the OPC client in LabVIEw to talk with the
OPC server for the I/O Works hardware.
I'd be happy to further advise.
Preston Johnson
Hi
I am trying to communicate with labview and a machine through an
ethernet network (rj45).
I don't know how to start my vi .
Someone can help me ?
Hi s,
Check out the example I posted here. It demostrates exaclty how to
control this type of functionality.
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=137HOID=506500050014570100HTHREAD=87828UCATEGORY_0=_49_%24_6_UCATEGORY_S=0
Have fun!
Ben
a
Thank you Luca.
Some times its hard to say no.
Ben
Hello Pellman,
Thank you for contacting National Instruments.
What hardware and software are you using? If LabVIEW, what version?
It would also be helpful if you could post your pattern matching
algorithm.
Please respond with more information and I will be glad to help.
Sean C.
Applications
Hello Dr. Fission,
Info about a free upgrade toolkit can be found a
href=3Dhttp://ae/operations/ae/public.nsf/webPreview/429E45271CFD683786256D=
87006B1EEF?OpenDocumenthere/a.
This toolkit will help you convert your code up through the different
versions of LabVIEW.
If none of these suggestions
Carl,
Have you double checked that you have Project Builder installed? Code
Warrior is not enough, LabVIEW requires the Project Builder. After
building the framework on OS X and trying to access the function, I
ran into what may be a similar problem. Where I should have had a
pull-down menu of
Aha. That's interesting to know. I don't suppose it works scanning
from a String?
Thanks again
Shane.
iRegular VIs are greatly affected by whether the panel is in memory
and whether the panel is open.=A0 I suspect that you have eliminated
these effects, but it is always worth restating.=A0 After any of these
changes
to priorities, perform a Save All before taking any timings./i
--- I understand
Is the OPC client a DataSocket function? Can't seem to find it
anywhere else.
Thanks, that does show the controls (or decorations) but i want to see
the **indicators**...
I am assuming that the 4-20 ma signal is linearly proportional to PH
values. This is usually the case with 2-wire PH transmitters, which it
sounds to me like you are using. If this is indeed the case, you
simply need to subtract the 4 ma offset, and scale the remaining 16
ma proportionately to 0
Hello,
You mention that you send a string to the microprocessor that tells it
how many bytes to send. Instead of requesting 512 bytes, try reading
10 times and only requesting about 50 bytes at a time.
If that doesn=92t help, try directly communicating with your
microprocessor through
That will work until the user tries to stop the program and it doesn't
exit until the 1 hour timer expires. Much better is to use the Elapsed
Time function in LV 7 and use the output of that to go to a different
state in the program or wired to a case statement.
i downloaded the labview 7 trial version and checked out u r
modifications.
thanks for the help u r changes seem to do the trick.
however i am now encountering a new problem.
i see a red square border in my vi diagram and whenever i press the
run continuously icon,
the vi executes and then stops
iI am leaning toward this being the OS related. /ip
For what it's worth, I DID verify that setting the priority of the
tester to match the dummy caller restores the normal execution time.
Also for what it's worth, I ran the same tests on Mac OS X. The same
behavior results, except that the
Hello DavidT -
Have you viewed a
href=http://digital.ni.com/public.nsf/websearch/125F27AC143B6AFD86256C2B0004A4DC?OpenDocument;this/a
Knowledgebase? It tells how to generate Setpoint Profile in LabVIEW
for a control application and even has an example program.
As for implementing a suitable
I want to write a complete waveform obtained through a sub VI to an
excel spreadsheet using DDE. Please reply me how to do this in Labview
7.0
Hello worker -
If you have installed the PID toolkit, there will be a control palette
on your functions palette. You may need to reboot your PC for this
palette to appear.
A great resource for LabVIEW PID Control is located a
Hi Daniau,
a
href=http://zone.ni.com/devzone/conceptd.nsf/webmain/DF8C0A4BA2E2B22A86256A3700592BEA?opendocument;Here/a
is a tutorial that explains how to connect LabVIEW to an OPC Server
via DataSocket.
It is odd to hear about this type of behavior in LabVIEW, where the
first unit of data is
Can I ask why you want to use DDE? Microsoft stopped development on
DDE quite a while a go and it never worked very well in the first
place, imho. LabVIEW still has DDE functions but they're no longer on
the palette. They're in vi.libplatformdde.llb but I recall ever
seeing any Excel examples.
You are right it is an old process and not used now.
But as an enthusiast I want to solve this matter.
It is easy to write data on an excel spreadsheet using DDE by
providing data with rows and colums to write at.
But I want to write complete waveform data obtained by any subvi to a
excel
Thanks for the link, though I'm not sure it applies.
1... I'm not using RT things - there's not an RT board present.
2... iThese shared resources include global variables,
bnon-reentrant subVIs/b,.../i -- So a non-reentrant subVI is a
shared resource.
3... iPriority inheritance allows the lower
The problem with this idea is that in the case where I don't load the
dummy caller, the resource is not shared - there's only one call to
it! Apparently the fact that the subVI is higher priority is enough
to get it to be declared shared, even though there's no competition
for it.
Do you agree
100% sir!
I think the observations you have made are consistant with your
wrap-up.
The 2 guesses we are making are;
1) Priority inversion is not limited to LV-RT.
2) A VI calling a sub-VI with higher priority is enough kick in the
priority promotion.
Now that you point it out, I did not stop
After a little more searching, I found A
href=http://zone.ni.com/devzone/devzone.nsf/webcategories/B7AA6C07A04F6A708625683C23F6?opendocumentnode=DZ52049_US;this
page/A with a couple of links to DDE examples with Excel. One of
them is specifically for writing an array.
I need to create a http://; link in my Labview application.
My Labview application searches for a keyword on my intranet, and
returns the htm file name. I can concatenate the file name with the
web address and display the link in my application
However, the link is just a text string, and
I'm re-installing everything to run LabView and my AT-MIO-16DE-10 card
on an old Windows 98 SE box. I have actually performed a clean
re-install of the OS, so nothing remains. What is the latest version
of NI-DAQ that supports LabView 5.1? The readme for NI-DAQ 7.1 says
it only works back to
This a href=http://www.ni.com/labview/switch;website/a has some
great articles on the advantages of using LabVIEW. The resources
there provide detailed information about LabVIEW, the technology
behind how it works, and how to use it.
I hope that helps!
Becky B.
Applications Engineer
National
Have you tried printing to a postscript file, instead of printing to a
printer? You might be able to convert a postscript file to a tiff
file using professinal image processing applications, such as
Photoshop.
George Zou
http://gtoolbox.yeah.net
I am plotting an XY graph (X for time and Y for an amplitude). As i
plot this graph the whole set of points are presented.
I wish i could present the graph, reducing the X axis width(10 seconds
width) and iterate to plot 10 sec to 10 sec(segments of 10 seconds).
one problem is time values are not
I want to organize my controls on the front panel into categories. My
usual Windows programming way of doing this is labeling the groups
with a GroupBox Control, which puts a nice text label on the recessed
line that encloses the controls.
Is there something handy in LV with the same
There's a VI in LV 7 called Open URL in Default Browser core in
vi.libplatformbrowser.llb (I think its just called Open URL in
Browser in older versions). You could use the event structure to
detect a mouse down? on the string indicator and pass the url to the
function. Before the event structure,
Is there a way to do that without having a postscript printer and its
drivers installed?
I need to be able to receive SMS texts sent from a mobile phone
instantly with Labview. Firstly, what kind of GSM modem if required -
can a standard PCMCIA laptop modem be used (i.e vodafone) or should I
use a serial modem with full Hayes AT support.
Secondly, how is labview configured to look
I have a large number of data files containing values for acoustic and
vibration data from machinery. I am trying to look for distinguishing
features in particular groups of files (covering certain dates) but
there is a lot of random noise contained within the signals so this is
proving difficult.
Thanks Dennis,
I didn't see that vi before , it is actually what i was looking for.
Obviously, in LabVIEW, multi threaded programs are easy to write, and
easy to read.
I am trying to write a vi in version 5.1 that will correlate two
signals and output the correlated signal.
I also need to build a loop to read concurent subsets of data from a
large tab delimited text file, and input the correlated results into
an array, but I am not sure how to use the build
How about enlarging the the image on the screen before getting its
image?
I'm thinking about graph that fill 3X12 screens?
Ben
I only use V6 , unfortuantly cant open , you must be using v6.1
,thanks for help anyway.see if I can talk someone into recompiling .
Thanks
Thank you all very much
A special thanks to BeckyB for the website
it is really helpful
typedef struct {
long dimSize;
double elt[1];
} TD3;
typedef TD3 **TD3Hdl;
TD3Hdl *Tach
noErr = NumericArrayResize(fD, 1, Tach, 8);
..
It does not compile i get the following error:-
error C2664: 'NumericArrayResize' : cannot convert parameter 3 from
'TD3
Regardless, I am working fine with subroutine priority, but I want to
understand things better. I've read the app note (#114, I think), but
I can't see a connection between the words there and my situation
here.
I asked around at work and it is definitely priority inversion. Here is
how it
I change the dll path in call library function, but path has not
changed when I look at it next time.
LV 6.0.2
Windows2000
What I would like to do is to programatically set the camera drivers
for an interface using LabVIEW. I am not getting much luck on trying
to drag and drop a non-shipped camera driver into MAX under the
NI-IMAQ/Data/ So I would like to programatically set the camera
drivers from LabVIEW. How
Is there something handy in LV with the same functionality - A sort of
decoration that visually groups controls into categories that includes
a text label?
And I would like to avoid clusters, since it changes the way you can
work with button latching, etc.
You can group any number of
i would like to refresh my VI that i put up on the web without having
to refresh the entire page.From your results i was told to use the
image update VIs located somewhere on your website.i have been
searching for this for sometime and i cant seem to find it.can you
please help me locate it or
hi, it works perfect for me now. Thank you so much!
90 matches
Mail list logo