Jump to content

Michael Aivaliotis

Administrators
  • Posts

    6,203
  • Joined

  • Last visited

  • Days Won

    111

Everything posted by Michael Aivaliotis

  1. I know Bryan hangs out in the forums and has worked on TCL stuff perhaps you guys can exchange notes. http://forums.lavausergroup.org/index.php?...=findpost&p=804 http://forums.lavausergroup.org/index.php?...=findpost&p=802
  2. OK Sarah, I hope we can finaly close this thread. :thumbup: Here is some code that will help you out. I think I understand what you require now. Download File:post-2-1095480616.llb LV Version 7.0
  3. Well that's a neat trick! :worship: This normally generates an error in LV (broken wire). You can't have the output of the array feeding into the equal function. Object is member of a cycle. "These wires form a cycle, making two parts of the diagram interdependent, so each must wait for an input from the other and neither can execute." I assume there is something else you're not showing us...
  4. Can you post an image of your diagram where this VI is used? It looks like your "replace.vi" is working fine from what I can see on the front panel. How is this VI used in the caller?
  5. Check out the FAQ entry here: http://forums.lavausergroup.org/index.php?...=findpost&p=679
  6. This is not exactly a good post but it shows an example of how to do an event callback: http://forums.lavausergroup.org/index.php?...=findpost&p=119 Perhaps this question should be put up into the LabVIEW FAQ...
  7. That's great! I'll move it over to the LabVIEW FAQ in a few days...
  8. See Here: http://forums.lavausergroup.org/index.php?showtopic=345
  9. Seeing is that web documents come and go. I'm including the entire press release in this post:
  10. I know Bryan is another car lover here. Personally, I really don't get it. How can somebody spend so much money on a car. I guess that's why it's called a hobby. It must be great living in Germany since it's easier to have a BMW as a car. Here in North America, they are called imports of course and are really expensive. If you had to choose between your boyfriend and your cars, who would you pick?
  11. Take a look at the attached code (lv70). I added the shift register. This is what I meant. I am also using the standard XY Graph.Download File:post-2-1092361238.vi
  12. Actually, you CAN edit your own posts. However you have a time limit of 60mins. to do so. In other words, you have an hour to realise that you shouldn't have wrote that... Beyond that, a polite personal message to me with a justification will do it.
  13. You use the same method that you would normaly use when accessing a VI within the same labview. Also, when communicating to another executable then you need to specify "localhost" as your servername. VI Server uses the TCP/IP protocol. TCP/IP communications between two executables require that each end of the TCP/IP link has a different TCP/IP port number. When the two VIs are running under LabVIEW, they are within LabVIEW (in other words, not communicating between executables or separate programs). You can change the port number in the ini setting for that executable. The .ini file should have the same name and be in the same directory as the executable. A typical ini file after the port has been changed on the executable looks like this: [MyExecutable] server.tcp.enabled=True server.tcp.port=3364 server.tcp.access="+localhost" Also, one more thing. If you want to test your code before you create an executable, you can launch multiple instances of LabVIEW. I haven't tried this but it's shown in this post in the FAQ: Can I run multiple instances of LabVIEW?
  14. I opened the code in LV7.1 and re-saved it in 7.0 for the rest of you. I am attaching it. As far as the code itself. I would recommend that you create 1 serial IO VI and reuse that. It will make your code easier to manage and read. Also, try to keep your diagram to a limited space like 1024x768 screen resolution. My desktop is 1680x1050 and I still couldn't fit everything on there. When I get a chance, I will try to submit a revision to your code but in the meantime, maybe others can make some suggestions. As related to your original question. I think if you create a few sub-vi's as I suggest, you will see that it will solve your problem. Download File:post-2-1092243301.llb
  15. When you create an exe file, LV automatically sets your main toplevel VI to run automatically. What radio button are you talking about?
  16. Why not put the indicator INSIDE the loop? To keep the history you need to use a shift register. This will buffer your graph data for you.
  17. An easier way is to just right-click on the boolean and create a property node just for the boolean. You can use the Strings array property to specify the number of items.
  18. Yes, this is possible. No right-click required. Just go to your Dialog pallete and select an additional radio button. Drag it over to your radio button area and drop it in. You can drop in as many radio booleans as you require.
  19. I would suggest you perform a search in the forums before posting. This will help you resolve issues faster. In regards to your question about launching a VI, I suggest you read this post: How to open a VI within a VI
  20. Which example is that? Could you let us know so others can benefit?Also, is there a reason why you are using the xy plot with picture control? It's more efficient and easier to use the standard XY graph indicator on the graph pallette.
  21. Ok, I think I got it now. One question, do you absolutely require editing of the numerics? If not, then you can just convert the numbers to strings and feed them into the listbox. If you require editing then a better approach would be to use an array of numerics than a listbox. If you want to have a scrollbar then you can use the technique described here: Replacing the Array index with a slider.
  22. Just a suggestion for future posts (for all members). If your code requires related multiple VI's, please include them all inside an *.llb file or a *.zip file. This will help others launch and run your example quicker. :thumbup:
  23. If you go to the comparison palette, you will see the Equal? function. Pretty self explanatory. If they are the same then boolean is true. Does exact match only.
×
×
  • Create New...

Important Information

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