Insert teletext

2004-06-14 Thread bipinm
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: New solution for OS X

2004-06-14 Thread Uwe Frenz
Urs,
you wrote on June 11:
I personally prefer a real RT controller over a gray PC box. However this
of course could be a viable option too, a bit bulky maybe. Will the PharLap
OS control any DAQ boards in the PC box the same way it does it on a PXI
form factor chassis.
I had this opinion too when I had to decide what to buy as the base for an 
industrial test system.
I took a PXI-1010 combo chassis and a MXI-3 data link to a PC. Sounds good 
and has a good technical base, but is horribel to work side-by-side. Not 
really like a starting chessna airplane, but really disturbingly loud. It 
is designed to work in a rack housing. And thats what might be the only 
possibel solution in the long run (but can't be achieved in my case).
Anyway, a good PC (or Mac or whatever) is much more convinient to work aside.
AND, in my opinion, a modern (desktop) PC is even less bulky than the PXI-1010.

Just my  0.02!
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



Re: the output string in RS232

2004-06-14 Thread Van626
Hi Dr. Imad,

You said you waited a few ms before
reading the rs232 port. How do
you code this in labview? How do
I make labview wait a few ms before
I do the reading?

Thank you,
Van



Re: Access to Application.ini

2004-06-14 Thread erlis
Hey that looks really nice!
I'm running Labview 7.0 and when i load your vi I can't find 'Strip
Path Extension_ogtk.vi' and 'Strip Path X times.vi', where can i find
them?



Fw: Keystrokes

2004-06-14 Thread Nuno Lambua

  Hi, any help on sending keystrokes to other application?



  Regards
  Nuno





PID Advanced Integral Action (DBL).vi(vers.6.0) (is there a bug)?

2004-06-14 Thread stefan!
Is there a bug in: PID Advanced Integral Action (DBL).vi? If
Initialize is true there is a select conected to the variable
Initialize in the case structure, that does not make sence to me.
Kindest regards,
Stefan Pofahl



Re: PID Advanced Integral Action (DBL).vi(vers.6.0) (is there a bug)?

2004-06-14 Thread stefan!
No, probably there is no bug! Forget my question!
The case criterias are filtered through an Or operator. So even if
initialize is false,
the criteria for the case structure can be true.
Kindest regards,
Stefan Pofahl



Re: play video on lan

2004-06-14 Thread ambu
Hi,
NI sells several frame grabber to acquire images from all kind of
camera, the following link shows all the NI Machine Vision products:
http://sine.ni.com/apps/we/nioc.vp?cid=1286lang=US
You could use the NI-CVS to show the image acquired in a remote pc
(see Compact Vision Systems link).
Regards
AlbertoA



Re: Is it possible to use a second network card for Labview

2004-06-14 Thread Richard Kurvers
Thank you guys for your reaction on this.
The problem is solved.
It was,of course, not a Labview problem but a setting problem of my
second card.



Re: How to create OPCDemo - Items

2004-06-14 Thread AndreasW
Hello Chris,

unfortunately the OPCDemo OPC-Server only serves a fixed set of
different values/functions. But the user has the possibility to modify
e.g. the Sine function which is delievered:

An original SINE item is:

SINE:0.0..8.0:2.0

if you modify the name of the OPC-URL to

SINE:-1.0..1.0:1.0

you can create a new item which delievers a sine from -1 to 1 with a
periodicity of 2*1=3D 2 seconds. The OPCDemo OPC-Server now lists this
new item in the group Created Items.

Regards,

Andreas W=FCrl
NI Germany



Re: How to create OPCDemo - Items

2004-06-14 Thread chrisger
Dear Andreas

Thanks for your answer. I will use DSTP - Items for testing instead.

Regards,
Chris



Re: Graphing problem with two plots

2004-06-14 Thread Bill Choy
Hi Tom,

Take a look of altenbach example. This is a very good one to solve
your problem.

Bill



Re: Audio question

2004-06-14 Thread unknown
I guess the problem is how do you represent the samples (array of
samples). The number of samples is the same. Read the size of the
output array to be sure that the number of samples is OK.



Re: I have a problem using COM

2004-06-14 Thread Chris M
Hi Stephen,
   As you mention in your question the problem you are
   experiencing is usually caused by not closing a reference correctly. I
   have been looking at your code for this application and I have a
   couple of questions I'd like to ask you about it which will help me
   research your problem further. Firstly you mention that you have 5
   vi's but you have only posted 3, please could you post the remaining 2
   vi's. I also do not have the ActiveX server object that you are using,
   InletKernelInterfaceLib which is a .dll or .exe file. Could you also
   post a 'walk-through' of your code as well so I can understand better
   what is going on there. On a different note have you tried running the
   vi's without the ActiveX server? Did it work then? have you tried
   splitting the code to determine where the problem may lie?
I look forward to hearing from you,
Best Regards,

Chris Mead
National Instruments (UK)



How can I display a TTL- Signal which is impressed at a serial- or a parallel port

2004-06-14 Thread wimmer franz
We want to create a lab view program which shows us a TTL- Signal
which we get from a resolver . The problem is we have to use the
parallel or the serial port to get the Signal into the computer. We
tried to show the Signal at the Serial port with VISA  but it didn't
work. And for the Parallel port we didn't find a solution. So the
question is, is it possible to show a signal without using lab view
hardware



RE: Password

2004-06-14 Thread Coffmon, Roger [LBRT/LNA]

Hamid Shojai [EMAIL PROTECTED] wrote:

I set a password for my VI. Now I want to see it's block diagram but I
can't.
How can I cancle it's protection? Please help me.

May be, of course when more important things have been accomplished by NI,
there could be an entry for a phrase or something to assist the creator
in remembering the password he entered 50 some projects ago.


Roger A. Coffmon
Senior Design Engineer, ATE
* [EMAIL PROTECTED]
' 614-841-5871
Liebert, NA
http:\\www.liebert.com
Emerson Network Power
http:\\www.gotoemerson.com 
Consider It Solved



This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorized to
retain, read, copy or disseminate this message or any part of it.




VIs for NIWeek GBnU

2004-06-14 Thread Greg McKaskle
I hope I'm not annoying anyone yet, but I'm still looking for guinea pig 
VIs that Christina and I can try to improve for the presentation.

In case you haven't seen the previous posts, we request submissions and 
try to fix the things that the author had difficulty accomplishing.  
Sometimes it is performance, othertimes it is an unprofessional panel, 
or perhaps the VI works, but they had problems making the code readable 
enough.

The presentation at NIWeek has few slides and consists of looking at the 
before and after pictures.  Pointing out the good and clever things that 
were already there, looking at how the bad things could have been done 
differently, and looking at the ugly things and seeing if they can be 
made pretty.

So, if you have the time and would like to help make our NIWeek sessions 
more successful, please consider sending a good, bad, or ugly VI suite 
to [EMAIL PROTECTED] along with some description of what you were trying to do 
and what things you wished had turned out better.

The VIs will be made anonymous and the presentation will be very 
interactive.  Join us if you can for the NIWeek session.

Greg McKaskle




arithmetic average with LabVIEW 6.1

2004-06-14 Thread ASCologne
--3923272.1087216678518.JavaMail.quiq.tekken
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hallo,

I have an array containing six rows and 3 columns. My task is to
calculate the arithmetic average of the elements in the columns and
add it as a seventh row to the array. How can I do that? I added a
txt-file with the array.
--3923272.1087216678518.JavaMail.quiq.tekken
Content-Type: text/plain; name=test1.txt
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=test1.txt
Content-Description: array

2,000   9,000   16,000
3,000   10,000  17,000
4,000   11,000  18,000
5,000   12,000  19,000
6,000   13,000  20,000
7,000   14,000  21,000

--3923272.1087216678518.JavaMail.quiq.tekken--




VIs for NIWeek Session

2004-06-14 Thread Greg McKaskle
I hope I'm not annoying anyone yet, but I'm still looking for guinea pig 
VIs that Christina and I can try to improve for the presentation.

In case you haven't seen the previous posts, we request submissions and 
try to fix the things that the author had difficulty accomplishing. 
Sometimes it is performance, othertimes it is an unprofessional panel, 
or perhaps the VI works, but they had problems making the code readable 
enough.

The presentation at NIWeek has few slides and consists of looking at the 
before and after pictures.  Pointing out the good and clever things that 
were already there, looking at how the bad things could have been done 
differently, and looking at the ugly things and seeing if they can be 
made pretty.

So, if you have the time and would like to help make our NIWeek sessions 
more successful, please consider sending a good, bad, or ugly VI suite 
to [EMAIL PROTECTED] along with some description of what you were trying to do 
and what things you wished had turned out better.

The VIs will be made anonymous and the presentation will be very 
interactive.  Join us if you can for the NIWeek session.

Greg McKaskle




RE: VIs for NIWeek GBnU

2004-06-14 Thread patrick . lavezza
OK, I don't have a VI to show, but I couldn't help passing this on as GBnU.
One of my co-workers is a part-time LV programmer. He will have me look at
his code when he is done. About a year ago he wrote (yet another) program
that relied heavily on global variables. Not just for passing data between
VIs, but also to get data from one side of his multi-screen diagrams to the
other side. Of course, I told him global variables are hardly ever the
correct way to do things. I assumed he would wire things directly. I
couldn't help but laugh when I saw his solution. Everywhere he had had a
global write was replaced with an indicator and everywhere he had a global
read was changed to a control. Then he created a DataSocket connection for
each control and indicator to pass data between them! Finally he hid all the
controls and indicators to clean up the mess he made on the front panel.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Greg McKaskle
 Sent: Monday, June 14, 2004 8:43 AM
 To: [EMAIL PROTECTED]
 Subject: VIs for NIWeek GBnU
 
 
 I hope I'm not annoying anyone yet, but I'm still looking for 
 guinea pig 
 VIs that Christina and I can try to improve for the presentation.
 
 In case you haven't seen the previous posts, we request 
 submissions and 
 try to fix the things that the author had difficulty accomplishing.  
 Sometimes it is performance, othertimes it is an 
 unprofessional panel, 
 or perhaps the VI works, but they had problems making the 
 code readable 
 enough.
 
 The presentation at NIWeek has few slides and consists of 
 looking at the 
 before and after pictures.  Pointing out the good and clever 
 things that 
 were already there, looking at how the bad things could have 
 been done 
 differently, and looking at the ugly things and seeing if they can be 
 made pretty.
 
 So, if you have the time and would like to help make our 
 NIWeek sessions 
 more successful, please consider sending a good, bad, or ugly 
 VI suite 
 to [EMAIL PROTECTED] along with some description of what you were 
 trying to do 
 and what things you wished had turned out better.
 
 The VIs will be made anonymous and the presentation will be very 
 interactive.  Join us if you can for the NIWeek session.
 
 Greg McKaskle
 




Re: LabView does not see the same COM port numbers as windows XP

2004-06-14 Thread Brian Powell
Can you explain what the difference is?  What does the VISA name
control show?  What does Windows show?

Brian



Re: arithmetic average with LabVIEW 6.1

2004-06-14 Thread ASCologne
Hi Lauren,

thanks for the answer. Your idea works, but I need a more generous
version:

I have to extract the rows from a 2D-array, compute the arithmetic
average of each row and add this value as a seventh column. Finaly I
merge the rows together again to one 2D-array and save it to a
txt-file.

By the way, it won't have three rows, but more than 20. The VI should
count the number of needed rows by itself.

Perhaps someone can help me now.

Arno



Re: Custom Run-Time Toolbar in Labview

2004-06-14 Thread chrisger
Hi cplaw

for creating your personal runtime-menu you open the dialogbox under
Edit-Run-Time Menu. If you want to create a toolbar i fear you
have to use some ActiveX (Microsoft Toolbar Control). This Control
is embedded in the ActiveX-Container, and therfor part of the panel.
If you can abandon buttons i recommend to use only the Run-Time Menu
(Programming the Tollbar-Control is not that hard, but i encountered
several problems with differing versions of the control/LabView on
several machines).

regards
chris



Re: How can I display a TTL- Signal which is impressed at a serial- or a parallel port

2004-06-14 Thread Dennis Knutson
You serial port didn't work because the RS-232 signals are not TTL.
They are +3V and -3V. Your parallel port should be able to do the
trick though. You can use the Inport function (AdvancedPort I/O
palette) to read. There is a brief tutorial A
href=http://zone.ni.com/devzone/conceptd.nsf/webmain/72C6FC6CE4AD4D1386256B1800794596?opendocument;here/A.
If you have LabVIEW 7 or greater, you can ignor the part about
additional drivers required for WinNT and W2K. They are no longer
required.



Re: What is error 2042300?

2004-06-14 Thread mhaag
In regards to the error number 2042300, I am not finding any reference
to that error message, which is a little unusual.  If it is a LabVIEW
error number, then you can generally see the description of the error
by opening LabVIEW and then going to the Help Menu and selecting
Explain Error... from the menu.

I am glad to hear that everything is working for your application now,
and it sounds like the error message was not indication anything
missing from LabVIEW or any larger problem, but simply the fact that
it was not finding the IMAQ VIs that it expected.



System Replacement Question

2004-06-14 Thread vpnair

This may be question which doesn't belong in this list. But with all the
experts in measurement and automation visiting this list, I thought I will
try. Sorry if this is considered an intrusion. What I have is a request to
replace an existing LabVIEW/DSC based test system running on late 80's
hardware (Acromag 4100 series). The system is used to set up and run
various tests at various locations within a high voltage testing
laboratory. One of the tests we run is voltage/temperature endurance test
where the UUT is heated to 100+ F and subject to 30KV for 400-600 hours.
The requirements of the new system is high channel-to-channel isolation
(1500V or more), read input AC rms as well as DC (5-150V),  thermocouples
etc. Must be able to view and control the tests remotely using networked
and/or dial-in.  Send alarms (by phone/email). Some tests run continuously
for days. I know I can meet the communication requirements (alarm, control
etc.) using LabVIEW/DSC. But what the client is looking for is
off-the-shelf products which require minimum to no programming.

I know this is very sketchy. All I am looking for at this time is a
starting point for my investigation. Any help is truly appreciated. Thanks
in advance.

V. P. Nair
American Electric Power
[EMAIL PROTECTED]






Re: Read Serial Port 6.1

2004-06-14 Thread Brian Powell
First, I'd recommend that you try using VISA for serial I/O.  It's
more robust.

It sounds like you might just be having problems with hardware flow
control.  Do you have it enabled on your instrument?  If not, I would
try enabling it, and enabling it with VISA in your application.

If you are getting messages that are terminated by end-of-line
characters (or some other message that's not part of the data), then I
would investigate the solution that Dennis recommended.

I hope this helps.

Brian



Was: New solution for OS X, Now: RT-FIFO?

2004-06-14 Thread Urs Lauterburg
Uwe et al.
You are right, the small PXI-1002 Chassis I got was so awfully load
that I had to modify it with a new temperature regulated silent
ventilator. Now it is almost as silent as my nifty i-Mac which hums
so silently that I can barely tell its is on at all. I program my PXI
from an i-Mac and that's fun.
I am actually right now waiting for the LV 7.1 RT-Modules for MacOS-X
because I found some misbehavior with the RT-FIFO VIs. Has anybody
else had difficulties with RT-FIFOs under MacOS-X? That was with the
LV7 Modules and hopefully things will clear up with the LV7.1 ones.
Cheers
Urs
Urs Lauterburg
Physics demonstrator
LabVIEW wireworker
Physics Institute
University of Bern
Switzerland

Urs,
you wrote on June 11:
 I personally prefer a real RT controller over a gray PC box. However this
 of course could be a viable option too, a bit bulky maybe. Will the PharLap
 OS control any DAQ boards in the PC box the same way it does it on a PXI
 form factor chassis.
I had this opinion too when I had to decide what to buy as the base
for an industrial test system.
I took a PXI-1010 combo chassis and a MXI-3 data link to a PC.
Sounds good and has a good technical base, but is horribel to work
side-by-side. Not really like a starting chessna airplane, but
really disturbingly loud. It is designed to work in a rack housing.
And thats what might be the only possibel solution in the long run
(but can't be achieved in my case).
Anyway, a good PC (or Mac or whatever) is much more convinient to work aside.
AND, in my opinion, a modern (desktop) PC is even less bulky than
the PXI-1010.
Just my ¤ 0.02!
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




RE: VIs for NIWeek GBnU

2004-06-14 Thread phillip.brooks
There is a huge collection of native LV drivers on the NI web site, and many
(if not most) could do with SOME cleanup. Since test performance can be
drastically affected by driver efficiency, maybe reviewing the driver style
guide as a NI Week program would be in order.

I've shuddered at many drivers I've downloaded over the years, some
rewritten some from scratch. Take a look at the Quadtech Digibridge 1689
drivers(
http://zone.ni.com/idnet97.nsf/9b2b33e1993d877786256436006ec498/c22867581727
10ac86256d81006a30da?OpenDocument ); they were made some 10 years ago, but
they make me laugh. The use of locals between frames in a sequence which do
nothing, combined with complex subvi's that can be replaced with one or two
functions on the source vi panel should make for interesting discussion.

I give this only as an example; this is an relatively ancient driver and
instrument (not even 488.2 compliant). I have 5 in my office that make up a
good portion of our business though :-( I'm fully aware of newer instruments
(including from Quadtech) with good drivers and SCPI.

Alas, I work for a small company that can't afford to send me to NI week,
but all of my friends from former employers that have attended rave about
the various programs and the night life!

As a side note, I don't think I've ever met a LVer that couldn't resist
improving even the best written drivers (including me!).




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Greg McKaskle
 Sent: Monday, June 14, 2004 8:43 AM
 To: [EMAIL PROTECTED]
 Subject: VIs for NIWeek GBnU


 I hope I'm not annoying anyone yet, but I'm still looking for guinea pig
 VIs that Christina and I can try to improve for the presentation.

 In case you haven't seen the previous posts, we request submissions and
 try to fix the things that the author had difficulty accomplishing.
 Sometimes it is performance, othertimes it is an unprofessional panel,
 or perhaps the VI works, but they had problems making the code readable
 enough.

 The presentation at NIWeek has few slides and consists of looking at the
 before and after pictures.  Pointing out the good and clever things that
 were already there, looking at how the bad things could have been done
 differently, and looking at the ugly things and seeing if they can be
 made pretty.

 So, if you have the time and would like to help make our NIWeek sessions
 more successful, please consider sending a good, bad, or ugly VI suite
 to [EMAIL PROTECTED] along with some description of what you were trying to do
 and what things you wished had turned out better.

 The VIs will be made anonymous and the presentation will be very
 interactive.  Join us if you can for the NIWeek session.

 Greg McKaskle






GRASS S44 Stimulator Driver

2004-06-14 Thread George Zou
Anyone got a driver for GRASS S44 Stimulator ?
George Zou
http://gtoolbox.yeah.net
_
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/




RE: VIs for NIWeek GBnU

2004-06-14 Thread Norman Kirchner
Check out the VI's for the 17xx series and the 1030 series instruments
on the web site

www.quadtech.com

The example interface programs for these fit into the later of the two
requirements. G,B,U.

-Norm

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, June 14, 2004 10:54 AM
To: [EMAIL PROTECTED]; Greg McKaskle
Subject: RE: VIs for NIWeek GBnU


There is a huge collection of native LV drivers on the NI web site, and
many (if not most) could do with SOME cleanup. Since test performance
can be drastically affected by driver efficiency, maybe reviewing the
driver style guide as a NI Week program would be in order.

I've shuddered at many drivers I've downloaded over the years, some
rewritten some from scratch. Take a look at the Quadtech Digibridge 1689
drivers(
http://zone.ni.com/idnet97.nsf/9b2b33e1993d877786256436006ec498/c2286758
1727
10ac86256d81006a30da?OpenDocument ); they were made some 10 years ago,
but they make me laugh. The use of locals between frames in a sequence
which do nothing, combined with complex subvi's that can be replaced
with one or two functions on the source vi panel should make for
interesting discussion.

I give this only as an example; this is an relatively ancient driver and
instrument (not even 488.2 compliant). I have 5 in my office that make
up a good portion of our business though :-( I'm fully aware of newer
instruments (including from Quadtech) with good drivers and SCPI.

Alas, I work for a small company that can't afford to send me to NI
week, but all of my friends from former employers that have attended
rave about the various programs and the night life!

As a side note, I don't think I've ever met a LVer that couldn't resist
improving even the best written drivers (including me!).




 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Behalf Of Greg McKaskle
 Sent: Monday, June 14, 2004 8:43 AM
 To: [EMAIL PROTECTED]
 Subject: VIs for NIWeek GBnU


 I hope I'm not annoying anyone yet, but I'm still looking for guinea 
 pig VIs that Christina and I can try to improve for the presentation.

 In case you haven't seen the previous posts, we request submissions 
 and try to fix the things that the author had difficulty 
 accomplishing. Sometimes it is performance, othertimes it is an 
 unprofessional panel, or perhaps the VI works, but they had problems 
 making the code readable enough.

 The presentation at NIWeek has few slides and consists of looking at 
 the before and after pictures.  Pointing out the good and clever 
 things that were already there, looking at how the bad things could 
 have been done differently, and looking at the ugly things and seeing 
 if they can be made pretty.

 So, if you have the time and would like to help make our NIWeek 
 sessions more successful, please consider sending a good, bad, or ugly

 VI suite to [EMAIL PROTECTED] along with some description of what you were 
 trying to do and what things you wished had turned out better.

 The VIs will be made anonymous and the presentation will be very 
 interactive.  Join us if you can for the NIWeek session.

 Greg McKaskle







Selling Useful routines

2004-06-14 Thread John Brohan
Hello

I have ( what I consider to be ) a useful set of VI's to manage
configuration files and parameter data as functional globals. They have been
elaborated over several years and I think that they are ready for a wider
audience. Some members of this list sell libraries and 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.

How price sensitive are people? It's almost as easy and surely more
satisfying to sell 10 copies for $200 as one for $2000.

Does NI (or do you) have some legal grip on the word Tool Kit as in
Configuration File Tool Kit ?

I'd appreciate the views of Buyers and Sellers both and also those who will
never buy.

Yours Sincerely

John


John Brohan National Instruments LabVIEW expert in Montreal
Traders Micro We connect all sorts of things to computers
317 Barberry Place DDO Montreal PQ Canada H9G 1V3 Tel (514)995-3749
[EMAIL PROTECTED]  http://www.TradersMicro.com/Index.htm





RE: Selling Useful routines

2004-06-14 Thread Norman Kirchner
I would also be interested this information.
Please include me in any replies to this thread.

Norman J. Kirchner Jr.
Automation Software Engineer
Engineering Specialists, Inc.
(262)783-8000
(262)783-8001 Fax


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Brohan
Sent: Monday, June 14, 2004 12:53 PM
To: [EMAIL PROTECTED]
Subject: Selling Useful routines


Hello

I have ( what I consider to be ) a useful set of VI's to manage
configuration files and parameter data as functional globals. They have
been elaborated over several years and I think that they are ready for a
wider audience. Some members of this list sell libraries and 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.

How price sensitive are people? It's almost as easy and surely more
satisfying to sell 10 copies for $200 as one for $2000.

Does NI (or do you) have some legal grip on the word Tool Kit as in
Configuration File Tool Kit ?

I'd appreciate the views of Buyers and Sellers both and also those who
will never buy.

Yours Sincerely

John


John Brohan National Instruments LabVIEW expert in Montreal
Traders Micro We connect all sorts of things to computers
317 Barberry Place DDO Montreal PQ Canada H9G 1V3 Tel (514)995-3749
[EMAIL PROTECTED]  http://www.TradersMicro.com/Index.htm






switch 1127

2004-06-14 Thread Ice
I'm having lots of problems in using the NISwitch 1127 because of the
niswitch_32.dll (installed by the NIdaq7.0). Can any one explain me
the error that i'm commiting?
Thanks and regards!



Re: Delay a sequence for a specific time.

2004-06-14 Thread Van626
Thanks Bill.

Van



How can I get a Visa Reference Number on a Spectrum Analyzer?

2004-06-14 Thread germannightcrawlr
I have a GPIB Address of 18 on a 8593 EM Spectrum Analyzer. How can I
get a VISA reference Number for my VI program



Re: Basics 2 CBT - Requires Acquire Signal.vi - not on disk

2004-06-14 Thread CytecHDG-rwv
Thank you.



Re: text to enum

2004-06-14 Thread stefan!
As Wiebe says, you get the error code 1000,
is there a way to avoid this?
Best regards, Stefan



Re: DAQ Assistant not initializing

2004-06-14 Thread David Moerman
No luck.  Enabling sharing did nothing.
-Dave



Run-Time application does not load correctly

2004-06-14 Thread Eric Martin
If I build the App in LV6 and install it works. When I build the App
in LV7, the app will not load correctly; ie. it takes about 5 minutes
to load. This only applies to Win2000 - my XP machine loads the GUI
fine.



Re: LabView for Linux

2004-06-14 Thread Dennis Knutson
There is no NI-DAQ for Linux.



Re: Reusable Code

2004-06-14 Thread rberger
Since LV 6.0, you can create a control reference for a particular
control/indicator whereby that reference can be passed as an input to
subVIs so that control/indicators properties in your main VI is
accessible in a subVI.  This saves a lot of property node re-creation!
You may want to search the LV docs for control references for more
info.

Robert



Re: Run-Time application does not load correctly

2004-06-14 Thread rberger
Hi:

Can you supply the app and the build file?  I am in front of a WIN2K
machine and I'll try to build it in LV7.0 and check it out.

Robert



Re: Run-Time application does not load correctly

2004-06-14 Thread Dennis Knutson
LabVIEW now uses the Microsoft installer. It's possible that you need
to upgrade the version that's on the Win2K box. I think the latest
service packs from Microsoft include it.



Re: how to save my 3 channel data like this

2004-06-14 Thread burcu
Thank you so much, this is what I'm really looking for.Thank



Re: LabView for Linux

2004-06-14 Thread Philippe Bruyant
But there is some sort of drivers for Linux, whatever their name is,
so that an NI card can work under Linux, right? Am I right assuming
that NI-DAQ refer to the drivers, or does NI-DAQ include something
else ?
Philippe



Re: Home automation, lonworks, eib, backnet, dali, etc

2004-06-14 Thread rberger
I've used LabVIEW to control X10 devices in LV5.0 days.  The protocol
was very simple where you could use the simple serial VIs to transmit
and read the response(s).  Some manufactures do not send
protocol/command information so make sure you request and read the
manufacture's documentation before proceeding.  Should be a snap.

Robert



Reusable Code

2004-06-14 Thread Kura
I am writing a program in which I need a lot of buttons to appear and
dissappear at certain times. Namely, I need about 80 to 100 items to
become invisible every time one of about 20 buttons on my front panel
is pressed. I'd prefer to find a way to do this without having to make
20 copies of the 80 to 100 property nodes that its already going to
require to make the program. So is there a way I can use variables or
something else to allow me to reuse the code that will make the items
all non visible?



Re: LabView for Linux

2004-06-14 Thread Dennis Knutson
There are no NI provided drivers for Linux. You can check your DAQ
board and see if it has a A
href=http://www.ni.com/linux/daq_comedi.htm;comedi/A driver or
write your own using the A
href=http://sine.ni.com/apps/we/nioc.vp?cid=11737lang=US;Hardware
DDK/A. You would have to replace all of the DAQ functions in your
existing programs.



Re: Running the same VI concurrently

2004-06-14 Thread Roy F
You should probably do a little reading to learn about reentrant VIs
so you know when and when not to use them. There is an application
note (a
href=http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent75C636329327A87B862568690074800Acat=8ABEC12D4C0AA4A3862567AC00583899;Using
LabVIEW to Create Multithreaded Applications for Maximum Performance
and Reliability/a) which discusses marking VIs as reentrant (section
labelled Simultaneously Calling SubVIs from Multiple Places). You can
get a link to this app. note by opening LabVIEW's help, selecting the
Index Tab and entering reentrant (or just select the link above :)
).



Re: LabView for Linux

2004-06-14 Thread Philippe Bruyant
Thank you for the clarification.

- I was confused by Rolf's message because I was assuming that,
although they are not the same, the DAQ drivers for Windows or for
Linux are functionnally equivalent, and this should be pretty much
transparent to an end-user like me.

- I am currently using ActiveX controls, and I understand that these
will no longer work under Linux.

Thank you
Philippe



Re: Using a PC4350 DAQ and/or a PC-LPM-16/PnP DAQ under Labview 7.1

2004-06-14 Thread Jeremy C
The PC-LPM-16/PnP is not supported by NI-DAQ 7.0 or higher.  In order
to use this board, you will have to install NI-DAQ 6.9.3 or older (see
Versions link below).  This will use the Traditional driver.  As you
noted this device is not supported by NI-DAQmx.  There are numerous
examples that ship with LabVIEW that should illustrate how to use this
board.  As for the PC4350, what version of the driver did you install?

a href=http://www.ni.com/support/daq/versions.htm;NI-DAQ Version
Reference/a



Re: Web Publishing problem

2004-06-14 Thread jackolim
thanks so thats the problem.



Re: LabView for Linux

2004-06-14 Thread Jared Aho
I believe Rolf means that the NI-DAQ driver that is being used on your
Windows machine is not going to be the same as your Linux machine.
NI-DAQ VIs on a Windows machine will be making a call to a dll which
would not be available on your Linux machine. Anything in your VI that
is referencing Windows API specific calls would clearly not work.

Is there anything specific that you are worried about not working?



Re: LV7 How to click on an xy chart and identify the data point selected

2004-06-14 Thread altenbach
Yes, I agree it is not very pratical. I would prefer if the true x,y
coordinates could be obtained directly in the event structure.

In addition to the Coords terminal, we also need a terminal that
provides the coordinates directly in the true plot units. That would
definitely be very useful.

Make sure to suggest it to NI (I have, long ago!).



Re: OPC et Drive Server OPC

2004-06-14 Thread Kerouac
Bonjour,

Quel type de m=E9thode utilisez-vous? Connectez-vous les objets de la
face-avant directement =E0 une connection DataSocket? Utilsez-vous les
VIs DataSocket de la palette int=E9gr=E9e de LabVIEW ou les VIs dis de
compatibilit=E9?

Les VIs de compatibilit=E9 donnent de meilleures performances car ils ne
font pas une ouverture et une fermeture de connection =E0 chaque
=E9criture/lecture d'un item OPC.

Le taux de mise =E0 jour peut d=E9pendre de nombreux param=E8tres:
* deadband  update rates des items configur=E9s dans le serveur OPC
* puissance du PC (polling du client DataSocket sur le serveur OPC)
* mode de fonctionnement des VIs DataSocket (Read ou ReadAutoUpdate).

Les taux de transfert pour une communication OPC en DataSocket peuvent
aller de 100ms =E0 1s (pour 100 items). Cette technologie ne permet pas
de toute fa=E7on de faire une communication rapide (plut=F4t d=E9di=E9 =E0 =
la
supervision lente).

Cordialement.



Re: Basics 2 CBT - Requires Acquire Signal.vi - not on disk

2004-06-14 Thread Zvezdana S.
Hello,
In addition to installing LabVIEW eval, you also have to install the
Basics2.llb.
The instructions from the ReadMe file:
Copy the Basics2.llb file from Course Disc 1 to the labview\user.lib
directory.  This is usually stored in [drive letter]\Program
Files\National Instruments\LabVIEW\user.lib.
To make the Basics2.lib show up under the user.lib on your functions
palette, please review the following KnowledgeBase:
a
href=http://digital.ni.com/public.nsf/websearch/1D0D514BC3852BFD8625685F007BC976?OpenDocument;How
Do I Add Custom SubVI to the Functions Palette?/a

Also, make sure that you have DAQmx installed. The LabVIEW Evaluation
Version gives the option of installing simulation DAQ VI's. If the
complete install option is chosen, the simulation VIs are installed.

To avoid this, choose a custom install and don't allow the Evaluation
Version to install NI-DAQ. After the LabVIEW Evaluation Version is
installed, install NI-DAQ and include support for LabVIEW 7.0. The DAQ
VIs will now read data from your DAQ device. There is a link to the
NI-DAQ download page below.

a href=http://www.ni.com/support/daq/versions.htm;NI-DAQ Driver
Support for Windows/a

Zvezdana S.
National Instruments



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

2004-06-14 Thread Jared Aho
It seems that you have two limiting factors. 1) LabVIEW does not allow
for more a 28 terminal connector pane, and 2) the software interface
on the other system.

There is not going to be a way to increase the number of terminals in
LabVIEW. You should definitely look into using clusters. You=92ll be
able to consolidate your controls so that only a single terminal pin
is used. Then you will be able to extract those controls and perform
whatever type of manipulation on them individually.

I wouldn=92t think you would have any problems with this type of coding
with your software interface, but that=92s something you will have to
investigate.



Re: how do I set the ExTrig of a Basler A602f camera to falling edge?

2004-06-14 Thread mhaag
Bernd,

Thank you for contacting National Instruments.  One thing to be sure
to check when using the Configure Trigger VI is that the Trigger
Mode is set correctly to the desired behavior.  From the brief
description you gave, it sounds like Mode 0 (or possibly 1 or 2) will
be what you want for your application.  By default, the trigger will
run off of the falling edge.  If you have not had a chance to look
over it yet, glance through the help for Configure Trigger VI to see a
description of the inputs.

There are also a number of VIs included with the IMAQ 1394 Driver that
allow you to programmatically control the camera and set attributes
associated with the driver.  If you wish to change camera specific
attributes, then you can use the IMAQ1394 Write Registers VI (located
in the IMAQ IEEE-1394 Low level subpalette) to change register level
settings on the camera.  You will need the camera documentation in
order to know what register and information to write.

Depending on the camera, then all of the trigger modes may or may not
be supported.  The modes outlined in the help are valid for low-active
polarity.  If your camera needs to be specifically changed with a
Trigger_mode control register, then you will need to read that
information from Basler and then, if they have a configuration tool
use that, or you can use the LabVIEW VIs to modify that register.

Regards,
Michael
Applications Engineer
National Instruments



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

2004-06-14 Thread Zvezdana S.
Hello,
You should be able to use MAX with LabVIEW eval. To make sure MAX is
installed, go to
..\Program Files\National Instruments\MAX
If you have NIMax.exe, MAX is installed. Even if you don't have
LabVIEW installed, you should still be able to open MAX from this
location.


Do you get this error when launching MAX from its installation
directory, or when opening some of the LabVIEW wizards that call MAX?
The LabVIEW Evaluation Version gives the option of installing
simulation DAQ VI's. If the complete install option is chosen, the
simulation VIs are installed.

To avoid this, choose a custom install and don't allow the Evaluation
Version to install NI-DAQ. After the LabVIEW Evaluation Version is
installed, install NI-DAQ and include support for LabVIEW 7.0. The DAQ
VIs will now read data from your DAQ device. There is a link to the
NI-DAQ download page below.

a href=http://www.ni.com/support/daq/versions.htm;NI-DAQ Driver
Support for Windows/a

a
href=http://digital.ni.com/public.nsf/websearch/402D2EB45062FBC486256DD600634695?OpenDocument;Using
the DAQ Assistant or Creating a DAQmx Task in LabVIEW 7.0 Evaluation
Version/a

a
href=http://digital.ni.com/public.nsf/websearch/8968DE19FB0EAC8886256D55004FCC06?OpenDocument;Frequently
Asked Questions about the LabVIEW 7.0 Evaluation Version/a

Zvezdana S.
National Instruments



Re: arithmetic average with LabVIEW 6.1

2004-06-14 Thread altenbach
--829612.1087229344316.JavaMail.quiq.tekken
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Quick note: If you use Read from spreadsheed file, you only need the
tiny FOR loop, that's it!
--829612.1087229344316.JavaMail.quiq.tekken
Content-Type: image/gif; name=Add_column_with_average.gif
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=Add_column_with_average.gif
Content-Description: Code Image

R0lGODlheAGCAKIAAGNlY/99AP+mSgAA///btf//zv///ywAeAGCAAAI/gAPCBxIsKDB
gwgTKlzIsKHDhxAjSpxIsaLFixgzatzIsaPHjyBDihxJsqTJkyhTqlzJsqXLlzBjypxJs6bNmzhz
6tzJs6fPn0CDCh1KtKjRo0iTKl3KtKnTp1CjSp1KtarVq1izat3KtavXr2DDih1LtqzZs2jTql3L
tq3bt3Djyp1Lt67du3jz6iVKoK/fv4AJABhMuLDhw4gTK17MuLHjx4f3ShYYuLJftwAmS+5roLPn
z537Yh6sOS9nAwRApw5NAPOBzKXvnj4d2rPotpkJx647m/Zq1K1xvx6+e27v2baDs81NvHhc5H5R
J3fN3Pnz1dijs6be3Lpb5Kx//t9ePhy29+/YP/tWvpa5+fNswdueLrw6/Pi/Qatnr9b9/ba06Ucf
efb9l5ZllnH3noFnIViZggz2N5l/EEFm4YUYZqjhhhxuuNOCeFH4EIgRVkQiTSfWJaJDKZYYUYsx
wSjXig3JaFSBJeGokI0J8diSjxBWKBBpKqVIIpA6jpQkQkAa1GSRE5b34pBPZlTliN3lmOWOFl15
kpdo0chQdbD5VyaR5i2o22torukmmmzCWdhAczIJ55BUlkncmnGe2eKbeqYZJ5t5CqoTmGeJuRCZ
VDZakH3vRUpnc0mKaCmlY2IqKJEEQYrpQZLi6ameUuK5ZU2ImqUol6QaWqio/492Oummneo2qqaT
2ilnoQXOuWmdTsoKK617fpqqklEu2WNkrhqKY6ilRkvrtLPmGqypjAqLK6yLantpq8Z+mOypO0ra
rLUgQnurqVJSyy2557Lr6bvzXiuvtMXiS+5Mx5K16rKyutqntbX6eS+hA9/qLJ9O8hnpna8OPOiy
Bu9pK7bhHjpuk2D2y5HHNcIE8kcjg/Uvk13yy6mSK/8ormQng9rhzDTXbPPNkL2MFM4MY6ksQgIE
LfTQRBdt9NAussjziYoJBYCAUEetX5UxGySAR1cnnWlHTAtYMkkABKCY1waMXfZEVRc0QAFst912
RVlrzSWdM8NrQNB3C3D2SP5H9+230GEH4NnTnRFeduGIJ3743lP+fNDabQ8gOdsOCU1Q3HKjTPC+
KANw9NN6d6a353+XbvrpqAd++NOst8664oYT7mPTEEHO9uSUV4455pnbmy+pCNP97qN3ezY66sgb
/bHYgzefuOzOLz671xHZDsDkkgctENIHaL/97r33GHC74GKc2+fFi854SN5r5PphUxeeWOEj5m1/
k9ZfX4Dk3V+t/f9xa1/3wqc5jOVrc+1ikv3w9rWCCBAjhpOa82I3wdSlr3ikQ13+ALC/AfSvf95r
nwB5R0B2ZQl4WwqUAqdGkgdeJIISlB7ZymbB0GGwem0jTAc/CMAPfu9yJf70HWIOFqwl0U4kLuxS
DD8DPdjRj0UXPB7y8rc2/vWwhz8cCAlLCC0DpmtYBUxJEk0kP8JETXbzW9+iFjg6HLLtelUcQAgt
B0L/gS+I2vrdoHzlKCOyZIwUaeLimPi86MmufiysndtwV4CHjBCPeTRT48KIEkBarXSCfJ3rZOhE
NZZriIqMHO50d0dIdqdVGILXH7cItDF1kpCcHOQhJZI2gtjObbmbCCvD10XOiQ9Uq3SkK8tWGKm9
zzBPnGSTdgk3U5oQlFMCJtgKE4BqWtNDnVqiNgeHtmiRMnmlc6Yvu+W7PIbkPda0ZiAftbRuOk6c
JvFSz1QJtoKkM1c8av8gBL0JT5bkpjEN6xnTtGTPAAgrnzipZT/Pyc/hmdOEDyXZ1lRISX41dKEo
MROn5gnRjnrUIzK6GOf0+cKLYjSe5BufNGO1UpGEtJwstYlCT8q1i1aqoh+t6dxU2lIUmZSmyPrn
EP3UsoiO00oQRWhMUfVToDIURkjCKUiTutR4kTRl73RqTaG6R2xBbKkMJRTwelUtFPo0q1rdiOPG
+il6IkusknRPXHP6kpmmtaREddMzvSXVrTqmPEI1zFFXYte7muiAXowkAumq1j7VLKFNNWxjzVo+
fbnVpe28SWElS0teRcaABxzoNBM419IOFkpo5exhdQpTkmVWppFV7Qv+XwtWkAT2sZqNrWx7clWv
kkawv02MxSCb2t3mpLcW++0eDaZXxrqsuMbNbT1LJcnxfTG30I0uU6dLViOlkLin1S5sp9tRrtZW
JpsVb4wI+jHwIle9UyUvEaMJ2+zCV2TsbVSb6CbU1q7Xvvd1SYocFJitlbVYFFWTewMMlAET+C8G
vhcfqXve/4aXwXVNSICgNp5fouuU3FIwdi+MYZchZMMC6jAlF8Zcqo74vSUu6YnzAxzV8KenSH1x
jHni4BiqWGY8W/CONTZjG9vYX7odsokPsuEm39gr6VVyfgvi5COPJcpSfiuTaexkJAM4y1o2SJX3
42USg1m+VOaymsuVDOMzs0jDarayWLDs5vhu2cdPrkrTvlxnO4v5wZfZynX53Of2zhjQeaaKiJNc
6DDHpYuEbnSO5yIwRkvatioqr5kv3Vi63LTNnK4wbgYK6lDzd2moTrWGxFdqUy/WLpF2dSBVTeta
e6jVsnbuo3PtT1v7+tcA5bWwh03sYhv72MhOtrKXzexmO/vZ0I62tKdN7WpLNiAAOw==
--829612.1087229344316.JavaMail.quiq.tekken--




Re: build an application probleme with active x

2004-06-14 Thread Kerouac
Hello,

When you develop an application that contains ActiveX controls and
then create an executable out of it, the ActiveX controls need to be
registered with the target operating system at install-time.

First, have a look to the KB below:
How Do I Manually Register Type Libraries, ActiveX Controls, and
ActiveX Servers?
http://digital.ni.com/public.nsf/websearch/4F811A9B23F1D46E862566F700615B7A=
?OpenDocument

If you want to have the LabVIEW .exe installer register an ActiveX
dll, you can do as follow:

To have the LabVIEW installer register an ActiveX dll for you, write a
LabVIEW executable that uses the System Exec VI to register the
ActiveX dll. Use the same command string as you would use in the Start
=BB Run menu to register the dll. The System Exec VI is in Functions
Palette=BBCommunications.

When building the Installer under the Installer Settings=BBAdvanced...
Select Run executable after installation and add the above
executable to the Executable line. Therefore when the installer is
finished your executable that registers the dll will automatically
run.

Concerning your issue executables using VIs for database, check the KB
below if your building process is correct.
Building Stand-Alone Executables With Database Connectivity Toolkit
VIs
http://digital.ni.com/public.nsf/websearch/FCCCBC6B519CEC2E86256C95007E8FA9=
?OpenDocument

I hope this will help.
Best Regards.



Re: LabView for Linux

2004-06-14 Thread Jared Aho
Yes, NI-DAQ is the National Instruments developed driver used to
control National Instrument cards in Windows and Mac operating
systems. For Linux, National Instruments plug-in data acquistion
products use the drivers developed by the Comedi project. For more
information on this topic refer to a
href=http://www.ni.com/linux/daq_comedi.htm;Open Source Drivrs for
DAQ Products/a



Re: OPC et Drive Server OPC

2004-06-14 Thread Phb
je connecte directement les objets de la face avant 

ou sont les vi dis de compatibilit=E9?



Re: LabView for Linux

2004-06-14 Thread Philippe Bruyant
I didn't know that.
Thank you for the clarification.
Philippe



Compatibility issue with PXI1031, 64bit processor and windows xp

2004-06-14 Thread graduate student
stream data on a 64bit AMD dual processor.  Labview crashes once a
while.  Every time it fails, windows XP gets stuck at the loading logo
page and refuses to load.  is there a compatibility issue among the
64bit processor, the chassis and the OS?  i'm running labview 7.1.



Re: How can I get a Visa Reference Number on a Spectrum Analyzer?

2004-06-14 Thread Dennis Knutson
You must have a pretty old version of LabVIEW if you need a session ID
instead of just a VISA Resource. If that's the case, you need to first
use an VISA Open function in which you specify a resource name of
GPIB::18. The open function will return a unique ID that you wire to
either VISA Write/Read or a subVI in a driver.



Re: Application Builder and Fieldpoint

2004-06-14 Thread Sylvia V
Hello!

When creating a stand alone application using FieldPoint, you do not
need to go to the Advanced Installer Settings tab to include the
hardware configuration file. Just add the iak file as a support file
in the Source Files tab when building the executable. It is important
that the FieldPoint IO Point (tag) that you are specifying in the
program you will build the executable from, is contained in the iak
file you are including as a support file, otherwise LabVIEW will not
find the tag.

S. Vences
Applications Engineer
National Instruments



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

2004-06-14 Thread Jared Aho
All of the above is excellent advice on custom controls in LabVIEW.
National Instruments also has an Application Note located here, a
href=http://zone.ni.com/devzone/conceptd.nsf/webmain/A9FBCAA7A3D7922186256A3000652B56;LabVIEW
Custom Controls, Indicators, and Type Definitions/a. Check this out
for more information about creating your own custom controls.

In terms of finding custom controls already created, do a Google
search. You should be able to find quite a few websites that have
custom controls for free. It's just a matter of finding the one that
fits your needs.



Re: counter read buffer error 10800

2004-06-14 Thread Tiptop
Hello,


This is an interesting problem.  The gate frequency is affecting the
number read?  Let=92s see if we can figure this out.  If you could let
me know the answers to the following questions, I bet we can get this
solved.

1.)=09What version of NI-DAQ and LabVIEW are you using?
2.)=09Are you setting the Internal Buffer Size using the Counter
Buffer (NI-TIO).vi?  If so, what are you setting it to?
3.)=09Does the system work if you explicitly set the counts to read?
4.)=09As a general rule of thumb I would set the counts to read to
be half of the buffer size.  And the buffer size should be big enough
to hold AT LEAST two tenths of a seconds worth of data.  Does using
these rules help?

Try these suggestions out and let me know.  Also, have you tried using
an example program?  Does it work?  If not, where does it fail?

Best regards,

Justin T.
National Instruments



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

2004-06-14 Thread Mudda
If i use a sub-vi 3 times simultaneously in my main program. Do i need
to create that many of those sub-vi's and the VI's inside the that
sub-VI.

In my main VI, I am calling a sub vi to do math on the data. I am
doing this process simulataneously on the data collected from three
channels. I created three sub vi's with same functionality but with
different names so that they can be called separetly at the same time.
My question is do I also need to create that many copies of the
sub-vi's which I am calling inside the Sub-VI used to do math on the
data collected from channels?



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

2004-06-14 Thread billings11
But if you do that you still have to explicitly call that sub vi I
and you only update when you make the call.  You don't update in real
time.



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

2004-06-14 Thread billings11
Actually you you could do it that way I see what you mean.



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

2004-06-14 Thread billings11
Same thing, you have to explicity ask your FGV for an updated value.
Still not real time.



I run into the error BFFF0015 or -1073807339 very often

2004-06-14 Thread IBAHKA
I am attempting to write a driver for the Polhemus Fastrak for LabVIEW
7.0, but I am not sure what I am doing, so I'm not sure what the error
means.  Thanks!



Re: Help needed to build a VI for XPS

2004-06-14 Thread littlegreen
Thank you so much for your reply. Unfortunately I cannot open your
attachment since I am using Labview 6.0. But I really appreciate your
ideas.

Thanks again!



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

2004-06-14 Thread Ed Dickens
Simple answer is yes, you would need copies of the subvis also.
LabVIEW can only have one copy of a certain named VI in memory at a
time.

Unless...

You make the VI Reentrant. Setting a VI to reentrant causes LabVIEW to
open each instance of the VI in it's own data space, so it acts the
same as having differently named VI that are the same. You set this by
going into the VI properties, select the Execution catagory and
checking the Reentrant Execution checkbox. You wold also need to do
this on any subvis you want to run as separate copies. The propertiy
is not inherited.



Re: I run into the error BFFF0015 or -1073807339 very often

2004-06-14 Thread Dennis Knutson
When you right click on an error out indicator, the first line of the
dialog should be Explain Error. In your case, the error means VISA:
(Hex 0xBFFF0015) Timeout expired before operation completed. This can
often happen during a VISA Read. If there are no bytes to be read or
you ask for more bytes to read than are available, then the VISA Read
will eventually timeout. The VISA timeout is settable with a property
node so you may have to increase it. Its more likely that you have an
incorrect byte count or there are no bytes available for a read. Is
this a serial or GPIB instrument? Have you verified the commands
you're sending in MAX or anything else?



Re: Home automation, lonworks, eib, backnet, dali, etc

2004-06-14 Thread Khalid
pIf you look at the last paragraph of the following webpage, you
will see how National Instruments used the LabVIEW DataLogging and
Supervisory Control (DSC) module for their headquarter's building
automation.

http://www.ni.com/opc/opc_resources.htm

Echelon Lonworks was used to communicate with Siebe controllers via an
OPC Server.  I believe the OPC Server for LonWorks was from GesyTec:

http://www.gesytec.de/englisch/products/easylon/el_opc-server.htm

The LabVIEW-DSC module comes with built-in OPC support, tag
management, alarms, security, and is geared towards applications with
a high channel count.  You may want to evaluate if this is a good fit
for your application:

http://www.ni.com/labviewdsc

Regards,

iKhalid/ip



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

2004-06-14 Thread mhaag
Don,

Thank you for posting your question on the forum.  I have spent some
time looking at your code to see if something in LabVIEW or from your
coding jumped out at me as causing the problem.  Everything looks very
clean, and, having not looked at my statistics or correlation
functions in a while, I did not see anything obviously wrong.

One thing I did notice is that if you select a different subset, such
as 0 to 100, then the normalized correlation does come in at less than
1.  Because of this, it leads me to believe that there may just be
something slightly wrong with the code and the steps you are doing.

Again, from a programming standpoint it looks just fine, and maybe
someone else out here who deals with statistics and correlation more
often may be able to shed some light on the math side of your
application.

Regards,
Michael
Applications Engineer
National Instruments



How do I fit a curve with two independant variables

2004-06-14 Thread JohnWK
I have looked at the General Polynomial Fit.Vi and it seems to be made
for single variable functions (y=Fx).  My project has empirical data
from y=Fx,z.  I am sure LabVIEW does this but I am not sure how.  Can
someone point me in the right direction please?



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

2004-06-14 Thread CoastalMaineBird
Pass REFERENCES to the front panel controls thru sub1 -- sub2 --
sub3
In sub3, use an unattached property node - pass it the reference to a
specific control, and set its VALUE property to the new value.

Unattached property nodes are on the VI SERVER palette.



Re: Creating an exe with 6.1 and VISA

2004-06-14 Thread Steven B
Hi Jim,

NI-SPY should be installed when you install NI-488.2 on the run-time
machine.  You can find it at Start  Programs  National
Instruments.

Good luck!

Regards,
Steven B.
Applications Engineering
National Instruments



Re: Creating an exe with 6.1 and VISA

2004-06-14 Thread Baldy
I'm not using NI488.2. I don't believe it is installed on the run-time
machine. I am using these VISA calls with a serial port.

Is there another way to get NI-Spy?

Thanks.



Re: string format problem using read from spreadsheet file.vi

2004-06-14 Thread Jared Aho
It looks like you have just about everything correct. The last answer
was a good point, pointing out your format string syntax. If you are
not familiar with how to format strings, you should take a look at
this topic in under LabVIEW Help  VI, Function, and How-To Help.

I was able to get your application to work by changing the digits of
precision on the front panel array. Try increasing that number and you
should have your expected results.



Re: Help needed to build a VI for XPS

2004-06-14 Thread Jason Hobbs
Does the XPS have a serial port or some other type of communications
port?  Who is the vendor and what is the model number of the
instrument?  You may be able to use NI-VISA to connect to and control
this instrument.  Perhaps I can be of more assistance if you can
provide more details about the instrument.

Jason Hobbs
Instrument Drivers



read 2 simultaneous channels, with a CTR Out on pxi-6025E

2004-06-14 Thread weizbox
Im trying to read two channels on my pxi-6025E simultaneously as well
as put out a pulse train. Both sampling at about the cards max rate, I
need to put out a pulse train while they are reading, for about a
second. How would I go about doing this?

-Mark



Re: Custom Run-Time Toolbar in Labview

2004-06-14 Thread cplaw
I think the point has been missed, I mean Toolbar, I am already
using a custom run-time menu, I want to suppliment that with a custom
run time Toolbar in the same mechanism as the Labview toolbar (run,
run continuously, stop, pause, etc) but without any of the Labview
toolbar functions (which are currently Off) Hope this clarifies the
question.



error using coupling property for analog input in LabVIEW DAQ

2004-06-14 Thread NIST
I am trying to use the coupling property of LabVIEW 7.1 to apply AC
coupling to an input signal from a function generator.  I am using the
DAQ max icons to create the channel as well as start, read, stop, etc.
in my labVIEW program and am using the DAQCard-6062E. card for data
aquisition.  i am trying to use a property node to apply the AC
coupling and am getting an error message that says that 'the requested
value is not a supported value for this property'.  can you provide
any guidence?



Re: computer restart caused by MAX

2004-06-14 Thread Tiptop
Hello,


Did you uninstall MAX 3.0.1 and all of its sub components before
upgrading?

The reason that I ask is that NI-DAQ does not uninstall previous
versions before installation.  So if you install a new version over
top of an old version, then you will see unexpected behavior.

Whether or not this is the case, I think a full uninstallation and
reinstallation of NI software would be the fastest solution.  While
this may take some time, it is better then trying to troubleshoot the
issue piece by piece.

Here are the steps that should be followed.  Good luck!

Justin T.
National Instruments


1.=09Turn off the computer and physically remove or unplug all NI
hardware that you have installed on your system. This includes
anything that is PCI-, ISA-, USB-, 1394-, or ethernet-based.

2.=09Turn the computer on and go through Add/Remove Programs (START
=BB SETTINGS =BB CONTROL PANEL =BB Add/Remove Programs) and remove
everything NI-related. Generally, if you can remember, it is best to
uninstall things in the reverse order in which they were installed.
For example, if you installed LabVIEW, then NI-DAQ, and then the
Internet Developers Toolkit for LabVIEW, you should uninstall the
Internet Developers Toolkit first, then NI-DAQ, and then LabVIEW last.

3.=09After everything has been removed (do not be concerned at this
point if an item still shows up in the Add/Remove Programs list after
you have removed it), close all programs and restart your computer.

4.=09Go back into Add/Remove Programs. If anything that you removed
in step 2 is still listed, write down the entry in the list exactly as
it appears. These will be removed by manually editing the registry as
outlined below.

5.=09Go to START button of your operating system, choose RUN and
type regedit. This will open the Registry Editor window. Go to the
Registry Menu and choose Export Registry File. Select All for the
export range, and select a file name. This creates a backup of the
Registry in case a mistake is made when deleting the keys.

6.=09Remove the following registry components from the Windows
Registry:

=09HKEY_CURRENT_USER\Software\National Instruments  -- Delete
=09the entire tree!
=09HKEY_LOCAL_MACHINE\Software\National Instruments  -- Delete
=09the entire tree!
=09HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\PCI\ or \ISA
=09and delete registry entries containing any keys with 1093 in them.

=09Do not worry if any of these trees are not listed. If you have
=09Administrative rights, and you still cannot delete these keys, that is
=09also OK.  Continue with the remainder of the process .

7.=09Close regedit.

8.=09Make sure that you do not have any of your own VIs or other
files saved in the C:\VXIpnp, C:\Program Files\National
Instruments, or C:\WINDOWS\nidaq folders. If you do, copy them to a
different location. If you are concerned about keeping old virtual
channels and your SCXI setup intact, then backup the
C:\WINDOWS\niconfig.daq file, too.

Delete all folders and files mentioned above!!!

=09Note: If you have Windows NT/2000, replace C:\Windows with
=09C:\WINNT in the paths listed above.

9.=09To be thorough, you can use Microsoft=92s Clean Up Utility.
Pasted below is a link to this utility and directions for use.

http://support.microsoft.com/default.aspx?scid=3DKB;en-us;q=
240116


10.=09Reboot your computer.

11.=09You should be ready to install your software.  For the
cleanest possible install, first install all of your application
development software, such as LabVIEW, Measurement Studio, TestStand,
etc.  Reboot your PC when requested after each install.  Now install
your driver software and follow the associated user manuals.

12.=09Finally, shut down and re-install your hardware. When you boot
back up, it should be detected in MAX.



Re: Custom Run-Time Toolbar in Labview

2004-06-14 Thread Dennis Knutson
You cannot modify the LabVIEW toolbar except to turn it off. The only
ways I know of to create your own is to use Booleans with custom icons
and a decoration as a background or use an ActiveX control (i.e
Microsoft Toolbar). If you use either, snug it up against the LabVIEW
toolbar and have the LV toolbar turned off when running, the custom
toolbar will appear in place of the LV one. You would also have to
turn scrolling off because otherwise the custom toolbar would scoll on
the front panel along with other front panel objects.



Re: UML tools best suited for Labview GOOP

2004-06-14 Thread KileenC
Hi Edward,

You'll want to consider using ObjectVIEW, a product by Vogel
Automatisierungstechnik GmbH.  The following tutorial provides some
more information:
a
href=http://zone.ni.com/devzone/conceptd.nsf/webmain/A401A47C4DCB81D186256BF3005DD3E2?opendocument#4;G++
with ObjectVIEW: A New Concept of Advanced Object-Oriented LabVIEW
Programming/a

Vogel Automatisierungstechnik GmbH's website also allows you download,
although the page is in German.
a href=http://www.vat.de/;http://www.vat.de//a

Hope this helps!

Kileen C.
Applications Engineer
National Instruments



Re: how can I use a pc-tio-10 card to count encoder pulses...

2004-06-14 Thread Tiptop
Hello,


I know you can do this in LabVIEW, there is a shipping example of how
to do so. (=93Count Events-Easy (9513).vi=94)

What development environment are you using?  What version on NI-DAQ
are you using?

Justin T.
National Instruments



Case Statements

2004-06-14 Thread Kura
I'm working on a program and have a problem with a case statement. I
have a tunnel spitting data out of case 1, but the program refuses to
compile because I don't have any data exiting the tunnel for case 0.
But the thing is, I'm building an array, and don't want anything from
case 0 added to the array. How do I fix this?



I need to read an unsolicited serial variable string.

2004-06-14 Thread gosenbach
Hello,

I am new to LabVIEW and I am working on my first app.  I have a serial
device that I am trying to read from.  This device periodically
broadcasts a string containing 17 numeric values.  Each value is
delimitated and of a variable length.

I need to monitor the serial port and when the data comes in I need to
parse off the different variables and make them available to the rest
of the program.

Any suggestions on where to start and how I might do this would be
appreciated.  Thank you in advance.



application builder is missing in labview under tools

2004-06-14 Thread Paul DeGroot
I have a PXI-8170 CPU along with an 8210 (SCSI  ethernet), 3 - 7144
motion cards, 2 - 1422 vision cards, 1 6031E DAQ card, 1 - 8421 RS-485
4 port card, 1 - 8422 RS-232 4 port card in an 18 slot PXI-1006
chassis.
I installed Windows XP and the updated driver for the graphics adapter
and have that all working (Ethernet is not working and I have not
installed the 485 and 232 drivers yet).
However, after installing Labview 7.0 full development version
(complete install), I do not have the build application  or shared
library showing up under Tools.
I have checked and the applibs folder is not under the Labview 7.0
folder and also the software is not listed under NI MAX.
I have used the same CD on my Laptop running Windows 2000 and had no
problems.
Is there a problem with XP or using Labview 7.0 on a PXI 8170 CPU?
I also called about getting a replacement ethernet PXI card that will
work under XP, but have not heard anything back?



Re: Case Statements

2004-06-14 Thread altenbach
Joe,

Actually use default if unwired has nothing to do with any default
case and does not require the presence of a default case. It simply
assigns the default value for the given data type to the output tunnel
in cases where it is not wired.
(examples: a DBL gets 0, a boolean gets false, a string gets empty
string, ...).

Kura,
Are you are building an array in a loop coming from a shift register?
In this case you would wire the existing array across so nothing is
added unless the other case is selected. If you leave it unwired and
set to use default if unwired, your entire array would be replaced
by an empty array.

If I did not understand your problem correctly, please clarify and
maybe show a small example.



Re: Case Statements

2004-06-14 Thread jhoskins
Make case 1 the default case then right click on the tunnel and select
use default if unwired.

Hope this helps

Joe



Re: Help needed to build a VI for XPS

2004-06-14 Thread littlegreen
Hi,

  The device that we are using is NI-DAQ (PCI-6035E).

  Thanks a lot!!



Re: LV7 How to click on an xy chart and identify the data point selected

2004-06-14 Thread Greg McKaskle
 Yes, I agree it is not very pratical. I would prefer if the true x,y
 coordinates could be obtained directly in the event structure.
 
 In addition to the Coords terminal, we also need a terminal that
 provides the coordinates directly in the true plot units. That would
 definitely be very useful.
 

I'm not sure when the capabilities will be added, but be sure to look at 
the invoke node's methods and at external VIs that do coordinate 
transforms.  Because there are possibly many scales, it would take a 
large number of events to handle the various combinations, so the more 
likely way for this to wake is to have the pixel coordinate returned in 
the terminal along with the graph reference.  You can then pass this 
info into a function along with the desired scales that you want it 
mapped to.  Like I said, I'm not sure when this will appear, and I 
suspect there may be some VIs on devzone or other sites to do this, and 
in the future more of this may be built into graph methods.

Greg McKaskle




  1   2   >