In order to have the selected items line up in accordance to the
selection order, please do it one at a time. (That's the limit for
that VI)
If you need more than that (i.e. to regconize which item clicked first
and which one comes later), you may have to figure it out ya :)
Wish you good luck.
Yonatan Tidhar [EMAIL PROTECTED] wrote:
Yes I thought so, but way should the execution should be depend
Were the front panel is open or not? No meter if I leave open reference to the VI
I was expect that the vi execution will continue until the code ends.
Simply because it is way to easy to
Brett,
you asked on Wed, 3 Mar 2004 17:48:37 +0800:
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
It's because of how you exit your smaller While loop. Your logic is
set up so that if the user double-clicks on the listbox OR clicks on
Save OR clicks on Cancel OR there is an error, the program exits
the loop. The next piece of the program to run is dependent on the
output of the Dbl-Click
C. Allen Weekley [EMAIL PROTECTED] wrote:
Has anyone written VI's to perform serial I/O using functions in
kernel32.dll?
Why would you want to do that? It's a pain in the ass, will only
work under Windows and be likely a lot of work before you even
can start communicating with your device. On
C. Allen Weekley [EMAIL PROTECTED] wrote:
Yes. My company manufactures a variety of instruments that communicate
solely with serial. We have been using NI-VISA and are happy with it,
but NI-VISA requires an installation that is often larger than the
application we supply to our customers, and
Holland, Guy [EMAIL PROTECTED] wrote:
I have an application that outputs a string with numbers via the serial
port. Ex. SG1.23,4.56,7.89. I developed the application in English
but when the application was installed onto a Non-English say Holland
language, the output string turns into
I am using a while loop with a task in it involving the serial port. I
only want the task in the loop to run for a certain amount of time
(~10s). I have tried putting the 'wait' function in but this doesn't
seem to work. Does anyone know what would work best.
Thanks
Ah yes, the property value is -1, not zero like I said.
I knew I should have had that extra hour in bed! :)
--7250537.1078830524114.JavaMail.quiq.tekken
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
How do I create a 30-day circular data (text) file in LabVIEW, the
file will contain data including the date for 30 days worth, then on
day 31, day 1 will be erased and day 31
--2799187.1078830524917.JavaMail.quiq.tekken
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
How to create a 'circular' 30 day file in LabVIEW. the file will
contain data including the date for 30 days worth, then on day 31, day
1 will be erased etc...
How do I create
Change the Scaling factors to 2004 or whatever date you want which
is under X Scale formatting option.
Problem solved. Thanks for the help.
Bert
Is this number special in any way , ie , the highest or lowest number
or unique in some way to the rest of the data ? If so,this should this
will be very easy to do.
Could you post an example?
I switch back and forth between LV 6.1 and 7 regularly and I have not
experienced any issues.
I have even used LV7 to invoke a LV 6 VI and all of the clusters
worked fine.
I do beleive there was a change to the Waveform data type and of
course the new time format.
If the file is as small as your example, or even if it's several times
bigger, I would just read the whole file into a string, convert it to
a string array using Spreadsheet String to Array, use the array
functions to strip off the unwanted data and append the new data, then
convert and write the
Aaaarrghhh!
Just my opinion of the auto-tool selection.
Ben
Thanks, I have tolerated the auto selection tool but find myself
hitting the space and the tab constantly. I agree that it can be
handy. Yet often it is like dragging fingernails across a chalkboard.
Pretty much, yes.
If you want to play around with image analysis, have a look at the
free ImageTool software from http://ddsdx.uthscsa.edu/dig/itdesc.html
- the brightness contrast adjustment tool in this program
illustrates the idea very neatly.
(Mac users of course should get NIH Image from
What is the 01 in the upper byte for?
I did not know that was used for anything.
Ben
I had a co-worker state the following
Labview does not have revision control nor compile function, which are
essential for a multi-site
utilization. Is this true? How do I defend Labview to ensure him
that Labview will work for our application? He based his comments on
Labview 5 years ago.
What is the 01 in the upper byte for?
I did not know that was used for anything.
The color format is xxrrggbb where xx means the uppers are reserved. If
xx is 00, then the lowers form the 24 bit rgb value. If nonzero, then
something else is going on and either the color is invalid or it
Ich habs mir gerade noch einmal angeschaut. Wenn man das xy_Test.vi
mit einem Texteditor l=E4d steht eindeutig ein Verweis auf Setup.vi
drin. Nur voher der kommt und wie man in weg krieg...R=E4tsel
Vielleicht weiss ja Waldemar noch eine L=F6sung.
Thanks, I have tolerated the auto selection tool but find myself
hitting the space and the tab constantly. I agree that it can be
handy. Yet often it is like dragging fingernails across a chalkboard.
The analogy I use at work is that when purchasing a car, some people buy
an automatic
I am interested in having the capability (of not using VISA) for the same
reasons as you. Please let me know if you are able to find a substitute for
the VISA serial functions.
Yes. My company manufactures a variety of instruments that communicate
solely with serial. We have been using
Hi all,
I thought about a better way of detecting the change of a value of a
data socket connectin (OPC) than a loop with 50ms delay which
continually polls the opc-server.
Is there a way in LV to react on events which are not induced by a
frontpanel input but by a change of a value of a data
I went through the same thing were I work at. All the programmers here
work with visual basic 6. .NET and visual C++ to do a lot of hard core
coding simply because they have been doing it for years. I am the lab
manger here now and i purchased Labview 7 express. Now when it comes
to building test
Ok here we go I think you will get alot of replies but I guess I will
start
1. LabVIEW does have source code control and can integrate with
probably one of the most powerful source code control programs Visual
Source Safe by Microsoft.
2. As far as revision history, there is a setting to
--1813850.1078843123492.JavaMail.quiq.tekken
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I am having trouble trying to do this also. I have a c++ program that
is creating and writing to a shared memory location. I know that it
is working correctly becuase i read
I have a string of comma delimited characters and I want to search and
remove any duplicate strings (i.e. John,Sally,Joe,John,Fred,John to
John,Sally,Joe,Fred). What is the easiest way to do this with LabVIEW?
Has something already been written that will do this?
The most likely cause of that error is calling a function in a DLL
with the incorrect number of parameters. Too many or too few
parameters can mess things up quite well (trust me on this one - been
there, done that). Usually, no damage is done. Check the function in
your DLL and reproduce the
typedef struct {
long dimSizes[2];
double Numeric[1];
} TD8;
typedef TD8 **TD8Hdl;
TD8Hdl *spec_map;
DSSetHandleSize(*spec_map, sizeof(int32)*2 + 100*10*sizeof(double) );
Greg could you please explain what is wrong with this because i am
still getting an exception error.
Five years ago, LabVIEW did have source code control and the ability
to create executables but only if you bought the professional version.
I use Visual Source Safe for my revision control and I'm not that
familiar with LabVIEW's built-in one. The application builder is and
was available
I would be interested in others' comments though, because I once
wanted to maintain a rolling buffer like this for audio data (i.e. a
much faster data rate) and I didn't find any simple solutions on
offer.
I didn't look too close at the sample data, but it is possible to use
random access
The last row of the spreadsheet can vary from 01 to x hundreds or x
thousands and it is not possible to know it in advance, but when I
intend to work on the spreadsheet, the spreadsheet is created for some
days and is present on the computer.
Labview does not have revision control nor compile function, which are
essential for a multi-site
utilization. Is this true?
There are more detailed documents on the NI site. You might want search
there and forward the links to the coworker.
The short answer is that LV is compatible with
LabVIEWers,
Prodded by Dan Bookwalter and assured by Rolf Kalbermatter that I was
not overlooking the obvious, I have upgraded Ghost Buster to launch
different code for different versions of LabVIEW. The new release
warns of minimized VIs in LabVIEW 7 and up. Visit
When I apply IMAQ FFT on monochromatic image and display complex
destination image by IMAQ WindDraw, I get picture which I am not able
to save to the file. I tried various conversions from complex image to
bitmap (array), but result was everytime different from that got by
IMAQ WindDraw.
I thank
You can use the UsedRange property of excel. This will give you the
last cell used in your excel worksheet.
I would transfer the whole list in an array, sort it compare each item
with the item before, if it is equal than delete it.
We got away from using system colours on all of our GUIs for just this
reason. Explicitly stated colours allow us to have a consistent
looking GUI on whatever OS. Might be an idea so that whatever scheme
the OS producers come up with, the GUI will still be usable. BTW, we
had some comments in the
Five years ago that should have been LabVIEW 4 or 5. But then, as
we've seen here, some people keep versions around forever. I have
always worked with the professional packages, so I've always had
access to compilers for LabVIEW.
Where I work now, we use Perforce for revision control. It works
We are using the following dlls from Microstar Labs for one of our
Microstar DSP boards :
a. DAPIO32.dll : DAPcell client I/O library
b. Diostub.dll
We use these in the main Vi called DAPControl.vi
We currently run this VI in LV 6.1 - its working fine for the last
several months.
Could you please post the input structure. I am not quite sure if I
understand what you want.
Chris
A labview program is running locally but accessing a global variable
on a shared network. If I view the diagram with the lightbulb
turned on, the variable value on the diagram is changing, but the
variable value on the front panel does not change. Any suggestions?
I have to pass from a VI to a Microsoft Visual C++ DLL, a cluster with
some arrays of various data type. The problem is with Double array,
that during Visual C debug is incorrect:the dimension is correct
passed, but not array data. In the DLL I have inserted the C code
genereted by LabVIEW. I
I was wondering is there a way that I can run and pass parameters to
exe file from the labview program. If yes then please enlighten me..
In anticipation of reply
cheers
Priiyank
Great, Thanks!
(Wish I would have asked this one a long time ago!)
I'd like to write Labview programs on my desktop, which does\will not
have any DAQ hardware attached to it. Therefore, I think I do not have
to choose 'complete installation', but I do not know what components
to leave out. Any advice?
Thanks for even looking at my vague question.
Basically, what I am trying to do is create all possible combinations
of values of data from different sets.
Let's say I have
set1 contains the values 1,2,3,4
set2 contains the values a,b,c,d
set3 contains the values A,B,C,D
set4 contains the values
We've written a number of VIs that require user input, and we'd like
for the user to be able to begin typing right away, rather than having
to use the mouse or the Tab key to move the cursor to the first text
field. What's a good way of doing this? Thank you very much.
-Dan
college student,
In this case it would be really helpful to know which operating system
you are attempting to install LabVIEW on. Make sure that you are
installing your LabVIEW CD on a compatible operating system.
You may also navigate to the setup.exe file on the CD itself. You will
want to
HM 8130 is a function generator
Just change the foreground and background colors of the indicator to
transparent.
With the brush tool, right click on the indicator. In the pop-up, select T
for transparent. If necessary, use the space bar to switch between
foreground and background to change both.
jpo [EMAIL PROTECTED] wrote
MusicLive,
Sorry for the long delay! You can make sure that LabVIEW is using the
instrument driver correctly before you even connect it to your device.
Specifically in the Getting Started.vi you can set the simulate
field equal to one in the options string of this VI. Below is a great
tutorial
I need hardware that would allow me to collect and buffer, then
display, position data from a encoder with a sinusoidal output.
Hello -
Are you trying to use the Protection Plus System to protect an
application built out of LabVIEW? If that is the case, a
If you set the vi property-execution to user interface, it may help
Right click on the vi icon,
select vi properties
execution- preffered execution system
Yes there is. The driver is available A
href=http://zone.ni.com/idnet97.nsf/9b2b33e1993d877786256436006ec498/ce4b7203e9468141862568ab005fbb1e?OpenDocument;here/A.
For future reference, the A
href=http://www.ni.com/devzone/idnet/;Instrument Driver Network/A
is the place to start searching for
Hello Gavin,
You are probably getting this error because you are trying to access
cells outside the maximum range in Excel. A Microsoft Excel
spreadsheet is limited to 256 columns and 65,536 rows. This a
href=3Dhttp://digital.ni.com/public.nsf/websearch/23EF6DD43866726C86256D5C0=
I have a digital output that turns on and off for different periods of
time. I am using the elapled time function to measure the time it is
on and I need to store this time value in an array or in a file
whenever the output goes off. I am having trouble getting my program
to store the value, does
Most likely the failure is due to the fact that the pattern is faint
and there is a lot of noise which blurs the pattern even more. For
more detailed information on the Pattern Matching algorithm, take a
look at the following resources.
How to Match Patterns or Shapes in IMAQ Vision?
Use the Key Focus property to set the focus on the input string.
The input string will be automatically selected
I am currently trying to make LabVIEW communicate with a DT3155 frame
grabber. It reads exe files programmed in c. I initially wanted to
call the dll libraries of the frame grabber and rewrite the code into
sub-VI's, but then realized it would be much too big for me to make.
Is there any way to
Hi,
I have a driver already developed for an instrument and want to
incorporate another model into it. These instruments have the nearly
the same instruction set except one is a subset of the other. I would
like to know the standard way or the NI way of combining these
drivers. Is there a way
Ann - The VIs you mentioned are not provided by NI, but they do sound
like they use functions from the NI-IMAQ driver, which is used with
National Instruments image acquisition boards.
If you have the IMAQ Vision software, it will be very easy to take the
average signal of the images. Here is an
I agree that always was a little strong. There are many instances
where the timeout could be avoided. However, in my experience it is
good practice to include the timeout in most instances as it
eliminates the possibility that you get stuck endlessly waiting for an
event to occur and you don't
Thanks Greg!
The color I was looking for is 16777271,
works as expected (the color picker just shows it as black though).
Can we have more system colors on the palette next time...?:-)
HolzschuM,
You will find wiring information as well as other configuration info
at the a
href=http://www.ni.com/pdf/products/us/4daqsc253-265_194-196.pdfSCC
Configuration Guide/a.
Here is another link that discusses how to configure the a
The answer to your question is in my answer to the original post. If
you right click on the board with the color tool, you'll see the box
in the lower left corner with two different colors. One is grey and
the other has a T in it? These are the foreground and background
colors of the border (I
Hello all,
I am having some trouble with the Read Key(String).vi. One of
the strings I am reading in ends in spaces. This vi seems to want to
truncate any trailing spaces. I don't want it to do that. Is there
anyway of modifing the vi to not truncate spaces? Or should
why do i see negative peaks when reading for bragg wavelengths from a
photodetector using a A/D indicators?
i dont understand why i see negative peaks on my A/D indicator when i
use it to read bragg wavelengths from a photodetector for voltage vs
time, yet no negative peaks will appear for a
Thanks for your help.It worked fine.
THanks for the link I will chase it down.
I did mention that this topic interests me and did not claim to be an
expert, didn't I?
Thank tmh!
Ben
I want to be able to read binary data from a serial port using
labview. The packets are of known length (in even bytes) but they are
not ascii. I am worried that if i read them as ascii first and then
try to convert, there will be problems such as with special characters
appearing
We used to do that ourselves; but at a point we decided that it looked
better to follow the windows theme. It takes some time to ensure that
it looks OK on the most common themes, but it makes things look more
native for the users.
I've overlooked the dialog label(!)...in this case we haven't used
separate labels so the coloring Greg helped with was nice to get, but
I'll use the dialog label in the future.
There are two things that need to be fixed.
1. You state that you are using the Write Character to spreadsheet,
but your code shows the write to spreadsheet file which requires an
array of numbers. You need to replace it with the Write Characters
to File which will take only a single string.
2.
Wiebe,
yes the problem was pretty persistent even on executables generated by
the App builder. Still not totally happy with the solution!
I haven't dug very far into the config file VIs but the easiest thing
to do is to enclose all of your strings with quote marks (). If you
do that, key values with trailing spaces are read correctly.
Hi all,
My program contains many subvis and loops controlled by buttons in my
mainVI. Some of the subvis are use as display panel that will show
results. My Qn is this: Is there any way that by pressing a button on
my mainvi, i reset the FP of my mainvi and close the subvi? thanks.
further info:
What is the process of turning a LabWindows application into LabView
VI.
I just wanted to congratulate Ben. I understand he just passed the
1000 mark. His responses are always helpful and well thought out.
If you make it to NIWeek, be sure to introduce yourself, or maybe the
enthusiasts should wear a special hat or something -- with a propellor
or blinking LEDs.
typedef struct {
long dimSizes[2];
double Numeric[1];
} TD8;
typedef TD8 **TD8Hdl;
TD8Hdl *spec_map;
DSSetHandleSize(*spec_map, sizeof(int32)*2 + 100*10*sizeof(double) );
Greg could you please explain what is wrong with this because i am
still getting an exception
If you are intent on using thermocouples, then I would highly recomend
signal conditioning, as at room temperatures, the millivolt output of
almost all thermocouples is very low (depends on the type of
thermocuple). Thermocouple-specific signal conditioning will also
provide for the required
I have to pass from a VI to a Microsoft Visual C++ DLL, a cluster with
some arrays of various data type. The problem is with Double array,
that during Visual C debug is incorrect:the dimension is correct
passed, but not array data. In the DLL I have inserted the C code
genereted by LabVIEW. I
I have a VI running as a back ground task (VI_A) to the main VI
(VI_B). VI_B starts VI_A and the idea is that VI_A will be minimised
on startup. There is a button on VI_B to restore the window and a
button on VI_A to hide the window and return to VI_B.
This is all working OK, I open VI_A front
How can I simply convert a string 010A to the ascii charactors
reprsented by 0x01h, 0x0Ah??
my string could be of any length.
conbG/bratulations
I dont have Labview program. I want to open .llb and .vi files,
but I cant with microsoft word, notepad etc.
Thanks
Its great.you have reduced many things.But why all the values are not
getting plotted in a single run as the previous one vi that i have
sent.In this it is plotting one by one for every run.
LabVIEW has a set of SI-Config/Read/etc VI's that take data from the
computer's microphone input. A configuration option is
Mono-versus-Stereo. Does anybody have a list (or even one example) of
Stereo sound input cards that work with these LabVIEW SI VIs?
(Including information such as:
I need to know how the PulseParams vi calculate pulse width, rise/fall
time? Is it based on the standard 10/90 method or something else? How
does it determine what is a valid pulse? What is the Delay
parameter and how do you use it?
93 matches
Mail list logo