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
 
 
 http://dict.leo.org/?p=2Ib6..search=simultaneous




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
http://dict.leo.org/?p=2Ib6..search=simultaneous




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]



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



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.viERRDriver Status:  (Hex 0xBFFF0039) Unable to
queue the asynchronous operation because there is already an operation
in progress.
*  tktds7k Initialize.viERRDriver 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 MUST SEE
mxwScript_ClusterConnectorN.vi
mxwScript_CleanUpFrontPanel.vi
mxwScript_ClusterCopy.vi

MUAHHAHAHAHA

~,~ The Captain Was Here 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Norman Kirchner
Sent: Monday, March 22, 2004 1:43 PM
To: [EMAIL PROTECTED]
Subject: All those things they try to hide


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




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!





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



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 a
 href=http://digital.ni.com/worldwide/bwcontent.nsf/web/all/2C2CE61C7080735F86256E2A004F2FD3;the
 latest NI Newsletter/a.
 
 You need the a href=http://www.ni.com/labview/power.htm#pda;LabVIEW
 PDA module/a 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 a
 href=http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=8RFORMNUMBER=3RHIDETAG=TRUEUCATEGORY_0=_50UCATEGORY_S=0;LabVIEW
 Targets/a 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?OpenDocumentnode=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



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: nosymbols
FEHLER - ???
0001 ???
0002 ???
0003 ???

* Stack Back Trace *

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
01FCFF10 3023F32E F1D1 0001 00D30368  !nosymbols 
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: 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.









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



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





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



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




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: 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




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



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



a question about for loop

2004-04-20 Thread G_F
Bonjour

the problem I try to solve refers to a for loop which i try to stop
whenever i press a clear button.
I other words, I have a for loop that executes a number of task that last
about 30minutes.
the problem is, that I have no idea about how to quit such loop before the
number of iteration is reached

Thank you in advance for your help


Regards
Gerard



-- 
Gérard Férini
Switzerland





MOTION - S-curves

2004-04-20 Thread Stéphane

I try to calculate the time and the distance needed for a motorized stage to
reach a constant speed.
The Speed, Acceleration / Deceleration and S-curves parameters are known.
Is there any way (vi or dll) to obtain the theoritical position, speed and
acceleration Vs time of a movmement ?
Or is there a way to access the data of the trajectory generator?
The motion assistant plot the position, speed and acceleration Vs time of
a movmement from the Speed, Acceleration / Deceleration and S-curves
parameters. Is it possible to have the formulas ?

Thanks for your help.





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

2004-04-20 Thread znakeeye
Evan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]...
 Chris,
 
 I just wanted to add my 2 cents on the topic.  Rolf has got you down
 the correct path, however there is an example that I think will really
 help you.
 
 It ships with LabVIEW 7.0 and can be found at C:\Program
 Files\National Instruments\LabVIEW 7.0\examples\dll\data
 passing\Calling Native Code.llb
 
 This example shows how to pass all sorts of data to DLLs.  It has the
 calling VI, the DLL, and the source for that DLL.  In addition there
 is the Using External Code in LabVIEW manual.
 
 Evan
 National Instruments

Thanks! I'll take a look at it!



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

2004-04-20 Thread znakeeye
rolf [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]...
 So basically my function is valid (although I have to switch rows and
 columns for a valid result) and all I need is to make a LabView
 program that allocates a 2d-array and passes it to this dll function?
 
 Well, not sure about switching columns and rows really, you will have
 to try this out. My change is in the type of the matrix parameter.
 Compare it to your original code.
 
 int MyDllFunction(unsigned char **matrix, int width, int height)
 
 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 * width + c] = SomeData(r, c);
  }
  return 1;
 }
 
 Rolf K

Thanks a lot! I'll try it out. To me it seems quite strange to be
using a single pointer though. But, then again, I don't really know
how LabView works =).



Re: a question about for loop

2004-04-20 Thread G_F
Thanks Shane for your reply. As a matter of fact, I'm going to choose the
first option you mentionned hereby since I think
it's the best option.
Nice of you to have answered

Regards
Gerard


-- 
Gérard Férini
Switzerland
http://home.tiscalinet.ch/gferini/


shoneill [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi Gérard,

you have two main options

either replace the for loop with a while loop (N needs to be
determined programatically) or place the contents of the FOR loop in a
case statement, leaving one case empty.  By pressing a button linked
to the case statement, the calculations for the remaining iterations
can basically be skipped.  The current iteration will still execute to
completion though.

Hope this helps

Shane.





NI Motion + PXI 7344 + s-curves

2004-04-20 Thread Stéphane
I use Labview 7.0 and a PXI 7344 motion board.
I try to calculate the time and the distance needed for a motorized stage to
reach a constant speed.
The Speed, Acceleration / Deceleration and S-curves parameters are known.
Is there any way (vi or dll) to obtain the theoritical position, speed and
acceleration Vs time of a movmement ?
Or is there a way to access the data of the trajectory generator?
The motion assistant plot the position, speed and acceleration Vs time of
a movmement from the Speed, Acceleration / Deceleration and S-curves
parameters. Is it possible to have the formulas ?

Thanks for your help.

Stéphane.





Seeking LabView (7) drivers for Anritsu 37xxxC lightning VNA

2004-04-20 Thread lvlist
Hello,

I'm waiting to hear from Anritsu about this, but meanwhile does anyone have these or 
know exactly where to find them please?

Failing that, is it likely that the drivers for the Anritsu 372xxA are likely to work 
satisfactorily?

Thanks,

Matt.




Auto indexing and wrap around

2004-04-20 Thread Oliver Friedrich
Hallo,

when I enable AutoIndexing on a While-Loop, the node returns nothing when 
the loop reads beyond the end of the array. Is there a way to change this 
behaviour so, that the array wraps around and the WhileLoop reads the array 
again and again and...

I could do it with a ForLoop nested within a WhileLoop but I love elegant 
solutions ;-)

Regards

Oliver Friedrich



How to talk my company into allowing OpenG usage?

2004-04-20 Thread Swinarsky, DJ Derrick (5453) @ IS
Just curious if anyone has any tips on convincing the corporate types that
using software developed by the opensource community is a GOOD thing.  I
would love to be allowed to use all the OpenG tools and think that many in
my group would also benefit from them.  Also would like to use some of the
labXML code developed on sourceforge.

Problem is that I work for a big defense contractor that is not too keen
about the idea of opensource.  Have some paranoid individuals somewhere in
the chain that think code developed on sourceforge is not reliable and
shouldn't be trusted.  Also have heard that in order for anyone in the
company to use software downloaded from the internet the company has to have
an agreement with the providing entity (company usually).

Any help in this matter would be GREATLY appreciated!!!

Thanks,
Derrick

p.s.  Interesting that they don't believe the opensource software is good
and yet they all love Synergy which is straight from sourceforge
(synergy2.sourceforge.net).




Re: How to talk my company into allowing OpenG usage?

2004-04-20 Thread Jim Kring
 You get what you pay for; if it's cheap or free it's crap.

And some opinions fit into that category too, but it is best not to 
generalize ;-)

One should always perform an evaluation of the tools (and advice) they 
are going to use, prior to using them.  If they meet your standards and 
requirements then go for it.  If not, you can always throw money at your 
problems (and pay someone to invent you a wheel).  Largely, the price 
you pay for Open Source software is the time that it takes you to 
evaluate, learn how to use, and participate in the development of the 
software -- in that respect Open Source software is not free.  But if 
you don't pay that price, then... (sometimes) you get what you pay for.

Regards,

-Jim

PS - Have you read your NI Software License Agreement lately?  Is your 
application authorized and will it be authorized tomorrow?  OK, gotta 
run... I hear the helicopters circling :-))

Craig Graham wrote:

Swinarsky, DJ Derrick (5453) @ IS wrote:
 

Just curious if anyone has any tips on convincing the corporate types
that using software developed by the opensource community is a GOOD
thing.  I would love to be allowed to use all the OpenG tools and
think that many in my group would also benefit from them.  Also would
like to use some of the labXML code developed on sourceforge.
Problem is that I work for a big defense contractor that is not too
keen about the idea of opensource.  Have some paranoid individuals
somewhere in the chain that think code developed on sourceforge is
not reliable and shouldn't be trusted.  Also have heard that in order
for anyone in the company to use software downloaded from the
internet the company has to have an agreement with the providing
entity (company usually).
Any help in this matter would be GREATLY appreciated!!!
   

rant
I went down the same path about a year ago and gave up. Problems I
encountered (and still do in different contexts);
1) You get what you pay for; if it's cheap or free it's crap.
2) If it wasn't written in-house, it's crap.
3) If the license doesn't state in one line of words of one syllable that
there are no copyright, royalty or any other IP issues with the code no
matter how you use it, it's crap.
I disagree with all three points, but that's what I came up against and I've
given up on it. With regards to point 3, I got quite an involved email from
Jim Kring explaining what we could and could not do with OpenG. Didn't help-
the response was that an email isn't legally binding. In another instance,
Albert Geven offered to let me use some pretty useful code he'd done for
saving and loading panel settings in a way that was resistant to datatype
changes, control addition/removal etc. The conditions that were imposed on
using that were unreasonable- I was expected to ask Albert to sign a waiver
that no IP rights would be exercised on the code and fax it back to us so we
could use the code he'd given me as a favour. I didn't see why he should
have to mess about like that so I didn't do it. When someone sends you code
in an email with permission to do with it as you please, it's a bit off to
then start asking them to jump through hoops so they can help you out!
Even though you have the source and so the included open-source stuff can be
audited (and maintained) just as well as the in-house stuff, I wouldn't hold
out hope on persuading the decision makers at your end.
\rant

 





Re (2) : appbuilder

2004-04-20 Thread Infos - Bien Entendu
 for exemple i develop on a mac OSX with LV7 an application builder
 what do i need to make it run on windows ?
 

This ability isn't really there today.  EXEs on various Windows are 
compatible with one another, but Mac and unix have different binary 
standards.  To compile one from the other platform is usually called 
cross compilation, and LV supports this for RT, but not for desktop OSes.
thank you for your answer
i wanted to be sure
now i am !

this is really unfair from national as VIs can migrate from one platform
to another
and embedding VIs in multiples standalone engine (one for each
platform) should be quite easy to do.

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




RE: copy data from a front panel table

2004-04-20 Thread Himes, Allen
Thanks to the guys that offered suggestions.  I forgot to mention that
the application from where I need to grab data is a .exe.  The methods
suggested only worked (or I couldn't make them work, anyway) for a
regular VI and not an .exe.  What I initially envisioned was something
as simple as selecting the data from the Front Panel with the mouse and
pasting that into a spreadsheet somewhere.

I still really haven't found a work-around for this ... luckily, my test
was pretty short and I could re-run it without too much time loss.
Still looking for suggestions ...

Thanks again, 

ah

-Original Message-
From: Sam Behashtei [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 06, 2004 13:14
To: 'Himes, Allen'
Subject: RE: copy data from a front panel table

Easiest way: Use VI Server to get the data from the table.  I will
attach an example to your private email.

You VI with the table must be opened.

-Sam

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Himes, Allen
 Sent: Tuesday, April 06, 2004 12:00 PM
 To: Info LabVIEW (E-mail)
 Subject: copy data from a front panel table
 
 
 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
 




Re: How to talk my company into allowing OpenG usage?

2004-04-20 Thread Enrique Vargas
1) You get what you pay for; if it's cheap or free it's crap.
Somebody correct me if I am wrong, but, if they want to pay money for 
it, they can. (Give it as a donation to OpenG. )

What I am trying to say is that, AFAIK, the term free in the open 
source philosophy is not one of free of cost:

Free software is a matter of the users' freedom to run, copy, 
distribute, study, change and improve the software (from gnu.org)

The fact that you can obtain the OpenG tools and code at no cost should 
then be an added benefit. If that do not make them confortable, then 
they can always pay for it. That is not in violation of the open source 
philosophy. (I am pretty sure Jim and the team of developers can use the 
money for the open source cause. I won't even mind if they decided to 
get some beer: their work is priceless, but that's just me.)

Of course, I have no idea what is Jim's or the other OpenG developers' 
policy on receiving money. I am just thinking out loud.

Regards;

Enrique Vargas
www.visecurity.com
 





Re: How to talk my company into allowing OpenG usage?

2004-04-20 Thread Jim Kring
 Of course, I have no idea what is Jim's or the other OpenG 
developers' policy on receiving money. I am just thinking out loud.

If you follow the Support this project link from OpenG.org 
http://sourceforge.net/donate/index.php?group_id=52435, you will see 
the following:


Information provided (by this user or project's admin) about donations:
Any money donated will go to maintaining the OpenG.org website and 
hosting group meetings. This costs approximately 1000 dollars (US) per 
year. If people would like money to go to the development of specific 
projects and/or features, please email me prior to donating funds. A 
full account of how funds are spent, will be made publicly available.


Mostly, people contribute to projects that have (monetary or other) 
value to them and their projects.  But, if people would like to pay for 
new features that are important to them and they would rather spend 
money than time, we are open to that idea as well.

-Jim

Enrique Vargas wrote:

1) You get what you pay for; if it's cheap or free it's crap.


Somebody correct me if I am wrong, but, if they want to pay money for 
it, they can. (Give it as a donation to OpenG. )

What I am trying to say is that, AFAIK, the term free in the open 
source philosophy is not one of free of cost:

Free software is a matter of the users' freedom to run, copy, 
distribute, study, change and improve the software (from gnu.org)

The fact that you can obtain the OpenG tools and code at no cost 
should then be an added benefit. If that do not make them confortable, 
then they can always pay for it. That is not in violation of the open 
source philosophy. (I am pretty sure Jim and the team of developers 
can use the money for the open source cause. I won't even mind if they 
decided to get some beer: their work is priceless, but that's just me.)

Of course, I have no idea what is Jim's or the other OpenG developers' 
policy on receiving money. I am just thinking out loud.

Regards;

Enrique Vargas
www.visecurity.com
 





Re: unsigned char?

2004-04-20 Thread Rolf
Minty wrote:

 Does anyone know the equivalent data type (when using the Call Library
 Function Node in LabView 7 Express) to an unsigned char?

For which platform and API? The types LabVIEW shows are the fundamental 
C types each C compiler should understand properly and means the same 
unless you have an exotic one for a 7 or 9 bit CPU.

Rolf K



Menus and EventStructures

2004-04-20 Thread Oliver Friedrich
Hallo,

I have a rather strange behaviour. I've made a runtime menu with a couple 
of entries (all are type UserItem).

Now I have an EventStructure which handles the event This VI 
MenuSelection (User).

Inside the EventStructure I get information on the selected item by reading 
ItemTag which is wired to a CaseSelector.

The funny thing is: If I click let's say the item Create new profile this 
event seems to be produced twice. The first occurence is handled by 
EventStructure A. EventStructure B which is called after EventStructureA is  
also configured to handle Menu Selection (User) and it triggers immidiately 
returning the same ItemTag than StructureA.  I can't accept this behaviour.

1. Do I have to consume the first event that it won't be handled a second 
time by another EventStructure. How could this be done?

2. Maybe there are two events produced. The first when I press the mouse 
button on the menu entry, the second on releasing. Is this correct.

3. What exactly is MenuTracking and Block menu ?

Thanks for your help

Oliver Friedrich



Re: unsigned char?

2004-04-20 Thread Rolf
Minty wrote:
 Thanks for the reply Rolf.
 
 The platform is Win2k and the API is Win32.
 
 Thanks for your help.
 
 Minty

WinAPI uses a number of types which are sometimes identical but the 
mostly used type which would correspond with unsigned char would be
BYTE and UCHAR.

Rolf K



Re: howto unzip in LabView

2004-04-20 Thread Rolf
Volvo JazzHouse wrote:

 Hej,
 
 Does anyone know how to do it?

Sure! You have two ways?

1) Using SystemExec VI you can call the pkunzip tool or any other 
command line zip utility.

2) Going over to OpenG on http://sourceforge.net/projects/opengtoolkit/ 
you can download the lib_lvzip library of VIs or the entire OpenG Toolkit.

The lvzip library is a VI library using a shared library file derived 
from the popular zlib library to handle zipping and unzipping directly 
in LabVIEW.

Rolf K



custamizing controls

2004-04-20 Thread Thandal
hi all
I have a problem =E0 customizing controls.
In  labview7 ex. There is a vi named #8220;Using Custom
Control.vi#8221;
I want to know how to convert pictures to control,
Like truck in above mentioned vi
Please tell me how to do it..



Re: Crash when passing a pointer of an initialized U8 array to my dll file.

2004-04-20 Thread LarsRoe
It's because the array is not set up like the standard C array.  Read
Using External Code in LabVIEW in LabVIEW's help.  Also, if you
right-click on the Call Library Node and select the option to create a
header file, the header file will show the data structure more
clearly.



Re: custamizing controls

2004-04-20 Thread Joe Guo
First of all, you need to right click on the control you want to
customize and select Advanced - Customize from the popup menu, this
brings up a frontpanel from which you can import picutres into the
control (Edit - Import Picture from file).  Once the picture is
imported, right click on the control and select Import Picture,
different control has different selection, for example, if the control
is a boolean type, then you need choose a state for the picture (True,
False and Decal).  Import more pictures for all the states.   When
finished, save the control so it can be used later.

Search for the application note: LabVIEW Custom Controls, Indicators,
and Type Definitions, for more detailed help.

-Joe



Re: Can we run two while loops independently in one application?

2004-04-20 Thread Joe Guo
You could sample both channels at higher rate (4K/s), then downsample
for each channel.

-Joe



Re: How to determin wich control has focus

2004-04-20 Thread Joe Guo
For each control and indicator there is a property, Focus.  When it
is True, the control / indicator has the key focus.

-Joe



  1   2   3   4   >