Re: Spline Interpolation

2004-01-12 Thread Nok
Thanks.. Altenbach.

U r absolutely right. it has an error -20049. But I don't understand
the problem of duplicate x-value. because that I did is I load the x
and y value from the textfile.txt and keep in Global variable. then, I
send the x-array and y-array into the Spline interpolant.vi.

This is the same way, that I did with another textfile (which is only
200 dim) and it work. but why this file (1000 dim) is not working.

Thank you very much for ur kind help.

Nopporn



sending timeout event

2004-01-12 Thread Infos - Bien Entendu
i am trying to find a way to send an event to another VI
especially a timeout event if possible, but an unused (in that case) 
event like keydown would be fine
but am embarassed with this hassling registering procedure
and can't make it work

does someone could enlight me or send me a small example for it ?


thanks in advance

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




Re: executable vi files in windows!

2004-01-12 Thread Fonsi
Hi Wiebe, thanks for your reply!

Yes, i want that my application run in other pc without install
labview runtime. I assure to you, this program run in all pcs without
install the lbrt or LV.

Then, you say I only must to put the lbrt.dll in the directory. But
Where i get the file?. Also I think before I must to convert the file
dll(all my vis) to .exe, and i dont know, how can I  pass from .dll
to exe?.
It would be great. thanks for try to understand me. :)
Best regards.



Registering to Exents and displaying UI of a native .NET assambly (C#) with LabVIEW 7.0 Express?

2004-01-12 Thread Sebastian Dau
Hi there,

I red something about LabVIEW 7's new .NET interface and I started to
try
things out.
I was able to successfully create an .NET User Control with C# that
exports
one property, one method and one event for demonstration puposes.
It was piece of cake to access my assamblies method and property but
unfortunately, I wasn't able to figure out how I do register the .NET
event with LabVIEW 7. Additionally, it seems like LabVIEW 7 doesn't
provides any feature to embbed
the .NET assamblies user interface into a LabVIEW front pannel just
like with
ActiveX controls or sub vi references.

Does anybody know how to register .NET events with LabVIEW 7 or
how to display a .NET assamblies user interface in a LabVIEW front
panel
container?

Thanks for your help, Sebastian Dau



Re: Can I use any acquistion card with Labview?

2004-01-12 Thread isam
Thank you Nirmal Sharma
But are all the software drivers provided by vendors recognized by
LabVIEW? In other terms, must these drivers get a satandard
architecture or protocol so LabVIEW can communicate with them? Or, if
I develop my own acquisition card, how can I write it's driver so
LabVIEW can communicate with it?
Best Regards
Isam



Re: executable vi files in windows!

2004-01-12 Thread Greg McKaskle
 Yes, i want that my application run in other pc without install
 labview runtime. I assure to you, this program run in all pcs without
 install the lbrt or LV.
 
 Then, you say I only must to put the lbrt.dll in the directory. But
 Where i get the file?. Also I think before I must to convert the file
 dll(all my vis) to .exe, and i dont know, how can I  pass from .dll
 to exe?.

There seems to be lots of confusion.  LabVIEW VIs are not executables. 
They are compiled code, sort of like a DLL that can be executed within 
the LabVIEW environment, but not on their own.

You can build LabVIEW VIs into an EXE using the Application Builder. 
This capability comes with the Professional edition and can be purchased 
separately.

In order to keep the size of the executable smaller, the executable 
references the runtime DLL.  The tool that build executables also builds 
installers that can automatically install the runtime if it is needed.

If you build an EXE, the user can just double-click, they don't need to 
launch the runtime and load a VI.

Greg McKasle




Re: How to create a amplitude against freq graph?

2004-01-12 Thread Greg McKaskle
 Hi, Iam new in labview. I measured amplitude from my DMM connected
 through GPIB. I also measured is freq result. How can i plot a graph
 of amplitude against freq plot?(something like a freq response plot).
 I do not know how to change the the x-axis of the waveform provided in
 labview into freq. Thank You.

If you are plotting an array of amplitudes sampled at various 
frequencies to a waveform graph, you are pretty close.  The scale will 
default to being labeled by index -- first amplitude plotted against 
zero, second against one, etc.  You can programmatically or 
interactively add a linear transform from index to displayed number.  In 
otherwords, you define an M and B to define what zero maps to, what one 
maps to, etc.  And you can also use the labeling tool to change the 
scale label to read frequency or whatever you like.

If your frequencies aren't in a linear progression, or if you just think 
it is simpler, use an XY graph instead, and put the frequency with each 
amplitude in a cluster.  Make an array of these XY paired clusters. 
Then change the scale label.

Greg McKaskle




Re: Can I use any acquistion card with Labview?

2004-01-12 Thread Dennis Knutson
Sometimes what you get from the vendor is a DLL (and supporting
documentation). From this, you can use LabVIEW's Call Library Function
to access the DLL. This should work most of the time but if the author
of the DLL has used datatypes that are not supported by LabVIEW, then
you might have to write a wrapper in C to do some conversion. If
you're lucky, the vendor will provide a set of LabVIEW VIs that
they've written that incorporate communication with their DLL. You
will not find any card that you will be able to use with MAX or the
LabVIEW data acquisition functions. Those rely on NI-DAQ which is
strictly for NI manufactured DAQ boards.



Re: two vis different timings?

2004-01-12 Thread tmh
Just use two separate loops on your VI's diagram, one for the data I/O
and one for the GUI. Use queues, notifiers or local/global variables
to send data from one loop to the other.



Re: Building functions.

2004-01-12 Thread Paul F. Sullivan
Daniel,

Would examplesmathmath.llb1D Explorer Example.vi in the full or 
professional version help?

--
EnWirementally,
Paul F. Sullivan


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






Hello, I'm searching for Labview 6 Driver for ABB PLC series 90

2004-01-12 Thread anaga2
I want control all digital imput and output of a ABB PLC series 90
(07KT97) and I want control also the analog imput and output.



I need My Data Processing SubVI, too. May you send it to me?

2004-01-12 Thread Giulia
I asked for AcquireProcess N Scans vi. Actually, the modification
was in the SubVI My Data Procesing. I need the original version,
that one with no processing. Thanku!



Re: reading in serial communi

2004-01-12 Thread BJD1613
What is your byte count when using the read function.  If you are only
sending so many counts and your read function is requiring more you
will encounter a timeout because that amount is not available.  Maybe
use the bytes at serial port function to find out how many bytes are
available, when they are available read them.  Hope this helps.



reading in serial communication sometimes doesn´t work

2004-01-12 Thread Joe123
I=B4m working with the example about serial communication. I connected
my electronic card and sometime I read the data at my seial port ok
and sometime  I get serial error or time out. I need the system to be
stable, what can I do?



How to do to replace a SubVI?

2004-01-12 Thread Giulia
Suppose I create a VI (main1.vi) that uses a SubVI1. Then, I realize
another version of the main VI, main2.vi, which differ from main1 by
the fact that it uses SubVI2. I don't want to create a new icon,
because there is a slight difference. Just want to associate a new
file and make this association valid for main2 only. Is it possible?



Re: I accidentally deleted a NI Example for Labview 7.0 (it is...

2004-01-12 Thread JoeLabView
Glad to be of assistance..

:o)



Bug in Unflatten from String (LV7)

2004-01-12 Thread Albert_Zeitlmeir


Hello Wireworkers,

when unflatting certain binary datas with Unflatten fromString (LV7) I
get an error msg window Nicht genügend Speicher zum Abschließen dieser
Operation (* not enough memory to close this operation). The error-output
of the vi is incorrect.
Does anybody know a workaround of that bug?

I have binary files with different versions of a certain datatype. When
loading a file, I try to unflatten the data using the newest dataversion.
If I get an error, I try the 2nd newest dataversion and so on until I found
the right datatype. This methode was ok up to LV6.01.
In LV7.0 the bug appears when I try to unflatten to the wrong datatype. My
datatype is an array of clusters of strings and numbers.

NI knows the bug but has no patch or workaround. NI-service told me, to
wait for LV7.1, maybe mid of 2004, --- very ´good´ service.
This bug is a fatal problem for me, I cannot read many of my old measuring
datas under LV7.0.
If I dont find an solution, the consequence will be, I throw out LV7 and go
back to LV6.01.

Thanks, Albert Zeitlmeir



**  Legal Disclaimer  MAN BW Diesel AG **
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager
( [EMAIL PROTECTED] ). No warranty is given that this correspondence or
attachment is free from any virus. In keeping with good computer practice,
you should ensure that any information received is actually virus free.
Email messages may be subject to delays, non-delivery and unauthorised
alterations. Information expressed in this message is not given or endorsed
by MAN BW Diesel Aktiengesellschaft unless otherwise notified by our duly
authorised representative independent of this message.
**  Legal Disclaimer  http://www.manbw.com **





Tetrapolar Impedance Measurement with NI ELVIS

2004-01-12 Thread ashkonjhu
Using NI ELVIS, I am trying to create the capability to measure and
analyze bioimpedance from a tetrapolar probe (with two current
injecting electrodes and two voltage measuring electrodes).  I was
hoping that the interface could be the same as the existing
bioimpedance analyzer.  However, the measurement and analyzing
software would need to be different.  Does ELVIS have the capability
to measure tetrapolar bioimpedance?  Can the bipolar impedance
analyzer be programmed to measure via a tetrapolar probe?  Can the
three-wire current-voltage anaylzer be used to this end?  If it does
not have the capability to measure tetrapolar impedance, can the
3-wire CV analyzer measure reactance (without measuring phase angle)?



Levenberg Marquardt is not working....

2004-01-12 Thread pshuk256
here is my code. I know it's long and very badly written. but under
the core of the program section I am usign this Levenberg Marquardt
to fit my data but for some strange reasons I am not getting any
output from the program.

Is it possible for someone to look at the program and tell me what and
where I did wrong.

thanks in advance

In anticipation of reply
Priiyank



Re: error (10) installing Simulation Interface Toolkit Patch

2004-01-12 Thread chadevans
Hello Dave Parrish,

This issue comes from installing the SIT patch on a computer that has
already had the patch installed.  For example, installng SIT 1.0 and
the patch, uninstalling SIT 1.0 and then reinstalling SIT 1.0 and then
trying to reinstall the patch.

To resolve this issue, delete the following two (2) items from the
C:\SimulationInterfaceToolkit\ModelInterface directory before
reinstalling the patch:

nidll_vc.sav
VILauncher2.exe

Regards,

Chad Evans



Re: How to do to replace a SubVI?

2004-01-12 Thread JoeLabView
Yes,

but you have to name SubVI2 differently than SubVI1.
You can open SubVI1 change it and save it as SubVI2.  In LV7, it will
automatically substitute the sub-vi to SubVI2 in your main2.vi and
save your second main2 under a new name (such as main2.vi)..  (that
part you understood already..  ;o)

-JLV-



Re: acquisition of multiple signal types

2004-01-12 Thread mhtl
Thanks Toddd... got me going.



Re: Hello, I'm searching for Labview 6 Driver for ABB PLC series 90

2004-01-12 Thread Donald
I think the ABB PLC Series 90 (07 KT 97) supports MODBUS which would
give you several options which vary in cost/time.

You could get NI's Industrial Automation OPC Servers which have a
Modbus object and use Datasocket as per the KnowledgeBase item that
discusses communicating with MODBUS devices in LabVIEW:

http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/2cd034f223c650e9862569570041995c?OpenDocument

You could move up to the LabVIEW DSC.
http://sine.ni.com/apps/we/nioc.vp?cid=10418lang=US

You could get a third party product like BusVIEW or ModbusVIEW.  Or
you can get freeware that you'd spend some time adapting for the ABB.
A good list of these is at
http://www.mooregoodideas.com/FAVIs/PLC.htm



Re: cont: Serial port 8bit ADC circuit

2004-01-12 Thread Jeremy Braden
Hurray for epanorama!!

I think you will be able to do this.  What concerned me was
controlling the exact lines of the serial port.  I searched NI's site
and found  a
href=http://digital.ni.com/public.nsf/websearch/1ECEFAA7AD52994986256966005356EA?OpenDocument;How
Can I Control the DTR and RTS Serial Lines in LabVIEW?/a.  I think
this is the info needed to complete the serial concerns.  You can
search NIs site at the a
href=http://search.ni.com/?col=alldocslayout=TechResourcesql=a;advanced
search/a page. It is very useful.



Val(sgnl) Property of a Button to Fire Event

2004-01-12 Thread bfarley
I'm trying to call a button value change event handler by using the
Val(sgnl) property of a button control.  Its not working.  Ive done
this with boolean controls and it works great.  The boolean version
takes a boolean input while the button version takes a variant - I'm
not sure why there is a difference.  I tried it by wiring a T/F
directly into the property, and using a Data To Variant to convert the
input, but neither works.

Thanks,
Bill F



Re: How do I disable the screen protector? Como desactivar el salvapantallas.

2004-01-12 Thread Erin B.
Umberto,

Recomiendo que uses una funcion del Windows SDK que se llama
SetCursPos.  Esta funcion cambia la posicion del raton
programaticamente, y puedes usarla para desactivar el protector de
pantallas cuando una alarma o evento sea generado por el movimiento
del raton.

Puedes ver un ejemplo de como usar esta funcion aqui:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=126HOID=506500080005B8HFROM=ViewAnswersUCATEGORY_0=_49_%24_6_UCATEGORY_S=0

Translation:
Use the Windows SDK function SetCursPos to programatically move the
mouse cursor when an alarm or event is generated.  The movement of the
mouse will deactivate the screensaver.

The link above contains an example of how to use this function.

Regards,
Erin



Re: How do you open an excel workbook-sheet 2 ,read the number...

2004-01-12 Thread Michael Munroe
Thanks for the high rating.  To rate the answer, you would need to
view the LabVIEW General discussions on http://exchange.ni.com and
find the message thread.  Here is a link to that message thread:

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=137HOID=50650005006D480100HIsQuestionPoster=NoHTHREAD=84077UCATEGORY_0=_49_%24_6_UCATEGORY_S=0

Thanks again,

Michael



RE: Oracle database question

2004-01-12 Thread Ross, Michael
Hello Scott,

I am a MySQL user, so you have to take what I say with a handfull of
salt.  You should be able to do what you descibed.  If Oracle is similar
to MySQL in essence, then these comments may be useful.

In the simplest INSERTions MySQL wants its data entered as complete rows.
 But you can direct it to place data in a particular column by using the
SET column function.  In the insert statement you first indicate the
table and row of interest then direct its attention to a particular
column.  I won't trouble you with syntactical info.

Another method would be to SELECT the entire row of interest and use that
data to formulate an entirely new row with the new entry, then UPDATE the
whole row.  I have to believe that Oracle can perform one or bith of
these methods.

To administer the DB as a big array, you need to use an auto-incremented
primary key column. For example create a column called dataID and set it
to be the primary key for the table.  Then every time a new row is added
it automatiaclly gets a row index, starting from 0 and going up.

Looking at what you have described for a table, it seems similar to the
data warehousing that I do.  When I perform a test I create two tables.
 One is for metadata that contains single point info about the test.
 Such as testDate, testTIME, UUT_ID, ProjectPhase, testOPERATOR.  Then
there is a data table containing the thousands of data points generated
duriong the test.

Every row of data in both tables receives the same testID for that test.
 The metatdata table has one row created with a testID created
automatically and incremented automatically.

Every row of the data table gets the same testID (as the metadata entry)
and each row gets a unique dataID that is auto-incremented.

You can query the metadata to find tests with similarities that you want
to examine.  Like, what is the testID of the tests where temperature was
maintained at 150degreeC?  Then you retrieve from the data table for
anaylsis using those testIDs.

You would have 2 arrays in the DB the row and column coordinates of which
would be metatdata:(testID,column_name), and data:(dataID,column_name).

Whenever I write about DB stuff I wonder if it really makes sense in the
end.

Good luck,

Mike Ross

 -Original Message-
 From: Scott Serlin [mailto:[EMAIL PROTECTED]
 Sent: Friday, January 09, 2004 2:50 PM
 To: info-labview
 Subject: FW: Oracle database question



 Can anyone tell me if it is possible to treat an Oracle
 database like a giant
 array?  More to the point, do I have to always write a
 complete record (or
 row) of data into a table or is there a way to place a piece
 of data into one
 single column within the row and come back later and place a
 different piece
 of data in the same row but different column?

 Example:
 I wrote the first piece of data like this:

 Table
 testtime  testdate  dut  serialnum  productline
 12:00


 Later on I wanted to add another data point in the same row
 but different
 column while still maintaining the data previously entered:

 Table
 testtime  testdate  dut  serialnum  productline  Can I do this?  Is it
 allowed in Oracle?
 12:00  100100

 Once the row is complete, I would move onto the next row.

 Table
 testtime  testdate  dut  serialnum  productline
 12:00  010603   1100100  widget
 1:00  010603   2100101  widget










Getting menu items without clicking

2004-01-12 Thread ZhongJi Zou
Sam Behashtei [EMAIL PROTECTED] on Thu, 8 Jan 2004 14:48:14
Is there any way you can get the menu (tags or names) as you move the
mouse(selection) though the menu.  I want to get the menu tags while
I am moving the mouse over the menu names without clicking.


Sam,

Using LabVIEW munu functions, you can get all menu tags.  All you've
to do is figure out which tag.
You can always capture the popup-menu window, and verify if it's
class is LabVIEW menu class.  And then the window title will tell you
it's File, Edit, etc...  You can also get the window height, and
cursor position relative to that menu window.  Do a little math,
you should be able to figure out which tag is under the cursor.
George Zou
http://gtoolbox.yeah.net
_
Find out everything you need to know about Las Vegas here for that getaway.  
http://special.msn.com/msnbc/vivalasvegas.armx




Re: Levenberg Marquardt is not working....

2004-01-12 Thread pshuk256
If you wire an indicator to the Error Output node of the L-M vi does
anything come up?  This can be pretty useful in diagnosing the issue

YES.. this is the erro no. -23033.

HELP..



RE: Oracle database question

2004-01-12 Thread Castro, Diego
Hi Scott:

It depends, mainly on your datatype definitions, Oracle has a very
solid Time/Date type definition, if you want to update or insert into a
table where all datatypes are of the same kind ( varchar2) for instance it
will be pretty easy to do insertions.

But if you are very concerned about making queries where the time is very
important to analyze your results (which happens in most cases), then you
have to define your time column as date datatype, and then is when you have
to be carefull.

Whenever you have to write to a date field you have to use the date time
conversion function in order that the information is stored in the way you
really wanted.
The sintaxis for this functions is normally not very friendly depending upon
how you write your data, but a way to overcome this very easily is to use
the SYSDATE keyword.

SYSDATE will store the current time in the appropriate format in your
database, you must realize it is the date at the time of the insert
statement and not at the time when you Acquired your data, but for most
systems (like mine here) this is good enough.

It used to be an excellent reference page in the internet for Oracle, it was
on Princeton University website, but it has been lock out since like 5
months ago, so you have to rely on Oracle's help system for you sintaxis
definition.

--

Second, please read the SQL tutorial at w3schools, whenever you generate a
record for the first time using INSERT, the second time  you want to add
data you have to use an UPDATE statement
Based on the information you have below, you may have to generate the new
row using an INSERT command

INSERT INTO TableName(testime) values('12:00');

Then add the remaining data with UPDATE statements
Like :

UPDATE TableName SET testdate='01-13-2004' where ID=whatever your ID is;.
 And so on.
, OR
you may want to do all at once

INSERT INTO TableName(testime,serialnum,productline)
values('12:00','0010001','widget');
This is the same regardless you are using MySQL or Oracle.

Thanks

Diego
-Original Message-
From: Scott Serlin [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 09, 2004 2:51 PM
To: [EMAIL PROTECTED]
Subject: FW: Oracle database question

Can anyone tell me if it is possible to treat an Oracle database like a
giant array?  More to the point, do I have to always write a complete record
(or row) of data into a table or is there way to place a piece of data into
one single column within the row and come back later and place a different
piece of data in the same row but different column?

Example:
I wrote the first piece of data like this:

Table
testtime  testdate  dut  serialnum  productline
12:00


Later on I wanted to add another data point in the same row but different
column while still maintaining the data previously entered:

Table
testtime  testdate  dut  serialnum  productline  Can I do this?  Is it
allowed in Oracle?
12:00  100100

Once the row is complete, I would move onto the next row.

Table
testtime  testdate  dut  serialnum  productline
12:00   010603   1100100  widget
1:00010603   2100101  widget








2D String Array to Graph

2004-01-12 Thread Markus Manninger
I get from a database select a 2d string array. The first element is a
timestamp (datetime in mssql) like mm.dd. hh:mm:ss. The second
value is an integer value as a string. I whant to select all entries
from one day and the values should be displayed in a graph. The datetime
should be shown as time on x-axis and the value sould be shown as
amplitude.

has anybody allready did such a vi or could give me a link or a
suggestion.

thanx,
Max




Including Prototype Information in a LabView 7 created DLL

2004-01-12 Thread ToddK
How do you create a DLL from a LabView 7 vi that has the function
parameter prototype information included. I'm calling the DLL from
TestStand and have written other DLL's using LabWindows/CVI that have
this info along with linking in the help file.



Re: Database Variant To Data

2004-01-12 Thread Markus Manninger
DD wrote:
 I was refering to Database Variant to Data.  Have you checked the examples
 and recommendations for data conversion in the hardcopy manual?
 

I am now using an other subvi. I use DB Tools Execute Query
 where i can enter a select string and then the Fetch Table vi to get 
a 2D-Array data stream. I can directly connect it to a table.




ScrollBar

2004-01-12 Thread Subramanian, Shankar, K
Hi, 

I have a subVI(X) that takes in inputs from the user in a particular order.
I have buttons and controls hidden which become visible as and when the user
has to enter the data. As this happens, certain buttons that appear are
beyond the window size and user needs to press the scroll bar as he proceeds
with the experiment. Is there any way I could automate the movement of the
scroll bar if the hidden buttons that appear on the screen go beyond range? 


Also assume the buttons appear in order and are: 

Start--Init--Config--..(Say Window ends here ,scrollbar to be
used)--..--.-- End 

The next time if the MainVI calls this subVI(X), the window opens at
location where the button End is. Actually button End is invisible at
the start of experiment and the only button visible is Start. So at this
point, I have to scroll up and go to the Start button. Is there a way I can
open a subVI FP, at particular coordinates or something similar to that such
that it always shows Start and does an automatic scrolling? 

Thank you

Shankar 

Shankar K. Subramanian
TSS ESG
Northboro RD Center
Saint-Gobain 






Newbie: Communicator and IBIC

2004-01-12 Thread Nick Tipping
Hi All,
I am a newbie as far as Labview is concerned. I am beginning a distance
learning course in Systems Testing and I am required to get up to speed with
Communicator, IBIC and Labview or LabWindows/CVI. Can anyone tell me if
Communicator and IBIC are available in the latest evaluation versions of
Labview or LabWindows/CVI?
Thanks in advance.
Best Regards,
Nick Tipping


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/03





RE: ScrollBar

2004-01-12 Thread Kelly Bersch
Are all of the buttons ever visible at one time?  Could you stack the
buttons and only have the one you need visible so scrolling isn't necessary?

Kelly Bersch
Senior Technician
Anadigm
Telephone:480-344-5262
Email:   [EMAIL PROTECTED]
http://www.Anadigm.com

Anadigm - The Programmable Analog Company



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Subramanian, Shankar, K
Sent: Monday, 12 January, 2004 10:26 AM
To: '[EMAIL PROTECTED]'
Subject: ScrollBar


Hi,

I have a subVI(X) that takes in inputs from the user in a particular order.
I have buttons and controls hidden which become visible as and when the user
has to enter the data. As this happens, certain buttons that appear are
beyond the window size and user needs to press the scroll bar as he proceeds
with the experiment. Is there any way I could automate the movement of the
scroll bar if the hidden buttons that appear on the screen go beyond range?


Also assume the buttons appear in order and are:

Start--Init--Config--..(Say Window ends here ,scrollbar to be
used)--..--.-- End

The next time if the MainVI calls this subVI(X), the window opens at
location where the button End is. Actually button End is invisible at
the start of experiment and the only button visible is Start. So at this
point, I have to scroll up and go to the Start button. Is there a way I can
open a subVI FP, at particular coordinates or something similar to that such
that it always shows Start and does an automatic scrolling?

Thank you

Shankar

Shankar K. Subramanian
TSS ESG
Northboro RD Center
Saint-Gobain





Multicolumn Listbox COM object?

2004-01-12 Thread Archimedes
For my multicolumn listbox in LabVIEW 6.1 I would like to be able to
define datatypes for each column and to programmatically show/hide
columns.  However, we all know that this is not possible.  Does anyone
know of an AcitveX COM object that I can download ?



Re: Bug in Unflatten from String (LV7)

2004-01-12 Thread stephen . mercer




Actually, this is a problem in LV6.0 depending on exactly what change in
datatype occurred. If a numeric ends up in the position where a size of
array used to be, we'll try to allocate an array that big, which could be
huge, resulting in an out-of-memory problem. I would suggest that this
works up through LV6.01 because the data modifications that you were doing
were always detectable as corruption, and never lead to a valid
interpretation with a really huge size. Bits may have shifted in LV7.0 and
so now your data has a valid interpretation.

The only workaround I know is to include a version (your version, not LV's
version) number in your flattened data.

I'm not privvy to the modifications being done in LV7.1 for this sort of
thing, but it would surprise me that a fix is coming since I don't know
logically of any way to fix it. But maybe someone smarter than me has an
idea.

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



|-+
| |   Albert_Zeitlmeir@|
| |   manbw.de |
| |   Sent by: |
| |   [EMAIL PROTECTED]|
| |   a.army.mil  |
| ||
| ||
| |   01/12/2004 09:04 |
| |   AM   |
| ||
|-+
  
--|
  |
  |
  |   To:   Info-LabVIEW Mailing List [EMAIL PROTECTED]
 |
  |   cc:  
  |
  |   Subject:  Bug in Unflatten from String (LV7)   
  |
  
--|






Hello Wireworkers,

when unflatting certain binary datas with Unflatten fromString (LV7) I
get an error msg window Nicht genügend Speicher zum Abschließen dieser
Operation (* not enough memory to close this operation). The error-output
of the vi is incorrect.
Does anybody know a workaround of that bug?

I have binary files with different versions of a certain datatype. When
loading a file, I try to unflatten the data using the newest dataversion.
If I get an error, I try the 2nd newest dataversion and so on until I found
the right datatype. This methode was ok up to LV6.01.
In LV7.0 the bug appears when I try to unflatten to the wrong datatype. My
datatype is an array of clusters of strings and numbers.

NI knows the bug but has no patch or workaround. NI-service told me, to
wait for LV7.1, maybe mid of 2004, --- very ´good´ service.
This bug is a fatal problem for me, I cannot read many of my old measuring
datas under LV7.0.
If I dont find an solution, the consequence will be, I throw out LV7 and go
back to LV6.01.

Thanks, Albert Zeitlmeir



**  Legal Disclaimer  MAN BW Diesel AG **
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager
( [EMAIL PROTECTED] ). No warranty is given that this correspondence or
attachment is free from any virus. In keeping with good computer practice,
you should ensure that any information received is actually virus free.
Email messages may be subject to delays, non-delivery and unauthorised
alterations. Information expressed in this message is not given or endorsed
by MAN BW Diesel Aktiengesellschaft unless otherwise notified by our duly
authorised representative independent of this message.
**  Legal Disclaimer  http://www.manbw.com **








Re: How do I setup Labview 7 to use Starteam as the CM-tool (SCC-provider) for Source Control.

2004-01-12 Thread Jeremy Braden
I do not believe you will be successful.  The SCC in LabVIEW was
specifically created to work with certain products--built in scc,
perforce, etc.  You will probably have to use the Starteam interface
to check the files in and out.



Re: acquiring phase diff. btwn 2 channels of HP54201D digi oscilloscope

2004-01-12 Thread Les Hammer
I asked my scope expert.  His advice was:

1) measure the period of the signal T1
2) Measure the time between the rising edges of the two signals T2
3) calculate the phase in degrees as  (T2/T1) * 360

He was not certain whether or not these were automatic measurements on
the 54201.

But many Agilent scopes do have a way to acquire signals on channel
12, find the period of channel 1, and find the rising edges of
channel 1 and channel 2 and obtain the difference.  (You just have to
calculate the phase yourself from the time information.)

[EMAIL PROTECTED]



Problems using LabVIEW-built dlls in LabVIEW

2004-01-12 Thread reke
I have built a set of LabVIEW VIs to a DLL. Some of these VIs call
some of my own LV subroutines, e.g. read_ini.
When I call the DLL functions from a higher level LabVIEW program,
which also uses these subroutines, e.g. read_ini, I get some problems.
The DLL functions obviously don't find the subroutines.
Is this a problem of the same namespace? Is there any workaround? I
have the same effect calling some functions from the LabVIEW library.

Thanx in advance,
Michael



RE: Oracle database question

2004-01-12 Thread Scott Serlin

Thanks everyone for the database help.  I will work with everyone's
suggestions. 




 -Original Message-
 From: Scott Serlin [mailto:[EMAIL PROTECTED]
 Sent: Friday, January 09, 2004 2:50 PM
 To: info-labview
 Subject: FW: Oracle database question



 Can anyone tell me if it is possible to treat an Oracle
 database like a giant
 array?  More to the point, do I have to always write a
 complete record (or
 row) of data into a table or is there a way to place a piece
 of data into one
 single column within the row and come back later and place a
 different piece
 of data in the same row but different column?

 Example:
 I wrote the first piece of data like this:

 Table
 testtime  testdate  dut  serialnum  productline
 12:00


 Later on I wanted to add another data point in the same row
 but different
 column while still maintaining the data previously entered:

 Table
 testtime  testdate  dut  serialnum  productline  Can I do this?  Is it
 allowed in Oracle?
 12:00  100100

 Once the row is complete, I would move onto the next row.

 Table
 testtime  testdate  dut  serialnum  productline
 12:00  010603   1100100  widget
 1:00  010603   2100101  widget










Re: I have Time problem when I launch VI configured on PC computer (P 2.6 GHz), on MacOS (500 MHz).

2004-01-12 Thread RL
Generally I have found that a Mass Compile solves that problem.  A
similar situation happened here when moving a .vi from LV 6.1 to LV 7.
It was taking 30 seconds to write to a digital line.

RL



Re: Changed PLC from Allenn Bradley SLC 500 on Ethernet to ControlLogix on Ethernet

2004-01-12 Thread Kristi H
As I understand your question, you were using RSLinx to control your
Allen Bradley SLC 500 but you are now using the ControlLogix on
ethernet instead.  You are using LabVIEW DSC for your application
development.

The first thing you will need to do is configure RSLinx for the
ControlLogix device.  The following a
href=http://zone.ni.com/devzone/conceptd.nsf/webmain/4c4ad8aea73ed2e586256a32007292fd?OpenDocument;link/a
describes how to configure RSLinx.  Once it is configured, you can
launch Server Explorer, as described in the tutorial, to check the OPC
connections.

I hope this helps.  If you have further questions, please post a
reply.

Regards,

Kristi Hummel
Applications Engineer
National Instruments



State machines and passing references

2004-01-12 Thread Scott Serlin
Can anyone tell me if it is possible to pass a connection reference
throughout a state machine?  So far I have not had any luck.




RE: State machines and passing references

2004-01-12 Thread Scott Serlin
Hi Michael,

Let me try it.  I've been trying to right-click the case statement and
not the while loop.  This appears to be an oops on my part.

Thanks again.

Scott

-Original Message-
From: Michael Aivaliotis [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 2:14 PM
To: Scott Serlin
Cc: info-labview
Subject: RE: State machines and passing references


Should be no problem. I assume you mean through a shift register, no?

Michael Aivaliotis 

 Can anyone tell me if it is possible to pass a connection reference
 throughout a state machine?  So far I have not had any luck.




Engineering Career Opportunities in Massachusetts and Connecticut

2004-01-12 Thread Phia Pascua Blume
Bloomy Controls is seeking engineers with strong LabVIEW skills and
experience for the following career opportunities:
o Project Manager -- Milford, MA
o Senior Project Engineer -- Milford, MA
o Project Engineer -- Milford, MA
o Associate Engineer -- Windsor, CT and Milford, MA.

Outstanding employee benefits include medical, dental, disability,
pension plan, and profit sharing.

Visit http://www.bloomy.com/careers.htm to view job descriptions,
requirements, and application information.

Established in 1991, Bloomy Controls provides systems integration,
software development, and training to the northeast United States
through offices in Windsor, CT; Milford, MA; and Mahwah, NJ.




RE: ScrollBar

2004-01-12 Thread Subramanian, Shankar, K
Thanks for your reply. I think I will stack them avoiding the scrollbar as I
would not need all the buttons to be visible. But just curious to know, is
there any way of automating scrollbar depending on the window?

Thanks 
Shankar 
Shankar K. Subramanian
TSS ESG
Northboro RD Center
Saint-Gobain 



-Original Message-
From: Kelly Bersch [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 12, 2004 12:44 PM
To: [EMAIL PROTECTED]
Subject: RE: ScrollBar

Are all of the buttons ever visible at one time?  Could you stack the
buttons and only have the one you need visible so scrolling isn't necessary?

Kelly Bersch
Senior Technician
Anadigm
Telephone:480-344-5262
Email:   [EMAIL PROTECTED]
http://www.Anadigm.com

Anadigm - The Programmable Analog Company



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Subramanian, Shankar, K
Sent: Monday, 12 January, 2004 10:26 AM
To: '[EMAIL PROTECTED]'
Subject: ScrollBar


Hi,

I have a subVI(X) that takes in inputs from the user in a particular order.
I have buttons and controls hidden which become visible as and when the user
has to enter the data. As this happens, certain buttons that appear are
beyond the window size and user needs to press the scroll bar as he proceeds
with the experiment. Is there any way I could automate the movement of the
scroll bar if the hidden buttons that appear on the screen go beyond range?


Also assume the buttons appear in order and are:

Start--Init--Config--..(Say Window ends here ,scrollbar to be
used)--..--.-- End

The next time if the MainVI calls this subVI(X), the window opens at
location where the button End is. Actually button End is invisible at
the start of experiment and the only button visible is Start. So at this
point, I have to scroll up and go to the Start button. Is there a way I can
open a subVI FP, at particular coordinates or something similar to that such
that it always shows Start and does an automatic scrolling?

Thank you

Shankar

Shankar K. Subramanian
TSS ESG
Northboro RD Center
Saint-Gobain




Why is my GPIB interface dead after installing LabView 6.1 when upgrading from LabView 6.0.2

2004-01-12 Thread jlamping
We installed LV6.1 on our Win2000 machine.  GPIB interface no longer
works.  We had been using LV6.0.2.



RE: ScrollBar

2004-01-12 Thread Kelly Bersch
It looks like you can use a property node for the VI and select the property
Front Panel Window:Origin.  I haven't tried this but you should be able to
make the panel scroll by changing the values in the cluster.

Kelly Bersch
Senior Technician
Anadigm
Telephone:480-344-5262
Email:   [EMAIL PROTECTED]
http://www.Anadigm.com

Anadigm - The Programmable Analog Company



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Subramanian, Shankar, K
Sent: Monday, 12 January, 2004 14:02 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: RE: ScrollBar


Thanks for your reply. I think I will stack them avoiding the scrollbar as I
would not need all the buttons to be visible. But just curious to know, is
there any way of automating scrollbar depending on the window?

Thanks
Shankar
Shankar K. Subramanian
TSS ESG
Northboro RD Center
Saint-Gobain





Re: Serveral questions about Labview programming

2004-01-12 Thread whuili
Hi, Mads,

Thank you very very much for your answer. It is very helpful.

By your direction, I completed some functions that I need to do. But
for other functions, I tried, but didn't finish it. Can you or other
person give me any suggestion or example program in Labview 6i?

I hope to a button having the following functions:

when I click it, the words (letters) on it can become bold, and when I
click it again, the words (letters) on it can be changed to be not
bold;

When some values are higher than a certain value, the color of the
button can flash between red and the current color; when some values
are lower than a certain value, the color of the button can flash
between blue and the current value. I tried the answer from Mads, but
I didn't succeed in it;

When I click the button, I hope to pop up a window and I can choose
one of several optional items on the window to set some property. I
try Mads' idea, and the way just can pop up a window to display some
information.

Moreover, if I separate the panel into 3 parts by using 2 mark lines
and hope to paint 3 different colors on the panel, every window having
one color.
How can I do that?

Thanks a lot.



Less than 0.5 millisecond delay

2004-01-12 Thread Jack Hamilton
E.

You can use a math function to create a small delay. Although not reliable,
doing some math (especially division) uses CPU cycles.

(Sometimes wiggling the heck out of the mouse will slow Windows down too!
;-)

Jack Hamilton
Hamilton Design
[EMAIL PROTECTED]
www.Labuseful.com
714-839-6375 Office





Making buttons visible

2004-01-12 Thread Jack Hamilton
You can also ‘move’ the control or indicator off the screen and move is back
programmatically. This works quite well with no visual ‘artifacts’. I used
this technique years ago before there was no tab control to make control
‘panels’ appear and disappear.

Stacking controls and making them invisible can be problematic and can cause
‘event’ triggering problems if they are stacked.

Jack Hamilton
Hamilton Design
[EMAIL PROTECTED]
www.Labuseful.com
714-839-6375 Office