Jump to content

Seraph

Members
  • Posts

    12
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

LabVIEW Information

  • Version
    LabVIEW 8.5
  • Since
    2008

Seraph's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I think his mean is how to display the name of the known input waveform, i.e, if the input waveform is a triangle, then there is a string(or enum) of "triangle" should be displayed on diaplay indicator. If so, maybe you'll have to know first the unique features for each waveform and then distinguish them by these features. Oh, Sorry, I didn't read GoGators's reply carefully , GoGators has given a solution to this problem. so please ignore this post.
  2. Sorry, I made a incorrect spell for "Variable". Yes, I mean Functional Global Variable, and I wonder why and when we should use a Functional Global Variable instead of implementing it as a geneal sub-vi, Or simply speaking, why do we call the function part as Functional Global Variable, not as a sub-vi. Thank you for your quick and kind reply.
  3. From some books and documents, these two seem don't have much difference, the result of using a Functional Global Variance is the same as that of calling a sub-vi with same function, then why does LabVIEW develop the concept of Functional Global Variance? Is there any good reasons to use the Functional Global Variance instead of a sub-vi? Thanks a lot!
  4. For LabVIEW8.6 or LabVIEW9.0 is OK. I didn't find them in NI's website, there seems no such toolkit for evaluation. Thanks a lot!
  5. Haha, I got it, we have to connect all wires in the case structure, rather than left them as default. From this point of view, the LabVIEW case structure is much less convenient to use than the other programming languages, image if we get more cases, we'll have to add more wires. Of course this is only an opinion from a novice, LabVIEW always has much better ways to solve problems. Anyway, thanks a lot to jgcode!
  6. Thank you very much, it is just what I mean. but I wonder why my solution doesn't work, the output is always the number of the hits for the last random number, the other hits are 0. As below: Sorry I don't know how to paste the block diagram here so I just paste two image file here, hope they can be helpful. I did see the values in the feedback nodes are counted correctly by runing the vi in highlight mode, but why there is only the number in active case branch is displayed while the other values are 0? Thanks a lot.
  7. Hi, again gurus, there is a simple exercise but I can not get the result I wanted, it is much like the dice problem, that is: with 10 possible values, generates a set of random numbers(the number of the random numbers is specified via input, say 100), and counts how many times each of the 10 values is hit. Of course we need an array to store the hit times for each of the 10 values, maybe, if possible, we need a 2-D array to make a simple table such that we can see which number was hit how many times. I've just been able to get the number of hit for each of the 10 values, but I don't know how to send them to array and display them in front panel as a 10-elment array. I've used the Creat Array function, but the result is not a 10-element array, but a 100-element one, and I have no idea about how to make the 2-D array mentioned above. Can any guru help me? thanks a lot! BR//Seraph
  8. Thanks you two gurus, now I make out what happended for my problem, I'm stupid Anyway, many thanks to you and LAVA!
  9. Michael, thank you very much for your quick and kind reply, I have been doing just as you did, but I always got "Default" as the Label name, is there anything configuration that I didn't set properly?
  10. Hi, all LabVIEW gurus, I encountered a problem when I learned how to use the Case structure, as you know, when we add a frame generally we should specify a frame name, but anything I input into the Label area would be always included in a pair of quotation marks automatically, even I didn't add the quotation marks, that's mean, what I input will be treated as a string, but actually, sometimes I wanted to specify a frame as Default, not "Default" . How can I change the Label name without quotation marks on it? I looked through about this issue in <<LabVIEW for everyone>> and LabVIEW official Help document, both of them tell us not to use quotation marks when input label name, but how can I prevent the LabVIEW itself adds the quotation marks automatically? Sorry to say so much for this simple question BR//Seraph
  11. Hello, everyone, I'm a novice for both Labview and this forum, I've spent several days to browse the posts here, and got a lot valuable information and knowledge about Labview, but I still have a question: As a "G" language, can the VIs be compiled into an .exe file so that it is able to run on a computer on which doesn't install Labview? Thanks a lot!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.