Jump to content

hooovahh

Moderators
  • Posts

    3,365
  • Joined

  • Last visited

  • Days Won

    268

Posts posted by hooovahh

  1. I know this one I know it!

    It's a little complicated but works just fine. Within windows press Alt + Left Shift + NumLock, this turns on MouseKeys. This can also be turned on within the Accessibility Options on the Control Panel. A window will come up after the key combination press OK. Now your number pad is a mouse. By pressing the 5 button on the numpad it should right click. I'm not sure this can be done through software, but for your case it might work.

    Here's some more information about it.

    http://www.abilitynet.org.uk/myway/keyboar...ouse-numpad.htm

    There they say the right click should be the minus key but I used 5 and it worked.

  2. If you have a gmail account you can have your own personal webpage, http://www.igoogle.com here you can add your own RSS feed stuff to the page.

    Or if you have a gmail account, you automatically have a free google reader account http://www.google.com/reader This is a RSS feed reader that runs in a web page using Ajax. I have outlook so I don't need it, but there are times that I am on a school computer that is much more locked down.

  3. I don't know if this is applicable but if you control the Operating System entirely you can create a nLited XP for the OS.

    http://www.nliteos.com/

    Nlite is a program that assists in modifying the XP, 2000, and 2003 install CD. With nLite you can add drivers, integrate programs, and most importantly, remove components. You can get the CD down to about 250mb and still have much of the functionality.

    This solution may take some time of course since you would have to extract the files from the CD, install nLite, modify the CD re-burn the CD, then install Windows. I think disabling services would probably give you the same result.

  4. QUOTE(alfa @ Dec 22 2007, 04:00 AM)

    The amount of people on different levels did the capitalism, communism...because the majority are at animal level. Like Darwin said in the animal world 'the survival of the fittest...'

    On Earth the animals have societies; I'm sure Darwin was thinking in the same way and he didn't see the communism, the WWII...

    After 31 pages of incoherent nonsense, you gave a topic that I understand. I don't understand every thing you said but I think I have some thing to add.

    Survival of the fittest doesn't really apply to humans any more does it? I guess for the most part it does. In 3rd world countries those who have the best immune system, tend to live longer than those who don't. Those who survive will have more offspring who will have the genes which have a better immune system.

    But what about the more developed countries like the US, and Great Britain? Do the weakest always die? Do the strongest always survive? Some times the most talented individuals die from drug over doses, or car accidents, or plane crashes. And the weakest get money from the government, and survive when they normally wouldn't.

    Do these anomalies in the Survival of the fittest occur in nature? Or is Darwin's theory flawed

  5. Hello all,

    I found some thing that isn't really a bug in LabVIEW but it can be annoying. I'm working with a set of code that will scan a directory of LabVIEW VIs and create documentation for each VI. To prevent race conditions and other resource issues a semaphore was created. Since the number of VIs in the directory can be quite large, the time between steps may also take a long time. So the timeout terminal on the Semaphore was wired to be a -1 since there is no way to know how long it should wait before giving up.

    With this set up I found that when an error occurred the program would hang forever and it took me a little while to discover why. Apparently if an error is wired into the error in terminal of any semaphore VI it will still attempt to execute the code. I can see where this could be a good thing, like for a Release Semaphore. If an error occurred we should still try to Release the Semaphore. But with an Acquire Semaphore I would think the code would just pass the error out if there was an error in.

    Here's the help on the Acquire Semaphore VI

    http://zone.ni.com/reference/en-XX/help/37...uire_semaphore/

    Twords the bottom is where you'll see it mentions how it will behave with an error in.

    To fix my code I simply have to check to see if an error in happens before the Acquire Semaphore VI, if it does just pass the error out. In my defense I didn't write this code but if I did I probably would have done the same thing and just assumed that the Semaphore VIs behaved as a lot of code does.

  6. I don't fully understand your question. I downloaded your code and ran it and it seems to behave as I would expect it. When you double click a cell it will add the letter "a" to it, but only for a 6 x 10 grid (because that is what is initialized)

    Could you please explain the behavior you are seeing.

    Also I noticed your sub VI simply initializes a 2D array of string. For future reference this is built into LabVIEW, right click the "Initialize Array" and say add dimension.

    Init2DString.jpg

    If you created this VI for some other reason disregard my comment.

  7. Looking at the NI forum I see that older version of the run-time engine can be installed silently using this command.

    lvrteinstall.exe /q

    Not sure if this works for the newer ones. If it doesn't I recommend using a scripting language (like AutoIt3) to run the installer, and press the return character until the installer starts.

    I don't know of a method to check for run-time engines using html or php.

  8. I don't know about any one else's situation, but if I develop code for money I no longer own the code. The code can be distributed by the people who own the code, the people who paid me to develop it. And since I no longer own it, I can't post it on some community based site (like this lovely one)

  9. I may not know much about it but I don't think the writers should see a kick back from downloads from itunes or where ever. Maybe I'm misinformed (happens more than you'd think) but aren't the writers getting paid for a service? I thought the writers were getting paid to write for a show. But they don't own the show, they shouldn't see any thing out of it right?

    Maybe there is some thing in the contract that I'm not aware of which gives the writers some ownership, I have no idea. If there's not any thing in the contract then the writers should stop striking, and when ever doing new work they should make sure that they keep some ownership, ensuring some royalties.

  10. In my experience VMWare is the better tool to use. I don't know how Virtual PC has been upgraded but I know that VMWare allows to have virtualized number of processors, it allows for 64-bit OSs, virtualized hardware, use of actual hardware such as USB devices, fully working graphics, audio, and networking too.

    Virtual PC never worked too well for me. I couldn't even get it to use an ISO image for a CD rom if the image was more than a gig or so.

    Of course any virtual machine will take quite a bit of system resources but with most newer computers you shouldn't notice much of a dip in speed. I mean having an XP machine with a 3GHz and 2GB of ram, running a virtual machine with windows 98 with LabVIEW 5.x only using 64MB of ram shouldn't take too much speed from the over all experience.

  11. At my engineering college, which takes 4.5-5 years, an electrical engineer is only required to have one course on programming, and it's Java; yeah we're kinda weird like that. My college also has LabVIEW in some of the labs, but it's version 6.1 and it takes some getting used to if you've never used that version.

    I totally agree about older versions of LabVIEW, they should be free. I'm sure NI would find it difficult to support all these free users but it probably would drive up business. But how far back should be free? 6.1? 7.0? 7.1? 8.0? or 8.20?

    I don't think the LV runtime will be built into any OS soon, but NI should at least support a non installed runtime for LabVIEW executables. That trick with putting the right dlls in the right directories worked for older version of LabVIEW, but don't work with 8.0 and newer.

  12. In Java2 I had to write a program similar to this with the prime numbers and I did it the same way Justin suggested.

    As for how many 1's, or 2's or 3's are rolled, there is an OpenG sub-VI in the array tools which is search array, and it will return the indices in an array form. You could search the array for "1" and the size of the array of indices out is the number of 1's that are in the array. (I hope this is easily understandable)

  13. I guess the answer is, it depends on who you ask. Just like when asked what "Pi" is.

    Mathematician: Pi is the number expressing the relationship between the circumference of a circle and its diameter.

    Physicist: Pi is 3.1415927plus or minus 0.000000005

    Engineer: Pi is about 3, but I'd use 4 just to be safe.

    Betty Crocker: Pi is what you poke holes in with a fork and then leave on the window sill to cool off.

    Business Man: Pi is desert is it not?

    Computer Programmer: Pi is 3.141592653589 in double precision.

×
×
  • Create New...

Important Information

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