Unable to lock memory chunk, unable to allocate memory

2004-04-20 Thread Matute
I am running a simple program in my PDA using Labview, the PDA has 95
% of memory free on both, storage and program memory. This .exe is
only 524k and I am reading a .wav file of 56k. I am gettin errors as:
"Unable to allocate memory" or "unable to lock memory chunk". Whay is
that?, all my memory is free (64 MB), can somebody give me a solution?

Matias



logging / error management

2004-04-20 Thread Olivier Zimmermann


I am looking for information on two frequent programming topics:
* logging (on file, screen, with data, messages, errors...)
* error management (how to filter, how to structure error info, how to 
deal with it automatically...)

Do you have personal habits, advices, tools, principles... or know of 
any resources about it (design patterns, general or LV specific 
contributions or papers...) ?

oz




More serial comms [W]

2004-04-20 Thread Steven Hammer
Thinking of Craig's earlier serial problem, I thought I might share a 
problem I had with using LV with a VISA serial communications setup on 
Win2K and XP.

If you set the serial port settings using "VISA Configure Serial 
Port.vi" to whatever baud rate, parity, flow control etc. that you want, 
sometimes you just get nonsense sent to whatever device you've got attached.

I found that you have to set the serial port settings in "Control Panel 
-> System -> Device manager" to match your VISA settings. Otherwise 
chaos ensues...

Do other platform users have this sort of problem; is it solely a 
Windoze thing; or am I just daft?

Steven
--
Steven Hammer
Research Associate
Institute for Materials and Processes
The School of Engineering and Electronics
The University of Edinburgh
United Kingdom
Email [EMAIL PROTECTED]
Web   http://www.see.ed.ac.uk/~shammer1



Unable to access labview general zone from NI's website

2004-04-20 Thread Joe
Hello, can anyone else access it?  What's the best alternative to it? 
I use google group but it seems not all the posts are updated at
comp.lang.labview .
Thanks,

Joe



RE: simultaneous input output

2004-04-20 Thread Michael Yakimov
Stephan,

I had a quite similar problem some time ago - it was discussed in this
list.. The best solution turned out  using  hardware synchronization of
digital/DAC output to trigger line of ADC is an easiest way..
However, the major question is- how much time is actually allowed between
"simultaneous" events.. Couple of microsecond is the best you can really
expect from general purpose DAQ systems..

Mike

> -Original Message-
> From: Stephan Pirskawetz [SMTP:[EMAIL PROTECTED]
> Sent: Friday, February 13, 2004 9:19 AM
> To:   [EMAIL PROTECTED]
> Subject:  simultaneous input output
> 
> Hi,
> I try to create  analog output signals (sine waveform or somthing like 
> that)  using the NI PCI-6731. At the same time I want to read  two or 
> more analog signals from the NI PCI-6036E. When I start my Programm it 
> first produces the output signal and after that it begins to read from 
> the analog input. What I have to do to read and write simultaneous?
> 
> Regards
> Stephan
> 
> 
> 




Re: Agilent 5973 GC

2004-04-20 Thread jason . hobbs

Dave,
I am not aware of any LabVIEW driver for the Agilent 5973 GC.  We are currently developing a driver for the Agilent 3000 micro GC.  Do you have any details about the communication protocol for the 5973?  I can't find any documentation on Agilent's site.  I'd be interested in seeing how closely it resembles the communication protocol of the 3000 uGC.  I'd also be interested in collaborating or assisting in driver development for the 5973 if possible.  Let me know if you have additional details.

Thanks,
Jason Hobbs
Instrument Driver Group Manager
National Instruments

logging / error management

2004-04-20 Thread Olivier Zimmermann


I am looking for information on two frequent programming topics:
* logging (on file, screen, with data, messages, errors...)
* error management (how to filter, how to structure error info, how to
deal with it automatically...)

Do you have personal habits, advices, tools, principles... or know of
any resources about it (design patterns, general or LV specific
contributions or papers...) ?


oz




simultaneous input output

2004-04-20 Thread Stephan Pirskawetz
Hi,
I try to create  analog output signals (sine waveform or somthing like 
that)  using the NI PCI-6731. At the same time I want to read  two or 
more analog signals from the NI PCI-6036E. When I start my Programm it 
first produces the output signal and after that it begins to read from 
the analog input. What I have to do to read and write simultaneous?

Regards
Stephan





[W] Volume License Manager (VLM) feedback

2004-04-20 Thread Morrissey, John
Hello all,
I'm in the process of upgrading our LV and TestStand environments to LV 7.0
and TS 3.0 and have some concerns about using the VLM to control our
(development and production) areas.  Currently we have more LV, TS and TS
Debug Deployment licenses then we use, so I don't have a concern about Big
Brother watching over us, but I don't like the idea that the VLM can shut
off our testers if the server is off line (even if it does take 2 weeks).
The setup and removal process also appears to be more complicated then in
the past (which was just handing out the CDs and updating my license
spreadsheet).

If there's anyone out there who has used this system to manage a group of
LabVIEW and TestStand licenses I'd appreciate some feedback.  Our NI reps
say the response has been overwhelmingly positive, but I'd like some
information from actual administrators.  Are there others who feel the same
way?  Is anyone else not using it to manage a multi-user environment? Is it
hard to move licenses?  Feel free to respond either to the group or
off-line.

Any information would be appreciated.
John

John W. Morrissey[EMAIL PROTECTED]
Principal Test Engineer  Sycamore Networks
220 Mill Road   Chelmsford, MA  01824  (USA)





Floating Object Error (W)

2004-04-20 Thread Steven Hammer
Hi all,
I just experienced an odd LV error message.
I was trying to wire the output from a decrement function onto a FOR 
loop count terminal. The decrement was wired to a numeric control. The 
error message says:

"You may not wire to a floating object. Move the object to where it 
belongs and then wire to it".

Any ideas as to what it means?  There's nothing in the LV help prog nor 
in DevZone. What is a floating object?

Steven
--
Steven Hammer
Research Associate
Institute for Materials and Processes
The School of Engineering and Electronics
The University of Edinburgh
Email [EMAIL PROTECTED]
Web   http://www.see.ed.ac.uk/~shammer1



Re: Floating Object Error (W)

2004-04-20 Thread Stephan Heising
Steven Hammer wrote:

Hi all,
I just experienced an odd LV error message.
I was trying to wire the output from a decrement function onto a FOR 
loop count terminal. The decrement was wired to a numeric control. The 
error message says:

"You may not wire to a floating object. Move the object to where it 
belongs and then wire to it".

Any ideas as to what it means?  There's nothing in the LV help prog nor 
in DevZone. What is a floating object?

Steven
A floating object is a terminal which is placed over a loop but not 
inside. Move the terminal in and out of the loop and it should work.

Stephan
--
Stephan Heising Tel: +41 56 310 5227
Paul Scherrer Institut  Fax: +41 56 310 5230
OFLC/011
CH 5232 Villigen  e-mail: [EMAIL PROTECTED]



Re: Open application from labview

2004-04-20 Thread Paul Cardinale
nicola <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> How is possible open a file from labview?

If you want to run an external application,
use Functions -> Communications -> System Exec

Paul Cardinale



Pocket PC browser

2004-04-20 Thread Matute
How can I create a browser in Labview PDA Module ?, is unconfortable
to write the file path and name each time I want to open a file.

Thanks

Matias



Re: Vi Text Modification?

2004-04-20 Thread jpo
Thanks.  That provide an answer to my question.

John

On Tue, 9 Mar 2004 14:18:38 -0600 (CST), Dennis Knutson <[EMAIL PROTECTED]>
wrote:

>The answer to your question is in my answer to the original post. If
>you right click on the board with the color tool, you'll see the box
>in the lower left corner with two different colors. One is grey and
>the other has a T in it? These are the foreground and background
>colors of the border (I don't know which is which). The T box has a
>white line around it. This is the one that's currently selected. If
>you hit the space bar once, the white box disappears and you can apply
>the selected color to both foreground and background. Hit the space
>bar again, and the white box moves to the left around the grey. The
>selected color will then apply only to that area.




Dialog tab control - first tab selection

2004-04-20 Thread Stephane Caron
Hi,

I'm using LabVIEW 6.1.
I use a dialog tab control containing 3 tabs in an interface. I want the
first tab to be the default one, so the very first thing done when
starting the interface is to activate the first tab programmaticaly.
Also, when I save the VI, I make that first tab the active one and make
a little change in it to make sure the front panel is saved this way.
My problem is that when this interface appears for the first time, the
last tab is selected instead of the first one just before the selection
is made programmaticaly. It lasts a fraction of second, but it's enough
to look strange to the user.
Note 1: the same behaviour happens when the VI is compiled.
Note 2: that vi is called by another vi, it's not the main one.

How can I make the first tab the default one at all time, or what am I
doing wrong ?

Thank you, 

_
Stéphane Caron, Eng.
Corp. Scient. Claisse Inc.




RE: GPIB

2004-04-20 Thread Michael Yakimov
Gokul,

I have several  Kith 23x around controlled from LV- and they are running
flawlessly. Regarding puting the code in the loop -  probably you're trying
to get the data too frequently. These units have their integration time, so
they cannot exceed that frequency in any case..

Mike


> -Original Message-
> From: Gokul [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, March 11, 2004 11:04 AM
> To:   [EMAIL PROTECTED]
> Subject:  GPIB
> 
> Hi, 
> 
> I am still having problems with the Keithley 237 and
> HP Agilent 34401A. Probably my previous post was too
> wordy, that I did not get any replies. Sorry about
> that. I use the Keithley Example program downloaded to
> acquire the data from the instrument at GPIB Addr. 16.
> If I put this example in a loop and try to acquire
> continuously, the system gives me an error saying "NI
> 488: Error connecting to the device/driver" - Error 0
> occured at Keith 237. 
> Could anyone shed some light on this and about
> continuous acquisition with such instruments.
> 
> Thank you, 
> 
> Gokul
> 
> __
> Do you Yahoo!?
> Yahoo! Search - Find what you're looking for faster
> http://search.yahoo.com




LV Front panel controls get locked

2004-04-20 Thread rk1960in
Hi! All,
I am developing a LabVIEW program password
verification. 
Front  Panel Controls do not respond and get locked
up. To regenerate the error do the following
1. Enter the password "employee1"
2. Press LOGIn button
3. Press CLOCK OUT button
After this the front panel controls gets locked and
does not take any value.

If you try to give the password as employee2 and
perform the above steps..the front
panel gets locked up.

The only case it keeps working is when password is
"employee1" and everytime "ClockIN" 
button is selected.

The BD has an event case for the controls "Clock In" and "Clock Out".
I have tried to debug and everything seems rightis there a way I
can attach the snap short or the VI itself? If not then in case anyone
wants to have a look at the VI can can send it to his/her email ID.
Any help is appreciated!!



Digital Control and Indicator Background Color

2004-04-20 Thread Jacoby, Kenneth
I would like to programmatically control the background color of the digital
controls and indicators on my front panel, but I cannot find that property
listed on the property node for the indicators/controls.  It seems to me
that changing the background color of these would be a common thing, so I
must be overlooking something.

If someone could clear up my fuzzy vision and help me see the solution, I
would greatly appreciate it.

Ken Jacoby
Bechtel Nevada, Livermore Operation




LV Front panel controls get locked

2004-04-20 Thread rk1960in
Hi! All,
I am developing a LabVIEW program password
verification. 
Front  Panel Controls do not respond and get locked
up. To regenerate the error do the following
1. Enter the password "employee1"
2. Press LOGIn button
3. Press CLOCK OUT button
After this the front panel controls gets locked and
does not take any value.

If you try to give the password as employee2 and
perform the above steps..the front
panel gets locked up.

The only case it keeps working is when password is
"employee1" and everytime "ClockIN" 
button is selected.

The BD has an event case for the controls "Clock In" and "Clock Out".
I have tried to debug and everything seems rightis there a way I
can attach the snap short or the VI itself? If not then in case anyone
wants to have a look at the VI can can send it to his/her email ID.
Any help is appreciated!!



Using BEI Encoder as a trigger for DAQ

2004-04-20 Thread David Arthur
Hello,

I have a BEI rotary encoder which I am using with a NI PCI-MIO-16E-1
DAQ card.  I would like to trigger the acquisition of an analog input
every 10 pulses of the BEI encoder.  I would also like to display the
pulse frequency as a RPM display on my front panel.  I have read the
document "Using Quadrature Encoders with E Series DAQ Boards" and have
tried using the "Measure Frequency (DAQ-STC).vi" in order to display
the frequency but I can't seem to figure it out.

If there is anyone who can help me I would greatly appreciate it.

Cheers,
David A.



RE: LabVIEW to Excel wierdness

2004-04-20 Thread Harden Chris
Hi Alvin,

Sounds to me like you need to try and get back to a system that runs your
original setup, i.e. Excel 2000 & whatever OS you previously used.

I have some experience of ActiveX calls to Excel, but have not yet tested
old apps with the new version of Excel.  My suspicion would be that it is
the Excel upgrade that has caused this issue.  It also sounds like part of
the problem is that the file itself is not opening - can you set the ActiveX
property to 'visible' so that you can prove to yourself that the file is
correctly opening before going any further with your investigations?

Best wishes,


Chris Harden.

Test System Design Engineer.



> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On
> Behalf Of [EMAIL PROTECTED]
> Sent: 18 March 2004 16:45
> To:   [EMAIL PROTECTED]
> Subject:  LabVIEW to Excel wierdness
> 
> 
> 
> 
> 
> Dear Folks,
> I have a LabVIEW app that writes report data out to disk as a
> tab-delimited
> text file, then triggers an Excel macro. The excel macro is an auto-open
> macro, so I have a vi which opens the macro.xla file, then an ActiveX call
> from LV that tells Excel to run the auto-open macro. This has worked fine
> in the past, for previous projects, but on a recent project (in which I
> copied over the same vi's from the old project) I could not get it to
> work.
> Now labview opens the text file in excel, opens the macro.xla file, then
> instead of running the macro Excel just closes both files and nothing
> seems
> to happen. I tried several different things with timing, thinking maybe
> the
> text file wasn't completely open when the macro was triggered, or some
> such, but to no avail. I put a pop-up message box in the macro at the
> start, and that works, it pops up, but after I dismiss it I see the same
> behavior.
> 
> This morning, I loaded my old app, and to my surprise it no longer worked
> either. The only change in Excel is I recently upgraded to Office XP, so
> now it is Excel 2002 vs maybe Excel 2000 before. I have had to fiddle with
> the ActiveX calls before for changes in Excel, but I tried all the usual
> fiddling (delete and redrop the invoke/property nodes, change the property
> to something else and back again, recompile the vi) made no difference.
> Does anyone else have any experience with this? I am really doing very
> little with ActiveX, just having Excel open a text file, open a macro
> file,
> and run the xlauto_open macro, then waiting until the number of open
> worksheets goes to 0 so I can close Excel.
> 
> Thanks in advance,
> Alvin
> 
> Alvin W. Moore Jr.
> Measurement Systems Programmer
> Research, Development, and Engineering
> Corning Cable Systems
> Hickory, NC

This e-mail and any files transmitted with it ("E-mail") is intended solely for the 
addressee(s) and may contain confidential and/or legally privileged information.  If 
you are not the addressee(s), any disclosure, reproduction, copying, distribution or 
other use of the E-mail is prohibited.  If you have received this E-mail in error, 
please delete it and notify the sender immediately via our switchboard or return 
e-mail.  

Neither the company nor any individual sending this E-mail accepts any liability in 
respect of the content (including errors and omissions) and timeliness of the E-mail 
which arise as a result of transmission.  If verification is required, please request 
a hard copy version




Re: OT: E2050 vs E5810

2004-04-20 Thread Eckhard Neber
Les Hammer wrote:
> As long as you find the right people.  :-)
> I did the upgrade on the E2050B, and some firmware development on the
> E5810 before leaving Agilent.  My buddy down the hall at TAMS
> (tamsinc.com) - which is the source of HPUX these days, was the E5810
> project manager.  So we have experience.  :-)

Maybe more than the german support ;-)

> You should be able to use the new E5810 with the old system.  They
> both use the same protocols.  It would be easier to support if you
> upgraded your library (available from TAMS), but it shouldn't be
> necessary.

Thanks. I know the TAMS-library and it would be nice to use the linux 
version, but it is a bit picky about the kernel it runs with.
We currently have a student working on a linux implementation of the 
SICL functions we use in our tools, but I couldn't find any 
documentation on how to access the serial port.
Do you know how serial port is addressed?

Eckhard



Control events

2004-04-20 Thread Oliver Friedrich
Hallo community,

if a value of a control gets changed it generates an event which can be 
handled by an event structure.
I have a file path control and a button. Usually these controls are 
operated via mouse.

Do they also generate an event if their values are changed by VI Server?

Thank you

Oliver Friedrich



request from an experienced newbie.

2004-04-20 Thread lvlist
Hello Group,

Please could someone suggest how to approach & begin creating the 
 following in LabView?...  I've already done lots of procedural and 
 event-driven programming, and have worked my way through the most part of 
 the main LabView 7 evaluation tutorial.

Background: We're about to start using LabView to create an automated 
 test environment. We have chosen LabView over Visual Basic as we think 
 that LV ought to manage comms and file handling more easily, and allow 
 later modifications to be made more simply (by non-programmers) than 
 having to wade through reams of hostile-looking code! --- Right or wrong??

Basically, we need to:

1) have on-screen buttons to let the user select different sequences of 
 GPIB commands which are sent to a remote test instrument;
2) display messages to the user, depending on certain conditions (e.g. 
 comms success/failure, reaching a certain point in the execution of the 
 GPIB commands, etc.);
3) branch to and/or loop around the different blocks of required command 
 sequences;
4) have LV interrogate the instrument for the resulting data;
5) perform operations on the data, including arrays of complex (real & 
 imaginary) numbers;
6) re-arrange the array/s and save as a .csv (comma-separated variable) 
 flat file for use by Excel etc.

As I said above, just knowing the local descriptions of the required 
 building blocks would be a good start.

Many thanks in advance,

Matt Rhys-Roberts
Electronics & IT Engineer,
UK

PS. Furthermore, does anyone here ever chat online about LabView matters, 
 e.g. on IRC, MSN, whatever?

(I hope my enquiry hasn't come at a bad political time for this group!)





Re: Let's have election!It is fun:)

2004-04-20 Thread Arlen P Walker
On Thursday, March 18, 2004, at 09:37 AM, = Michael Aivaliotis = wrote:

As far as adding
features such as attachments and HTML, this is a major change from the 
previous operation.
Can I vote "No" on this? I get enough virus-laden email as it is, I 
don't need yet another infection vector!

Have Fun,
Arlen
--
In God we trust, all others must supply data



Info-LabVIEW New Host & Administrator (was: Let's have election!It is fun:))

2004-04-20 Thread Michael C. Ashe
Howdy Ya'll,

Political Puns Prologue: It has been said that the best form of government
is a benign democratic dictatorship, where things generally free-run as long
as everyone behaves, and the dictator exercises their absolute authority
very infrequently and always to the benefit of those being governed.

The fly in the ointment, historically, is finding benign dictators. ;-) I
think this list has been blessed by Tom's leadership over the years and I
wish him (and our list!) the best. We should be so lucky to get another
administrator as fair and stable as Tom has been.

Personal Opinions:

HOSTING: I favor hosting the list with an institution, not an individual.
The hosting of the list should be officially sanctioned and supported by the
institution, with clear guidelines as to succession should the Administrator
pass on or resign. In addition, a couple (a few? ... but not a lot!) of
official mirrors should be set up at other institutions to preserve list
continuity and integrity.

FORMATS: I favor text only, with URL's to attachments. i.e. you can post
ONLY text messages (no HTML), but include attachments in your post to the
List Server. The Server does not pass the attachments on to the subscribers,
instead it stores the attachment(s) (and virus scans!) and substitutes a
URL. That way the bandwidth stays lean and readable, while providing a
simple method of optionally exchanging (or ignoring) binary data. People can
still easily parse/search digests, etc, I would be surprised if open source
tools & PHP don't already exist for this and also provide a separate web
page to allow for and track threads.

RESPONSES:
"Scott Hannahs" wrote:
   >... I counted the votes last night and it
   >was a simple 5 to 4 decision!

 RESPONSE->Scott, multiple personalities don't count...
   1 body, 1 vote   ;-)

"R. Glenn Givens" wrote:
   >I think Scott & Michael and, if necessary, a few of
   >the main contributors to the list should get together
   >...& decide who will take over...
"Michael Aivaliotis" wrote:
   >...the final choice I guess will be Tom's ... I will
   >go along of course. ... So, i think if a change to
   >the behaviour is required, we can take a poll and let
   >the members decide. ... do I sound like a politician?

 RESPONSE->"A committee is a life-form with six or more
   legs, and no brain."
   "Democracy is a poor system, the best that can
   be said about it is that it is ten times better
   than the next best system."  - R.H. Heinlein

"Urs Lauterburg" wrote:
   >My vote ... goes to Scott Hannahs, if he [and Florida
   > State U.] is willing to dedicate [resources).
   >Tom will have to decide to who he wants to hand the
   >service ... over [to]. Whatever solution will be chosen,
   > the list should by no means be split up again.

 RESPONSE->I agree, Scott and Florida have my vote, but I
   would encourage Tom (and Scott) to get Florida
   to set up something official and written. Not a
   lot of legalese, just commitment & common sense.

Cheers from the New England freezer...
Mike
***
Michael C. Ashe Imaginatics
Control & Test Systems
11 Quinley Way
Waterford, CT 06385
Phone: 860-444-2141
Cell:  860-961-0876
email: [EMAIL PROTECTED]
***






How to obtain the frquency of a line profile...

2004-04-20 Thread napoleon
Hi, 

I have a line profile from a line traced on an acquired image of a Digital Camera and 
I need the frequency of this line profile... Excuse me for my bad english, I'm 
french...

Thank you

Bye




RE: LabVIEW to Excel wierdness

2004-04-20 Thread Morrissey, John
Alvin,
Although I don't have a direct answer to your question, I had a similar
frustrating experience with LabVIEW and Excel earlier this year.  I was
seeing strange Excel/ActiveX behavior that took almost a week to isolate and
fix.  In my case (using Excel 2000) I was making updates from LabVIEW via
ActiveX and had different behavior in LabVIEW vs. a LabVIEW Application
(built executable).  In the built executable Excel would lock up, but in the
LabVIEW environment it worked fine.

After fighting with it for several days I found the cause to be the way I
was handling a worksheet refnum.  In one section of my code I had a refnum
going to a case structure where 2 different operations occurred; in one case
I used the "Activesheet" property whereas the other I used a user defined
sheetname.  To make a long story short, the case structure worked fine in
LabVIEW, but not when built as an application.  I ended up doing both
operations in series and ignoring the information I wasn't looking for.  One
way I could detect the problem was when I looked in the task manager I would
see Excel open when it should have been closed.

So as a long shot suggestion, I guess I'm saying that I've also see
behaviors in LV/Excel that seem to cause latent issues that are very hard to
isolate.  Perhaps you are seeing the same issues I saw since you are opening
and closing worksheets.  If that's no help, at least take some solace in
knowing someone else "feels your pain".  

Let me know if you want more information about what I saw and how I fixed
it.
John


John W. Morrissey[EMAIL PROTECTED]
Principal Test Engineer  Sycamore Networks
220 Mill Road   Chelmsford, MA  01824  (USA)
Tel (978) 367-8041Fax (978) 250-9405
Pager [EMAIL PROTECTED]





Re: Let's have election!It is fun:)

2004-04-20 Thread Enrique Vargas
Wow! So many e-mail filters and restrictions! Is there any doubt the 
phrase "Internet Security" is an oxymoron?

Anyway, here is my vote for text only, no attachments.

Enrique Vargas
www.visecurity.com



User event

2004-04-20 Thread Oliver Friedrich
Hallo,

I have VI1 which can generate UserEvent1 and UserEvent2 with the 
CreateUserEvent and GenerateUserEvent VIs.
Now I want VI2 to be registered to these UserEvents. How can I do that?

1) I used a CreateUserEvent in VI2 and created an event with the same name 
on the data type than that one in VI1. But it didn't work. So it seems 
Event1 in VI1 is not the same as Event1 in VI2?

2) Do I have to pass all the UserEvent refnums from VI1 to VI2 to register 
in VI2?

3) Generally, are these events queued up, if the next event is generated 
before the event structure handled one event. Can I loose events?

Thank you for your help

Oliver Friedrich



All those things they try to hide

2004-04-20 Thread Norman Kirchner
For anyone who's interests were peaked at the new code generation capabilites of LV7,
Check out the directory

C:\Program Files\National Instruments\MAX\Assistants\LVCGen\

There are many files to poke through.
A good simple file to look at that will wet your whistle
is in the LV70 Dir
mxwScript_CleanUpWires.vi

~,~ The Captain was here




exception error only w/ an .exe built from LabVIEW

2004-04-20 Thread Himes, Allen
Hey guys, 

I created a test that takes a relatively long time to complete (~6 hours
over all temperatures).  In order to avoid eating into my development
time, we wanted to use a computer running a stand alone .exe file built
from this Labview program.  The build process runs smoothly, but I've
had a lot of errors cropping up once I start the .exe program.  I
installed the LV Run time engine, NI-Visa, and all the .dlls associated
with this program (tktds7k_32.dll, instrup.dll, and a usb driver needed
for some in house software that I'm controlling).

One particular computer was giving me fits (a compaq), so I switched it
out for a newer, faster dell machine.  All the libs copied over fine,
but once I ran the program, it gave me the following error about an hour
into the test.  This is the same error that I was getting with the
Compaq machine, but with the Compaq, it would bug out within 5-10
minutes.  The node and subVI mentioned are always the same.

"LabVIEW:   An exception occurred within the external code called by
a Call Library Node.  This might have corrupted LabVIEW's memory.  Save
any work to a  new location and restart LabVIEW.

VI "Jitter Test with Temp.vi" was stopped at node 0x410 of subVI
"tktds7k Set Measurement Source.vi"."

I just realized that my development machine is running Windoze2k and the
target machine is running WinXP.  Could that have something to do with
it?  When I ran the .exe file on my development machine, it ran through
the whole test without any problems.  I left it over the weekend and
when I came in, it had finished without generating this error.  What
could be different between the two computers?

Also, sometimes, the .exe file won't even start on the target machine
because there are communication errors with my scope and other system
components.  They vary between these messages:

*  tktds7k Initialize.viDriver Status:  (Hex 0xBFFF0039) Unable to
queue the asynchronous operation because there is already an operation
in progress.
*  tktds7k Initialize.viDriver Status:  (Hex 0xBFFF0078) The value
of some parameter (which parameter is not known) is invalid.

And finally, whenever the .exe application is closed, there is an error
that an instruction at location "0x7343FF3F" could not read the memory
at the same location.  This particular error happens on either the
target machine or the development machine.

Does anyone have any ideas about these errors?  Even references to
documentation about the application builder would be greatly
appreciated.  (I've had some trouble finding any details about the app
builder in the Labview manuals.)

Thank you, 

allen




All those things - UPDATED

2004-04-20 Thread Norman Kirchner
I found the specific unprotected files in the LV70 Dir

C:\Program Files\National Instruments\MAX\Assistants\LVCGen\LV70\

Looks like someone forgot to protect the clusters  

mxwScript_CleanUpWires.vi
mxwScript_ClusterConnector.vi 

Frequency...

2004-04-20 Thread napoleon
hi

I have an image acquired with a pulnix digital camrecorder and this image
is in fact an array of striates. I draw a line on my striation image and i
take the line profile. Now I want to find the frequency of the striation,
i tried with "Extract Single Tone Information.vi" and it works but only
for the most important tone of my signal... I need to detect all the
frequencies of my signal. not only the most important... How can I do that
???

Thank you




Re: Need help duplicating rows of 2D boolean array

2004-04-20 Thread Stephan Bahr
I am sorry, but my LabView7 just can save the vi as version 6.1, so I made a
screenshot of it, so you can build it yourself.

http://www.pe.tu-clausthal.de/~pesba/download/frontpanel.JPG
http://www.pe.tu-clausthal.de/~pesba/download/blockdiagramm.JPG

Greets
Stephan

"clg6621" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Thanks for the quick response!  I forgot to mention in my question
> that we only have LabVIEW 6i at school.  Is there a way for you (or
> anyone else) to back save your VI to a version I can read?  Thanks!





Re: Using BEI Encoder as a trigger for DAQ

2004-04-20 Thread David Arthur
Thank you for all the information Todd.  I will let you know the
success of my initial implementation.

Cheers,
David A.

toddd <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> David,
> 
> Here are some suggestions.
> 
> 1. For triggering an analog input on every 10th pulse, here is what
> you could do.
> 
> You could use a counter of the PCI-MIO-16E-1 to generate a pulse train
> and use the encoder's signal as the source.  You could use the
> 'Generate Pulse Train (DAQ-STC) VI' and set the source specification
> to 'default PFI line' and set the delay(edges) of the raw counts
> control to 5 and the pulse (edges) to 5.  This will basically divide
> down the frequency of your signal by 10.  Output pulse train of
> counter will be low for 5 periods of your signal and high for 5
> periods of your signal.  With regards to connections, you will connect
> the encoder signal to the source of the counter you're using.
> 
> Now, you can use the pulse train being generated by the counter as an
> external clock for your data acquisition.  You can directly connect
> the output of the counter to PFI 7 and configure the analog input
> acquisition to use an extenal clock.  Refer to the 'Cont Acq&Graph
> ExtScanClk VI' example for how to use an external scan clock with
> analog input.
> 
> With these two examples, for every 10th pulse of the encoder signal,
> you will acquire an analog reading from any channel in the scan list.
> 
> 2. For the frequency measurement, the VI you're using uses two
> counters, and so you won't be able to do this along with my first
> suggestion.  You could just use the 'Measure Period (DAQ-STC) VI' and
> attach the encoder input to the gate of the selected counter.  This VI
> will use the internal 20 MHz timebase as a source and will count the
> number of 20 MHz pulses between two rising edges of your signal.  So
> you could take 20 MHz divided by the count return to determine the
> frequency of your signal.
> 
> With these two suggestions you should be able to get a good start on
> your application.
> 
> Let me know if you have any questions.
> 
> Regards,
> 
> Todd D.
> NI Applications Engineer



RE: The Future of Igor and Info-LabVIEW Lists

2004-04-20 Thread Harden Chris
Tom,

Along with many others I'm sure, I would also like to add my thanks to you
for your efforts over the years in maintaining the list and keeping things
up & running.

It has, for all of us, been a valuable source of information and ideas when
you just plain run up against a brick wall (and NI helpdesk are unable to
offer any lifelines)!

Best wishes to you and also to your successor.

Greetings from the UK!

Chris Harden 

> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On
> Behalf Of Coradeschi, Tom [AMSRD-AAR-AIS-E]
> Sent: Friday, March 19, 2004 10:32 PM
> To:   igor; info-labview
> Subject:  The Future of Igor and Info-LabVIEW Lists
> 
> Good afternoon, all. As you know, there have been a number of problems
> which
> have impacted the availability of the Igor and Info-LabVIEW mailing lists
> recently. I've asked the readers of both lists for their support in moving
> those lists to another server and in taking over the administrative tasks
> I've been performing.
> 
> As I fully expected, given the fine caliber of folks who use Igor and
> LabVIEW, a number of folks threw their hats in the ring. I'd like to start
> by publicly thanking Michael Aivaliotis, Scott Hannahs, George Gatling and
> Arlen Walker for doing so. I'm quite sure that all of them are fully
> capable
> of taking on the job and making sure that it will all happen. I have asked
> Scott Hannahs to take the reins and he has not only agreed to do so, but
> he
> has agreed to take both mailing lists over!
> 
> The lists will be run via an OSX server, housed in a real machine room,
> with
> admins on the job to keep it all running smoothly, backup power and all
> that
> other good stuff (a far sight from my shoestring setup, that's for sure!).
> 
> Scott and I are working the details of how we will manage the transfer.
> Right now, our strawman plan goes something like this:
> 
> o Shut down subscriptions on my machine here to freeze the subscriber
> list.
> o Transfer that list to the machine at Scott's site (National High
> Magnetic
> Field Lab at Florida State University) and install it there (both sites
> use
> the same software, so that will be relatively straightforward).
> o Announce the new email addresses and activate the lists at FSU.
> o Set my machine here to forward list mail to the new addresses (probably
> active for 30-60 days or so).
> o Turn off forwarding here and put an autoreply on those addresses
> pointing
> users to the new site (again, for some finite period of time).
> o Shut down my machine (a 6100/60, ie 1st generation PowerPC, in case you
> were wondering).
> 
> We expect the move to happen some time the last week of March or first
> week
> of April as it stands right now. More details will follow as they become
> available.
> 
> I'd also like to take this opportunity to thank some other folks who help
> out here: Brian Renken, who runs the info-labview.org website and Andrew
> Johnson, who bought us the copy of LetterRip Pro which makes these lists
> happen in the first place.
> 
> As I slowly fade from the scene, I'd also like to thank all of you for
> making this a really great experience. Way back when I was a heavy Igor
> and
> LabVIEW user, the lists made a tremendous impact on my ability to do my
> work
> here. Time has marched on and I do different things now, but the value of
> user communities like these is clear and real. You all can give yourselves
> a
> big pat on the back for making that happen!
> 
> Take care...
> 
> Tom Coradeschi
> Excalibur Systems Engineering
> [EMAIL PROTECTED]
> 

This e-mail and any files transmitted with it ("E-mail") is intended solely for the 
addressee(s) and may contain confidential and/or legally privileged information.  If 
you are not the addressee(s), any disclosure, reproduction, copying, distribution or 
other use of the E-mail is prohibited.  If you have received this E-mail in error, 
please delete it and notify the sender immediately via our switchboard or return 
e-mail.  

Neither the company nor any individual sending this E-mail accepts any liability in 
respect of the content (including errors and omissions) and timeliness of the E-mail 
which arise as a result of transmission.  If verification is required, please request 
a hard copy version




ValueChanged event programmatically ?

2004-04-20 Thread Oliver Friedrich
Hallo newsgroup,

desperately I must know this.

A control generates a ValueChanged event if I enter a new value.

No I have tried this: I have a control in VI1. In VI2 I open a VI reference 
to VI1, PropertyNode Panelrefnum PropertyNode Controls[] PropertyNode 
WriteValue to the refnum of the control.

This works fine, I can write a value to control in VI1, it changes 
obviously but it doesn't generate a ValueChanged event. Is this a bug or a 
feature?  How can I do this?

Oliver Friedrich



Seeking LabView users in or around Herefordshire (UK) area

2004-04-20 Thread lvlist
Hello All,

As I am just starting out with LabView 7 Express, I am very keen to find local fellow 
users in the UK, ideally in Herefordshire or as close as possible.

I would particularly like to meet up to observe an experienced user going about 
building almost anything from scratch, just to pick up the philosophy and a few 
techniques. Free pub lunch (etc.) offered in exchange.

I'm going to attend the next available free hands-on seminar in Guildford in April, 
but I have to get running with LV much faster than that, so that's why I'm putting out 
this shout!

Anyone out there?

Regards,

Matt Rhys-Roberts




Subject: Omega CN3251 Driver

2004-04-20 Thread jason . hobbs

Bob,
I am interested in including your code for the Omega Temperature Controller on the Instrument Driver Network (ni.com/idnet) so that it can be shared with all of the LabVIEW community.  If you are interested, please submit your code at http://zone.ni.com/idnet97.nsf/instrumentdriversubmit and I'll make sure it gets posted.

Regards,
Jason Hobbs


Hello List:

Anybody have an Omega CN3251 temperature/process controller LabVIEW driver.

Thanks
Robert

Robert,
I have written a set of instructions for a CN3254 Omega Temperature
Controller.  I am nearly certain the CN3251 is in the same series as the
CN3254.   I talk to it on an RS232.  I simply carefully studied the manual
and figured out how to send it characters on the RS232.  It works just fine,
but it took about 20 hours to figure out exactly how to write all of the
instructions and get all of the bits in exactly the right place for each
instruction.  If you would like, I could email you a copy of the VI's I
developed.  I can select the thermometer type, the set point, the control
parameters, etc.  Send me your email address if you would like the code.  I
have it in LabVIEW 7.0 and use Windows XP.

Robert W. Reed, Ph.D.
22 Summit Drive
Stroudsburg, PA 18360
Phone: 570-424-7033
email: [EMAIL PROTECTED]




Labview DAQ on Powerbooks

2004-04-20 Thread Joseph Ayers
How many of you are interested in using Labview with Powerbooks. My 
primary interest in the DAQCards is Mobile computing. I work in the 
field and collaborate with others which makes the Powerbook/DACCard a 
superb combination. Even a development of firewire peripheral 
solution seems like a lot of effort in comparison to developing an OS 
X driver for the DAQCard. The bulk of Macs being sold now are laptops 
that don't boot into OS9 anymore so a OS X native solution for 
DAQCards would restore a broad Mac market and enhance demand for Mac 
LV 7. Why doesn't NI just develop a DAQCard solution for Powerbooks?

--
Joseph Ayers,
Department of Biology and
Marine Science Center
Northeastern University
East Point, Nahant, MA 01908
Phone (781) 581-7370 x309(office), x335(lab)
Cellular (617) 755-7523, FAX: (781) 581-6076
eMail: [EMAIL PROTECTED]
AIM: biocyberplasm
http://www.neurotechnology.neu.edu/
http://inls.ucsd.edu/neurobots.html



switching of analog measurment signals

2004-04-20 Thread Johannes Eble
Hello,

in our LabView applications we have to measure several voltages and
currents. We use a AT MIO 16 E 10 DAQ card, but it is not good enough
for 2 voltages 2 currents. Therefore, we use exernal GPIB measuring
instruments for them (Keithley 2000 a.a.).
However, I think we could come along with only one Keithley 2000 since
the timing is no issue (1 scan per sec is enough). I need some switch
controlled by LabView that switches the analog measuring signals to
two Keithley 2000 (analog) inputs (one for voltage, the other for
current measurement, respectively).

I found out that I can't do this with the DAQ card alone. I can't use
the analog outputs since I don't want a A/D - D/A conversion included.
Note that the measuring voltages can be ~100 mV.
But I could be wrong since I am actually a software guy so please
correct me if this is possible with the DAQ card only.

My idea is as follows:
I could use the digital outputs of the DAQ card and connect them to
some opto coupler or relais with TTL input. The opto couplers or
relais would switch the analog measuring signals according to the
digital outputs of the DAQ card and finally according to LabView.

I couldn't find such a switcher board in the NI catalog. They have
switchers, but they seem to switch voltages >3V only. But maybe
someone suggests a board from another company which suits better.

I just wouldn't like so much soldering my own board since my knowlege
of opto couplers, relais and hardware in general is really limited.


Best regards


Johannes





Shift register or Local Any differences in performance?

2004-04-20 Thread Oliver Friedrich
Hallo,

I have a state machine where one state needs to pass and receive from/to 
other states.

Should I use a shift register to interchange data or should I take a local 
variable? Both work of course but what would you prefer considering

1) Memory usage
2) Performance
3) Readability of source code
4) Good programming style

Thanks for your suggestions

Oliver Friedrich



LabVIEW PDA

2004-04-20 Thread rk1960in
Hi! 
I have to develope an application for PDA in LabVIEW. Can someone tell
me how and where to startthe customer has its own hardware which
will be interfaced and then there are some parameters to be acquired
and data to be displayed.
I am not sure if it is a palm or pocket pc. How will the devvelopment
of the LabVIEW differ and do I develop the program using LV express
just as it is done on a normal windows or do I need LV PDA toolkit for
just the development?
And if once i have deployed the program on the PDA, can I run it in
debug mode and can I delete the program from the PDA or not?

If there are link which I could go through or progran\ms to be taken
as the starting point...will be appreciated.
Thnaks!!



Please... really important

2004-04-20 Thread napoleon
Hello, I acquire of an image with a camera pulnix 6710 and this image is in
fact a succession of vertical scratches. I trace a perpendicular
horizontal line has these scratches and I leave there profiles it. I
recupere a frequency with Extract Single Tone Information but I have
different modeles from striation on my image and I would wish detect the
various frequencies... 

Does someone know how to do that ? 

Thank you in advance





Re: tutorial labview 7 en francais

2004-04-20 Thread napoleon
Bonjour, 

Je fais l'acquisition d'une image avec une camera pulnix 6710 et cette
image est en fait une suite de stries verticales. Je trace une ligne
horizontale perpendiculaire a ces stries et j'en sors le profile. Je
recupere une frequence avec Extract Single Tone Information mais j'ai
differents modeles de striation sur mon image et je souhaiterais detecter
les differentes frequences...

Quelqu'un saurait comment faire ca ? 

Merci d'avance




Re: LabVIEW PDA

2004-04-20 Thread rk1960in
Enrique <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> It seems that all you need to know is how to program in LabVIEW! It
> only takes 4 step. At least, that is what suggest  href="http://digital.ni.com/worldwide/bwcontent.nsf/web/all/2C2CE61C7080735F86256E2A004F2FD3";>the
> latest NI Newsletter.
> 
> You need the http://www.ni.com/labview/power.htm#pda";>LabVIEW
> PDA module along with LabVIEW to develop you PDA application.
> 
> I remember last year for NIWeek, you can get a small program developed
> with LabVIEW/PDA module from NI Week. All you needed to do is to copy
> the program to your PDA/Pocket PC. If you want to remove it, you just
> delete it. (My guess is that you can only debug in the PC, not in the
> PDA.) Unfortunatelly, I am not finding that program in NI website. I
> think I have it somewhere, so if you are interested I can look around
> to see if I still have it and post it here.
> 
> About the customer having its own hardware... that's another story.
> You are more likely to obtain answers to your questions in the  href="http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=8&RFORMNUMBER=3&RHIDETAG=TRUE&UCATEGORY_0=_50&UCATEGORY_S=0";>LabVIEW
> Targets forum.
> 
> Regards;
> Enrique


Hi! Enrique,
Thanks for the links and help you had suggested. It was helpful. I
could even find a manual on PDA…here is the link just in case anyone
else needs it. 
http://digital.ni.com/manuals.nsf/websearch/948645EDBFA39E1786256D2C0066B381?OpenDocument&node=132100_US

After reading the manual I have few more questions which are as
follows:
1.  I could not be very clear as to what execution target should I use
when I have to develop a VI for Palm PDA. Do I use Execution target
for windows(this si for host PC) or do I develop my application using
execution target for Palm Os devices.
2.  In my application I have a parameter using which I have to plot
waveform graph….now the manual says that the Digital waveform graphs
are not supported on PDA as well as its related VIs and functions. And
on Palm OS data acquisition and Instrument I/O features are also not
supported. Is there any workaround which can be used for this?
Another point I wanted to clarify was if the toolkit is compatible wit
LV6 version or is it compatible with only LV Express?

Thanks once again for all your help.
- AK



Use default if unwired buggy?

2004-04-20 Thread Oliver Friedrich
Hallo,

I have case structure with several outputs (clusters, refnum,...). Since 
there are cases where I don't want to have these wired I've checked the 
"Use default if unwired".
But still LV tells me that the VI has "Tunnel: missing assignment to 
tunnel" errors.

What's the problem ?

Thank you

Oliver Friedrich



Re: Vision x,y Image Information

2004-04-20 Thread Davis Chris S Contr AEDC/ATA
Richard,
I have Labview 7 and Vision 6, but I found a VI to do what you want
in the compatibility llb, specifically IMAQ WindGetMouse.  Just put it on
the diagram and it will tell you which Image you are looking at, and the X
and Y Coordinates of the mouse.  I just tested it with a new Image Display
and it works, although the Window Number it returns is not the normal 0 to
15 that the floating windows would return, I guess this is a side effect of
integrating the Image Display more tightly into LabView.


Let me know if you need example code.


Chris Davis
ATA
Arnold AFB, TN



Richard wrote:

I have Labview 7, Vision 7, using a new image display.  when I move
the mouse around in the image I see the x,y image coordinates change in the
image information indicator. Now, I'm want to try something really hard.
I'd like to use those x,y values in my vi.  I hope I'm missing something
really obvious because I just cant find it.  I can get close by using "get
last event", but that only works when you do something like clicking on the
image and I need to continuously read the image co-ordinates.





How to get a Pause and un-Pause function into my vi

2004-04-20 Thread BartBlue

Hello there,

I have created a vi with the following things:

1) Pressure control
2) Flow control

To pause:
   Pressure to high
   Pressure to low
   Flow to high
   Flow to low

When it is in pause:
-> the power should be cut of and the valve should be closed
and the remaing time should stay.

Un-pause:
 Time start to run again, valve opens and the power on.

Visualy:
 I have to show on the screen:
 Which thing have activated the pause function and the valeu´s


I´m using: Labview 6.1 and Fieldpoint hardware

when you need the vi´s please post a message then i send them

Tia William









Save with 24 bits

2004-04-20 Thread Infos - Bien Entendu
I am searching for a way to save 24 bits values on an AIFF file
i thought that keeping the 3 first bytes of an I32 should make it 
but it didn't work
could anyone give me some clue ?

thanks in advance
--
Pascal Luquet
Bien Entendu
eMail : [EMAIL PROTECTED]
www.BienEntendu.fr




Re: Save with 24 bits

2004-04-20 Thread Infos - Bien Entendu
>Despite the name of your company, your question wasn't well understood. :)
i should be specialized in intelligibility ... I have to apply my advices
to myself :)

>But, are you sure you have the lowest 3 bytes? LV stores data in Hi/Low
>format for words and bytes in memory. You need the last 3 bytes.
i don't think that keeping the lowest bytes would preserve the sign bit
so i normalized my datas to a 32 bits value and keep the 3 highest bytes
(i save on an AIFF file so don't have to swap bytes)

just to be sure i tried to keep the lowest and had a similar result

i think that my error comes from elsewhere
so the diagram is :
- wire my i32 array on a for loop
- typecast each number to text
- take the 3 first character
- go outside the loop and write to file the array

something should be wrong in it :((
--
Pascal Luquet
Bien Entendu
eMail : [EMAIL PROTECTED]
www.BienEntendu.fr




Re: switching of analog measurment signals

2004-04-20 Thread Johannes Eble
Hi Nirmal,

thanks for your answer.

You are right, optocouplers (or relais) are the only pieces I still
need. Also, I have nothing against soldering my own little 'board' in
this situation.
Maybe you could suggest me some good optocouplers. I am not
experienced with hardware, but I see a problem in the electrical
characteristics of the optocouplers: When they switch a measuring
signal, the voltage drop should be minimal (maybe < 1uV).
Also, if they switch lines for current measurement their resistance
should be less then 0.1 Ohm. But I could do away with the 0.1 Ohm
requirement by providing a voltage measurement across shunt resistors.
I should probably do that anyway since this simplifies the
measurement: I only need one (voltage) input to the Keithley 2000.


Best regards


Johannes



On Thu, 25 Mar 2004 07:30:14 -0600 (CST), Nirmal Sharma <[EMAIL PROTECTED]>
wrote:

>Hi Johannes,
>
>why do u require switcher??. As u mentioned u are using the
>optocoupler which will take digital TTL o/p from DAQ card & switch the
>respective analog channel, you dont require any other switcher. Also
>switching 100 mV through TTL outputs should not be any problem.
>
>Hope it works. Your feedbacks are welcome.
>
>Best Regards,
>Nirmal Sharma




Re: switching of analog measurment signals

2004-04-20 Thread Johannes Eble
Hi Marcus,

thanks for your answer.

I was probably not clear about what I want. The solutions you suggest
seem to be far to complex. As Nirmal pointed out, I actually only need
high quality optocouplers, no more.

On Thu, 25 Mar 2004 09:30:26 -0600 (CST), Marcus G <[EMAIL PROTECTED]> wrote:

>Hello Johannes,
>It sounds like you're setting up a system that requires four analog
>inputs (two voltage and two current), and you would like to use an
>analog trigger to switch between which signals are measured.

No. I just want to use the digital outputs of the DAQ card to switch
optocouplers. The optocouplers will switch between several analog
measuring signals. They should route these signals to one analog input
of a Keithley 2000.

>There are
>several options of how you can set up such a system.
>In terms of measuring the four analog inputs, you should be able to do
>this with a DAQ card alone. Many of our cards, including the
>AT-MIO-16E-10 (also called a 6020E), have 16 analog input channels
>that have an input range of +/-10V.

I don't want to measure the four analog inputs with the DAQ card since
it isn't precise enough. The input range is too high for some of the
analog inputs and the resolution is too low. Also, I can't modify the
input range of the DAQ card at runtime. Therfore, we are using
external instruments (Keithley 2000 a.a.) for the measurements. My
idea was to only use one instrument for the four analog input signals.
Then I must provide the switching between the four analog inputs. The
idea was to control (switch) some optocouplers with the digital
outputs of the DAQ card. The optocouplers should route one of the four
analog signals to one Keithley 2000. I set the digital outputs of the
DAQ card in the LabView program. Also, the LabView program configures
the Keithley 2000 and reads the measuring values from the GPIB. That's
all.



Regards

Johannes





Controls[] question

2004-04-20 Thread Oliver Friedrich
Hallo,

say I have a VI with some controls and indicators.

If I get the VI's panel refnum and then the Controls[] property I get the 
array of references. But which array element belongs to which 
control/indicator of the referenced VI. Is there a way to retrieve an array 
or cluster with names information, or do I have to scan the references for 
the name of the referenced control/indicator? That would be some 
cumbersome.

Thanks

Oliver Friedrich



Re: Type Specifier VI Refnum lost at build

2004-04-20 Thread Jim Kring
Eric,

Try adding this to your LabVIEW settings file.  I'm not certain that it
will fix your problem, but it might.

BldApp.RemovePolyVIsandTypedefs=False

##
By default, LV7 AppBuilder does not include type definitions and unused
instances of polymorphic VIs into executable in order to decrease size of
application. If some VI in your exe calls a VI outside (that was not
planned by AppBuilder) and uses a type definition in order to pass
parameters, you will meet such kind of problem for sure. This undocumented
ini setting disables this new feature.
##

-Jim


Eric Samsel wrote:
> I'm trying to use the Call by Reference node to dynamically call certain
> subvi's. It works great during my testing. However, after building the
> application, all of my Type Specifier VI Refnums go back to the initial
> way they look when they are created. Saving values as defaults doesn't
> work. When I quit my application and come back the connector panes still
> match as they should. The problem only occurs when I build... Does anyone
> know why this is happening or what I am doing wrong?
>
> Thanks,
> Eric Samsel
>
>




OpenG Coding Challenge - Remove Backspace

2004-04-20 Thread Jim Kring
Hello Info-LV'ers,

I have started a contest to create a high-performance VI that removes
backspace characters (and the characters preceding them) from a string. 
The wining entry will become part of the OpenG Toolkit. (Note that VI
Icons will be judged separately).

Visit http://openg.org page for more info and download the example.
Entries must be received by April 31st.

http://www.openg.org/tiki/tiki-index.php?page=OpenG+Coding+Challenge+-+Remove+Backspace

Regards,

-Jim Kring




Crash of LabVIEW executeable after some hours

2004-04-20 Thread Lenin
Hi to all,
I'm developing a LabVIEW program for a long term monitoring
application of serial (RS232) devices. On the target system the
program runs as executable. At start-up everything runs fine. After
several hours (usually 1..3) the application crashes with an access
violation. I did a lot of "debugging" on executable level, because the
error seems not to occur in the development environment. I found out,
that the fault has nothing to do with the serial communication,
because it occurs also in a "demo mode", where no communication with
devices is performed. I studied the Dr.Watson log files and found out,
that the fault occurs always at the same code position. (See below for
details.) The fault occurs under LabVIEW 6.0, 6.0.2 and also 6.1,
(resp. the according runtime). At the moment The Dr.Watson log
suggests, that the LabVIEW internal function "CancelOnOccur" performs
a jump to address 0x, what of course will cause a GPF. The
symbol for this function can be found in the runtime DLL's as well as
the LabVIEW.exe. The development system and the target are  Win2k
machines with all available patches/updates including SP4. Here are
some interesting parts from the Dr.Watson Log (sorry its in german):

Anwendungsausnahme aufgetreten:
Anwendung:  (pid=832)
Wann: 27.03.2004 @ 12:02:28.522
Ausnahmenummer: c005 (Zugriffsverletzung)

*> Systeminformationen <*
Computername: - removed for privacy -
Benutzername: - removed for privacy -
Prozessoranzahl: 1
Prozessortyp: x86 Family 6 Model 8 Stepping 6
Windows 2000-Version: 5.0
Aktuelles Build: 2195
Service Pack: 4
Aktueller Typ: Uniprocessor Free
Firma: - removed for privacy -
Besitzer: - removed for privacy -


.

Statusabbild für Threadkennung 0x4a0

eax=00ca6830 ebx=0003 ecx=00014988 edx=00ca6830 esi=
edi=f1d1
eip= esp=01fcff14 ebp=01fcff30 iopl=0 nv up ei ng nz
ac po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=
efl=0296


Funktion: 
FEHLER -> ???
0001 ???
0002 ???
0003 ???

*> Stack Back Trace <*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
01FCFF10 3023F32E F1D1 0001 00D30368  ! 
01FCFF30 300797D2 7FB84F88 7FE5AEA8 0001 7FEC01B8 !CancelOnOccur 
01FCFF50 300C5AAC 7FE5B0D8 0001 7FEC01B8 0001 !GetSetLVInfo 
01FCFF88 30075DEE 7FEC01B8 0001 77E9BFF2 00CC0DF8 !ImaqReturnIDs 
01FCFFA0 3026E759 7FEC01B8 30352068 0012E0EC 01FCFFEC !ConfigExec 
01FCFFB4 77E7B382 00CC0DF8 30352068 0012E0EC 00CC0DF8 !GetTextRect 
01FCFFEC  3026E730 00CC0DF8  00505A4D
kernel32!lstrcmpiW

*> Raw Stack Dump <*
01fcff14  2e f3 23 30 01 00 d0 f1 - 01 00 00 00 68 03 d3 00 
..#0h...
01fcff24  00 00 00 00 30 68 ca 00 - 88 67 93 7f 50 ff fc 01 
0h...g..P...
01fcff34  d2 97 07 30 88 4f b8 7f - a8 ae e5 7f 01 00 00 00 
...0.O..
01fcff44  b8 01 ec 7f 00 00 00 00 - 01 00 00 00 88 ff fc 01 

01fcff54  ac 5a 0c 30 d8 b0 e5 7f - 01 00 00 00 b8 01 ec 7f 
.Z.0
01fcff64  01 00 00 00 b8 01 ec 7f - f8 0d cc 00 10 2d cb 7f 
.-..
01fcff74  94 3d c4 7f 00 00 00 00 - 00 00 00 00 00 00 00 00 
.=..
01fcff84  00 00 00 00 a0 ff fc 01 - ee 5d 07 30 b8 01 ec 7f 
.].0
01fcff94  01 00 00 00 f2 bf e9 77 - f8 0d cc 00 b4 ff fc 01 
...w
01fcffa4  59 e7 26 30 b8 01 ec 7f - 68 20 35 30 ec e0 12 00  Y.&0h
50
01fcffb4  ec ff fc 01 82 b3 e7 77 - f8 0d cc 00 68 20 35 30 
...wh 50
01fcffc4  ec e0 12 00 f8 0d cc 00 - 00 80 fd 7f 05 00 00 c0 

01fcffd4  c0 ff fc 01 60 fb fc 01 - ff ff ff ff b4 1b ec 77 
`..w
01fcffe4  f0 2a e7 77 00 00 00 00 - 00 00 00 00 00 00 00 00 
.*.w
01fcfff4  30 e7 26 30 f8 0d cc 00 - 00 00 00 00 4d 5a 50 00 
0.&0MZP.
01fd0004  02 00 00 00 04 00 0f 00 - ff ff 00 00 b8 00 00 00 

01fd0014  00 00 00 00 40 00 1a 00 - 00 00 00 00 00 00 00 00 
[EMAIL PROTECTED]
01fd0024  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 

01fd0034  00 00 00 00 00 00 00 00 - 00 01 00 00 ba 10 00 0e 

01fd0044  1f b4 09 cd 21 b8 01 4c - cd 21 90 90 54 68 69 73 
!..L.!..This

Any ideas fromm other users?
Is there someone at NI who can support this issue? 

If there is more information needed, I can provide it.
Thanks in advance!

Best Regards



RS 485

2004-04-20 Thread rk1960in
I am communicating with the device where it uses RS485 to scan for the
device and report the devices available.
Is there any template or example VI which can be used as startup to
Wake Up from sleep mode, unit will acknowledge. Power on Self test and
reboot and the unit will respond?
thanks!!



Re: Crash of LabVIEW executeable after some hours

2004-04-20 Thread Lenin
Addendum:
The above described failure does not occur, when multithreading for
the LabVIEW execution system is disabled. It looks like that there is
something non-threadsave inside LabVIEW.

I am curious about your comments.



Re: Save with 24 bits

2004-04-20 Thread Infos - Bien Entendu
thanks for the answers
i tried to split the bytes with the split number function (and just
taking the 3 first one)
and it worked !
i don't know why i couldn't make it with concatenating bytes after a text
conversion
which should be equivalent ???

anyway it works !
--
Pascal Luquet
Bien Entendu
eMail : [EMAIL PROTECTED]
www.BienEntendu.fr




Data type "Everything"

2004-04-20 Thread Oliver Friedrich
Hallo,

lots and lots of very advanced LabVIEW questions. Here the next one:

How can I realize the data type "everything"? which is used e.g in the type 
input of the unflatten function.

I want to use this function in a SubVI and wired the input to a SubVI 
control. Doing this, I get a fixed data type on the control and no 
"everything" control anymore. The same story with the indicators.

Don't come with Polymorphic VI. This is not a solution to me. If I make a 
Polymorphic VI with dozens of data types, it still remains a finite set to 
choose from and it won't ever become a genuine "everythin" input.

Thanks for your help!!

Oliver Friedrich



Re: The Future of Igor and Info-LabVIEW Lists

2004-04-20 Thread Arlen P Walker
On Friday, March 19, 2004, at 04:32 PM, Coradeschi, Tom 
[AMSRD-AAR-AIS-E] wrote:

As I slowly fade from the scene, I'd also like to thank all of you for
making this a really great experience. Way back when I was a heavy 
Igor and
LabVIEW user, the lists made a tremendous impact on my ability to do 
my work
here.
Back in the day, when I first picked up LV as a tool, I found this 
strange, warped community running out of an army base. Hard as it was 
for an ex-Air Force bloke like me to admit, this army guy seemed to 
have a Good Idea, and if the books were to be audited I'm sure I've 
received far more help than I've given over the years.

I've joined the group three times, and left it twice as my tasks have 
changed over the years (I've still got my first set of LV distribution 
floppies) but every time I've needed it, Tom's server has been there. 
Tom, you've gone above and beyond the call for years now, and if you 
didn't have that little server of yours ticking over in the closet all 
these years, I'd never have been able to do half of what I did.

A tip of the hat to you for your years of service to the community. I 
don't have a virtual gold watch to give you, but here's the closest 
thing I can find to it: http://www.humanclock.com/clock.php

Ya done good, kid. Thanks for the effort. And if'n you find yourself in 
Milwaukee anytime, give a holler.

Have Fun,
Arlen
--
In God we trust, all others must supply data



Re: OpenG Coding Challenge - Remove Backspace

2004-04-20 Thread Jim Kring
Mike,

Here is the problem description that I put up on the challenge page.  
This isn't an extremely hard challenge, but it is a fun problem.  Also, 
you can spend additional effort trying to shave off the last few 
milliseconds.

-Jim

http://www.openg.org/tiki/tiki-index.php?page=OpenG+Coding+Challenge+-+Remove+Backspace

 Background

When you are typing at a terminal (telnet for example) and you press the 
backspace key, a "\b" (0x08) character is sent via TCP-IP. The server 
that is parsing the text must interpret this string and remove the 
preceding character, which may have already been transmitted over the 
network. If the server receives a string like "This is a 
test\b\b\b\bgood test for removing backspaces.", it should remove the 
backspaces and the preceding characters so that the string becomes "This 
is a good test for removing backspaces." Since there were four (4) 
backspaces we have to remove the backspaces and the four preceding 
characters "t", "e", "s", and "t". Easy, huh? But how do you do it 
quickly? Notice that the example shown above uses both a "Build Array" 
and "Delete From Array" in a loop. This is a performance no-no. It works 
but we can do a lot better.

*Hint* - don't build/delete an array (or concatenate/split strings) in a 
loop.

Ross, Michael wrote:

I am curious, what makes this an intersting problem?  What makes it hard?
Also, what would be the application of this vi?  These are not meant to
be rhetorical questions, though they can certainly sound that way in an
email.  I have done just enough screwing around with strings to see that
they are irritating, but I haven't had any intractable problem.  In other
words I am pretty ingnorant of the subject.
Mike

-Original Message-
From: jkring [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 27, 2004 1:07 AM
To: info-labview
Subject: OpenG Coding Challenge - Remove Backspace


Hello Info-LV'ers,

I have started a contest to create a high-performance VI that removes
backspace characters (and the characters preceding them) from a string.
The wining entry will become part of the OpenG Toolkit. (Note that VI
Icons will be judged separately).
Visit http://openg.org page for more info and download the example.
Entries must be received by April 31st.
http://www.openg.org/tiki/tiki-index.php?page=OpenG+Coding+Challenge+-+Rem
ove+B
Backspace
Regards,

-Jim Kring
 






Re: OpenG Coding Challenge - Remove Backspace

2004-04-20 Thread Jim Kring

Marco Tedaldi wrote:
> Jim Kring wrote:
>> Hello Info-LV'ers,
>>
>> I have started a contest to create a high-performance VI that removes
>> backspace characters (and the characters preceding them) from a string.
>> The wining entry will become part of the OpenG Toolkit. (Note that VI
>> Icons will be judged separately).
>
>> http://www.openg.org/tiki/tiki-index.php?page=OpenG+Coding+Challenge+-+Remove+Backspace
>>
>
> That's just depressing! There are people in the rankint with a speedup
> of about 160! And I've built two versions... one which completes in
> about halve the time and another one which takes longer than the
> original! :-(
>
> Are the Results on the site really true? I allmost can't believe it! But
> I'm trying :-)
>
> Bye
>
> Marco
>

Hi Marco,

Yes the results are real ;-)  Also, all of the top entries are very
similar to the example, but do not use build array or delete from array.

Keep trying and good luck.

Regards,

-Jim




RE: Large Fonts (another solution)

2004-04-20 Thread Davis Chris S Contr AEDC/ATA
Jim,
You can also add the following line to your EXE's INI file.

[myEXE]
appFont="Arial" 14

Which will set Application font in your program equal to Arial size
14.  Of course this won't work for your ActiveX control.


Chris Davis
ATA
Arnold AFB, TN




MTS 458.91 Microprofiler Driver

2004-04-20 Thread Robert Berger
Hello LV world: 

Anyone have a LabVIEW driver for the MTS 458.91 Microprofiler. 

Thanks
Robert



Hi, Question about using Visual Basic with labview. How do you execute visual basic programs within labview?

2004-04-20 Thread JJ
Need help on how to execute an external program (written by VB in this case)
within labview.

Thanks in advance,

JJ.









Re: How do I access existing visual basic modules (.bas) files in LabView

2004-04-20 Thread JJ

"Marty G." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Dennis Knutson <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> > I'm not sure why you want to access the .bas files. There is no way to
> > convert basic source code to LabVIEW. Some things like declarations,
> > memory allocation, are not required in LabVIEW or are done for you by
> > the LabVIEW compiler. Constants, local and global variables, user
> > defined types in the form of custom controls, all exist in LabVIEW but
> > in general, are much easier to use. Maybe if you post a snippet of VB
> > code, someone can translate it into LabVIEW.
>
> Labview provides a way to use custom ActiveX controlls.  This would be
> the preferrend interface.
>
> Marty

I am currently trying to do just that, execute visual basic programs within
labview.  Can you point me to some good examples of how to write visual
basic programs so they can be used in labview?  I have already figured out
how to use labview programs in visual basic, but not the other direction.  I
have a few subroutines in visual basic that I would like to modify for use
in labview environment.

TIA,

JJ





Ring AutoUpdate buggy ?

2004-04-20 Thread Oliver Friedrich
Hallo,

I have an Enum template as strictly type def. Editing the template auto 
updates all the instanies in the block diagram, wonderful!

Now I have a ring constant as strictly type (also tried as type def). 
AutoUpdate doesn't work at all. I think there can be two reasons.

Either there's a deeper sense in that behaviour or it's simply a bug !

Which one is it and how can I circumvent this. I can't use an Enum in this 
case because I mustn't start at 0.

Regards

Oliver

By the way, it's LV7Express



Starting a VI from within a loop

2004-04-20 Thread Jacoby, Kenneth
I have written a LabVIEW app that controls an experimental system and logs
data once per second.  One feature I need to add to the program is a graph
that can be called up to display selected data.  The main program is a loop
which must continue to run when I start up the graph vi.  I have compiled
the graph vi and used the system exec vi to start it, and that does work.
However, I would prefer not to compile the graph vi, since I plan on
compiling the entire app later, and do not want to end up with more than one
exe.

Any suggestions or examples on how to do this would be greatly appreciated.

Ken Jacoby
Bechtel Nevada, Livermore Operations




Any information about TestView?

2004-04-20 Thread whon
Hi all,

  I've recently found out that there is a product known as Testview.
It seems to me that this is a software based on Labview but included
couple functionality like importing program parameters from Excel. I
am just wondering if any of you guys know more things about it? I have
been searching it on-line for a while but didn't really get a positive
response.

Thanks very much for your kind attention!

Alan



RE: OpenG Coding Challenge - Remove Backspace

2004-04-20 Thread Jim Kring
Mike,

Based on a lot of similar feedback, we have updated the Functional
Requirements to the following (thanks to Christian Altenbach for his work
on this):

--
Removes all backspaces (Slash Code: \b, ASCII Hex: 0x08) and the
characters preceding them. If there are N consecutive backspaces, N
preceding characters will be removed. Extra backspaces are discarded
whenever the edited string reaches zero length. This VI is useful for
terminal programs that are processing user input received by TCP-IP.
--

Hopefully this catches all of our limit conditions (empty string, all
backspaces, no backspaces, etc).  Yes, we will be testing for accuracy as
well as performance.

Regards,

-Jim


Ross, Michael wrote:
> Mine does spurious \b's so go for it!
>
> mike
>
>  -Original Message-
> From: Scott Hannahs [mailto:[EMAIL PROTECTED]
>
>
> In terms of the problem description, must the VI handle the case where
> there
> are more \b (backspaces) than there are characters?  If this is true then
> the
> VIs should pass an accuracy test as well as performance!
>
>  -Scott
>




RE: Buying LabVIEW abroad

2004-04-20 Thread Harden Chris
An excellent question - maybe our friends at NI could give us an answer?

> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On
> Behalf Of Simon Whitaker
> Sent: Wednesday, March 31, 2004 9:41 AM
> To:   Info-LabVIEW List
> Subject:  Buying LabVIEW abroad
> 
> Hi folks,
> 
> Here in the UK, the Full version of LabVIEW costs 1685 UK pounds. In the
> US, it costs $1995, = c. 1100 UKP at the prevailing exchange rate. Even
> supposing we have to add VAT at the prevailing UK rate, this only takes
> the price up to c. 1300 UKP.
> 
> So, is there any reason at all why I can't buy LabVIEW in the US and use
> it in the UK? I'm sure the marketeers at NI have some reasons they trot
> out in response to such enquiries, but seriously - why not? Anyone in
> the UK (or anywhere else in the world with a favourable exchange rate)
> done this? Any problems?
> 
> Simon
> 
> Simon Whitaker <[EMAIL PROTECTED]>
> Head of Software Development, Tiab Ltd
> tel: +44 (0)1295 714046
> fax: +44 (0)1295 712334
> web: http://www.tiab.co.uk/

This e-mail and any files transmitted with it ("E-mail") is intended solely for the 
addressee(s) and may contain confidential and/or legally privileged information.  If 
you are not the addressee(s), any disclosure, reproduction, copying, distribution or 
other use of the E-mail is prohibited.  If you have received this E-mail in error, 
please delete it and notify the sender immediately via our switchboard or return 
e-mail.  

Neither the company nor any individual sending this E-mail accepts any liability in 
respect of the content (including errors and omissions) and timeliness of the E-mail 
which arise as a result of transmission.  If verification is required, please request 
a hard copy version




Re: Who can create a clock for me with the following functions??

2004-04-20 Thread BartBlue

Mark,

i give more details what i need on the timer.

Example:
   Set time: 96 hours
   Press start the timer  start to run, and counting down. When
it is counting down, the led countdown is on
   Press pause, the timer stops but the remaining time stays on
the counter and the led countdown is switched off
   Press stop, the timer stops and reset to the start position
and the led countdown is switched off

For the switches the mechanical action is: Switch until released.

The LED is for indication and control for opening valves and put power on
machines in the test stand

it is a pitty that we cann´t post any vi´s or llb to this group.

I can send you a sample of the vi where i´m working on.


Bart


"markwysong" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
> Can you be a little more specific on your timer?
>
> From what I understand:
>
> I believe you want a countdown timer.  You can set the time from which
> you would like it to count down.  When the start button is pressed, it
> starts counting down.
>
> When you press stop, the time stops.  If you press Start again, it
> resets to the time from which you would like it to count down, and
> goes again.
>
> If you press pause, it stops counting down, but if you release pause,
> it continues where it left off.
>
> Am I understanding correctly?
>
> Mark





application.exe

2004-04-20 Thread G_F
What do I need to run an applicaton on a PC that has not labview installed
I built up a VI into an .exe but I surly missed something since it doesn't
run on another computer.

Thanks for your help

Gerard









Request for suggestions on structuring!

2004-04-20 Thread lvlist
Dear Group,

Please can you educate me, my brain's exploding here. I've been given a huge, 
old-style procedural flow diagram to code up in LabView 7, to create an automated test 
environment. (Thanks so far to Chris Harden for your help, but I'm still stuck on 
details.)

See http://www.spherica.demon.co.uk/LabView/basic%20flowchart.gif

So far, I've broken it down into individual processes, which I've saved as individual 
VIs. Until I can get my hands on our GPIB instruments, these processes are just dummy 
VIs (i.e. chains of message boxes explaining what _will_ be going on) so that I can 
hopefully check the overall flow with the program designer.

I'm having great difficulty in figuring out how to sequence these dummy subVI's, 
epecially since there's no actual meaningful data flowing yet, only the 'enable' input 
to the beginning of a chain of message boxes within any subVI, ending with the 'OK' 
output from a final message box at the end of that subVI. I don't understand exactly 
what to do with the connector panes; I wish they were connectable to the block 
diagram, not things on the front panel!

I just don't know how well LabView actually allows a person to achieve any procedural 
programming at all; all I've seen so far are mostly stand-alone routines that seem to 
suffice in simple cases. I can drive a 3 or 4 case structure from a 3 button dialog 
box with no problem, but I want to run a subVI by pressing a button on that box and 
have it behave as a pop-up front panel that then closes and returns to the 3 button 
dialog box after completion.

I expect I'm over-complicating everything as usual due to lack of knowledge. If anyone 
can suggest how to structure the LabView code to achieve the above flow diagram, I'd 
be supremely grateful!

Best regards and may your code always work,

Matt Rhys-Roberts
UK




Re: Running two copies of VI and seeing two FPs

2004-04-20 Thread Jim Kring
Simon Whitaker wrote:

Hi folks,

I'm trying to get a VI set up so that it can have more than one open FP
available at once. It's a log viewer and I'd like to be able to have two
instances running side-by-side, with a different log file loaded into
each one. Setting the VI to reentrant doesn't appear to be the complete
solution. This must be a fairly common problem, and I'd be interested to
hear from anyone who's managed to solve it.
Cheers,

Simon

Simon Whitaker <[EMAIL PROTECTED]>
Head of Software Development, Tiab Ltd
tel: +44 (0)1295 714046
fax: +44 (0)1295 712334
web: http://www.tiab.co.uk/
 

Simon,

Search the archives for "cloning front panels".  There are a few 
approaches, but opening VI Server references to VI Templates seems to be 
the favorite.  There have also been some discussions about this on the 
NI Dev Zone >> LV General Discussion.

-Jim




Is the following possible in Labview?

2004-04-20 Thread whon
Hi all,

I just begin learning labview and very inexperienced with it. I am
trying to do the following things. I wanna add many controls on the
labview display form and the VI started, it would read from a text
file or something to determine which control is to be displayed and
which control not to be displayed. I am just wondering if this is
something impossible to do in labview or if it can be done.

Thanks in Advance.
Alan



M.A.G.N.I.F.I.C.A.D. beta driver in LabVIEW 7 Expresso

2004-04-20 Thread Michael C. Ashe
I've been doing some experimenting with the new version of LabVIEW. So far
the best results I've obtained use about 40 grams of the new version and a
half a liter of dihydrous oxide in my Model IV  M.A.G.N.I.F.I.C.A.D.*

Now if I can just get my beta LabVIEW driver for the M.A.G.N.I.F.I.C.A.D. to
run off a motion detector when I first roll over in the morning...


>Looks like NI is finally taking on Java...
>I'll drink to that!
>http://www.ni.com/news/releases/april0401.htm

Sorry this is a day late, I get the digest version...

Cheers, salud, prost...
Mike

* "Manually actuated, gastronomically nirvana inducing, fluid intrusive,
coffee aquafication device"

***
Michael C. Ashe Imaginatics
Control & Test Systems
11 Quinley Way
Waterford, CT 06385
Phone: 860-444-2141
Cell:  860-961-0876
email: [EMAIL PROTECTED]
***






Re: OpenG Coding Challenge - Remove Backspace

2004-04-20 Thread Jim Kring
Alex Le Dain wrote:

I would also think that re-entrancy here is only for testing "as near to optimum", presumably building a VI into an EXE would achive the same increase in performance as is achieved with reentrant=TRUE, as the UI and debug code are removed then. Is that correct Jim?
 

We'll sure find out ;-)

-Jim




Thanks a lot

2004-04-20 Thread whon
Hey

   Thanks guys.



Some Fundamental Knowledge on TCP

2004-04-20 Thread whon
Hi, all I am pretty new to Labview and would like to ask two questions
about Labview TCP.

(i) For TCP/IP in other language, like using socket, there is no
gurantee of data arrival in 1 packet. In another words, we usually
send the size as a hearder in the packet and keep receiving until we
reach the "size". I am wondering if this is the same case in TCP in
Labview?

(ii) after establishing successful connection. I am able to send
message from the labview side to the VB server. However, I just don't
seem to find a way to tell if data are pending. In another words, how
can I tell if someone has sent a packet to Labview so that I can do
TCP Read.

Thanks in advance.

Alan



S.O.S.: UK LabView 7 expert required: automated test environment, Herefordshire

2004-04-20 Thread lvlist

Despite trying my best to learn the necessary techniques for completing this task, I 
doubt I'll meet the deadline of April 20th 2004 by myself. The company needs a working 
ATE program fast and it's more than I can confidently cope with, until I can get some 
more book learning and training done.

We are seeking an experienced LV programmer, ideally with a track record in automated 
testing, to come on site for a day or two, to at least write the overall structure of 
the coding and give us some general directions. 

Knowledge of GPIB comms, mathematical operations on 2D arrays of complex numbers, and 
writing to CSV files will be required.

Please email me ASAP if you think you can help!

Regards,

Matt Rhys-Roberts





Conditional breakpoints and trace

2004-04-20 Thread Oliver Friedrich
Hallo,

is there a way to place a kind of conditional breakpoint on a certain probe 
or control and break on appearance of certain data. Afterwards doing a 
trace to discover which part of the software caused the data, that would be 
fine!

Any possibilities to do this in LV7?

Thanks in advance

Oliver Friedrich



Upgrade from Full to Base version

2004-04-20 Thread Stéphane Caron
 
Hi everyone,

I'm using LabVIEW 6.1 Full version and I want to upgrade to LabVIEW 7 base version (I 
have some reasons to do that :-) ). I don't use any feature specific to the full 
version vs base version.
Is it possible to make that kind of upgrade, will the base version be able to open VI 
made with a full version ?

Stéphane Caron




copy data from a front panel table

2004-04-20 Thread Himes, Allen
Hey all, 

I was trying to copy the data from a standard table, but when I try to
paste it, I get a bitmap image of part of my table.  I've tried both
right-clicking and using the Edit menu.  The Edit menu "copy" will just
give me the data for one cell in my table.  Am I missing something easy
here?  This seems like a trivial and very common application, but I
can't make it work.  (my program will crash, stop running, and not
finish the saving to .xls and .html part of my VI.  I just want to
salvage the data that I've already collected.)  Any suggestions?

allen




LabVIEW 7RT & PXI-1011 & SCXI

2004-04-20 Thread Schmidt, Kyle
Hello All,

I was helping a colleague of mine this morning as we attempted to unravel
the mysteries of LabVIEW RT.

I'm a long time LabVIEW and SCXI users - but the PXI-1011 combo chassis and
the RT controller setup have got me baffled.

I guess the first question is - can LabVIEW RT address SCXI modules at all?

I went through a bunch of configuration hassles, but this is where I am:

In Max version 3+, we have the PXI system configured (remote system,
ethernet access).  There is the 8175? controller and a PXI-1052E board.  The
daq board is in the final PXI slot of the system.

Then we have one SCXI-1121 module in the first slot of the PXI's SCXI slots.

Initially, there didn't seem like anyway to add that SCXI-1121 to the PXI
configuration - because it is configured as remote.  But then I used the
Remote configuration utility to configure it.  In fact, I discovered that
there was a configuration there (probably done by the field sales engineer -
thanks Graham) - I toyed with it and discovered that saving it did indeed
update the config file on the RT unit (confirmed through FTP).

But - I try a simple RT example, and it won't allow me to use SCXI channel
strings.  Also, it won't allow me to use a logical channel that was
configured to access the SCXI channel.  I get -10007 error.

Anyone have any ideas?

Thanks,

Kyle

R. Kyle Schmidt, P. Eng.
Senior Research Engineer
Messier-Dowty Inc. "The Landing Gear Company"
[EMAIL PROTECTED]
(905) 683-3100 x1473

" NOTICE - This e-mail message may contain privileged, confidential, or
proprietary information intended only for the use of the intended recipient.
If you are not the intended recipient of this e-mail, you are hereby
notified that any use, dissemination, distribution or reproduction of this
e-mail is prohibited. If you have received this e-mail in error, please
notify Messier-Dowty Inc. immediately and delete this e-mail and all
attachments from your computer system. Any views expressed in this e-mail
are those of the individual sender and may not necessarily reflect the views
of Messier-Dowty Inc.

NOTICE - Cet e-mail peut contenir des informations privilégiées,
confidentielles ou de la propriété de  Messier-Dowty Inc. uniquement
destinées à l'usage du destinataire. Si vous n'êtes pas le destinataire de
cet e-mail, nous vous informons que tout usage, diffusion, distribution ou
reproduction de cet e-mail est interdit. Si vous avez reçu cet e-mail par
erreur, nous vous remercions d'en informer Messier-Dowty Inc. immédiatement
et d'en effacer son contenu ainsi que tout document joint de votre système
informatique. Les opinions formulées dans cet e-mail sont celles des
expéditeurs et ne reflètent pas nécessairement la position de Messier-Dowty
Inc."





RE: camera loss

2004-04-20 Thread Norman Kirchner
I have seen this before assuming you are using a CVS
FTP to the CVS and there is a directory (can't remember but something
like 1394)someone help me that has a CVS to figure out what it is. There
are most likely many different files for different cameras. Unplug all
the cameras, delete these configuration files (make sure you're deleting
the right ones, Call NI to make sure) reboot the CVS. And plug in the
cameras 1 by one. This should straighen you out. 
Hopefully

-Norm

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Yang Yang
Sent: Tuesday, April 06, 2004 11:02 AM
To: [EMAIL PROTECTED]
Subject: camera loss


Hi All,

I am sorry if this question little bit off the Labview topic. 

I have two 1394 cameras: Basler A601F and Teli CSB4000F. They work good.
But sometimes after I shut down and then power up the computer, I lose
the two cameras. In NI MAX Measurement and Automation NI-IMAQ camera
section, they do not show up. What I need to do is pulling out the 1394
cable and plug it in the camera again. Then MAX shows them.

So what is the problem for losing cameras? Software driver, cameras
themselves, or IEEE 1394 PCI card?

Thanks for any help.

Yang




RE: LabVIEW 7RT & PXI-1011 & SCXI

2004-04-20 Thread Schmidt, Kyle
Thank you.  I checked this out.

Something either in this or another note gave me a clue - I deleted the
niconfig.dat file from the RT box and rebooted it.  Then I created a new
configuration using this process.  Everything works for me now.

I think the error was that the device number of the 6052E had been changed
from #4 to #1.

Thanks for your help.

Kyle

-Original Message-
From: Michael Aivaliotis [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 1:45 PM
To: 'Schmidt, Kyle'
Subject: RE: LabVIEW 7RT & PXI-1011 & SCXI


Here is a link that might help you:



> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Schmidt, Kyle
> Sent: Tuesday, April 06, 2004 12:35 PM
> To: 'Info LabVIEW'
> Subject: LabVIEW 7RT & PXI-1011 & SCXI
> 
> 
> Hello All,
> 
> I was helping a colleague of mine this morning as we 
> attempted to unravel the mysteries of LabVIEW RT.
> 
> I'm a long time LabVIEW and SCXI users - but the PXI-1011 
> combo chassis and the RT controller setup have got me baffled.
> 
> I guess the first question is - can LabVIEW RT address SCXI 
> modules at all?
> 
> I went through a bunch of configuration hassles, but this is 
> where I am:
> 
> In Max version 3+, we have the PXI system configured (remote 
> system, ethernet access).  There is the 8175? controller and 
> a PXI-1052E board.  The daq board is in the final PXI slot of 
> the system.
> 
> Then we have one SCXI-1121 module in the first slot of the 
> PXI's SCXI slots.
> 
> Initially, there didn't seem like anyway to add that 
> SCXI-1121 to the PXI configuration - because it is configured 
> as remote.  But then I used the Remote configuration utility 
> to configure it.  In fact, I discovered that there was a 
> configuration there (probably done by the field sales 
> engineer - thanks Graham) - I toyed with it and discovered 
> that saving it did indeed update the config file on the RT 
> unit (confirmed through FTP).
> 
> But - I try a simple RT example, and it won't allow me to use 
> SCXI channel strings.  Also, it won't allow me to use a 
> logical channel that was configured to access the SCXI 
> channel.  I get -10007 error.
> 
> Anyone have any ideas?
> 
> Thanks,
> 
> Kyle
> 
> R. Kyle Schmidt, P. Eng.
> Senior Research Engineer
> Messier-Dowty Inc. "The Landing Gear Company" 
> [EMAIL PROTECTED]
> (905) 683-3100 x1473
> 
> " NOTICE - This e-mail message may contain privileged, 
> confidential, or proprietary information intended only for 
> the use of the intended recipient. If you are not the 
> intended recipient of this e-mail, you are hereby notified 
> that any use, dissemination, distribution or reproduction of 
> this e-mail is prohibited. If you have received this e-mail 
> in error, please notify Messier-Dowty Inc. immediately and 
> delete this e-mail and all attachments from your computer 
> system. Any views expressed in this e-mail are those of the 
> individual sender and may not necessarily reflect the views 
> of Messier-Dowty Inc.
> 
> NOTICE - Cet e-mail peut contenir des informations 
> privilégiées, confidentielles ou de la propriété de  
> Messier-Dowty Inc. uniquement destinées à l'usage du 
> destinataire. Si vous n'êtes pas le destinataire de cet 
> e-mail, nous vous informons que tout usage, diffusion, 
> distribution ou reproduction de cet e-mail est interdit. Si 
> vous avez reçu cet e-mail par erreur, nous vous remercions 
> d'en informer Messier-Dowty Inc. immédiatement et d'en 
> effacer son contenu ainsi que tout document joint de votre 
> système informatique. Les opinions formulées dans cet e-mail 
> sont celles des expéditeurs et ne reflètent pas 
> nécessairement la position de Messier-Dowty Inc."
> 
> 
> 
> 




Serial communication using serial compatibility VIs does not return correct bytes at Bytes at Serial Port vi

2004-04-20 Thread rk1960in
Hi! All,
I am developing a application which communicates with serial device
using compatibility VIs(as these VIs are for PDA).
When I use "Bytes at Serial Port" to get the desired number of bytes
to be read, it returns me the length of the bytes I wrote to the
serial port and displays the same command(which is been written on the
port using Serial Write.vi) in the Read Serial output terminal.
I am using sequence to manage the flow of the serial initialization,
write, bytes at serial port and  serial read. I even have wait
function in both serial write and serial read sequences.
Any suggestions?
TIA
Rachana



Re: Serial port Write then Read issue

2004-04-20 Thread rk1960in
Robert Cole <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> Question: did you check your serial port setup to make sure that local
> echo was turned off? I see this kind of thing in my machine when I
> have local echo turned on. It could be turned on in the LabVIEW serial
> port setup or in the Windoze setup.
> 
>  Rob
Hi! Rob,
How do you turn off the local echo? My program seem to have the same
issue of reading back whatever string was send on the serial
port...and bytes to read does not return the correct number of bytes
to be read. With hyperterminal it works fine and even with MAX.
I am using LV7.0 and Serial compatibility VIs.
TIA



RE: Application builder and LabVIEW base package

2004-04-20 Thread Harden Chris
Hi Ian,

I'm not sure about LV7 but I know that the apps builder works with the base
package versions of LV5 & 6/6.1 which I currently use.  Hopefully this is
not a requirement of LV7 - this would be a retrograde step.

Regards,


Chris Harden.

Test System Design Engineer.

FR-HiTEMP Ltd,
Brook Road,
Wimborne,
Dorset.  BH21 2BJ.



> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On
> Behalf Of Ian G Williams
> Sent: Thursday, April 08, 2004 7:02 AM
> To:   Info-LabVIEW list
> Subject:  Application builder and LabVIEW base package
> 
> Where I am working we currently use the LabVIEW 7 Express base package. We
> need to distribute some minor apps I have written with this to other
> machines and so I thought buying the App Builder would solve the problem.
> However, the website seems to hint the full dev. system is needed.
> 
> Does anyone know if the apps builder works with the base package, as long
> as
> the app only uses subVIs from the base package itself? It's only a file
> manipulation routine, no DAQ or anything.
> 
> Thanks in advance...
> 
> Ian G Williams
> Warwick Technology Limited
> Warwick
> UK
> http://www.warwicktech.co.uk
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.654 / Virus Database: 419 - Release Date: 06/04/04

This e-mail and any files transmitted with it ("E-mail") is intended solely for the 
addressee(s) and may contain confidential and/or legally privileged information.  If 
you are not the addressee(s), any disclosure, reproduction, copying, distribution or 
other use of the E-mail is prohibited.  If you have received this E-mail in error, 
please delete it and notify the sender immediately via our switchboard or return 
e-mail.  

Neither the company nor any individual sending this E-mail accepts any liability in 
respect of the content (including errors and omissions) and timeliness of the E-mail 
which arise as a result of transmission.  If verification is required, please request 
a hard copy version




list directory.vi alternative ?

2004-04-20 Thread Gerald . Schaller
Hello all,

The List Directory (list directory.vi) LabVIEW primitive  tries to
resolve any shortcuts in the directory. When using with Winndows 98 and at
least in LabVIEW 6.1 it will crash the program if the shortcuts is broken.
Does anybody has an alternative to get the directory list recursively from a
given path ?

Thanks in advance for any help.


Gérald Schaller, Ingénieur HES
Métrologie informatique

Swiss Federal Office of Metrology and Accreditation 
Office fédéral de métrologie et d'accréditation
Bundesamt für Metrologie und Akkreditierung 
Lindenweg 50, CH-3003 Bern-Wabern
Tél direct  +41 31 32 33 411, Fax +41 31 32 33 210
 >,
http://www.metas.ch  




Re: Want to feed values of an Excel spreadsheet into an index array function

2004-04-20 Thread Dannic
KMR <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> I need to feed values of a Excel spreadsheet into an index array, but
> I cannot figure out how to read in the spreadsheet correctly.  Can
> anyone help me out?  Thanks.


If you haven't figured this out yet let me know and I'll zip up the VI
I have made for this particular issue I had as well.

Billie Kennedy



Re: Sending TCP data with value change

2004-04-20 Thread Paul Slocum
Perfect, that's exactly what I needed to know to get started.
Thanks!!  :o)

-paul




Re: how to transfer data in table, to excel sheet

2004-04-20 Thread Dannic
go to NI website:

http://www.ni.com/devzone/dev_exchange/ex_search.htm

and search for "excel goop"

You want the excel toolkit(GOOP)


this helped me do something very similiar to what you want to do.

Thandal <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> In my vi,on button click i am adding new entries in table,now i want
> 1. when i press a button to write data in table, same time my data
> (set of data(i have 7 columns))must append to excel sheet
> help me to slove my problem



appbuilder

2004-04-20 Thread Infos - Bien Entendu

could somebody enlighten me about the ability to run an application built
with application builder on a platform different with the one it was
developped on
for exemple i develop on a mac OSX with LV7 an application builder
what do i need to make it run on windows ?


--
Pascal Luquet
Bien Entendu
eMail : [EMAIL PROTECTED]
www.BienEntendu.fr




Re: Driver Templates

2004-04-20 Thread jason . hobbs

Scott,
We currently only maintain our templates for the latest version of LabVIEW.  We will add support for previous versions, but in the future any updates will only be reflected in the templates for the latest LabVIEW version.  This is so we can incorporate the latest LabVIEW technologies in the templates.  I have saved the current templates in LabVIEW 6.1 and put them on our FTP site at ftp.ni.com/outgoing.  They are named ID Templates 6.1.zip.  You should be able to access them there for around a week.  We will also update our site to have the templates for previous LabVIEW versions.

I want to point you to some of our newly updated tools.  These tools can assist you during the development process.

Newly updated and approved LabVIEW Instrument Driver Guidelines
(http://www.ni.com/devzone/idnet/library/instrument_driver_guidelines.htm)
Icon Art Glossary
(http://www.ni.com/devzone/idnet/library/icon_art_glossary.htm)
Newly updated Developing LabVIEW Plug and Play Instrument Drivers application note
(http://zone.ni.com/devzone/conceptd.nsf/webmain/6100BC4CA014910786256E4A006FE675?opendocument).

Let me know if you have any questions about these tools during your development.  I would also like to point out that you can submit your driver to be certified and included in the Instrument Driver Network (ni.com/idnet).  Also, take a look at our Instrument Driver Developer Program (http://www.ni.com/devzone/idnet/iddp.htm).  It is designed to provide value for vendors that develop LabVIEW and/or CVI instrument drivers.

Let me know if you have any questions and I'd be happy to assist.

Jason Hobbs



> Hi,
>
> I am gearing up to build an instrument driver for one of our newest
> instruments per NI's LabVIEW Plug and Play model.  I just downloaded the
> driver templates from their website but found out they were written in
> version 7.  I'm using version 6.1.  Does anybody have these templates in
> version 6.1 that they could send me?
>
> Thanks,
> -Scott
>
> Scott Remington
> Optical Applications Engineer
> ILX Lightwave
> ph:  406.556.2545 (direct)
> fax:  406.586.9405

Passing a 2d array to a DLL written in C++

2004-04-20 Thread znakeeye
Hi!

I have made a DLL in C++/MFC. I have to implement a function that can
fill a LabView 2D-array with some data. How can that be done?

I suppose the function should look something like this:
int MyDllFunction(unsigned char **matrix, int width, int height)
{
   for (int r = 0; r < height; r++)
   {
  for (int c = 0; c < width; c++)
 matrix[r][c] = SomeData(r, c);
   }
   
   return 1;
}

Where should the memory of the array be declared? Maybe LabView can
allocate the memory itself and pass the function a char-array
(together with the width and height) to my function? How does it work?

Any help is really appreciated! Thanks!

/Chris



  1   2   3   4   >