Is there a VI that tells me when an aquisition is completed for a pci-6115? TIA

2004-01-23 Thread STK
Is there a VI that tells me when an aquisition is completed for a pci-6115?
TIA







Re: Remove Panel?

2004-01-23 Thread Greg McKaskle
 I try to build an application with the application builder with one mainVI
 and several subVI's (LabView7).
 Normally the front panel of not used subVI's can be removed in the VI
 Settings.  But one of my used front panels in a subVI cannot be removed
 manually. That means the target setting is greyed and disabled and cannot be
 changed. How or where can I set the front panel options for removing it??
 

Most likely this is because the subVI uses a property node or some other 
UI feature that must have the panel in memory.  You might want to do a 
Find for property nodes to see if it is needed.

Greg McKaskle




Re: Is there a VI that tells me when an aquisition is completed for a pci-6115? TIA

2004-01-23 Thread STK
Found this example.

ftp://ftp.ni.com/contrib/epd/B123AE0CB96F111EE034080020E74861/tapnswdp.zip

If anyone has an easier way than using DAQ occurance would appreciate it.

Thanks,

STK

STK [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Is there a VI that tells me when an aquisition is completed for a
pci-6115?
 TIA









Re: Savitsky-Golay Derivative filter

2004-01-23 Thread Lewis Drake
I've written a derivative filter that fits the best straight line to a
subarray of data centered about each point in the input array.  I have a
Point-to-Point version and a version which requires that the entire data
array be input.  It works as follows.

For each point in the input data array, 2*Rank+1 points are extracted to a
subarray as follows.  Rank points are extracted before the point, the point
is extracted, and Rank points after the point.  These 2*Rank+1 points are
concatenated and input to the LV Linear Regression function to calculate the
slope at each point in the input array.   At the beginning and end of the
array there are not enough points to do this, so the Rank is automatically
reduced from so the derivative can be calculated (although with reduced
Rank).

One benefit of this method is that the points do not have to be spaced
regularly in time.  The VI accepts 2 input arrays, one is the value and the
other is the corresponding timestamp.  This works quite well and you can
adjust the Rank to get the desired filtering.

I will share these programs with anyone interested.

Lewis Drake
Process Automation Corporation
Belle Mead, NJ
908 359-1011
www.processauto.com





SV: [A,W] Picture func, fill

2004-01-23 Thread Knut Steinnes
 
.. Bruce Ammons [mailto:[EMAIL PROTECTED] wrote:
..

How about using Draw Multiple Lines with Fill True?  That should fill in your 
polygon for you.
..

Thanks Bruce. 

You were completely right.

The moral must, once again be:
There is no substitute for reading the manuals, even though info-labview comes close!
:-)

Have a nice day.

knut

University of Tromsø, Medical Faculty, Medical Physiology, N-9037 Tromsø, Norway
Tel. +47 776 44692, Fax. +47 776 45440
 




RE: [W] Save Controls as default

2004-01-23 Thread Lewis Drake
I am attaching an example program (private E-Mail) that does this when it
starts (it restores control settings) and when it stops (it saves control
settings).  [The program is an example of a State Diagram that I mentioned a
few days ago on InfoLabVIEW.]

Basically, I have a panel that allows the user to make changes to some
controls and I need to save the settings so that the next time that LabVIEW
is loaded, the user's modifications to the controls are there?

This will occur at runtime, so 'Operate' and 'Make Current Values Default'
will not work.  There are clusters and menu items (8 of each) and I would
like to save their values as default without writing external file(s).





Finding the position of a table cell from its Edit Position Prope rty

2004-01-23 Thread Bookwalter, Dan

Anyone have a slick way of determining the position of a Table Cell from its
Edit Position (row,column) property ?? I want to use the edit position to
locate a Dialog Ring within the table cell when the cell is clicked...

Dan Bookwalter N8DCJ
Hi-Stat a Stoneridge Co.
345 South Mill St.
Lexington, Ohio 44904
 
(419) 884-1219 Phone
(419) 884-4172 Direct
(419) 884-4195 Fax
 
[EMAIL PROTECTED]
 


_ 
This electronic mail transmission contains confidential information 
intended only for the person(s) named. Any use, distribution, copying 
or disclosure by any other person is strictly prohibited. If you 
received this transmission in error, please send an electronic mail 
message to [EMAIL PROTECTED] 





RE: empty files in executable

2004-01-23 Thread Lewis Drake
Rather than creating directories in the installer, I have found that it is
more convenient to create any needed directory within the LV program when it
tries to write to any paths that don't exist.  I have a generic VI (Build
Directory Path.vi) that I use whenever I write to a file.  It automatically
creates any missing, legally named directories plus it outputs the new
directory name and a path to the file within it.  This works well if the
User passes a non-existing path to LabVIEW.

Lewis Drake
Process Automation Corporation
Belle Mead, NJ
908 359-1011
www.processauto.com





EmStop

2004-01-23 Thread Subramanian, Shankar, K
Hello, 

I have a subVI that needs an emergency stop. Once this stop is pressed, the
VI should stop running. The subVI has several loops running sequentially. I
want this  EmStop button to take effect no matter at which execution point
the VI is. I tried putting an altogether separate loop that runs parallel
with the program and checks for the EmStop periodically. The condition of
this loop being EmStop not pressed - continue. 

Considering an experiment where EmStop is not pressed and the subVI is
executed till the end of the program which has a normal stop button which
returns it to the main VI. In such a situation the control does not transfer
between subVI to main VI since the EmStop loop is still running waiting for
EmStop to be depressed. 

Instead I wired the state of normal Stop along with EmStop using OR gate
to remove this problem. In such a case, if I press on EmStop it does not
acknowledge because the loop waits for the value of the Stop button to
evaluate the OR function. But the value of the Stop button does not come
till the very end as it runs in a sequence. 

The Stop buttons are Latch when released buttons and I guess setting up a
local variable does not work. 

Could you let me know as to how I could do it?

Thanks 
Shankar




Re: FW: Replacing one instance of a VI versus many

2004-01-23 Thread Scott Hannahs
At 16:39 -0600 01/22/2004, Scott Serlin wrote:
My VI has a subVI that is called out in many places within the top level
VI.  How do I get the parent VI to pick up the subVI that has been
changed through the entire parent VI in one shot?

If you merely modify the sub-vi and resave it then it will call the new sub-vi 
everywhere.  If you want to change the sub-vi to one of a different name then do the 
following.


Open toplevel.vi
Open sub.vi
save as sub.vi as newsub.vi (do NOT check the box save without updating callers)
close newsub.vi and toplevel.vi
rename changedsub.vi to newsub.vi in the same directory as newsub.vi
reopen toplevel.vi

Bingo, it will pickup the changed subVI everywhere it used to call sub.vi.

-Scott
-- 
 Dr. Scott Hannahs, Head of User Research Instrumentation
 http://sthmac.magnet.fsu.edu
 National High Magnetic Field Laboratory, Florida State University
 1800 E. Paul Dirac Dr., Tallahassee FL 32310, (850)644-0216/FAX 644-0534

The requirements said: Windows 2000 or better.
So I got a Macintosh.