LV app as a GPIB instrument (non-controller)

2004-06-15 Thread Andreas Nilsson
Hi,

I have a Labview-based measurement application that communicates with a GPIB-equipped 
mulitmeter. I would like to turn this application into a GPIB instrument itself, so 
that it can be connected to and run under our test executive. I have not made any LV 
apps acting as GPIB instruments before so I have some questions for you LV/GPIB 
experts out there:

Is it a good idea to put another GPIB board into the computer and have the two 
categories of GPIB comm separated. (these two categories would be 1) the app. talking 
to the multimeter and 2) the test executive demanding measurements from the app.)

Should I instead try to put both these GPIB communications on one GPIB bus? I have 
read about things like System Controllers and Controllers In Command (CIC).

Any advice, examples and tips about where one can read about these things, are welcome!


  Andreas Nilsson,
  SP Swedish National Testing and Research Institute
  mailto:[EMAIL PROTECTED]




How can I display a TTL-Signal immpressed at a parallel port?

2004-06-15 Thread wimmer franz
I get a real TTL-Signal from a resolver which is connected at the
parallel port. From this parallel port I would like to read the
frequency of the signal coming in. The resolver is connected at the
parallel port at only one data pin and at a ground pin, without using
a DAQ. (In past I used the InPort- Box of a example in developer zone,
but it didn't work, because of the C-code)
Thank you for your help, Bernd  Franz



Re: Selling Useful routines

2004-06-15 Thread Uwe Frenz
John,
you asked on Mon, 14 Jun 2004 14:52:32 -0400:
I have ... set of VI's to manage configuration files 
and parameter data as functional globals. 
 ... I'd like to get some
feeling for the most suitable way to earn some money this way.
Selling routines without diagrams seems a chancy business for the buyer,
since a LabVIEW version upgrade in the middle of a project can cause your
program to stop compiling. Do people really send you money when they sell a
program which incorporates a shareware component? Or do they just forget
where they got it from.
I would not just doubly reconsider buying a diagram-less toolkit. You 
should consider using password protection instead. Not that I would like PW 
protected components, but at least they usually provide the chance to take 
1 to 3 major LV updates.

How price sensitive are people? It's almost as easy and surely more
satisfying to sell 10 copies for $200 as one for $2000.
I have no problem buying tools for up to about 50  or US$ just out of 
curiosity and based on freely availabel (ad?) info. Have also bought some 
SW for up to 150-180 , but this has to provide a demo or try-before-buy 
version in order to check out its value.

Cause I know your name and your reputation from this list, I'd believe your 
description of what this tool could serve me with. But I still would 
consider a limit of about 150 to 200  to be a major stop.

I have, however, the feeling that selling tools around LV is a hard job.
The knowledge behind a toolset is often not really valued. And as people 
have different asumption on how any give function empirtically works, you 
have to provide a good documentation and help files and so on. This takes 
its share of work too.

Please keep the list informed!
Greetings from Germany!
--
Uwe Frenz
~
Dr. Uwe Frenz
Entwicklung
getemed Medizin- und Informationtechnik AG
Oderstr. 59
D-14513 Teltow
Tel.  +49 3328 39 42 0
Fax   +49 3328 39 42 99
[EMAIL PROTECTED]
WWW.Getemed.de



Insert Teletext

2004-06-15 Thread bipinm
Hi all,

I am sending this mail again as I did not receive any response for my
previous posting.

I have an application wherein I have to insert teletext or video images
during the vertical blanking interval of the composite video signal. I am
looking at NI 5431 Video signal generator card which can test Television
broadcast equipments.

Any information on how to insert Teletext using NI 5431 or any other NI/ Non
NI card will be of great
help. Thanks in advance

Best Regards

Bipin M
Application Engineer,
Captronic systems Pvt Ltd.
Koramangala I Block,
Bangalore-560 034

#+91-8025535046,25526961
www.captronicsystems.com





Re: Insert Teletext

2004-06-15 Thread Craig Graham

- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 15, 2004 8:59 AM
Subject: Insert Teletext


 Hi all,

 I am sending this mail again as I did not receive any response for my
 previous posting.

If you don't get a reply, it generally means nobody knows. Your messages on
the list go to you as well so you get confirmation that it's gone through OK
and everyone else has seen it.

You're going to have to dig out precise specifications and do it yourself.
Do you understand how to generate a test pattern on a line by line basis
using the card? I don't mean by loading an example VI. From there you know
how to generate an arbitrary line. Then you need to sort out how to encode
basic teletext data. Then you need to work out how to get the data from the
files you have.

--
Dr. Craig Graham, Software Engineer
Advanced Analysis and Integration Limited, UK. http://www.aail.co.uk/






Can I resize function icons on the diagram ?

2004-06-15 Thread pierreCAFARELLI
I want to publish a diagram on a journal.
Unfortunately function icons (like the sum operateur) are too small.
After printing it is thus not possible to read correctly the diagram.
Is it possible , like for objects on the front-panel, to resize
objects on
the diagram (line connexions and operators) ?



While loop in subVI

2004-06-15 Thread Esther.Lopez
Hello
I have a doubt about using while loops in VI and subVI. I have a VI,
with two loop that are executed in parallel, and stoped with the same
button, by using property nodes and references. One of the while loop
executes a subVI.
If the Block Diagram of the subvi there is a while loop covering all
the code, it's the same to put it in the main VI with another while
loop, or it's not necessary?
it's the same if this subVI has a while loop covering itself that if
the subvi doesn't have this while loop because the loop is in the same
VI?
Thank you very much



HSB --- RGB in LabVIEW ?

2004-06-15 Thread Oliver Friedrich
Hallo,

I'm looking for some vonversion VIs or function to convert RGB color values 
into HSB color values and vice versa. Can LabVIEW do this by default or 
does anyone know if anybody has written anywhere in the world something 
like a Color toolbox.

I'm running LV7 Express

Thank you

Oliver Friedrich



Re: DDE in loop

2004-06-15 Thread Chris M
Hi LV Newbie,
 The answer that the other user posted on the forum is
 what you need. I have access to a copy of Labview 5.0 and I'll try to
 convert his code to 5.0 for you.

Chris M
National Instruments (UK)



search special character

2004-06-15 Thread stefan!
How to search for special characters (peculiars)
in the developer exchange, e.g. [ ]
or whole phrases like controls[]
Stefan Pofahl



Re: How can I display a TTL-Signal immpressed at a parallel port?

2004-06-15 Thread Nikolai Maris
You also can use the serial read function or VISA read function to read 
the parallel port. But before you have to set a porrt no. for your LPT 
in the labview.ini to access to the LPT. This is documentated somewhere 
on ni.com.

wimmer franz wrote:

 I get a real TTL-Signal from a resolver which is connected at the
 parallel port. From this parallel port I would like to read the
 frequency of the signal coming in. The resolver is connected at the
 parallel port at only one data pin and at a ground pin, without using
 a DAQ. (In past I used the InPort- Box of a example in developer zone,
 but it didn't work, because of the C-code)
 Thank you for your help, Bernd  Franz




Re: problem with 2 COM ports working parallel

2004-06-15 Thread Nikolai Maris
It is not so easy, because the applcication is realy complex, so I have 
to reduce it a lot.
But I can tell you so far, that the the write commands to the two COM 
ports happens nearly at the same time. Maybe windows does not like this. 
So I will change the timing. Unfortunatly I does not have the time to do 
this now.
I will post again with an detailed description an a reduced vi, if the 
problem still occures.

Thanks so far, Niko

JoeLabView wrote:
 Can you attach a copy of the portion where the COM port communication
 takes place?
 
 Do you verify if there is (more) data at the port waiting to be read?
 or even a delay between sending the command and the expected response?
 
 By seeing how you implemented the communication, we can better provide
 some ideas or solutions.
 
 Regards,
 
 JLV




Fw: Ramp meter.

2004-06-15 Thread Daniel Alejandro Moyano

- Original Message -
From: Daniel Alejandro Moyano [EMAIL PROTECTED]
To: Info LabVIEW Mailing List [EMAIL PROTECTED]
Sent: Thursday, June 10, 2004 7:49 PM
Subject: Ramp meter.


 Hello very nice people:
In a virtual instrument,  I have
choosed
 a  numeric meter for the front panel. It is configurated with RAMP (from
 Item visible). But this ramp just has 3 colors, and I would need 6. How
can
 I
 do to add 3 colors to the ramp?

  Daniel










Re: arithmetic average with LabVIEW 6.1

2004-06-15 Thread ASCologne
The easiest ways are always the best !!

Thanks for helping me.



Re: running under fedora 2 kernel 2.6

2004-06-15 Thread jvd
Dear LouisP,

Thanks for your help.  I've upgraded to Labview 7.1 but I still get
the same problem.  Labview crashes with error message:

LabVIEW caught fatal signal
7.1 - Received SIGSEGV
Reason: address not mapped to object
Attempt to reference address: 0x27ebe4f4
Segmentation fault



Re: If i use a sub-vi 3 times simultaneously in my main program....

2004-06-15 Thread Mudda
if i make my sub vi's as reentrant, do I lose any process speed, in
other words are there any limitation for using the reentrant
execution? and thanks for your reply.



Re: 2d cross-correlation (for image correlation): some questions

2004-06-15 Thread DonRoth
Hi Michael:

Thanks for looking at this for me.  The other issue is that when I use
the IMAQ VISION cross-correlation fx (which allows me to do direct
image correlations without having to do the fft steps), I get
different answers than what I get with my LabVIEW routines.  I believe
that most of this just has to do with scaling but because I cannot see
the 'c' code of any of the routines, I am not sure.  I tend now to
trust the IMAQ VISION routine more because when i correlate two
identical U8-format images, I get a cross-correlation maximum of 256
(which I expect to be the maximum possible value for a U8 type image).
Then when I correlate two non-identical images, or use subset images,
I always get less than this for the maximum.  My goal was to implement
this procedure without IMAQ Vision since that is the only place I
would need Vision for this code.  I would appreciate it if you might
be able to have one of your math gurus right at NI take a look at
this.  Any chance of this?

thanks,

Don



Re: Fw: Keystrokes

2004-06-15 Thread Paul F. Sullivan
Nuno asked:
... any help on sending keystrokes to other application?
I'm attaching (private email only) my collection of snippets from 
this forum about capturing and forwarding keystrokes.

--
Paul F. Sullivan

SULLutions  (781)769-6869
when a single discipline is not enough
visit http://www.SULLutions.com




Re: Reusable Code

2004-06-15 Thread Henrik Volkers
how about using the subpanel feature?
create 20 subpanel vis for your setups an splash them on your screen?



Re: How do I create an emergency stop custom control in LabVIEW that looks like an actual E-stop button

2004-06-15 Thread Jimmy D
Thank you very much



Re: How do I create an emergency stop custom control in LabVIEW that looks like an actual E-stop button

2004-06-15 Thread Jimmy D
The Application Note on Custom Controls is most helpful - thank you
also.



Re: Reusable Code

2004-06-15 Thread Ben
And yet another idea

Use a tab control or a set of tab controls.

You can drive a single tab control with 20 tabs for 20 views,
or
use 20 single page tab controls.

Ben



Re: If i use a sub-vi 3 times simultaneously in my main program....

2004-06-15 Thread Ben
My NO was to Mudda Q.

I am the same page as Ed.

Ben



Re: If i use a sub-vi 3 times simultaneously in my main program....

2004-06-15 Thread Dr. Imad
If the subvi does not contain data that are dependent on a previous
run , such as local variable or shift register data, then there is no
need to make the vi reentrant.



Re: Important question: I have got a PXI-4472 and I am able to...

2004-06-15 Thread manji75
First: yes, the operation is correct.
Second: yes again. When you consider a multi-channel acquisition, your
sampling rate must be shared among the channels.
Third: when you specify a list of channels you want to acquire from,
the channel considered for analog triggering is the first you put in
the list.
Connect the error clusters whenever you can,in particular when you are
dealing with I/O operations.
Bye!



Re: Can I resize function icons on the diagram ?

2004-06-15 Thread isabelle.jean
Hello,

You can modify the view of functions in  diagram by right-clicking
then selecting view as icon. Nevertheless,this option is only
available for VI express and standard functions. Standard functions
are functions which have this own diagram and front-panel. You cant
expand simple arithmetic functions such as multiply.

Moreover, you need LabVIEW 7 to use this option (view as icon).

Hope this help.

Isabelle Jean
National Instruments



Re: If i use a sub-vi 3 times simultaneously in my main program....

2004-06-15 Thread Ben
No!

You may pick some up.

What you will loose is debugging.

The main gotcha is the seperate memory space issue mentioned
earlier.

This means that if your sub-VI's use local storage (like shift
register that store results from the last call for use in the next)
are distict for each occurence of the sub-VI in a diagram.

Also, if your sub-VI use larege amounts of memory the use will be
duplicated between each instance.

Ben



Re: If i use a sub-vi 3 times simultaneously in my main program....

2004-06-15 Thread Ed Dickens
As far as I know, making a subvi reentrant would have no performance
difference over having multiple VIs with different names. Maybe an app
eng could verify this.

Each time a reentrant VI is called from a new location in the code, it
creates a separate area for it in LabVIEWs dataspace, the same as
calling a new subvi would do.

Ed



Re: error using coupling property for analog input in LabVIEW DAQ

2004-06-15 Thread Dennis Knutson
You get the unsupported error because the daq card you're using does
not support AC coupling. It is DC coupling only.



Re: Case Statements

2004-06-15 Thread jhoskins
Thanks for clearing up my mistake. Kura Altenbach is correct. After
reading your question again I realize I was wrong. sorry for that,
thanks again altenbach.



Re: If i use a sub-vi 3 times simultaneously in my main program....

2004-06-15 Thread Ben
If the sub-VI is CPU intensive,
and
you do not want one call of the sub-VI to delay another call to the
sub-VI

Then re-entrancy is very useful.

Ben



Re: How do I fit a curve with two independant variables

2004-06-15 Thread JohnWK
The model equation (where x is a function of C and of T) is as
follows:
x=K1+K2/(C+K5*T*C)+K3/(C^2+C^2*K5*T+C^2*K5^2*T^2)+K4/(C^3+2*C^3*K5*T+2*C^3*K5^2*T^2+C^3*K5^3*T^3)

The example that you kindly provided would not open due to an error
message stating that I needed LabVIEW 7.1:  I am running the 2004 Feb
upgrade (we did not renew the service in May - yet.)

I have noted in the Polynomial Fit VI that there is a model equation
that may be edited but I have not found a discussion of how one should
formulate such an equation for use by LabVIEW.



Re: Can I resize function icons on the diagram ?

2004-06-15 Thread Greg McKaskle
 I want to publish a diagram on a journal.
 Unfortunately function icons (like the sum operateur) are too small.
 After printing it is thus not possible to read correctly the diagram.
 Is it possible , like for objects on the front-panel, to resize
 objects on
 the diagram (line connexions and operators) ?

I think you probably want to take the picture of your diagram to a 
quality image editing package and enhance it there.  You can resize the 
bitmaps using a smoothing or antialiased resize, and crop it to show the 
portion you are interested in.

This will also be much faster and easier than trying to resize 
individual elements of the diagram.

There are lots of ways to get images of diagrams, bitmaps, printing to 
postscript, etc.  If you have more specific questions, please ask again.

Greg McKaskle




Re: While loop in subVI

2004-06-15 Thread Greg McKaskle
 If the Block Diagram of the subvi there is a while loop covering all
 the code, it's the same to put it in the main VI with another while
 loop, or it's not necessary?
 it's the same if this subVI has a while loop covering itself that if
 the subvi doesn't have this while loop because the loop is in the same
 VI?

If I understand your question correctly, the answer is yes.  A loop 
around code is the same as a loop around a subVI containing the same 
code, is the same as a subVI containing a loop containing the code, ...

There will be slight performance differences, but very small.

Greg McKaskle




Re: Insert teletext

2004-06-15 Thread David Stewart
Bipin,

You need to look at what you want to do in more detail I think.  First off I
do not think the NI 5431 will be able to take the .trp files in a MPEG-2
format and generate composite video test patterns.  You will have to convert
the files to the format needed by the 5431.  Second to insert teletext you
may want to look at a PCI card from Cebra Technology at http://www.cebra.dk/
You can run the output of the 5431 through this card and generate any
teletext you want.  The board has a SDK that provides an API.

Good luck,

David

David Stewart, P.E.
President
CDS Engineering Solutions, Inc.
email: [EMAIL PROTECTED]
V: 678-232-3706
F: 770-925-1497

Bipin M wrote:
--

Subject: Insert teletext
From: [EMAIL PROTECTED]
Date: Mon, 14 Jun 2004 12:48:51 +0530

Hi all,

I have an application wherein I have to insert teletext or video images
during the vertical blanking interval of the composite video signal. I am
looking at NI 5431 Video signal generator card which can test Television
broadcast equipments. Also the test signals are in .trp file (MPEG-2)
format.

Any information on how to insert Teletext using NI 5431 will be of great
help.

Best Regards

Bipin M
Application Engineer,
Captronic systems Pvt Ltd.
Koramangala I Block,
Bangalore-560 034

#+91-8025535046,25526961
www.captronicsystems.com


--






Re: Fw: Ramp meter.

2004-06-15 Thread stephen . mercer




Although it isn't as convenient as having the feature built in, you can
paste any graphic you want into LV's ramp control. Simply design the color
ramp you want in your favorite graphics program, save it to a file (.gif,
.png, .jpg, .bmp) then use Edit  Import Image from File to put that
image in your paste buffer. You can then either paste the graphic over the
ramp or customize your ramp control and make the graphic part of the
control's background (see example programs that ship with LabVIEW keywords
animated controls). Using this you can have 4, 6 or as many colors as
desired.

Pojundery,
Stephen R. Mercer
-= LabVIEW RD =-



|-+
| |   Daniel Alejandro|
| |   Moyano  |
| |   [EMAIL PROTECTED]|
| |   |
| |   Sent by: |
| |   [EMAIL PROTECTED]|
| |   .nhmfl.gov  |
| ||
| ||
| |   06/15/2004 07:20 AM  |
|-+
  
--|
  |
  |
  |   To:   Info LabVIEW Mailing List [EMAIL PROTECTED]
 |
  |   cc:  
  |
  |   Subject:  Fw: Ramp meter.
  |
  
--|





- Original Message -
From: Daniel Alejandro Moyano [EMAIL PROTECTED]
To: Info LabVIEW Mailing List [EMAIL PROTECTED]
Sent: Thursday, June 10, 2004 7:49 PM
Subject: Ramp meter.


 Hello very nice people:
In a virtual instrument,  I have
choosed
 a  numeric meter for the front panel. It is configurated with RAMP (from
 Item visible). But this ramp just has 3 colors, and I would need 6. How
can
 I
 do to add 3 colors to the ramp?

  Daniel













Re: If i use a sub-vi 3 times simultaneously in my main program....

2004-06-15 Thread Dr. Imad
In principle, Yes,
However, how much true that is depends on how LabView (R/D)developers
are implementing it, and things have been changing between LabView
versions, to different degrees, all the time.



Re: I have a problem using COM

2004-06-15 Thread SteveMoores
Hi Chris

As promised I have done some further investigation.

If I remove the vi that registers all the events and associates the
callback vi's with an event then the app closes down ok.

It looks as though the callback vi's themselves are not closing down.



Re: search special character

2004-06-15 Thread Greg McKaskle
 How to search for special characters (peculiars)
 in the developer exchange, e.g. [ ]
 or whole phrases like controls[]

Some of the search functions do not use regular expressions or 
wildcarding and you can simply search for the phrase.  If you are using 
match pattern, which does use regular expressions, you will want to 
escape the special characters by preceding them with a \.  To search for

[]

you would search for

\[\]

Try it out in a simple example to learn how it works, and be sure to 
click the more help and read the manual page on this node as it is full 
of features.

Greg McKaskle




Re: If i use a sub-vi 3 times simultaneously in my main program....

2004-06-15 Thread Ben
Yes sir!

From what I have read about LV 7.X and hyperthreading, two of these
re-entrant sub-VI's can be executing simultaneously without having to
resort to dual-proccessors.

Ben



Re: Returning an array of strings to LV from activex.

2004-06-15 Thread Greg McKaskle
 I have an ATL project on the go which returns an array of strings to
 labview, which is working fine, with no problems, exept I cant 'probe'
 the returned VARIANT data for some reason, so me thinks its the wrong
 variant type!, but it works :)
 
 Is it a variant containing a safearray of type BSTR that labview is
 supposed to recieve ?
 
 If I setup a simple test vi with stringArray-toVariant-indicator, I
 can see the strings OK.
 

I think the thing confusing you is that the LV variant isn't exactly the 
same as the OLE variant.  The LV variant can be any LV type, or any OLE 
type including an OLE variant.  So, the variant probe in LV will often 
show you just a little bit about the type since it doesn't really know 
enough about how to display it.  If you can use the To G Data node to 
convert the variant to your type and then probe or display in 
indicators, then everything is working fine.  Without the extra typing 
information provided by the To G Data, LV just doesn't know enough to 
make a decent probe, at least not today.

Greg McKaskle




Re: I have a problem using COM

2004-06-15 Thread Chris M
Hi Stephen,
Thank ypu for the extra files and information. I've been
investigating your code further
and I understand from your comments that the problem lies in the
'InletKernel_RegisterAllEvents2.vi', is this correct?
However I still need the .dll, executable or control which supplies
'InletKernelInterfaceLib.IInletSystem2' to continue my investigations
as I do not have that on my installation and it appears to be part of
you application. With that file I can follow the callbacks events
through and hopefully find where the problem lies.
Best Regards,

Chris M
Applications Engineer
National Instruments (UK)



How can I control PIC programmer with LabVIEW

2004-06-15 Thread CGE
I need to control a PIC Programmer (MPLAB PM3) with LabVIEW. How to do
this?



Re: Creating an exe with 6.1 and VISA

2004-06-15 Thread Steven B
Hello,

NI-SPY is installed with NI-488.2, NI-CAN, and NI-VISA.  There is
however a known issue where if you install NI-VISA 3.1, the first time
you run the installer NI-SPY doesn't get installed, but if you run the
installer again it will install NI-SPY.

Hope this helps!

Regards,
Steven B.
Applications Engineering
National Instruments



Re: I need to read an unsolicited serial variable string.

2004-06-15 Thread gosenbach
Thank you for the response.  I have the capability to reprogram my
serial device to output any format.  What format would be preferable
from a LabVIEW point of view?



Re: switch 1127

2004-06-15 Thread Guy F
What is the problem with niswitch_32.dll?



Re: Can't use the Measurement Automation Explorer in the dl eval version

2004-06-15 Thread BMullen
Can I download an evaluation version of MAX? I'm trying to setup an
application to read measurements from a Micrometer and show them on
display and save to disk. I really need to setup a working example so
I can convince my company to buy the software.



close datasocket connection

2004-06-15 Thread Esther.Lopez
Hello
It's the first time I use DataSocket, and DataSocket server.
I have developed an application, using the examples DS Writer and
DS writer as a base.

In my application one of the subVI has a while loop, and is subscribed
to a DataSocket variable.
When I stop this subVI from the Main VI, whith a button, using
references and property nodes, it doesn't stop, and I have seen that
the process keeps on connected.
How can it be? How can I solve it?
Thank you all for your help.



Re: How can I control PIC programmer with LabVIEW

2004-06-15 Thread rberger
Check the following link:

http://www.calbay.com/ProgramIC%20Data%20Sheet.pdf

This toolkit might support the PIC Microcontroller.

Robert



Re: If i use a sub-vi 3 times simultaneously in my main program....

2004-06-15 Thread Mudda
Thanks to all of you for your comments,

Mudda.



Re: I need to read an unsolicited serial variable string.

2004-06-15 Thread gosenbach
Thank you for your assistance.  You have been very helpful.  Cheers!



Re: how to control the subvi front panel

2004-06-15 Thread SarahM
Hey Fred,

There are two different VI Server properties that I think may be
useful to you.  If you haven't used VI Server before here's a link to
some general information on it.
a href =
http://zone.ni.com/devzone/learningcenter.nsf/03f7c60f17aad210862567a90054a26c/371c4fea97121ea686256c4e0062de8a?OpenDocumentProgrammatically
Controlling LabVIEW/a
VI Server basically allows you to programmatically control a VI.

One property that may be helpful to you is the Execution:Show Front
Panel On Call Property.  This property will allow you from your main
VI to control whether a subVI's front panel is shown when it's called.
Another property is the Front Panel Window:State Property.  This
property determines the state of the front panel of a VI.  For
example, you can make the front panel of a VI hidden.  Please refer to
the help for these properties for more information about them.

I hope this helps!

Sarah Miracle
National Instruments



Re: I need to read an unsolicited serial variable string.

2004-06-15 Thread shoneill
Baud, stop bits etc. is purely personal preference.

LAbVIEW can read in basically any format, but I have a personal
preference for tab seperators between values and newline/carriage
return as a termination.

This way the text can be streamed to a text file and is readable
afterwards in Excel usw

Hope this helps

Shane.



Re: Passing data from subvi's several levles down to top level vi

2004-06-15 Thread Tony Rivera
Is 100 msec too slow?
I have loops that update the indicators this fast.



Re: Reusable Code

2004-06-15 Thread Kura
Err.. alright, but how do I get all of the property nodes into a
subvi?



API's drivers

2004-06-15 Thread enekofg
Hello.

I'm already a bit confused when reading about drivers and APIs...
What's the difference between an API and a driver???(because sometimes
texts refers to some of them without distinction).

Once known the difference, which is which? NI-DAQ is a... driver or
API???
And this for NI-DAQ, NI-DAQmx, NI-SCOPE, NI-FGEN, NI-DAQ 7.

For what I think I understand NI-DAQ and  NI-DAQmx are both drivers
and APIs, and NI-FGEN and NI-SCOPE just APIs. If I'm not wrong, why 2
APIs for one driver???

Thanks.



create an application with Labview 7 express

2004-06-15 Thread /*draven*/
how to create an application which can run without
the motor of Labview.
I have the developper toolkit
and application with I can build run also with the motor of labview on
the computer
Is it possible to crreate an application which can run without this
motor?



Re: Creating an exe with 6.1 and VISA

2004-06-15 Thread Baldy
I can't run VISA 3.1 because the target system is W98. I installed
VISA 3.0.1 run-time. Is NI-Spy included in the run-time? It doesn't
appear on the start menu or in the add/remove programs panel.
-Jim



Re: application builder is missing in labview under tools

2004-06-15 Thread SarahM
Hey Paul,

DD is correct the full system does not include the application
builder.  Refer to the following link for a comparison of what the
different versions include.
a href = http://www.ni.com/labview/how_to_buy.htm#compareCompare
Development Systems/a
If you have questions on the different versions or want to purchase
application builder separately please feel free to call our sales
department at (888) 280-7645.

Also who did you contact about getting the replacement ethernet card?
If you contacted technical support and have a service request you can
always call back at 1866 275 6964 and enter your service request and
you'll get routed to the person who originally took your call.  If you
contacted sales you could call the sales number above and they could
put you in touch with the sales person in your area or the person you
talked to previously if you know their name.

I hope this helps!

Regards,
Sarah Miracle
National Instruments



Re: close datasocket connection

2004-06-15 Thread Khalid
brDo you close the DataSocket connection using the bDataSocket
Close/b function and by passing it the connection ID?  If not, do
this outside the While Loop.

Regards,

iKhalid/ip



Creating reference of a subpanel to pass to a subvi

2004-06-15 Thread Z
It does not appear to be possible to creat a reference to a subpanel
(to pass to a subvi). Can someone confirm this? Can a subvi in anyway
access the subpanel of another vi? This will make my code much more
object oriented. Does anyone else feel this is a desired feature?
Thanks.
Zuolan



Re: While loop in subVI

2004-06-15 Thread Khalid
br
Hello,

I hope I understood you correctly...  In general, it's better to use
sub VIs to organize and modularize your code.  So, if you can separate
part of the code into a sub VI, do it.

And if your main VI is calling the sub VI in a loop, the sub VI
executes every iteration of the loop.  So, you do not need a loop in
sub VI, normally.  But it depends on what exactly you are trying to
do.

Use the Execution Highlight mode (the light bulb on the diagram
toolbar) to see how the code gets executed, and make changes
accordingly.

Regards,

iKhalid/ip



Re: Error opening file:The file XXX.vi is not a VI. Select Another? Whats wrong?

2004-06-15 Thread altenbach
Anyone can take any file and rename the extension to *.vi. This still
does not make it a VI, right?

You need to ask the author of the files what they are. There is no
other way. Have you tried opening them in notepad to get some clues?
(a true VI file typically starts with a few upper case characters
followed by lots of garbage sprinkled with a few text words.

(What are you trying to do? Are you actually trying to open a VI
program for editing or running?
Some users of my labview applications sometimes make the following
mistake, maybe that's your problem: I have a button to read in a new
spectrum file, but I usually leave the standard menu bar intact.
Sometime, if they try to load a new spectrum, they mistakenly do a
menu..file..open, (instead of pressing the button) then selecting a
new spectrum. Of course this will get the error that abc.dat is not a
vi or similar. The menu item file...open is strictly for opening
VIs.



Re: Subpanel.vi

2004-06-15 Thread Z
Phil,
The help file suggests that the main vi has to be running to prevent
the subvi from being removed. You can add a pause at the end of the
program so that it can be viewed. Or it might be possible (I don't
know how) that you grab a picture of the front panel of the subvi and
overlay it in front of the subpanel before the program exits.
Zuolan



Re: OPC et Drive Server OPC

2004-06-15 Thread Kerouac
Bonjour,

Les VIs dits de compatibilit=E9 se trouvent au chemin suivant:
C:\Program Files\National Instruments\LabVIEW
7.0\vi.lib\platform\dataskt.llb

Vous trouverez =E9galement des exemples standards de programmation
OPC/DataSocket dans LabVIEW:
Menu Aide  Recherche d'exemples...
Cat=E9gorie Networking  DataSocket  OLE for process control (OPC)
Exemple Multiple OPC Items Monitor.vi qui utilisent les VIs
DataSocket dits de compatibilit=E9.

Ceci devrait vous aider.
Cordialement.

Matthieu Gourssies



Re: How do I determine the fastest data acquisition speed (Hz) a user can select in program?

2004-06-15 Thread Sylvia V
Hello!

The main factor that determines how fast you can acquire is the type
of data acquisition board that you have. In the user=92s manual of your
board, under the specifications section, the maximum sample rate is
listed and you cannot go any faster than that.

Once you have written your data acquisition program, its size also
determines how fast you can acquire, because time is needed for every
function in your program to be executed. Keep in mind that this is
system dependant (processor speed, memory, etc.). You can benchmark
your program as Herbert suggested. I am including some links that can
help you do this.

a
href=3Dhttp://digital.ni.com/public.nsf/websearch/0E7EA68BFB2BCD37862562A80=
073708D?OpenDocumentHow
do you determine if you are acquiring data too fast or doing too much
processing during a continuous data acquisition?/abr
a
href=3Dhttp://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=3DC=
EA0BF441BE67507E034080020E74861p_node=3DDZ52303p_source=3DexternalBenchm=
arking
Multiple E-Series or PCI S-Series Boards and Writing to Disk/abr
Hope this helps!

Sylvia V
Applications Engineer
National Instruments



Re: create an application with Labview 7 express

2004-06-15 Thread Dennis Knutson
Every built LabVIEW application requires the run-time engine
installed. Just like the on-line help states. Much older versions of
LabVIEW included the run-time engine in the executable which resulted
in large exe files. Now, the exe's are smaller but the engine is still
required. A separate engine is a big benefit when multiple exe's might
be installed. The installation of the run-time engine can be made
automatic when you create an installer for your app.



processing of aquired signal during aquisition (arrays?)

2004-06-15 Thread Kostya
Hello,
I'm aquiring a voltage signal from a thermistor using DAQ and Labview.
I'm using for-loop in Labview for that. Is it possible to take my
previous readings of the voltage signal (through A/D channel), say,
V(i-1), compare it to its current value V(i) and if a comparison
condition holds - freeze V(i-1) and feed it continuously to a D/A
channel,etc.
I'm basically trying to work with arrays in Labview, but can't get
the voltage array previous values during the aquisition and manipulate
with it during the aquisition.
Thanks.



How can I easily step through Matrix Combinations in Labview 7.1?

2004-06-15 Thread Neville
I have a 2D matrix of test parameters that I'd like to step through,
hitting all possible combinations.  I'd like the system to be dynamic
so that I can input a matrix of any size.

The obvious solution is to use nested for loops, but I don't think
that will allow me to handle dynamic matrix sizing.  Any help would be
appreciated! Thanks!

Neville



RE: VI Server error 63

2004-06-15 Thread Mahoney, Richard C
Just a thought but if this is starting Labview after a Boot, perhaps it 
is starting Labview before the network services are completely up and
running.
In other words maybe this is not truly a server issue, maybe its all
within
the remote box. Just a thought...
Rick M
LMC Syracuse NY
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jason Dunham
Sent: Tuesday, June 15, 2004 1:34 PM
To: LabVIEW Mailing List
Subject: VI Server error 63


Hi 

I have two remote systems which are supposed to remain connected with VI
Server.  Sometimes, when one computer starts LabVIEW and tries to
connect, it gets error 63, connection refused by server.   Since the
systems are remote, I'm having a hard time figuring out exactly what
causes the problem.  The systems usually connect, so it should not be a
allow/deny problem or any other VI Server config problem.  

Has anyone else seen similar problems or have some advice?

Jason Dunham
SF Industrial Software, Inc.







I need some documentation of wire data types

2004-06-15 Thread gosenbach
I am new to LabVIEW and I am having trouble finding some information.
Specifically I would like to know what the different wire data types
correspond to on the block diagram.  For example the thick pink wire
is for errors, etc.  The manual says to look at the Quick Reference
Card for this information but the Reference Card only lists some
keyboard shortcuts concerning wires.  Can someone please point me
towards this information?  Thank you.



How to use Digital output to turn on sensor for Analog Input?

2004-06-15 Thread mooseo
I am trying to use a digital output to turn on an array of sensors
that I then wish to read on 16 analog input lines.  I have a 6024E DAQ
card.  I am planning to take data at 10-20 hz, so not terribly fast,
but I will be acquiring for long periods of time (days) so I will be
streaming data to disk.

I have a fair bit of experience in Labview basics, but can quickly get
out of my depth when I try something new (like this).  I have V6.01.

It looks as though the best way might be to do the DO and then a
single AI as individual events, then write to disk and continue
through the loop.  I am puzzled, however, how to keep this cycle on
schedule given that I don't know how long it will take to sample 16
channels, write the data to disk and get back to the starting point...
perhaps this is so fast that I don't need to worry about it?   The
actual timing of the samples (be it 10 or 20 hz) isn't too critical,
as long as I can record at what time they were taken... it would be
frustrating to find that I was several seconds off after days of data.



Re: I need some documentation of wire data types

2004-06-15 Thread Ben
And while you are playing around, switch to the wiring tool with the
help window (ctrl-h) open.

Floating over the wire will tell you exactly what is in the wire.

Ben



Re: Compatibility issue with PXI1031, 64bit processor and windows xp

2004-06-15 Thread ryank
LabVIEW does not yet officially support 64 bit XP.  We have done some
basic testing, which indicated that the environment generally runs,
but we have not tested extensively, so it's quite possible that there
are bugs or unexpected behavior.

Regards,
Ryan K.
NI



Re: Compatibility issue with PXI1031, 64bit processor and windows xp

2004-06-15 Thread Liz F
Hello,

National Instruments does not currently offer or support products that
are certified for use with 64-bit processors and corresponding Windows
operating systems. Note that the 64-bit versions of Windows are not
compatible with previous 32-bit Windows drivers. All National
Instruments hardware drivers currently offered for Windows XP are
based upon 32-bit technology and thus will not function on 64-bit
Windows. If you have a strong desire to use National instruments
hardware on 64-bit versions of Windows, consider one of the a
href=http://sine.ni.com/apps/we/nioc.vp?cid=11737lang=US;NI Driver
Development Kits/a or a
href=http://sine.ni.com/apps/we/nicc.call_me?p_action=countryp_lang_id=US;contact
your NI Sales Representative./a

Though all hardware and software products are not supported at this
time in the 64-bit structure, the basic programming functionality of
LabVIEW has been observed to passably function.  Do you see a common
reason for the LabVIEW crash?  How often do you see the crash?
Perhaps with more information we can grow to more effectively support
the 64-bit operating systems.

I hope this helps!  Please let me know if there is anything else I can
do.

Liz F
National Instruments



Virtual memory

2004-06-15 Thread Lai, Ann
Hi,

I get this message sometimes when I run my program:  System is low on
virtual memory  My program has two loops, and I use shift registers
on these two loops.  I have a loop for data array and a loop for
graphing the data array.  My data when put into excel is more than 1500
rows.  Is it giving me error because the data arrays are big and so it
runs low on virtual memory?  Is there a way that I can dump this memory
to a physical memory space, then read back memory and then write to
Excel?  Right now, the program keeps concatenate the array, then puts
all that data into Excel at the end.  

Thanks,
Ann 




Re: Is the SVT Zoom FFT really more accurate than a regular full FFT with a large sample?

2004-06-15 Thread Jeremy Braden
a href=What are the basic differences between Baseband, Subset, and
Zoom FFTs and when should I use each?What are the basic differences
between Baseband, Subset, and Zoom FFTs and when should I use
each?/a

Enjoy!!



The sub VI does not pass statistic vi data to the main VI numeric indicators.

2004-06-15 Thread Adam66
The subVI is a Daq AssistantVI with a Statistic VI.  Numeric
indicators are wired to the statisic VI. A graph indicator is also
wired to the signal from the Daq Assistant.  The SubVI works by
itself.  Can not figure out why the numeric indicator and graph, that
are wired to the connector pane, do not worked when wired to numeric
indicators and graph in the main VI.



Re: I need some documentation of wire data types

2004-06-15 Thread gosenbach
Thank you.



Re: mozilla

2004-06-15 Thread SVences
Hello Emiliano -

What version of LabVIEW and what Platform are you using?

Refer to the LabVIEW Release Notes for the version of LabVIEW you are
using for the required version of Mozilla. Also, if you installed
Mozilla in the default location, the LabVIEW installer automatically
installs the browser plug-in. Otherwise, to manually install the
LabVIEW plug-in, install the LabVIEW Run-Time Engine, then copy
/usr/local/lib/labview/lvnplugin.so to the plug-in directory.

SVences
Applications Engineer
National Instruments



system low on virtual memory

2004-06-15 Thread analog
Hi,

I get this message sometimes when I run my program:  System is low on
virtual memory  My program has two loops, and I use shift
registers on these two loops.  I have a loop for data array and a loop
for graphing the data array.  My data when put into excel is more than
1500 rows.  Is it giving me error because the data arrays are big and
so it runs low on virtual memory?  Is there a way that I can dump this
memory to a physical memory space, then read back memory and then
write to Excel?  Right now, the program keeps concatinate the array,
then puts all that data into Excel at the end.

Thanks.



Re: UDP problems when building executables

2004-06-15 Thread Jeremy Braden
There could be a number of reasons for this behavior.  It may be that
the function is not working properly on the run time engine (RTE).
The best fix for this is to see if the problem persists in LV 7.1.  It
is the best version of LabVIEW to date.  If you can post code that
shows the problem then it can be tested in other versions.

Your executable may not have all the settings that are in the
development environment.  The follow KB discusses a solution:
a
href=http://digital.ni.com/public.nsf/websearch/65F76F247012DF68862562C70073BE06?OpenDocument;Setting
LabVIEW Preferences For a Windows Executable/a

Lastly, UDP is a lossy protocol by definition.  Consider using TCP
instead if the losses are unacceptable.



Re: Cannot open Labview 7 without not enough memory error

2004-06-15 Thread Jeremy Braden
I figure there are two possiblities.  LabVIEW is poorly installed on
your system causing the error or your VIs are corrupted.   You can
test the former by installing LabVIEW on another computer.  If you can
open the VIs there, consider contacting NI for ways to more throughly
remove NI products from your machine.  To test the latter, see if you
can create new VIs in 7, save, close, and reopen them.  You can also
see if other VIs on your machine open.  If your VIs are corrupted,
then try to open them in your older LV, copy the Block Diagram over to
a new VI, save, and open in LV 7.0.  At the very least, you can get a
screen shot of the diagram.

Good luck!!



Wanted: #define

2004-06-15 Thread George Gatling (Contractor)
From my days as a C programmer (shudder) I have to say I do miss the 
#define.  I realize LabVIEW cannot really have an exactly analogous feature 
because the scope of .vi is too different from the scope of .c, but there 
must be some way to get the same functionality.  I figure a global might be 
the ticket here, but I thought I would ping you guys and see if anyone had 
something more clever or if there were any gotchas to using a global.  I 
would type my #define values into the global, make current values default, 
and then read from the global.  This particular global would never get 
written to programmatically.


George Gatling
Applied Technology Division, SFA Inc.
Space Physics Simulation Chamber
US Naval Research Laboratory
202-404-5405 (phone)
202-767-3553 (fax)
If trees could scream, would we be so cavalier about cutting them down?
We might, if they screamed all the time, for no good reason.  --Jack Handy  




Re: Wanted: #define

2004-06-15 Thread Hamid_Yazdi
Hi;
I think config files can also be considered. You can initialize a 
particular variable (I32, Bool, etc)
using config files
Just my thought


+
Dr. Hamid R. Yazdi
Federal Mogul
Manufacturing technology
3935 Research park drive
Ann Arbor, MI 48108

Tel: 734 222 4108





Re: Virtual memory

2004-06-15 Thread Craig Graham
Lai, Ann wrote:
 Hi,

 I get this message sometimes when I run my program:  System is low on
 virtual memory  My program has two loops, and I use shift
 registers on these two loops.  I have a loop for data array and a
 loop for graphing the data array.  My data when put into excel is
 more than 1500 rows.  Is it giving me error because the data arrays
 are big and so it runs low on virtual memory?  Is there a way that I
 can dump this memory to a physical memory space, then read back
 memory and then write to Excel?  Right now, the program keeps
 concatenate the array, then puts all that data into Excel at the end.

I believe that the concatenate array function makes a new, slightly
larger, copy of the original array to add your new data on to the end, then
deletes the original. It's a little smarter in that it adds more space than
you need to reduce the number of times it has to do this, but it's still
slow and memory hogging. It may be one of your problems. Initialise the
array at the start and replace null entries with your data as you go. You
could also use a more elegant design that doesn't buffer all the data before
starting to write to Excel- a queue to a seperate Excel writer for instance,
unless the machine overhead isn't acceptable.

Another may be that Excel's not very good. There are better packages for
data manipulation- Origin for example. Or maybe Diadem if you want to stay
NI.

-- 
Dr. Craig Graham, Software Engineer
Advanced Analysis and Integration Limited, UK. http://www.aail.co.uk/







Re: Wanted: #define

2004-06-15 Thread Craig Graham
[EMAIL PROTECTED] wrote:
 Hi;
 I think config files can also be considered. You can initialize a
 particular variable (I32, Bool, etc)
 using config files
 Just my thought

strict typedef?

-- 
Dr. Craig Graham, Software Engineer
Advanced Analysis and Integration Limited, UK. http://www.aail.co.uk/







Re: Error opening file:The file XXX.vi is not a VI. Select Another? Whats wrong?

2004-06-15 Thread Adam Shab
The author of the files is a professional who wrote a program for me a
couple of years ago.  If I try to open the file in Notepad, I get a
Windows ! message that says Access is Denied.

I am trying to open the file directly from the LabVIEW startup screen,
I am fairly sure that the process I am using to open the file is
correct. (I have also tried just double-clicking the file in Windows).
I want to look at the code structure that he used and possibly modify
parts of the program.

From my point of view, it appears as though the author may have
protected his program files somehow.  Is there a way to check for
this, or some other way to view the files?  Many of the files that I
want to look at are simply subVIs that are part of the more complex
DAQ system he made.



how to pass stop button's boolean value to subvi's subvi

2004-06-15 Thread Ya-hoo
There is a stop button on my main vi and the boolean value could be
passed to subvi using control reference. So the subvi could stop when
the stop button on main vi's front panel is pressed. My question is
how I can pass that boolean value to nested subvi, so once the stop
button in main vi is pressed, all nested subvi stop?

Thanks.



Re: how to save my 3 channel data like this

2004-06-15 Thread burcu
I have a problem. When I tried to combine my vi with yours there was a
error. It says 'Array to spreadsheet String:contains unwired or bad
terminal,you have connected two terminals of different types' I am not
well experienced with Labview. Thus , I need your help at this
point.You can find the picture vi below.
Best regards



Re: Converting html documents to plain text using LabVIEW

2004-06-15 Thread Khalid
brHi Jim,

Very efficient VI.  Is there an OpenG version of this?

Regards,

iKhalid/i

ps: I'm sorry if this spams notification mail to all others on this
thread.

p



Re: Wanted: #define

2004-06-15 Thread Scott Hannahs
At 16:23 -0400 06/15/2004, George Gatling (Contractor) wrote:
From my days as a C programmer (shudder) I have to say I do miss the #define.  I 
realize LabVIEW cannot really have an exactly analogous feature because the scope of 
.vi is too different from the scope of .c, but there must be some way to get the same 
functionality.  I figure a global might be the ticket here, but I thought I would 
ping you guys and see if anyone had something more clever or if there were any 
gotchas to using a global.  I would type my #define values into the global, make 
current values default, and then read from the global.  This particular global would 
never get written to programmatically.

You need to disconnect the global from the running hierarchy to make current values 
default.  You might consider intelligent LV 2 style globals where the first time they 
are called, they load from a config file.  When a global is written to, the 
corresponding element of the config file is updated.

You can use the built in config file management or the tool kit recently offered for 
sale.  :-)

The LV style global can check for first run and load the initial values.  It can keep 
an array of keys and return variants for that key.  Then for each global make a VI 
that passes the correct character string key and casts the variant into the correct 
representation to return to the user.  Then each of these VIs can be used just like a 
read global.

A bit more complicated, but very robust and makes it easier to update single values 
rather than making all values default after stopping and starting the VI.  Then 
forcing the changed VI (defaults changed) to be saved.

That being said, I have also made a global to hold constants that I hope never vary.  
It will work.

-Scott




Re: Wanted: #define

2004-06-15 Thread George Gatling (Contractor)
I thought about using an file to store the values in and doing elaborate 
sorts of things to make it easier to update the values, but in truth that 
is all overkill for what I am trying to do.  These are not values that the 
user would ever want to mess with... things that are currently just 
constants scattered around the application, like the string for the title 
bar or the number of times to try doing some low level operation before 
giving up.  Stuff that will probably never change, but is easily forgotten 
about and lost in the pile of vis.  Back in the days of C it was extremely 
rare to find a constant in my code... all that stuff just got #defined and 
moved to the tops of the files... and that is sort of what I am hoping for 
here... something that is not complicated and just collects constants into 
one place and names them.

Im probably to lazy to do anything about it in the app I am working on 
right now... just something I am thinking about for the next time around.


George Gatling
Applied Technology Division, SFA Inc.
Space Physics Simulation Chamber
US Naval Research Laboratory
202-404-5405 (phone)
202-767-3553 (fax)
If trees could scream, would we be so cavalier about cutting them down?
We might, if they screamed all the time, for no good reason.  --Jack Handy  




How to get rid of LabVIEW icon from EXE shortcut I created on the desktop?

2004-06-15 Thread Sandeep
After I create shortcut for my LabVIEW application=92s EXE on desktop,
LabVIEW icon shows up.
This default LabVIEW icon  also shows up in Windows explorer window.
 ( This is not the one which I create in Labview icon editor. Icon
created in Icon editor only shows up on toolbar)

How to get rid of this icon on desktop (but not the shortcut), and
have my own icon wherever customer istalls my EXE?



Re: Is there any way to have more than 28 connection terminals?

2004-06-15 Thread Jared Aho
Hey Gonzo,

My first thought is that you really might want to reconsider this VI
that you are developing. Is there another way that you could design it
such that it does not require more than 28 inputs/outputs?

Some other information that could be useful: what do you plan on
calling this dll from? just how many inputs and how many outputs are
you looking at?

There is an example in the NI Developer which talks about using a
structure in a dll to correspond with a cluster in LabVIEW. a
href=http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DD8F56A4E034080020E74861p_node=DZ52048;Using
Structures in a DLL with Clusters in LabVIEW/a If it's possible, try
and take a look through the example and see if this option could work
for you.



Re: how to pass stop button's boolean value to subvi's subvi

2004-06-15 Thread Ya-hoo
Thanks.



Re: tek210 programming

2004-06-15 Thread ScottieB
Charles,

I didn't dig through your code much, but what is your iberr constant
after you do the IBRSP() and you get the error?  That could give us a
clue as to why it is failing.  What version of the driver are you
using in both cases (Win98 and 2K)?

Scott B.
Applications Engineer
National Instruments



how to save changes to downloaded instrument driver

2004-06-15 Thread curve
I am using downloaded Tk278x drivers. The default address is different
from my what I want. I tried to change the address in the VIs. But I
am not lucky. How can I do it? Many thanks.



Re: How to get rid of LabVIEW icon from EXE shortcut I created on the desktop?

2004-06-15 Thread rberger
I am assuming you're using LV5.0 or above.

In the application builder, you have an option to load in custom icons
(32X32 and 16X16).  Make sure you include these icons in your build
process as a support file.

To create the icons I suggest using an application called
MicroAngello.

Hope this helps.

Robert



Re: system low on virtual memory

2004-06-15 Thread altenbach
You are running out of virtual memory, because your physical AND
virtual memory are exhausted. If virtual memory is low, free physical
memory will be virtually zero.

There are a few things you should do:

(1) Do a detailed analysis of your code to make sure you don't create
extra data copies in memory. In LabVIEW 7.1, you can anayze the buffer
allocations directly.

(2) Whenever virtual memory gets low, your OS will need to increase
the swap file, taking a wild guess on how much is needed. This will
repeat over and over if your data structures continue to grow. It
would be better to set a large minimum size in the virtual memory
configuration. This way the swap file is already at the final size,
minimizing sizing operations.

(2) If your final data has a know size, it is much more efficient to
initialize and array with the full size (e.g. all NaN), then use
replace array subset to insert the data as it is acquired, keeping
track if the insertion point.



  1   2   >