02-15-2012 07:13 PM
Could LabVIEW use the C# in the environment of the .NET?
Solved! Go to Solution.
02-15-2012 08:58 PM
What exactly are you asking?
You may want to search the forums for .Net and C# and read posts related to that. If any of those don't answer your questions, then please post back with a clear question that more specifically tells what you are really trying to do.
02-15-2012 09:39 PM
OK!Thank you very much!I am new to Labview and I am trying to use Labview .I want to know C# could be used in labview?
02-15-2012 10:47 PM
LabVIEW and C# are two very different programming languages. You can't write C# code in your LabVIEW programs, nor can you embed a LabVIEW block diagram in your C# program. You can use .NET assemblies within LabVIEW - for that, see the help.
02-15-2012 10:48 PM
LabVIEW can call .NET assemblies. Thus, if you compile the C# code into an assembly, then you can call it using the .NET functions. There's a section in the LabVIEW Help on calling .NET assemblies, and there are shipping examples as well.
02-16-2012 01:52 AM
Another approach would be to write a dll in c# then call it in labview. It may be helpful to let us know a bit more about your application so we can give more informed answers
thanks