Jump to content

hooovahh

Moderators
  • Content Count

    3,011
  • Joined

  • Last visited

  • Days Won

    213

Everything posted by hooovahh

  1. QUOTE(Wiebe@CARYA @ May 8 2007, 11:33 AM) BartPE is Free and Legal when used properly (you would be using it properly) BartPE is not owned by Microsoft. I think you are getting WinPE and BartPE mixed up. If you're interested here's the BartPE home page. http://www.nu2.nu/pebuilder/''>http://www.nu2.nu/pebuilder/' target="_blank">http://www.nu2.nu/pebuilder/ But as I mentioned earlier BartPE probably wouldn't work because of the ethernet drivers issue. BartPE would need the drivers for the specific ethernet card. Usually this is done by running a small utility from within Windows, and extracting the driver that way. But since these machines don't have windows install it would make it more difficult to get the right drivers.
  2. I'm not trying to flame you but isn't rule number 1 of LabVIEW to have data flow from left to right? Maybe you were in a hurry, but I found it difficult to understand what was happening in your VI because information didn't flow. Also there were no comments. What is Count? is it simply the number of rows in the array? What is Count good for? What version of LabVIEW was it made with? Why is there a random constant of "0" in the middle of the while loop which isn't wired to any thing? Answering any of these would be greatly appriciated. I'd also be glad to show you where you code could be improved if you'd like.
  3. QUOTE(crelf @ May 4 2007, 12:53 PM) Not necessarily, I am very cautious about posting here.
  4. QUOTE(dannyt @ May 2 2007, 06:41 AM) I know what you mean, at other forums I don't mind being funny, and kinda poking at people in a non threatning way (like making fun of crelf because he would know I'm kidding) But here I feel nervous about every thing I post, (being fairly new here doesn't help either) but crelf assured me, just read the Guidelines http://wiki.lavag.org/index.php/Forum_Guidelines''>http://wiki.lavag.org/index.php/Forum_Guidelines' target="_blank">http://wiki.lavag.org/index.php/Forum_Guidelines and if you don't break any of the rules feel free to post. Of course there are quite a few rules, but there needs to be since we don't want this to turn into the NI forums. Not that it's NI's fault people abuse it. (is this off topic I don't want to break the rules)
  5. Yes the easiest (and ugliest) solution I would suggest, is similar to what you said. If the machine you are plugging it into is very controlled, meaning you're not constantly plugging USB drives, and installing new drives, I guess you could have it in a while loop, trying to get the file size of say F:\autorun.inf or some thing on the USB drive. It would return an error until the drive and file exists. That would be wasting alot of resources even if the while loop only ran once a second. It would have to be event driven since it could go hours, or days before being plugged in. Also another suggestion that you might want to look into is you could have the VI do some thing similar to "Wait Until Active" (which I don't know how to implement) Because as I'm sure you already know, when you plug in a USB drive that auto run menu opens. I don't know if LabVIEW supports it or not but you could create an event that does nothing until that auto run window is active then do stuff.
  6. hooovahh

    MP3player_Sample

    I must say I'm quite impressed (it happens alot) I was trying to find a way to trim MP3 files (cut off 6seconds from the beginning) and was hoping your code could help me, but I see it basically uses alot of Call Library Function Nodes. Also I had it crash several times even with LabVIEW 7.1. If I opened LabVIEW and told it to open the VI it would crash. But if I double clicked the file (when LabVIEW wasn't running) it would open LabVIEW and the VI properly.
  7. Okay after I pretty much already have a set up done I realize it won't work for you. My idea was to take a PreInstall environment, based on BartPE, where you would create a live OS which was around 80MB. You could then load that 80MB into ram and run any LabVIEW executable with it. The problem is at 80MB there aren't very many drivers, it would likely not have any audio, dial-up, wireless, very limited ethernet drivers, but it would have SATA drives, and USB mass storage drivers. So I was going to include this program for you to include the ethernet drivers in the package. So basically you run this little utility, and it will detect what kind of drivers you have installed, then it gives you the option of adding those drivers. So my idea was for you to run this utility on the machine that you wanted to work on. Problem is, that computer doesn't have windows on it, it doesn't have any OS on it. This is a perfect solution, IF the identical ethernet card is also on another machine that does have windows on it. I know it's kinda confusing but it's hard to explain too. If you're still confused I can elaberate. Also if you still would like a How-To load LabVIEW into RAM I can post that some where, who knows some one else might want to do some thing similar.
  8. QUOTE(Bryan @ Apr 16 2007, 03:00 AM) I'll make a how to in a little bit here but I have some questions about exactly what you are trying to accomplish with this. I realize what you want to do, but I would like to know why. From what I gather you want to run a compiled LabVIEW executable on several machines at once, and they will be connected through a network. Why do you want it to be running in RAM? These machines you want to run the exe on, do they have a Windows operating system? What version of LabVIEW was used to make the compiled exe? I ask these things because, if these machines already have windows, and you're simply looking for an alternative to installing the LabVIEW Run-Time engine, you can get around this by putting the right dlls and files into a directory, and your exe will run with out the Run-Time engine installed. It's kinda tricky and won't work for every executable but it's worth a try. If you're looking to run the exe in ram because it would be fast, you can create a ram drive in Windows fairly easily. From there you can copy your executable to the ram drive and BAM, it will run fast.
  9. QUOTE(crelf @ Apr 14 2007, 01:37 PM) Oh you're only saying that because you work for some big hot shot company that NI cares about. Me speaking from no experience what so ever of course. //Yes I know, I know
  10. Okay I did some quick testing. I was able to boot a windows like OS into ram, and run a LabVIEW 6.1 compiled file. This "windows like" os is actually BartPE but it contains the Explorer shell so it looks very much like windows. It also contains every thing you should need to run what you'd like. It has notepad, wordpad, 7-zip, CD burner program, regedit, task manager, and a couple others. It should also still have network abilities (I tested it in a virtual machine so I can't be sure) I also whipped up some files that would be used for the Run Time Engine and what do you know it worked. It was however a very simple program, hello world to be exact, and I'm worried that a more complicated LabVIEW program would have a tougher time running. Also you may have noticed I mentioned that I used LabVIEW 6.1, this is simply to save space. I'm pretty sure that it could run 7.0, 7.1, and possibly the 8.x but the newer the version the more space that will be loaded into RAM. That's another thing, to load the OS into RAM it will take about 72MB, then you need another section for a temp drive, should be at least 8MB I used 60 on accident, which totals to 132MB. When I ran it in a virtual machine I gave it 192MB and only had about 20MB after all systems were up and running. So if you were careful and had some other non-essential programs removed it may work in a machine with 128MB of RAM. There is one other minor issue, windows needs drivers for network cards. If you plan on running this in RAM you'll need to put those drivers in RAM so most likely a machine with 128MB won't cut it for you. If you're still interested I'd be glad to try and post a tutorial some time in the future. Like I said I just whipped this together to see if it would even work, so I'm not quite ready to present a How To right yet.
  11. Yeah sorry it appears that the site is down for now. While I don't have much spare time lately I'd be glad to help out in using my AIO if some one needs help with it.
  12. I'm really into live operating systems similar to DSL. I like Bart PE and Reatogo XPE much more than a linux distro because it basically is windows. Using a AIO I made you can make a live operating system which is about 80MB that gets loaded into ram at boot up and you will basically boot a limited version of XP into ram. You could simply add on to that 80MB your executable and the LabVIEW run time. and it should work just fine. Some links to download my AIO are here http://www.easy-sharing.com/363694/BartPEAIO.exe.html or http://dl2.filehd.com/download.php?get=729128109 or http://www.yourfilehost.com/media.php?cat=...e=BartPEAIO.exe or http://www.yourfilelink.com/get.php?fid=70746 or http://multiterra.mooload.com/file.php?fil...0/BartPEAIO.exe or http://www.zshare.net/download/bartpeaio-exe.html or http://www.oxyshare.com/d/xPtKcthsCs7/BartPEAIO.exe.html or http://www.badongo.com/file/441394 or http://d.turboupload.com/d/490654/BartPEAIO.exe.html or http://www.megaupload.com/?d=95DKVU3L And the forum where people discuss it are found here. http://www.911cd.net/forums//index.php?showtopic=16543 That forum is very useful for all kinds of Live OSs like Bart PE. Also I imagine that networking several computers using Bart PE would be alot easier than with a linux distro but I'm no expert. Lastly I'd like to mention that I have never tried running a LabVIEW program from an operating system while it's in ram so I guarantee nothing.
  13. Yeah your method worked fine, I downloaded ImageMagick and used it's command line utility to convert it to a .bmp file then I was able to display it. I used this method because then I can still manipulate the picture control if I need to.
  14. Hello all, I have a question. I'm looking to display a .ico file which is an icon, on the front panel of a VI, inside a picture control. I seen that there is a Read JPG from File and Read BMP from File which can do exactly what I want but it won't accept .ico files. I've thought about opening an ActiveX object with a web browser to display the icon but I'm not satisified with how it looks. Also this needs to be dynamic, so a copy and paste into the front panel won't cut it. Any comments are appreciated. Thanks.
  15. hooovahh

    What the...?!?

    Disco? ...sorry before my time (I'm young I know)
  16. Yeah never had quantum mechanics but I'm sure it's like NASCAR. when ever some thing weird happens and their interviewing the driver they ramble on and on about stuff then they usually say "well that's racing for you" I think that explanation should be used on many things in life. "why is 2 + 2 =5?" "well that's quantum mechanics for you" "Why is the sky blue?" "Well that's nature for you" (I could go on)
  17. Yeah sorry about that. I just found so many quotes I like I just kept adding more. @Peteski I agree 2 + 2 = 5 should be for medium values of 2 right?
  18. WOW really are you seri...oh...right :headbang:
  19. "Pi is exactly 3! Sorry I had to do that" There are plenty of other decent web browsers out there. Opera isn't bad either I just don't use it much. But there are a ton of options people use what they like, I like firefox. With extensions, and themes, tabs, and other cool add ons it seems right for me. Does this forum have polls? why doesn't some one just open one and see what the percentage is. Given this will only be a percent of people who feel like voting.
  20. I know what you mean but now you can have the best of both worlds (because firefox is awsome) https://addons.mozilla.org/firefox/1419/ That extension is for IE Tabs, it lets you upen an IE tab inside of firefox, so if you visit a site that only works for IE you can still browse there within firefox.
  21. Thanks alot, I just re-uploaded my zip.
  22. File Name: Windows Environment Variable Reader Writer File Submitter: hooovahh File Submitted: 30 Oct 2006 File Updated: 2 Nov 2006 File Category: General Purpose: This Vi was made so that you can easily view and create environment variables from within Windows XP. Features: You are able to read all environment variables which you have available to you at the command prompt by typing "set". It also can write environment variables by writing them to the registry in the following location: HKEY_CURRENT_USER\Environment Also for added safty it will check the name you are trying to use, and won't allow its creation if a variable with that name already exists. Usage: To use this VI you need to be using Labview version 8.20. With Labview 8.20 installed open the VariableReadWrite.vi file, then click run. While it's running open the View Variables tab and click "Refresh Variables" to view all your command prompt variables. Two String arrays are created, the Name of the variables, and their values. A text window is also displaying what the user would see if they typed "set" at a command prompt. To create a variable open the Create Variables tab and fill in the information for Variable Name and Variable Value; then click Create Variable. Please note that you may need to log off then back on for the new variable to take effect. If needed there is a "Run Regedit" button which will open the registry. From here you can see the newly created variables in the location mentioned in the Features section. When you are done click stop to end the program. Click here to download this file
  23. Yes I can see the page but it says "We're sorry, but your last request produced the following error: We could not find the file specified"
  24. Hello all, I recently submitted some code to be in the code repository but it was rejected for a very minor issue. My question is this, to re-submit do I have to start all over with the submission process. Or can I simply upload a new .zip file with the fixed code? I tried looking around for a place to re-upload my zip but I couldn't find any thing. I looked in my control panel, and in the section of the code repository that I submitted my code to. Thanks.
×
×
  • Create New...

Important Information

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