Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

a newbie needs help...
Hye guys,
 
I'm a newbie in LabView and i've been trying lots of exercices and read
ing help(in french, but french is not my mother tougue) but i'm st
ill having some problem (there might be a lot of 'em)
   - what's the difference between build array, bundle, build cust
le array, index & bundle cluster array?
   - in order to detect error etc, do i have to connect all the br
anch of the simple error handler? please do give some indication.i did have 
a problem using the one button dialog, when the dialog appeared and i clicke
d on ok, it wont shut the w
indow of the dialog. what's wrong with it?
   - is there any exemple or tutorial on input/output instrument, 
invoke note? a simple would be alright...at least, i could understand the fu
nction of it..
 
maybe that's all for now. but i'm still quite blur with certain of those VIs
. thanks in advanced!!!
 
Dhirah
 
 
 Message Edited by dhirah on 04-02-2008  09:52 AM

Report this thread to moderator Post Follow-up to this message
Old Post
dhirah
04-03-08 12:38 AM


Re: a newbie needs help...
Hi Dhirah, build array and bundle are really basic functions, they are used 
to "build" arrays and clusters, respectively.BuildClusterArray and Index&
;Bundle are more compley, but easier to understand when making a small examp
le: the first one takes eac
h input array into a cluster and packs all clusters into an array, the 2nd o
ne takes the input arrays element-wise (indexing!) into clusters and all clu
sters into an array.For SimpleErrorHandler you only have to connect the erro
r-in and (only when needed)
the type of message.Give an example of your problem regarding the OneButtonD
ialog - which window doesn't close?Look for VISA examples in LabView to get 
a p at instrument in/out.InvokeNodes are completely different from instru
ment communication - and y
ou should learn at first the upper parts :smileywink:Look <a href="http://ww
w.ni.com/academic/lv_training/how_learn_lv.htm" target="_blank">here</a>!

Report this thread to moderator Post Follow-up to this message
Old Post
GerdW
04-03-08 12:38 AM


Re: a newbie needs help...
Hye GerdW,
 
Thank you for answering my questions.
 
From your answer, i can say that buil array and bundle work the same way - g
ather the elements. How do we know which one to use everytime?  Actuall
y, right before my eyes, i have 2 exemples of bundle and build array. Bundle
 is used to get information
form 'GenerateWavefor.vi', a delta X and a Xo then those informations are th
en put into a grapht. Meanwhile, build array is used to get infromation from
 function sinus and also the 'GenerateWaveform.vi' and again put into a grap
h. That's why i said, for
me it's not celar both functon are used to gather information and put into g
raph.
 
Thanks again!
 
Dhirah
 

Report this thread to moderator Post Follow-up to this message
Old Post
dhirah
04-03-08 11:21 AM


Re: a newbie needs help...
Hi Dhirah,in an array all elements have the same properties except their val
ue, so they are the same datatype.In a cluster you can put elements of diffe
rent datatype (like in a waveform [dbl, dbl, array of dbl] or an error clust
er [bool, int32, string]).T
hat's their main difference for general use...Now for specific use of feedin
g graphs/charts:Graph indicators are polymorph - they can take several types
 of data. Which types they take is written in the context help (ctrl-H). Tho
se different types also ser
ve some purpose like adding several points to one plot or plotting several p
lots at once - hence using BundleCluster and/or BuildArray functions.You may
 plot a simple array of values to get one plot. The same (roughly) is achiev
ed by wiring a waveform, he
re the timing (start value and distance between points) is included in the d
ata.Message Edited by GerdW on 04-03-2008  10:25 AM

Report this thread to moderator Post Follow-up to this message
Old Post
GerdW
04-03-08 11:21 AM


Re: a newbie needs help...
hye GerdX,
 
Thanks for replying. Now i understand the difference (theorically) but i thi
nk it'll be clearer when i really get my hands on it.
 
Yeah about the simple error handle, i've got the exemple right here. When th
e dialog box pops up,meaning there's an error but then i couldnt close 
that dialog box. What seems to be the problem?
 
Dhirah


racine carree.vi:
http://forums.ni.com/attachments/ni/170/313337/1/racine carree.vi

Report this thread to moderator Post Follow-up to this message
Old Post
dhirah
04-03-08 11:21 AM


Re: a newbie needs help...
Hi Dhirah, I don't know: when the OneButtonDialog pops up I either click "ok
" or "X" and the popup closes...

Report this thread to moderator Post Follow-up to this message
Old Post
GerdW
04-03-08 11:21 AM


Re: a newbie needs help...
Hai dhirah,
See the modified file. Hope this is what you required.
Hope this helps....
 
Mathan

Report this thread to moderator Post Follow-up to this message
Old Post
mathan
04-03-08 11:21 AM


Re: a newbie needs help...
Hai dhirah,
See the modified file. Hope this is what you required.
Hope this helps....
 
Mathan


racine carree.vi:
http://forums.ni.com/attachments/ni/170/313349/1/racine carree.vi

Report this thread to moderator Post Follow-up to this message
Old Post
mathan
04-03-08 11:21 AM


Re: a newbie needs help...
Hey Dhirah, Maybe you press the run continuously button instead of the run b
utton, this way the program will read a negative value all the time and thus
 show the dialog.Cheers,Nuccie

Report this thread to moderator Post Follow-up to this message
Old Post
Nuccie
04-03-08 11:21 AM


Re: a newbie needs help...
Hai dhirah,
What nuccie says is absolutely right. Check with that. If problem still pers
ists post again.
Mathan

Report this thread to moderator Post Follow-up to this message
Old Post
mathan
04-03-08 01:39 PM


Sponsored Links




Last Thread Next Thread Next
Pages (2): [1] 2 »
Search this forum -> 
Post New Thread

LabVIEW archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 12:43 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.