#define is really a precompiler directive in C/C++. It is probably more
efficient if we wrote a macro which could be read directly by the compiler ;
and there are moves to try to eliminate the precompiler altogether.
So I wouldn't laugh at alternatives but rather pursue them as to how it
could impr
>>I am working with a dll that calulates a 64 bit integer.
>>Is there any way to get this value out of the dll and into LabVIEW?
Use a cluster with two I32s. I converted the I32 values to an EXTended
precision.
Convert high byte and low byte into EXT;
High byte into "Scale By Power Of 2" with n=3
Greetings, Naddad:
What's wrong with using one of the several available Labview
progress bars? That way you won't have to keep dipping into the
windows application, which should speed things up considerably.
(Besides, the Labview bars are a lot better looking than Windows bars,
IMH
Dear Slimbim:
At what point on the flyback are you triggering your acqusition?
Depending on how steep the slope is on your sawtooth, you may need to
build some kind of comparator, such as one that triggers when it drops
to 50% of its amplitude, or some such. I imagine your electro
I am trying to make a certain sequence of events happen if a user
double clicks an intensity graph. I didn't notice a 'double click
event' just mouse up and downs. Is there a way to recognize a double
click if it occurs within a pixel range or on an intensity graph?
I had an idea for #define-type constants and have sent them to the NI
Product Suggestion Center. It is easiest to see in a picture. I have posted
the request on the LAVA forums-Wish List Forum
http://forums.lavausergroup.org/index.php?showtopic=407
Try setting your main VI to run when opened (VI Properties>Execution)
and putting a shortcut to the VI in the Startup folder.
Why not change the key focus to something else when
the user exit via the menu ?
As Regis Lee mentioned, creating a modal dialog window
(just for this control) with an Ok button (and
possibly a cancel button) is a possible alternative.
PJM
--- David Ferster <[EMAIL PROTECTED]> wrote:
> In a vi, t
Thank you, That's what I needed. I wasn't sure how to read from the
command line once I passed something in.
we use a modal keypad if its a mandatory number to enter.
Regis
-Original Message-
From: David Ferster [mailto:[EMAIL PROTECTED]
Sent: Fri 6/18/2004 2:07 PM
To: [EMAIL PROTECTED]
Cc:
Subject: Control update
In
Robert,
As it turns out, I needed to add the file extension which was hidden.
This problem is solved; howeve, if you know how to export the graph
from the front panel into word using the report generation, please let
me know. I tried using the "append front panel image to report.vi"
but that unfo
In a vi, the user clicks in a numerical control and enters a number.
He forgets to hit Enter or click away, so key focus is still on the
control and the value is not available at the terminal yet. Now the
user exits the vi via a menu selection, thinking he has properly
entered the value. How do
Bernd,
I have taken a look to see if I could find an example, and the only
direct example I was able to come up with is written for Visual Basic.
This example can be found at the following location:
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3EE4956A4E034080020E74861&
I am looking for the most basic way to get Labview to run a VI upon
bootup or call from another application (without having to hit the run
button on the toolbar.) I would rather not have to build an
application; I don't want to buy the professional version. I want my
data acquisition to recover fro
--8092433.1087587504943.JavaMail.quiq.tekken
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Us the "Application:command line" property, see attached code image.
When building the application, make sure to check "Pass all command
line arguments to application" in the bu
Yeah that seems to be the problem, but seeing as that is the case and
I'm trying to learn how to use this software, what is a good way to
learn it if you have the base software. Because the Getting Started
Manual isn't very helpful unless you have professional version.
I have a labview exe that is installed on XP that can create/save
files with an extension not recognized by windows. The files can be
opened from within the exe but what I want is to double click(open)
the file from explorer/desktop and have it opened in my vi. I know how
to associate the file with
Hello!
When dealing with subpanel controls, the calling and called VIs are
linked together and even when they are two separate programs, the
subVI front panel is only displayed in the subpanel container when the
main VI is running. When the Main VI is stopped, the subVI's front
panel is removed fr
Most (newer) barcode scanner emulate a keyboard. It behaves as if you
typed it in. Configure the barcode scanner to end with "end of line
contant" or CR.
Then test the barcode scanner in something like NotePad.
You can then create a small vi that takes a string from a string
control and display
"Scaling and mapping" is not in the "base" package. So maybe you
purchased "base"?
Hello,
I was able to find another posting that seems similar to your
question. Try having a look at the discussion posted at http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=5065000800F117&ECategory=LabVIEW.LabVIEW+General";>Capture
Keystrokes While VI R
Hey Mark,
Reading data from two channels should not be hard. All that we need
to do is specify two channels as input inside of the =93Acq&Graph
Voltage-Int Clk-Dig Start.vi=94, however, realize that this will not be
=93simultaneous=94. There will be a delay between the two signals.
If you would
I'm going through the Getting Started manual and I run into the
section entitled "Modifying the Signal" on page 1-9. Part 4 says to
"Select the Scaling and Mapping Express VI" The problem is that I
can not find the Scale & Map anywhere within the Functions Palette. I
also went to the site and d
Another workaround I just found is this. After the drive begins to
search the disc, eject it and then reinsert it in the drive. The system
then seems to find it. Sometimes this has to be done with both device
driver disc 1 and disc 2.
Pete Bartkowski
-Original Message-
From: [EMAIL PRO
Thank you both for the quick response. Its just the info I needed!
Yes, it's much more simple than with the XY Graph, even if it's just a
picture. For me, it's enough. But I've tried to change couple of
things in the display without succes. I did not find the right
properties to do those changes. First, it seems I can't resize the
graph to have it take close to th
Thanks.. somehow i got it to work.
ANDY
Thank you Joe but I was already using the microsoft progress bar in
different loops by updating its value in its property node. It takes a
long time though for large iterations (it adds at least 14 seconds for
the loop time for 15000 iterations), not to mention that i'm using a
poor pentium II proc
You are creating a LV driver when you use the VISA functions. Joe's
suggestion to try it in Hyperterminal is a good one. I noticed that
you do not mention either VISA Configure Serial Port or a VISA Write.
Once you verify baud rate, stop bits, etc. and the cable with
Hyperterminal, you should put i
Ok, but first I'd better, uh, fix it.
I tried it out last night for a wider range of inputs than I
originally needed to accomodate, and found a few that didn't work out
correctly. I had made the subvi more universal than it strictly
needed to be, but had primarily tested it for a fairly restric
I don't understand why you're using the number to decimal instead of
number to fractional. The purpose of number to decimal is to create an
integer string from any type of input. The purpose of number to
fractional is to create a floating point string.
Replace your "number to decimal string" with "number to fractional
string" and then you can specify the digits of precision you want.
Good afternoon everyone, it's good to be back on the list.
I have a question...
I am working with a dll that calulates a 64 bit integer. All I can seem to
find on the LabVIEW pallets are I32, 8 byte doubles, etc... Is there any way
to get this value out of the dll and into LabVIEW?
Thanks
James
Well I got my upgrade completed this morning.
The workaround to the hang up is...
When the prompt for Device Driver Disc 2 comes up is to put in the name of
the Disc.
D:\DCD-May04-2...
Normally the installer is just looking for D:
Disc 1 doesn't have the information it wants so it searches forever.
Hi,
JoeLabVIEW's suggestion is a good one. If you are new to LabVIEW,
then it is important to understand that two loops on the same block
diagram with no data dependencies (no wires connecting the loops
together) will innately run in parallel (on separate threads).
Enjoy your coding.
Matt P.
Ap
Hi,
Wire the following to the command line input of the System Exec VI:
cmd /C "c:\i386\show desktop.scf"
NOTE: The scf file and path will be different in your case.
Regards,
Khalid
Sarah,
I figured it out late yesterday. In a following frame of the
sequence, I placed a stop VI function. The 'Stop' was terminating the
main VI. Not sure why I put the 'Stop' in the diagram. I didn't need
it.
Stupid mistake on my part. Thanks for your help.
Adam M. Barnes
Siemens Applied
Kevin,
That sounds like a neat example. If you are able to post it, you can
upload it Example Code Library:
http://www.ni.com/devzone/dev_exchange/ex_search.htm
Matt P.
Applications Engineer
National Instruments
Thanks for your help. I treid really many different things yesterday,
in the end I oversaw such a "small" thing... I thought about the
probability as well, but it is just a training example, important for
my Labview knowleges but not important for my work. One thing I
thought of would be to multipl
I reasd the other posts where you mention that the progress may come
from seperate loops.
You can create a reference and a property node (write value) to pass
the value to the progress bar. This allows you to send values from
different locations to a single progress bar.
For instance.
Right-cli
Hi Ibahka,
Don't despair.. Serial communication is typically simple.
>From your description, it appears that you are implementing correct
steps.
First question is what version of LV are you using?
What OS are you using.
I will assume Windows. If so, are you able to communicate with the
device
Assuming the router has been set up properly to do Network Address
Translation (NAT) and port forwarding, it sounds like you might be
passing =93XXX.XXX.XXX.XXX:102=94 into the Open Application Reference for
the machine name. You should be passing =93XXX.XXX.XXX.XXX=94 for the
machine name and =931
Congratulations Dennis,
You are an inspiration to many of us. When I am stuck on a problem, I
simply look up your posts.. I know I'll find the solution.
Wow!! 2000 posts... that is truly an accomplishment.
People in the Labview community are grateful for such help and
dedication.
Congratula
Hey Greg,
Are you able to ping the other machines from your master computer?
Also, is there a way that you can disable any possible firewall that
may exist by having that router?
Try running this http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3EEDF56A4E034080020E74861&p_n
I also had no problem doing this. I think that Dennis could be on
correct on checking your file paths. Check out the knowledgebase
regarding http://digital.ni.com/public.nsf/websearch/FD7DE8BC8FFC256C862565F4006BE363?OpenDocument";>file
paths behaving differently in development and in executable. G
hummm
You're using LV5.1. I can't remember if what I suggested would work
in that version. Hopefully it does.
I think that VISA is not reading anything from my serial port. I am
using the Polhemus via serial, yet I have not been able to read
ANYTHING from the device. Do I have to write a driver before I will
be able to read? I am using VISA open, read, close and I am trying to
use timeout, but I don't t
I was getting ready to upgrade to LV7.1 from 7.0 but have gotten
information from the "Info LabVIEW Mailing List" that some folks are
having problems with the install. One person reported receiving a
second LV7.1 package with a letter stating to destroy the first kit
and to reinstall if I was alre
The append image to report path vi gets an image from disk to include
in the report. Is this really your case? Shouldn't you be using
Append Control image to report?
If that idnot the answer, could you please post the code (or a
simplified version of it) and let us take a look?
Thanks,
Robert Y
Alexander,
It appears that you are using the old SQL Toolkit. This toolkit uses
3rd party ODBC drivers and you can only connect to a database using
the ODBC Administrator and defining a DSN.
The article you read about connection strings refers to the Database
Connectivity Toolkit, which uses Mic
I was using "Array to spreadsheet string" to convert a tab-delimited
string of numbers, when I noticed that if you input a line which
contains text, eg:
1 2 fred 4
it just converts the text to zero - there's no error cluster output,
nor does it convert the text to "NaN"
I'd like to catch this e
I don't understand why you removed the drivers that came with 7.1
Have you tried re-installing LV7.1 to correct the problem?
Yes but suppose i have 2 separate For loops, and i want the progress
bar to keep track of the 1rst loop until half the progress bar, and
then keep track of the 2nd loop until 100% of the progress bar. The
problem is, i cannot connect 2 wires to the horizontal progress bar
indicator to be able to up
Tried an invoke node using a shift register to close the FP of the
current sub-VI on the next iteration of my loop (i.e. when it's
finished)... had to create VI Ref constant to init shift register, and
this kept creating errors for me every time I tried to run the loop
when I called my sub-VI... un
The easiest way to create and verify a connection string is to
right-click your desktop and select New->Microsoft Data Link. This
brings up a pretty straightforward dilaog for configuring your
database connection (including a connection test). After that, the
"data link" is on your desktop as a tex
Hello.
I'm involved in a project which aim is digitizing the signals received
from several(2 at the beginning) antennas. We pass these signals to an
intermediate frequency of about 15 MHz.
Now we want to use the NI-5122 to DIGITIZE these signals and after
that GENERATE a response.
The questions a
I tried to connect directly with the SQL Toolkit (Connect.vi) to a MS
Access database. After reading the article 1LQ7KVUT (ID number), I set
the connection parameters for Connect.vi as followed:
"DRIVER=Microsoft Access-Driver
(*.mdb);DBQ=E:\\Workspace\\Favorite\\database\\Impmessung-13-04-2004-2.m
YOu must index out the previous count,
increment it
and use replace array element to put the updated value where it
belongs.
Use your "die value" minus 1 as an index into your six element array.
Ben
I hope you will settle for words. They work in all versions (:-)).
Drop a while loop and inside ti place a search 1-d array.
Create two shift registers;
1) one will hold an index of where to start your search
2) the other should be an array to hold your indexes.
Init your search index to zero ou
Have you tried creating an invoke node for the subpanel and setting
the remove VI node? That should, well, remove the current vi in the
subpanel.
Abe Stoker
Software Engineer
Sytronics, Inc.
You can pass the array through a for loop and use the index of the for
loop for the position.
ASCologne wrote:
> Hallo,
>
> I have a large 1D-array. I want to search a certain number in it and
> save the positions into a new array.
>
> F.E.: Array 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4
I too have done several full LabVIEW installs (all WinXP) with no problems.
In addition to full installs I have done about 12-15 Run Time Engine and
driver installs with no problems.
Dan Bookwalter N8DCJ
Hi-Stat a Stoneridge Co.
345 South Mill St.
Lexington, Ohio 44904
(419) 884-1219 Phone
(419)
I think I understand the issue.
Try trowing some dummy controls on your front panel that are
off-screen to the,
Top left
top right
bottom left
bottm right.
These should be outside you your viewing area with all otehr controls
inside the boundry defined by the "dummies".
THese dummies will defin
Hello all LabVIEW colleague's ,
I am looking for a way to read the current processor load into LabVIEW
(v6.1)
on an windows2000/XP system.
Has someone written such a program, perhaps using a windows API call ?
I can use the "system monitor" activeX control but then I don't know how to
read the pro
Hallo,
I have a large 1D-array. I want to search a certain number in it and
save the positions into a new array.
F.E.: Array 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
0 1 2 3 4 5 6 7 8 9 0
To be found is "3". The array I need would be 3 13 23 33.
I know how to search in an array
I do have a couple of questions.
1. Why do you use System Exec to open another vi? Was it compiled as
an executable (.exe)?
2. What is the error message?
Thanks,
JLV
sorry but i'have found the solution
thank you att all
good bye
At this point I have upgraded two different Windows XP machines (a Dell
desktop and Compaq laptop) to LabVIEW 7.1 with full installation of all
drivers and did not have any problems. One computer was updated using the
CDs that came with the Developer Suite and the other was updated with the
Lab
Hi,
My main program uses a while loop to get control data from subVIs until
the subVIs are done executing. When I ran my main program, my CPU usage
shot up to 100%, so I put a delay time inside of my while loop and this
reduces the CPU usage to about 8-10%, but now the data array that comes
out o
I think you are pretty much on the right track with Queues. I have
implemented a very similar system myself using queues. I have even
different systems connected to the serial interface, but I can
synchronise them all easily using the following method:
1) Make a VI for opening the serial port an
I have to build an application under labview 7
I use dll I have create with CVI
I want to use this aplli on an other computer without cvi and labview
I have create an instal
when I use this instal it's ok but when I execute the programme i
Have an error code...
I have install all the files (.d
LabVIEW Measurement Writer_Version 0.92
Reader_Version 1
Separator Tab
Multi_Headings Yes
X_Columns Multi
Time_Pref Absolute
Operator William A. Tomb
Description OK this is your test data however the incorrect time is
shown in the header.
Date 12/31/1903
Time 20:00:00
***End_of_Header***
Well n
This isnt an answer but just request for a favor . I was working with
oracle through labVIEW and no amount of reentrancy helps me execute
two different isolated transaction execute stored procedure
concurrently .just wanted to find out if this can be achieved through
oo4o and you could furnish me s
Maybe you're sending an absolute path to the System32 which is no
longer valid on the new computer?
Shane.
you can toggle the desctop (close all windows),
the script for that is:
[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop
the file (e.g. ToggleDesktop) has the extension
".scf" (works not on plain NT4.0 or on win95)
Now
Thanks, this was what I wanted to do. I thougth on this method, by I
thought the value of the local variable won't be inside the loop in
the main VI, because this loop was running. I was wrong.
Thanks again!!
You can do this with multiple while loops running in parallel. Acquire
the picture data in one loop and put it into a queue. Then use another
loop to analyze the picture data when something is in the queue. When
the queue is empty, this second loop will do nothing.
Hi.
I mentioned this briefly in the previous response. You might want to
try using the "Horizontal Graduated Bar" or the "Horizontal Progress
Bar" both in the third row of the numeric subpalette of the controls
palette. Since they are LabVIEW indicators, as opposed to activeX
controls for which y
Hi,
With Sub-Panels, there's no Sub-VI node to right-click on in the BD,
so that ruled that out 4 me...
I tried setting this behaviour for the VI in it's VI Properties, and
even though I've verified that the settings are there & set, when I
call it using the Sub-Panel it opens the FP, runs the VI
De quelle mani=E8re et est-il possible d'utiliser Labview en tant que
client HTTPS (SSL) ?
Hello
I hava an application with a while loop. Outside this loop there is a
subVI, that contains also a while loop. This subVI can be stoped when
the main VI loop stops. This works correctly.
But the subvi, can also stop itself, and when it happens I want the
main VI loop to stop also.
How can I do
I have a for loop with 15000 iterations, and i'd like to keep track of
it using a microsoft progress bar. If i update the progress back at
each iteration, it takes too much time. What's the best solution?
I have a for loop with 15000 iterations, and i'd like to keep track of
it using a microsoft p
Hello.
To have a subVI open its front panel when it executes and close its
front panel when it finished executing you can simply right click on
the subVI in the top-level VI's block diagram, go to "subVI node
setup" and put a checkmark both on "Show front panel when called" and
"Close afterwards if
Hello everyone. I have added a microsoft progress bar (ActiveX
container) in a VI. Then I added another progress bar in another VI,
but the problem is that when i try to launch the first VI, it's the
bar that's in the OTHER VI that progresses! It's as if there is only
ONE progress bar available for
Perfect,it works
thanks again.
I have a top-level VI with while loop in the B/D code which contains a
sub-panel control. I have a series of buttons 4 the user 2 select
which function they want, each of which pops-up or displays the
appropriate sub-VI F/P in the SubPanel. When the sub-VI finishes
running, however, the sub-VIs pan
hi all forumers.
I ve got a table wich is filled line per line
Each new line is inserted on top of table, and colored according to
values of each cells.
When a new line is inserted, all previous lines are pushed down.
I wish colors could also be push down automaticaly, to be associated
with the sam
thanks
I would like to know if there is a vi that can substact 2 images, what
ia mean is that u choose une particular pixel in 2 images, and labvieu
makes the substraction of those 2 pixels
Thanks
After upgrading to Labview Ver. 7.1 i installed most of the drivers
that came along. Realizing that this was not necessary i procedeeded
to remove all of them but two. Now every time i start my computer i
receive the message: unstable virtual device detected and the prompt
to terminate. The booting
Hi
I have verified the above issue fixed in LabVIEW 7.1.
Met vriendelijke groet / Kind regards,
Karsten
Applications Engineer
National Instruments
I tried your program with the newest version of LabVIEW, which is 7.1
and the crash did not occure. I got an error message instead, telling
me that the remote PC was not accesible.
But it takes maybe half a minute until the error comes up, and until
that time LabVIEW does does not respond to any ac
I have some problems using the Tektonix IVI-COM interface from LabVIEW. Is there
anyone who know how to acquire a waveform, wait for it to be acquired and then return
the waveform to LabVIEW? Simple question - but the example from Tektronix does not
work and I have not been able to figure out wh
Hi Sergey
I use this,
C:\..\LabVIEW 7.0\help\_browser.llb\Open Acrobat Manual.vi
Hope this helps!
Roland
WIFAG Maschinenfabrik
Wylerringstr.39, CH-3001 Bern
Tel. ++41-(0)31-3393-476
Fax ++41-(0)31-3393-141
email: [EMAIL PROTECTED]
>-Ursprungliche Nachricht-
>Von: Sergey Liberman [ma
Alex Le Dain wrote:
> At 11:55 AM 17/06/2004 -0400, George Gatling (Contractor) wrote:
>>> the vi constant method is about a hundred mouse clicks, editing an
>>> icon, saving a new file,
>
> You can use the .CTT extension to create a template ... could save
> about 50 clicks ;-)
>
> cheers, Alex.
95 matches
Mail list logo