Jump to content

sjkim0329

Members
  • Posts

    7
  • Joined

  • Last visited

    Never

sjkim0329's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, guys I've been given a project for LV Embedded for ARM using MCB 2300 Keli board. I'm really new to labview so I'm asking for your helps and suggestions. One of the very first thing is to get some values from analog input 0 and average them. I've added elemental I/O already. Using for loop (n), calculate avg using mean pt by pt What do you guys think? I tried to write this program but im getting an error saying broken wire(two different terminal of two types) What kind of type of value is coming out of the analog input? Thanks for your time.
  2. I understand, Dan. You're right. My knowledge towards programming is poor. But I've been trying hard to learn. So I think I almost got this here. I've been researching online trying to figure this out. I've looked at some example codes from NI but not much of help though. Here is what I have so far. I tried with only 10 numbers to see if it was actually counting correctly, sometimes it does and sometimes it doesnt. I looked back my circuit and it seems all make sense. What do you guys think? Dan, I got it.I think they were working just fine. When everytime random number is generated, mean changes. I was just comparing the mean at the end of the program to each random numbers. Thank you for all your help, and I'll keep you advise in mind in the future at LAVA. QUOTE (Dan DeFriese @ Oct 20 2008, 02:53 PM) Dan, I got it.I think they were working just fine. When everytime random number is generated, mean changes. I was just comparing the mean at the end of the program to each random numbers. Thank you for all your help, and I'll keep your advise in mind in the future at LAVA.
  3. thanks dan. you've been great helps so far. I feel like I learning this program, step by step. I was trying this case structure having counter. Basically, counting number of times the random number is greater than the mean. I thought I got all the logics and circuits correct but im just stuck at case structure here. and counter just stays at 1. any thoughts?
  4. QUOTE (Dan DeFriese @ Oct 20 2008, 04:51 AM)
  5. this is just like ur example but I added sample variance there.
  6. Thank you Dan. That helped a lot. I had one more question. When I tried to find sample mean and sample variance it gives me an error. It says array element conflict. I know my random array is 1-D. Is there any other way I can calculate sample mean and sample variance? It doesn't have problem calculating just mean and variance. Thanks.
  7. Hi, guys I'm trying to generate 10,000 point random number array then calculate some basic statistics. I wanted to start with only 10 numbers to see if my programming is working first. I was able to generate random numbers using for loop(N=10). So random numbers were multiply by scaling factor of 100. then I have random array in the front panel. Next step, I tried to calculate max and min so I've used array max&min but according to number indicator i have connected, values are wrong. I don't think I'm putting all the numbers in array correctly. Anybody has suggestions what i'm doing wrong here? I've just started using labVIEW so I'm really new to this program. So please understand if I'm asking basic stuff. I read manuals and bunch of other stuffs but I wasn't able to figure it out. Thank you guys.
×
×
  • Create New...

Important Information

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