Jump to content

Testing C# dll in LabVIEW


Recommended Posts

I have C# code that initializes force feedback joystick and plays force effect file; vibrates the joystick. I converted console application into a dll file. I want to test this dll file in LabVIEW to check that my dll file works.


 


People told me that I need to use property, constructor, and invoke nodes, so I went to connectivity - .net - used property, constructor, and invoke nodes.


With the constructor node I browsed for my dll and it shows my class Form1. I don't know what to do from here. I have attached dll file and what I did so far with the LavVIEW.


C# force feedback dll.zip

post-53324-0-88588500-1426746271_thumb.j

Link to comment

You implied that your C# assembly contain a Form - so presumably you want to show this form from within LabVIEW. Once you have instantiated your form with a Constructor node you need to show the form with the Show() method via an Invoke node.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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