Jump to content

Jordan Kuehn

Members
  • Posts

    690
  • Joined

  • Last visited

  • Days Won

    21

Everything posted by Jordan Kuehn

  1. There is no use of the value (signaling) property in the VI, and no access to the Controls[] is being done. It's a fairly simple subVI. Perhaps my description wasn't clear enough. The two buttons in question reside on the front panel of the subVI which behaves like a dialog prompt. There are two event structures, on in the main vi and one in the sub vi; however, the action in question was the action triggered by that button value change in the subvi.
  2. After looking at it several times, we may just have to go with the obvious option. It behaved as expected and the operator didn't want to admit it.
  3. Hey guys I could use some help. Basically I have a vi that entered into a case triggered on a front panel boolean value change. However, this boolean is continually enabled or disabled and grayed out during the timeout case based upon a different controlling boolean. (a quick and dirty admin mode if you will). The operator claims that the button was grayed out the entire time and that the state was entered into without any action on his part after the subVI began to run. Any thoughts? I'm having trouble explaining why it got there.
  4. A custom windows environment variable could do the trick. Attached is code that I have used a couple times to see which machine it's on. Keep in mind, LabVIEW will not see a new variable without being restarted. //Edit Not good if you're only interested in IP address obviously.
  5. Bitbucket looks great except for one thing. I can handle moving to mercurial, and I can even handle splitting my SVN repo into multiple by-project repos and simply organizing the repos into folders by customer. However, it looks like on bitbucket I have to place all of the repos at the same folder heirarchy level. That would force me to do something like [Customer_ProjectName] instead of [Customer]/[ProjectName]. Is there a way around this? I have too many projects to leave them all in a single folder.
  6. I'd also be interested in a good project hosting service that allows for private project and svn integration. post-commit hooks would be nice as well.
  7. Does sourceforge allow for private projects?
  8. Care to submit to the Idea Exchange? I would love this feature. Often times when giving RT code to a coworker for testing builds fail because his folder structure is much deeper than mine. Building and deploying on the desktop before moving into the final destination is a complete PTA.
  9. Couldn't you kill the process via the command line? This VI from the dark side shows some of the commands. https://decibel.ni.com/content/docs/DOC-9277
  10. I second crelf's questions and suggestions. Without knowing what kind of power source you are trying to switch, what load you are driving, and how fast you want to switch it, you can achieve this with a suitable relay and a single digital output line. If you have an ni motor controller for the stepper motor you mentioned you can likely find and example for it in the example finder in LabVIEW (Help->Find Examples...)
  11. I just got an email from NI that I passed the CLD exam! I've been poking around here for some time, but not really posting much though I'm sure that will change. There's not too many people in the world that know what a CLD is, so I figured I'd come share it here.
  12. I haven't experienced any of these issues you describe. Running LV2010 on both my desktop and laptop. Perhaps something is wrong with your machine. As far as modern looking controls, I find myself using the system controls a lot. They look nice in windows 7 and decent in XP. There's also a few controls suites in the package manager that are nice.
  13. Here's hopefully a simple question: What is the best method for communicating with an RT target with a Host controller (windows) that may reconnect at any time? Network variables, Remote Panel, Web Services, tcp, udp? I've used network variables and networks streams plenty, but network variables just don't seem reliable enough and network streams hang when connection is lost. Remote Panel and Web Services seem attractive due to the fact that everything is hosted on the target. I don't need deterministic control on the host interface, just a decent UI. Thoughts?
  14. As suggested earlier, post your code and we can be more helpful. Perhaps even a VI Snippet. tushar gave you good advice regarding timing when the trigger occurs. To further elaborate, if you are simply wanting the time from execution to the first threshold, you can place a tick count vi before your while loop. Place another inside the while loop inside a case structure that has the selector wired to the same boolean as what turns the LED on. In the false case you can put the put the tick count from the beginning. Then subtract the two and conditionally wire the result into a numeric indicator. When true you'll see the time between start and threshold, when false you should see 0. I have a feeling you may need a little bit more sophisticated approach, but this should get you started for now.
  15. This is probably what you are looking for. Once you have an ODBC reference you can call the database by name. Here's some stuff from NI: http://digital.ni.com/public.nsf/allkb/47A8CF66D5E3C8CC8625720A006139D6
  16. Here are my get/set temperature vi's for a Watlow F4 controller. You also need the NI Modbus library. And there seems to be an issue with the VI snippet. The clusters constants there can be remade and should have RTU and 1 as the values in them. Hopefully this is of some help to you.
  17. I believe you can comment on the review to clarify some of the focus of the book. Here is a generic article that might be a little useful.
  18. Shouldn't the software work under evaluation mode at least? Also, there is offline activation that is possible.
  19. post an actual image as well, and you may get some tips that relate directly to your application
  20. Thanks for your quick replies! Justin, that hit the nail on the head and did a great job of getting rid of my confusion. I think right now I can get away with refactoring to poll the event structure occasionally, but will keep everything you said in mind as I move on to other projects.
×
×
  • Create New...

Important Information

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