Can i read / write data to a file format understood by code composer
studio and Labview? I am using PCI-6110 and TI DSP 5510 DSK.
Hello,
Ingo Schumacher
National Instruments
Thanks for your reply,
i will explain what i need, i want to call LabVIEW function with some
parameters from vbscript, and i have to get new parameters from
LabVIEW. In LabVIEW function posible to send back new values to vb
script.
is it posible?
It is very difficult to make sense of your diagram, because all the
control references are missing, so it is not possible to tell the
various data sources apart.
Where is the data coming from? How do you prevent race conditions
between the acquisition and analysis parts?
Overall, the diagram is
Hello Tomsch1,
I am sorry we don't have provide example VIs. Please look the example
VIs from LV. I am sure you can find some examples.
TN
Hi!
I had to finish this yesterday so I just changed it to fixed colors.
bye
hmann
Congratulations!!!
I can only dream of becoming such a great enthusiast. 1000 answers in
1 year
Thanks for all the answers, tips and tricks you have posted!
BJK
Thanks for your reply,
its verynice.
it is fine, but VBScript is incomplete ?
any way thanks once again, are you from germny?
Reading the scales of sartorius ..
all of them I ever saw used '\1BP\r\n' to request a value and
'\1BT\r\n' for tara.
Since the RS232 setting is configurable you need to check the setting
in order to use the same for your VISA serial init and the scale.
(All strings are in '\'-Code display,
Could you please advise on the following - if the information is
unknown please answer N\A,
The highest NT4 compliant version of Labview the availability of
this product.
The highest NT4 supported version of Labview the availability of
this product.
The lowest XP compatible version of Labview
The script should be ok like that. It is running fine on my PC. Make
sure that the labVIEW VI is saved at the autodriveuser path. If you
cannot open the VI let me know, I am not sure in which version I saved
it - maybe it is too new for your LabVIEW Version
Sorry, I just realised that the script
List,
I disagree - targeted emails that are specific to LV or NI users can be
useful in bringing ones attention to products that may otherwise remain
undiscovered (don't know if this one was, didn't see it). Especially useful
where advertised products are cheaper and possibly offer better
The programme written in 6.1 was designed to write data into file but
i have installed labview 7.0 now and the same programme is not writing
to file.
Dear Leeser,
I agree with what Dennis is saying. Below is a link to a page which
explains about these functions. It explains about the LabVIEW 6.1 In
Port and Out Port functions but they are almost the same as the
LabVIEW 7.0 functions. This should help.
I'm updating some of my programs to use DAQmx. I need to find the
units allocated in each Global channel. The Channel Property Node
seems to need a Task as input and not a Channel. I don't want to
create a Task as there will be several measurement types in the Task
ie Voltage, Thermocouple, PRT's
Thanks Guys, I was probably making life difficult for myself by trying
to use Simple Parallel Port Input and Output as discussed further down
the same document as this had worked previously. Will attempt to use
the example shown while grounding lines 11 and 12.
Regards,
Leeser
I have one main VI called Header_Footer.VI and some 4 vis. The Header
Footer VI will always Run and depends upon the boolean control clicked
on the Header_Footer VI, the corresponding VI will run and it placed
at the cente of Header Footer VI.I assigned a control key navigation
as F2 in
We would like to change the mouse appearance to a sand-clock whenever
a VI is running. We were told that this is possible in LabView Version
7. Which VI-function does the trick?
Not that I really want to defend Access, but this should not be a
problem for it. I am currently using a network database that takes
data from 4 different VI's(on different machines) and multiple Access
users, all at the same time. There is an occasional blip that I
haven't figured out yet,
David Ferster wrote:
Is there any way to reset a USB device from LabVIEW (maybe via a
dll)? Best of all would be a way to simulate the device being
unplugged and plugged in again. I notice, for example, that you can
right click on a device listed in the device manager and disable and
enable
As a list administrator for a small specialized mailing list and a
participant in Info-LabVIEW I have some opinions on this topic.
This list has never been commmercial content free, but commercial
mailings are expected to be kept inobtrusive and brief. That seems to
work and who am I to argue.
The spline interpolation expects your x-values to be all different
(and monotonic). However in your data set the x values at index 122
and 124 are identical (and also x(122) x(123)). If you correct for
this the interpolation should work fine.
I want only know if problems exist in my field point configuration:
one PC write and read the field point module and other 4 PCs read the
same module at the same time
Thank you for your answer
I am trying to write a server program that caters to multiple clients.
The clients are being made to wait in turn when the data has to be
sent back to them. The requests from client are handled by the server
pretty
much in the desired multi threaded fashion.
Is it that the every instance that is
I'm not sure what you mean by compliant and supported, but here is
what I have from the release notes of various versions.
LV6.1, NT4SP3, XP (first version with XP Support?)
LV7.1, NT4SP6, XP
So, the current version of LV (7.1) will run on NT4 with Service Pack
6 and XP. The earliest version of
Good Job, Dennis
Keep the good work going. It is always beneficial for the rest of us
to get ideas from the experts
Hi,
first of all you don't need to create signals in loops like you did it
in your example. You can use signal generation VIs, which will do all
the job for you, from
Functions-Analyze-Waveform generation
or
Functions-Analyze-Signal Processing-Signal Generation
palettes.
As for your question you
I am trying to write a server program that caters to multiple clients.
The clients are being made to wait in turn when the data has to be
sent back to them; and that exactly is my problem. The requests from
client are handled by the server pretty much in the desired multi
threaded fashion.
Is it
I wish I had the time to consider and look into everything. I have
chosen to use the XML format because of it=92s universality. (Or at
least its perceived universality.) The Citadel system is not
something I=92m familiar with and I haven=92t the time to look into it.
It=92s maddening to think
It was recommended to use the XML format because it's easy to use and
can be imported to other software (i.e. Excel). Your suggestion to
set up a leading header to describe the file is a good one, and that
I've done. I've set up the first data field as a simple integer that
describes the
Select Application Controlon the functions pallette. Then goto
Cursor and use the Set Busy.vi and Unset Busy.vi.
Or type in the search option Set Busy.vi.
Hope this helps.
BJK
Hello, I need my labview application to act as a SNMP agent. I have
bougth SNMP toolkit, but I have a lot of doubts. How can I load the
MIB file for example? I know how the protocol works, but I don't know
how to implement it. it's necessary a server, or compiler or
something? Thank you!!
You are setting your simulated sine wave to 1000 samples per second.
Have you set the number of samples to something more than 100? To
ensure that you get at least one complete cycle, you should set the
number of samples to put out more than a single cycle. I usually try
to get over 2 complete
How exactly do you spawn request handlers? Do you call a reentrant
handler VI dynamically with the run method?
It's possible to have multiple connection handlers that handle
requests in parallell, I do that in several of my client-server
applications. All clients connect to the same port, that's
I am having the same problem as well. I used to have a cluster of
tables (i.e. cluster of 2D arrays), but with so many case statements,
I started to drown in a sea of bundle/unbundles. The other problem is
that labview will not have an array of tables, because a 1D array of
2D tables is just a
No. Im trying to do so, but I cant
True. From the LabVIEW 7.1 Readme.html:
If you have Windows XP Service Pack 2 installed, a Security Alert
dialog box appears when you launch LabVIEW or the NI Example Finder
for the first time. If you select the Keep blocking this program
option, the LabVIEW VI Server, LabVIEW Web Server, and any
Hello, it's a long time since you posted that answer, but I hope you
can help me. I need my application to be an snmp agent, and have
bought snmp toolkit, but I don't really know how to make it. can
somebody help?
I think what it happening is that you are not giving the Pulse
Measurement VI enough of the cycle. It needs to have at least one
complete cycle of the waveform. If you wire the error output to an
indicator, it may be returning an error that is something like this:
-20308
ma_ptmFetch.vi when
Hi William,
For counting pulses you need to specify how long you want to count
pulses. After that time expires, you read the count value from the
counter and then reset the counter value back to zero. The counter
will start counting right away from there on. To determine when you
need to read the
Sorry Tore. Your name was in our database and a special Data Acq. email ad
was sent. I believe that is the only one you have ever gotten since we went
deep into our data base. I'm very sorry for that. Your name was removed.
No, I do not mine this or any other site for emails. I have no need
The Elapsed Time Express VI was created to calculate an elapsed time.
Just put one at the beginning of your execution and wire it to one at
the end and it will return the time elapsed.
This is what=92s cool about LabVIEW. I don=92t have to be an expert in
everything. Up until now I haven=92t even heard about XML and really
didn=92t care.However, looking into it, I found that using the XML
format addresses two issues. 1) It is easily extensible. 2) It=92s a
very
Thank you Dennis for makung labview a fun language instead of a
frustrating one.
late nights, lots of coffee, then in the morning ask dennis then have
it fixed by noon and the boss loves YA.
Thanks again Dennis you are an inspiration to all of us.
I managed to fix that problem but now i have run into another one. In
my program I have a chart with a drop down menu that displays 7
different sets of data. Almost every different set of data has a
different number of columns to display in the chart. There as a vi
that the program calls which
How can I programmatically change the color of a single point at X-Y plot?
The idea is to plot given set of points with coordinates X,Y and each point
has own color (represented as RGB hex code) given by Z.
Can I solve this problem not resorting the help of picture controls?
Yes, as I've specified, I am trying 1000 samples per second.. I've
tried from 100 to about 5000, I think.. very easy to duplicate, just
put a simulated sine wave, and then try any of the timing measurement
or pulse measurements VIs and set the freg to less than 15 hz or lower
. seems the
There is no Cursor in Application Control. The search option does
not find anything under Set busy.vi nor Cursor. We only have the
base LabView package; maybe that is why. Is there a work-around?
Thanks
I got your example to work by specifying an array for slope instead of
using the default of an empty array. I would appear that there's
something in the call library node function that doesn't process
channel 0 correctly. I would call it a bug since channel 1 seems to
work. As far as getting
We only have the base LabView package; maybe that is why.
Correct. The Help File says Not in Basic Package.
Les Hammer
Yes, that is the error that is occuring .. I do not know how to get
longer sample .. how do I get the measurement VI to wait and gather
more samples?... it seems to be timing out if it doesn't get a
complete cycle in a certain length of time .. so I can't measure slow
waveforms.
dave
Are you sure that you mean chart and not a table or multi-column
listbox? A waveform chart doesn't have columns. In any event, I'm
assuming that you are using property nodes of some type. Some
properties are not available in the run-time engine. Right click the
property and select help for that
If I have a main VI that will run several sub-VI's in a specific order
that the user indicates. I have to update the indicator everytime
each sub-VI updates, which would be a better way to implement this,
using dynamic VI or just put the sub-VI in directly? If I use the
dynamic VI, I will have
My application has many windows open simultaneously (flexible,
configurable data display, each running in its own thread). In
previous versions of labview, I used the fp.frontmost propery to
arrange the window stack periodically. This is clumsy, and the new
Floating Panel feature significantly
I see your problem. You are getting data in through something like a
DAQ or VISA call and you just aren't getting enough points to make the
measurements with this VI. You can either collect several of these
together and then make the pulse measurement, you can tell the input
to take longer
I would like to see what you have if possible. Could you send to
[EMAIL PROTECTED]
I have a main VI that will call several test sub-VI's. The main VI
sends the inputs into the sub-VI, and displays output from the sub-VI
via input and output clusters. The sub-Vis runs one at a time depending
on the order that the user requests. The user puts his or her request
in a listbox,
Hello Marko,
Programmatically writing code, or scripting, is not possible with
the current version of LabVIEW. Your only option in the situation you
mention would be to create a master VI that includes code for all
options, using case structures and such, and programmatically set
values using an
Dear List,
I don't really think it's totally off topic from this
list, because it can also be LabVIEW related.
From what I have read recently, I feel people are more
tolerant about so called freeware, but notice not
all freeware are really free even it says free,
it's only free for personal use,
I need to measure the impedance (low frequency, low power) of up to 16 leads. So I
need an impedance analyzer and a multiplexer. Currently we have a GPIB controlled
multiplexer and impedance analyzer, but would like a more compact system. Is there
anyway to do this using PXI or SCXI so that we
hellow!anyone can tell me how to display two waveform together in one
waveform chart? thanks!
Hello Matias,
You must have LabVIEW 7.1 to use the PDA 7.1 module. You cannot
install the PDA Module 7.1 with LabVIEW 7.0.
There are no new sound VIs for the PDA module. Instead, the LabVIEW
sound VIs now work with the PDA module. The Sound Input and Sound
Output VIs now work with either the
Bonjour tout le monde,
R=E9ouvrir une face d'un m=EAme Sous-VI plusieurs fois n'est pas possible.
En effet, pour r=E9ouvrir une face avant il faut d'abord la refermer.
Sanaa TAZI
I need to measure the impedance (low frequency, low power) of up to 16 leads. So I
need an impedance analyzer and a multiplexer. Currently we have a GPIB controlled
multiplexer and impedance analyzer, but would like a more compact system. Is there
anyway to do this using PXI or SCXI so that we
The last two times I have logged into LabVIEW 7 I
have gotten an error and a file was created
called lvlog with date and time appended to it. Does anyone
know what this file is? I didnt
see anything on the NI website or archives.
I have an application in 6.1 where I use a table to display some
results. If someone right clicks, they can do all kinds of things
(like reinitialize, delete, etc.) that I don't like. Looked under
property node but could not figure out how to turn off that ability.
Any suggestions?
You can NOT have different colors defined for the points of a single
plot!
I have made it look that way. These techniques will work if your data
set is not to large.
1) Use one plot to draw the line and make sure its point style is
none. Add one additional plot for each point and define the
Hi
Adriana
It will be that you save this program for me in a version of LabView
6 and order for me
Thank you
Rogerio
You can use a 'build array' tool.
Hi Ann,
If I understand what you are describing, you are looking for a "universal" way of passing data from different subvis (only one running at any given time) to your main calling VI.
Have you investigate using queues ? Depending how generic (or not) you data are, you can define a clue cluster
There is a VI setting to disable right clicks when the panel is
running in VI PropertiesWindow AppearanceCustomizeAllow Run-Time
shortcut menus. This will disable RCmenus for all the FP.
For an indicator, you can disable it to prevent the RC menu to appear.
However, the user won't be able to
Qu=E9b=E9cois.
Quand le template VIT (avec l'extension VIT, pas une instance Template
N.vi)est en m=E9moire et que tu ouvres une r=E9f=E9rence au template, tu ne
cr=E9es pas une nouvelle instance. Tu ouvres simplement une nouvelle
r=E9f=E9rence au template. C'est pourquoi tu ne le vois s'ouvrir
Thanks Dennis I just worked it out myself too! Learning curve!
Assuming that your DS Writer is working, putting the Boolean indicator
inside the while loop should fix your problem. With it outside, the
indicator is only updated once when the while loop finishes.
Subpanels?
If you want to go the route of passing references, you only need to pass a
front panel reference. And if you're willing to spend some time doing
reusable code, you can write VIs that will give you the top level panel
reference and let you get control references by name as and when you
I have A PC-DIO-96 card and my dilema is that when I write all outputs
low and then try to read them back The outputs read High. Why is that?
Right click on the border of your loop and create a shift register.
Once you have created this concatentate the strings together. You can
then place an indicator in the loop and see previous iterations data.
Look in the help to explain shift registers alittle better. Hope this
helps.
I'm Using LabVIEW 7.0 to build an application My Application is
exporting data to an excel report. the vis were working great until i
tried to creat an .EXE file. The application is working fine but when
i try to generate the report nothing happens.
So, I decided to test the report generation
Probably the easiest way to accomplish this would be to utilize a LV 2
style global. This is a while loop with a case structure. The case
structure can have two cases a read and a write. The write case will
place values into an unitialize shift register and the read case will
read from the
Hi,
This is definately possible, however it may taka some work. It may
also require a C or C++ compiler to create a dll that LabVIEW can call
to get the results.
Some of the Windows SDK functions that you would need to call are
GetFileSize(), GetFileTime(), GetFileTitle(), GetFileVersionInfo().
I highly recommend you upgrade from NI-VISA 3.0 to 3.1 at
www.ni.com/downloads
We definitely improved the performance of large Serial I/O reads. I
know the performance of other areas improved as well. I don't think
we saw much difference on XP, but it probably depends quite a bit on
the
If you are using the get base path function look at your path when you
build the exe. An example path in the development enviroment
C:\Temp\viA.vi. In an exe, C:\Temp\viA.vi\viA.exe. You will have to
do a second strip if you are getting the base path.
Also if this doesn't solve the problem are
First, I want to thank all of you who answered to any of my questions,
I appreciate it and it helps me to progress a lot. My actual question
is about reading in a loop. I read a string (Visa read) of a specified
lenght of bytes from my serial port. This visa read is in a while
loop, and I'd like
I want to open and close a vi with a switch control. What is the best
way to do this?
I'm Using LabVIEW 7.0 to creat an application that communicates with a
(DATA Logger) via RS232. the program is working very well under
windows ME, but under windows XP the speed is too slow. i'm using the
visa read and writ VIs.
If the problem is un-solvable, please confirm that it is a problem
Thanks for the reply.
I need to allow for time shifting also. Part of the waveform has a
pretty fast risetime falltime, so just allowing for an increase or
decrease in magnatude won't give me the same width of a pass window
around the good waveform. Also, I won't always have the luxury of
My suspicion is that you are not distributing the runtime menu file
(.rtm) for your drop down menus with your application. When you build
your application, try including the .rtm file as a support file, or
check out this knowledgebase and include it in a .llb with your VIs:
Hi Ann,
You wrote:
but if I used wait until finish then I cannot get the main
to update every time the running sub-VI updates
Why not if you pass in the main vi control ref which you want to be updated
into subvis, it'll be updated while the subvi is running. Let the update
work done in the
The Delete From Array function has some interesting polymorphic behavior...
it changes the type of one of its output terminals based on *whether* an
input terminal is wired (as opposed to what type is wired to the input
terminal). In particular, if length is unwired, a scalar is output. If
Thanks. I tried it and works great in your VI but in my VI, makes
things very slow to type in. I probably have done some dumb things in
setting up the VI that makes using this event handler not work so
well. Reworking entire VI structure to fix is not an option right
now.
Is there any other
I have a table that is 5 x 5. I have turned off selection scrolling
so the table will not move. When I go to the 5th row and hit enter,
the table advances so that I can no longer see my first row. Since I
don't have scrollbars, I can't get back to row 1. How do I lock down
so it can't do this
Hi all,
For whoever might be interested, I release a new version of the a
href=http://www.openg.org/tiki/tiki-index.php?page=Bird's+Eye+ViewBird's
Eye View/a utility (allows panning and zooming of VIs block diagram
and front panel) which now has Block Diagram (or Front Panel)
Synchronization with
Try placing the properties in the same order that I did. I put NumCols
and NumRows as the last two elements.
Quoting John Toto [EMAIL PROTECTED]:
Sorry Tore. Your name was in our database and a special Data Acq. email
ad
was sent. I believe that is the only one you have ever gotten since we
went
deep into our data base. I'm very sorry for that. Your name was
removed.
No, I do not mine this or
Title: Message
PJM,
Your Birdis
getting nice. Thanks for all the work!
My wish for the Bird: some sort of pick -
maybe Alt-Dbl-Click - in the Bird window and the BD centers at that point.
This would eliminate all that dragging.
Mike
-Original Message-From: PJ M
At 9:47 -0700 6/1/04, Irene He wrote:
I don't really think it's totally off topic from this list, because it can also be
LabVIEW related.
From what I have read recently, I feel people are more tolerant about so called
freeware, but notice not all freeware are really free even it says free, it's
The blip you are seeing is probably this:
http://support.microsoft.com/default.aspx?scid=kb;en-us;307640
It may also be what Parker is describing when he says the DB app isn't
working very well.
Basically, you can't access an Access DB too often. Microsoft's
resolution is to just keep trying till
Dear Dr. Scott,
You wrote:
Ok, this *is* starting to drift off the topic since
it is beginning to have little to do with the
current complaint.
Sorry if you feel it's a continue of the current
complaint, but it is not, that's why the subject is
new. But I think it happens all the time here
For some reason, you have removed the block diagram of your example
above. This is not very useful. :-(
I'm curious about your slowdown. How many other even structures do you
have in the same VI? What is your OS?
You Could just simply reset the table dimension using a property node
with the following three items:
* Cluster of [0,0] -- Index Values (sets upper left visible cell as
cell 0,0)
*
Is there any way to get LabVIEW to read a user specific LabVIEW.ini file? I don't have
write privileges to the Program Files directory and am therefore stuck with the
default choices from NI. Aren't well-behaved applications supposed to store
preferences in the 'Documents and Settings/User
1 - 100 of 117 matches
Mail list logo