Jump to content

Bryan

Members
  • Content Count

    234
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Bryan

  1. http://members.cox.net/transam57/lights.wmv
  2. Check your VISA serial configuration VI (where you set up baud rate, etc). There should be a parameter where you can specify using the EOL character (windows it's <cr><lf>). When reading through serial connections, I believe LabVIEW's default configuration is to read until it reaches an end of line character, then it returns everything up to that character. If you disable the EOL character, it will return a specified number of characters instead of waiting until it receives the EOL character. I was going to fire up LabVIEW to check this to make sure I'm giving you accurate information, but it appears my installation is corrupted at the moment. Someone else can probably confirm for me.
  3. Bryan

    I'm Daddy

    Thanks! He's not really (micro) managing, he's got absolute control! Especially when it comes to our sleep schedule, as is what normally happens. Both my wife and I have a new-found respect for our parents. They're coming down to help out today around the house. I'll be giving them really big hugs when they get here.
  4. Bryan

    I'm Daddy

    Wow, I'm sorry that I seem to have taken over this thread (at least at the end) but just FYI, my wife had our baby early yesterday morning. First Name: Ethan Middle: James Weight: 6lbs 2oz. Length: 22" DOB: 9/18/2005 @ 11:22am Just thought you would like to know
  5. I have a couple of questions. Perhaps I misunderstood some of your instructions: You said to lock your central, resizable object. If I do this, the object will then not resize with the window. Did I miss something? Also, you said to anchor your panel to the origin (i.e. FP.Origin = 0,0). I've done this, but it seems that my resizable object "walks" down in vertical height each time the window is resized vertically. I should also mention that I have 2 objects I would like to be resizable. I grouped the 2 together before setting it as resizable. Would this be the cause for the behavior I'm seeing? Finally, is there a way to force objects to resize vertically, but not horizontally (and vice versa) with the panel. Sort of like locking it's "resizability" in one axis. I'm probably looking at doing some things that LabVIEW doesn't yet have the ability to do.
  6. Thanks for releasing the secret Michael! I won't share it outside of LAVA so that only we are the magicians.
  7. I never noticed that option before. I always thought that you had to apply it to all items on the panel, except those that are locked. I noticed that some objects move with the window size, but don't scale with it. Is this done with a tricky combination of locks and scaling?
  8. I've been looking at the front panel for the OpenG commander for a little while this morning trying to figure out how Jim got certain controls to move, scale and even stay put when adjusting the size of the window. I checked to see if the "Scale objects with window size" box was checked in the VI properties, but it wasn't. How did you dood it Jim?
  9. Thanks for the pointer, I learned a few things, but unfortunately, this isn't what I'm looking for. I'm not looking to make my application THE executive. I would like to know the best way to launch TestStand and start the execution of a sequence file (possibly even login as well) FROM labview, not within labview. It's simpler than that even. The program I've created in LabVIEW is a test sequence browser. It allows a user to view revisions of sequence files stored in Visual Source Safe and select one to run. At startup, the LabVIEW program downloads the latest revisions of the support VIs and other files used in the sequences. When a user selects a sequence to run, it downloads that sequence from VSS to a specific directory and (currently through a command prompt VI) opens the sequence in TestStand. When the operator is done running sequences and closes the program, the program removes all of the support files and *.seq files leaving behind the file structure and collected test data. I know there's probably a MUCH better way of doing what I'm doing, but since I'm still learning TestStand and don't have a whole lot of time to become a TestStand guru, I've been working with what I know. TestStand's source control stuff seems limited to workspaces and such. What we're doing is running individual sequences, more specifically on average of 15 sequences for different tests per UUT. Because of the uniqueness of each unit (and our lack of available development time) we've had to develop these sequences as we get each unit. Back to my problem though, so far it seems like the command prompt route I'm using currently best fits my needs whereas the TestStand API is intended to create a test executive out of a LabVIEW VI, which is much further in depth than I need to get. Thanks for your help though! :beer: I'll keep messing with the example to see if I stumble across something that fits my needs.
  10. I'm running LV7.1 and TS3.1. What I want to do is somewhat the opposite of how TestStand and LabVIEW were intended to interact I believe, since TestStand is intended to be the top level application calling LabVIEW. What I want to do is control the TestStand application from LabVIEW. More specifiaclly, open the application, display the window, open a teststand sequence file and start it. That's basically it, sounds simple enough doesn't it? I looked through the ActiveX APIs and couldn't find any clear-cut way of doing it. For example, when controlling MS Office, you can open the application, make it visible, open files, etc. I'm having a hard time finding a way to do it through creatable objects. I'm probably missing something that's really easy. Could someone who knows point me in the right direction? I should be able to take it from there. So far, the only path I've been down is with the Engine API. For now, I've been calling the sequence file through the command prompt subVI. It works, but doesn't allow me the level of control I'd like. Thanks, Bryan
  11. 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.
  12. 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?
  13. 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!
  14. 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.
  15. 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.
  16. 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.
  17. Bryan

    New Avatar...

    <-- 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.
  18. 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.
  19. Bryan

    I'm Daddy

    It must take after its mother being so short. Thanks for the well-wishes!
  20. 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:
  21. 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.
  22. 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.
  23. 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...?
  24. 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!
  25. 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.
×
×
  • Create New...

Important Information

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