Jump to content


  • Posts

  • Joined

  • Last visited

Profile Information

  • Gender
  • Location
    Gaithersburg, MD
  • Interests
    Electrical Power System Engineering, Sailing, Virtual Reality

LabVIEW Information

  • Version
    LabVIEW 2014
  • Since

Contact Methods

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Argold's Achievements


Newbie (1/14)

  • Week One Done
  • One Month Later Rare
  • One Year In Rare

Recent Badges



  1. I'm confused. There is also a version on Github. Which is the one that is available on the LabView tools network via VIPM?
  2. Thanks Rolf: After the discussions here and in the thread about using Python to create user events. I think I do want to look under the hood of LabPython. But I am a bit confused about the source relation between Github and the version on the labview tools network. Both of these are (2011) Do your know who, if anyone is maintaining it?
  3. So i did a little searching down this path, and it does look like you can make calls to/from Python via LabWindows/CVI. However I do not have that (yet) and wonder if I need to get it. I'm thinking instead if there is a similar thing like a PVI" that anyone has thought about... This actually looks promising: http://www.ni.com/white-paper/8911/en/ It talks about calling C-style DLL's from Scripts..
  4. I don't see how getting the reference from LV each run would be a problem. The communications would need to be two-way but they need to be anyway, so it should be do-able. What you suggest about passing strings to LV is what a wrapper for the clonable modules would need to do. Again, I'm looking for a solution where I can use the modules pretty much as designed (much more elegant and does not break the way they are already used within a LV framework). I'm still hoping it can be done, and thank's for all your advice so far, Eric.
  5. Thank you but No, I use user events all the time. I need the Python code to generate the User Event, I'm studying up on "PostLVUserEvent" right now. if it can be done in C, it should be able to be done in Python!
  6. Yes, pretty simple. Still looking to see if anyone knows how to generate a user event....
  7. funny, that is not there for me: In either Chrome or IE.:
  8. Thank you for taking the time to do this. FYI, my colleagues here pretty much stick with Py 2.7, telling me that many of the scientific packages have not yet been ported to 3.x. I am new to Python. I noticed that same thing on the GitHub. I spent some time with the Actor Framework a while back and decided it was overkill for even some of the big projects I do. So i ended up making my own stand-alone, cloneable/pluggable module template that depends on user events for communications. I have been developing hardware abstracted (IVI compliant) clonable modules for instrumentation in my lab. My (new) goal is to use python for test automation so folks do not need to be labview coders to create new test rigs using my modules. So for me, event generation really is key because I don't want to go back and re-write my modules. An alternative would be to make wrappers for them, but it would be best if I can just natively generate the user events. I am encouraged by the post from ShaunR in the other thread. So for now I'll keep looking for a way to generate events. I'm out of town next week (at the IEEE PES JTCM) so there will be a break from this discussion for a bit... Allen
  9. Thanks: Ok, so when I do that and select "See my Activity>Status updates" it shows "nothing here yet". I am unable to locate the place where I enter my status update.
  10. I don't see this status widget, but I would like to use it. Has it been "updated away?" Where can I set it?
  11. Thank you again Eric: Can you do me a favor and save the .vi as LV14? I choose not to upgrade under my motto: "if it ain't broke, don't fix it" Allen
  12. Thank you Eric for the reply and all the reading. I looked at Enthought and came to a similar conclusion from their marketing materials. Yes, that GitHub does look interesting. I'll check it out. I'll pass on Featherweight for now while I try to learn the basics. Later it might be interesting. On your last comment, believe it or not, I'm already there. Each of my major functions are completely stand-alone cloneable modules which are abstracted using plugins. They are launched by, and use user events to communicate with, a framework. The framework can be LabView or Python assuming I figure out how to generate the user events in Python, hence my subsequent thread which you already replied to. Allen
  13. Thank you Rolf: It is really great to hear from the original creator and I'm glad you are keeping an eye on things. I was hoping that I could use some kind of scripting language such as Python or LUA and LabVIEW could pass references to the controls which could be overwritten by the script language. It sounds to me that that is the difficult and brittle (if not impossible) thing to do. In the meanwhile I have been trying to write a crude script Interpreter state machine completely in LabVIEW and have gotten as far as being able to handle nested FOR loops. However I am not sure how to do things like have a script create local variables (such as "A=3.5"), then later use things like A = A+B, etc. Even more difficult would be to have a variable set to a reference to a control then use it to perform math. this project seems to be very limited and would require my users to learn a strange sort of syntax that the LV interpreter can handle. So I'm still hoping for some way to use an existing scripting language and will continue my search and trying out a few things.. It does not sound like you are recommending looking into Lua for LabVIEW ether...
  14. Hello there: I have a big project, pretty much already coded in Labview, designed to perform monte-carlo analysis on a set of applications that use data from time synchronized measurements across the electrical power system. The project is designed to be open source and distributable using both built .exe and vipm. Therefore I include ONLY libraries that either come with LV or are OpenG (no third party tools that need to be purchased, and no TestStand). A part I have yet to code is the monte-carlo engine which needs to be end-user programmable. I have an idea for creating my own set of commands and a labview interpreter, but before I do that, I'm thinking that many of my end users will already have some python ability. So I'm trying to decide to use labPython. The problem is that I have not found any documentation or examples for it yet. What I need to do, is have the python script, written by the user, access controls (mainly clusters or 2-D tables), overwrite the LV control values, then start a test run. This is essentially test automation. Python would be nice because then the user can use local variables to calculate the values to be written into the controls. So I'm looking for your advice: Should I give LabPython a try? If so can someone: 1) point me to some documentation 2) point me to some example code (especially how to access controls). 3) tell me where to go when I need to ask for help (this forum or another) Thank you so much.
  • Create New...

Important Information

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