bangsang Posted March 19, 2015 Report Share Posted March 19, 2015 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 Quote Link to comment
ak_nz Posted March 23, 2015 Report Share Posted March 23, 2015 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. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.