09-20-2012 08:32 AM
I'm looking to create a .net assembly from Labview that provides events. In my case, the .net assembly will handle communication to a robot. I need to fire an event back when the robot has completed a move. Is this possible? Or does the labview application builder only provide a means of producing dlls with basic inputs and outputs.
Thanks!
09-21-2012 10:51 AM
Thutch,
It appears as though you can create .NET assemblies from LabVIEW. Directions can be found here:
http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/building_a_net_assembly/
I hope that helps!
09-24-2012 02:00 PM
I should have been more clear. I know you can create .net assemblies, what is not clear is if you can provide interops (events) in you VI that can be accessed through .net.
09-25-2012 04:52 PM
Thutch,
Documentation for this is definitely a little difficult to come by. I see no reason why generating an event in LabVIEW would not work, however there is no concrete evidence that it will. Can you give a little more information on what exactly you are trying to do so we can help you further?
Thanks!
09-26-2012 07:04 AM
I'm trying to create a VI that I can turn into a .net assembly. This VI will control a robot. I need to be able to generate an event in the VI that is accessible to an outside program. For example, the robot will be performing moves that take a long time. At the end of the move, I need the .net assembly to broadcast an event saying it is complete. Or if there is an error, I need it to broadcast an event with the error details. I know this is done routinely in other languages because when I call a .net assembly from Labview I can register for events, I just can't figure out how to do it the other way around.
09-15-2015 11:51 AM
Does anyone have an answer to this topic? I'm interest too!
Thanks.
Matthias Baudot | Software Architect | Founder at STUDIO BODs | DQMH® Consortium Board Member
09-16-2015 10:18 AM
mbaudot, this thread is three years old. Please create a new thread to get better visibility for your question. Feel free to reference this thread in your new thread if needed.
09-16-2015 10:43 AM
Thank you for your suggestion GiantDeathRobot.
However, I don't think creating duplicated threads because they are too old is a good idea. It just makes everything more confusing on the forums.
If you and me were capable to find this thread, I'm sure someone else who can reply to it will find it as well
Matthias Baudot | Software Architect | Founder at STUDIO BODs | DQMH® Consortium Board Member