Jump to content

jaehov

Members
  • Posts

    12
  • Joined

  • Last visited

    Never

jaehov's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. QUOTE (mesmith @ Mar 17 2009, 03:42 PM) ok sounds good. But just out of curiosity, what did you mean by access "static" methods or properties? What Labview controls would I use then? thanks J
  2. Hello Techies I wanted to make a reference to a .NET .dll for use in Labview. I started out by creating a .NET Refnum control and then connecting that to a Property Node. I could see all the properties, but when I ran the VI, I got Error 1172 (see the attachment) My 2nd idea was to use a Constructor (for the object I wanted), then connect that to the Property Node. Now this seems to work with no error. My question is: 1) Is there a better way of referencing the dll in my VI other than using a Constructor (...then getting the properties?) or am I doing this correctly with the 2nd idea? thanks The Rookie
  3. QUOTE (lvABC @ Feb 17 2009, 06:59 PM) GREAAAAT! This works like a charm! Thanks for EVERYONE QUOTE (jaehov @ Feb 19 2009, 11:02 AM) GREAAAAT! This works like a charm! Thanks for EVERYONE'S help with this. You all saved me development time.
  4. QUOTE (Mark Yedinak @ Feb 17 2009, 04:54 PM) Yes. I am in the labview 7.1 environment. So I am without the use of the Labview U64 capability.
  5. Hello Code Gurus I would like to convert a labview decimal string, e.g. "242992472391692" into an equivalent HEX String "DD001800000C" Can someone show me how to do this? thanks new kid on the block
  6. QUOTE (Mark Yedinak @ Feb 15 2009, 04:15 PM) thanks for the response. Can you help me with my example VI ? I have connected my string control to a unsigned byte array. Im unsure of where to go from here?? http://lavag.org/old_files/post-7622-1234806972.vi'>Download File:post-7622-1234806972.vi
  7. QUOTE (jdunham @ Feb 15 2009, 01:22 AM) i actually got the number wrong, its longer than that. Try "12345678991234567899"
  8. Hey techies I am working with a pre-existing test tool with LV 7.1 I need to convert a Decimal String "1234567899" to an Integer equivalent (no truncation or other formatting) Essentially I want the string "1234567899" to be converted to the Integer (1234567899) I know in LV 8 this would be a breeze with U64. But how can I perform get same result in LV 7.1 ? thanks The new guy on the block
  9. Jeff Problem Solved! .....No more Error 1172 !!! I had to go to the Block Diagram and create a constructor. Once I created the constructor, I then imported the .NET dll. The constructor was then wired to an Invoke Node....exposing the dll methods and properties I attached a word document for viewing pleasure ~jaehov Download File:post-7622-1170452589.doc
  10. Hello All I have a dll that was created in .NET I can open the dll within LV8 and I can see the methods and properties. One of the methods is called "Multiply". Multiply takes 2 inputs (x,y) and then gives a result. x and y are both int32 I input values for x and y , run my program, "RPSTestLibrary.VI" , ...then I get the Error code 1172. "Error calling method RPSTestLibrary.RPSInfo.RPSMultiply of NULL ObjectId, (System.ArgumentNullException: Key cannot be null. Parameter name: key) in RPSTestLibrary.vi" Does anyone know how to fix this error? ~j
  11. Hey Jeff Thanks for the response!!...I can see the methods and properties for my .NET dll ! .NET refnum in LV 8.2 is found under the "Modern" controls palette >> "Refnum" Have a Great Day ps. I did have .NET 1.1 SP1 installed ~J
  12. Hello All I have a dll that was created in Visual Studio .NET and I want to open it within Labview 8...(Windows XP) I want to view all the methods and properties contained in the .dll Does anyone know how to expose the .NET dll within Labview? thanks Hov
×
×
  • Create New...

Important Information

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