Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/11/2013 in all areas

  1. Hi, you did not clearly mention if you got it to work or not. If you pass the proper references to your last example, it should work. Edit: I forgot to check the other thread first: When doing it the way I proposed in my previous post, you don't need the "to more specific class" because all references keep their original type (while in your example the build array reverts the types to the lowest common type) (I don't have LV 2012 installed so I can't quickly test your snippets)
    1 point
  2. I use pipes myself to pump commands to stdin and read from stdout of the python process. You have to do the string parsing if you want to make sense of the python output in LV, but it is simple to pass commands as if you were typing away at the keyboard. I am mobile right now, but you should be able to dig up the old OpenG pipes library. If you are on a linux box then LV has the pipe library built in.
    1 point
  3. If you can handle some Python programming... The simplest way I've found to do this is to build a socket listener in Python. It opens a TCP port, and waits for commands to come in. You can see the basic idea at http://docs.python.org/3.3/howto/sockets.html. On the LV side, you send commands to the Python socket using the TCP functions (http://www.ni.com/white-paper/2710/en/). When the Python side receives a command, it breaks it down, and routes it to the right dll call. When the dll call finishes, Python might send a message back to LV with results, if needed. There are always a lot of little details to handle, but if you get the basics of this down, it works very well.
    1 point
  4. "date" is a reserved word and should not be used as a field name. http://office.microsoft.com/en-us/access-help/learn-about-access-reserved-words-and-symbols-HA010341461.aspx
    1 point
×
×
  • Create New...

Important Information

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