Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by Bryan

  1. Thanks for the detailed information Michael. That helps me understand it more. To date, I think I've been using the DSC module waaaayyy below it's capabilities, but not having time to really get familiar with it has me using it in the way I've been able to initially get it to work. Using DataSocket will probably be the least efficient way for us to do what we want, but like you said, will be the cheapest and require far less time to implement than other solutions I've been looking at.
  2. We're going to be using quite a few tags I believe, so datasocket would be out. I forgot to mention. We're using profibus cards from a vendor that supplies both DDE and OPC servers to use with their cards. Is the OPC server from Kepware more "friendly" to use with LabVIEW?
  3. Is it possible? We're going to be developing a rather large application using multiple computers, all of which will have OPC servers running on them. Currently, we're using LabVIEW with the DSC module to access the OPC tags. DSC licenses are rather expensive, and cost is definitely a factor in our case. Does anybody know if there is a way to access OPC Server objects/tag values in LabVIEW without purchasing the DSC module? An option we're keeping in the back of our minds is using the OPCDAAuto.dll and essentially creating our own little version of it, but it requires time (of which we don't have much) and a learning curve. If anybody's done something like this, I would much appreciate a point in the right direction, example code or anything I can get my hands on. Thank you much-ly!
  4. Bryan

    I'm Daddy

    Another update... It's a BOY! Had the 5 month ultrasound yesterday and found out. He's healthy, active, and camera-shy. He kept moving around where we couldn't see him, then just gave up and covered his face with his hand.
  5. I can't read german, so I can't get the specifics of the error, but I do know that sometimes if loops aren't properly stopped and references closed before your application exits, you can get errors. For example, with an exe I built, I had a property node (or method, don't remember which) that closed the front panel residing inside of my main while loop. Therefore, the window was closing before the loop exited and I would get an error in the exe when it closed. This only happened on some machines, but not all. I moved it outside the loop and haven't seen it since.
  6. Would certification be more worth it for someone who is more or less self-employed and consulting than someone who has a permanent job as a LabVIEW developer? I'm guessing the first one is probably going to be the answer. I don't know of many (or any) companies that will give raises and promotions to someone just because they got certification, although if for some reason I would end up having to search for another job, it may come in handy, but even then, I don't know if starting salary would change based on certification, or lack thereof.
  7. <-- courtesy of a good friend of mine. Considering my interest in vehicles, I would say it's definitely appropriate. *sniff* That's my boy/girl (won't know until next Dr visit). My wife's about 4 months along, and doc says she's doing great.
  8. Thanks! I got it working and found out that the problem was that I installed VISA in the non-default directory, which forced me to have to update and change the environment variables. I also had to change the permissions of the ports using "chmod" so that all users can access them.
  9. Bryan

    I'm Daddy

    It must take after its mother being so short. Thanks for the well-wishes!
  10. Bryan

    I'm Daddy

    Just a little update. We were to the doctor yesterday. She said that my wife is 8 weeks along and everything appears fine. I got my first view of our baby and it was a humbling experience seeing it and it's little 160bpm heart going a mile a minute. Here's a picture of the ultrasound:
  11. I believe you can also do it through a command prompt if you want a little safer method of doing this, but I forget what the command is, it shouldn't be too hard to find though.
  12. Well, since I'm the one answering my own Linux-specific posts, I guess you could say that I'm the resident Linux LabVIEW expert? Haha! Anyway, I found out that it was an issue with 2 environment variables not being set. VXIPNPPATH=/usr/[path to directory containing vxipnp]/vxipnpLD_LIBRARY_PATH=$VXIPNPPATH/binexport VXIPNPPATH LD_LIBRARY_PATH It varies I guess with what flavor of linux you're running, but with what I'm using, listed in the first post, I had to enter these variables in the /etc/profile file.
  13. I'm kind of in a hurry to get this problem resolved, so if anybody has any leads, I'd really like to know. I've already changed permissions on the ports, and tried to run "visaconf", but it just returns an error "0xBFFF0000" Anybody? Bueller...? Bueller...?
  14. I'm trying to access the COM ports on a computer running Fedora Core 2 Kernel version 2.6.5-1.358 and LabVIEW for Linux 7.1. The VISA controls don't show any COM ports available and there are 2 of them on the computer itself. Being new to Linux, I don't know anything about accessing COM ports through Linux, most of the information I've been finding online is C-oriented and hasn't been helpful in communicating with them from LabVIEW. I'd like to somehow make sure that the OS even sees the COM ports, if it doesn't, I have to find out why and how to talk to them through LabVIEW. Any help is appreciated!
  15. Bryan

    I'm Daddy

    Well, I just found out this weekend that I might be a daddy. It has yet to be confirmed by a doctor, but all of the symptoms are there and the home test was positive! We're thrilled, but at the same time, as normal, I'm scared. A new chapter in my life has begun and I'm hoping I can do my part and do it well.
  16. In order to build a windows application, you need to acquire a copy of LabVIEW Application Builder from National Instruments for your version of LabVIEW ($600 ish or so?). Also, computers that will be running your EXE version of software will have to have the appropriate version of the LabVIEW Run Time Engine installed.
  17. We just finished installing LabVIEW 7.1 on Fedora 2 and 3 and came across an interesting issue that would allow us to install LabVIEW but not run it (the splash window would open, then pause, freeze and close). Turns out that Fedora 2+ uses a filesystem convention that doesn't have "." and ".." as the first two directories. Apparently LabVIEW depends on this. To get LabVIEW to run on Fedora 2+ log in as "root" and execute the following code in your shell for all EXT3 partitions: tune2fs -O ^dir_index /dev/(yourPartition) I'm running Fedora 2 installed on a USB hard drive with (2) EXT3 formatted partitions, so mine was: tune2fs -O ^dir_index /dev/sda1tune2fs -O ^dir_index /dev/sda2 You should be able to immediately run LabVIEW afterwards.
  18. Thanks for the info! I remember seeing that before but forgot about it. I see that the only stipulation is that you have to replace the VI in memory with one of the same name. It would be neat if I could do that even with subVIs that are not the same name, but I guess that's kind of a mundane detail unless one's forced to adhere to strict naming conventions and is in a situation where using a different VI of the same name is not acceptable.
  19. I've had situations where I've wanted to replace multiple instances of a subVI in a block diagram by finding each one, right clicking on it, going to "REPLACE" and replacing each one with the same new VI. It would be neat if, along with the current "Find" function, that you had the option of replacing multiple instances of a function with a new one similar to how you would use Find/Replace in notepad to find and replace text, or a hybrid of LabVIEW's separate "Find" and "Replace" features if you will. Of course, my "wish" is geared primarily toward user-created VIs, but I suppose being able to do it with the provided LabVIEW functions would be helpful as well.
  20. .. or should I say the ability to use them in path controls. I.e. for windows NT machines entering "%SystemRoot%" in a path variable would return "C:\WINNT" at runtime.
  21. You can use a property node for a VI class and select the "Front Panel Window >> State". I don't remember, but I think LV6.1 has this function.
  22. Nice trollish first post. :thumbdown: If you're using LV7, and it's crashing, it sounds to me like poor or inefficient programming style may be to blame which may have lead a memory leak or massive use of memory somewhere (i.e. unknowingly building massive arrays inside of a loop). I've been using LabVIEW for 5 years, and the only version I've ever used that sometimes crashed was LV5.1 when running NT4.0. I would suggest that you either take a look at your own programming ability/style, maybe read up a little on LabVIEW and look at what you yourself could have done wrong before pointing the blame at someone else. Who was it that had in their signature something to the nature of: "Software Development is a race between software developers creating more idiot-proof programs, and the universe creating more idiots"?
  23. By what delimitation are you trying to split the string? Are you trying to break it up into pieces by finding spaces, commas, etc? If you're trying to do the above, you can use the "Spreadsheet to Array" function which will provide an array of each "piece" of your string that's separated by a character (i.e. comma, space, tab, etc). Or use the "Scan from String" function.
  24. Has anybody programmatically changed a computer's IP Address using LabVIEW? I'm in a situation where I will have a LabVIEW App running on a computer having a few ethernet adapters. What I would like to do is somehow identify the adapters and programmatically set the ip addresses and subnet masks of each adapter and apply the settings without having to reboot. Sort of like how you can change the IP and implement the changes manually by viewing local area connection properties. Extra tidbit of info: we're going to be using W2k/XP machines. I'm thinking it's probably going to be a register-level implementation, which we would like to try to avoid. If anybody is able to at least point me in the general direction, I would greatly appreciate it.
  • Create New...

Important Information

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