03-21-2003 06:33 PM
03-24-2003 05:46 PM
10-01-2012 02:09 PM
Hi, I know am replying to a 9 yr old post , my queries are similar and link to "Discussion Forum" mentioned below might be renamed.. so i cant reach it.
I have a C# project using NI VISA .
1. Can u let me know the DLLs / Assemblies tat i need to add as reference in my Project , so as i can reference the read/write functions from NI VISA.
2. When i read the NI VISA Programmer manual (as an example page 304), it mentions the C Syntax and Visual Basic Syntax , why it does not memtions the C# syntax.
3. Can u point to some examples which show read/ write scpi commands using C# using NI VISA driver?
4. Is it that " call unmanaged code (funcitons in dlls) from .NET" still holds valid after 9 years or we have something from NI which help me to use directly to call .NET functions from my C# application.
10-01-2012 03:43 PM - edited 10-01-2012 03:44 PM
@na-ch wrote:
Hi, I know am replying to a 9 yr old post , my queries are similar and link to "Discussion Forum" mentioned below might be renamed.. so i cant reach it.
I have a C# project using NI VISA .
1. Can u let me know the DLLs / Assemblies tat i need to add as reference in my Project , so as i can reference the read/write functions from NI VISA.
2. When i read the NI VISA Programmer manual (as an example page 304), it mentions the C Syntax and Visual Basic Syntax , why it does not memtions the C# syntax.
3. Can u point to some examples which show read/ write scpi commands using C# using NI VISA driver?
4. Is it that " call unmanaged code (funcitons in dlls) from .NET" still holds valid after 9 years or we have something from NI which help me to use directly to call .NET functions from my C# application.
I am on Win7 PC.
The .NET DLLs are located in C:\Program Files\National Instruments\MeasurementStudioVS2010\DotNET\Assemblies\Current
The example programs for using NI-VISA with .NET are located in C:\Users\Public\Public Documents\National Instruments\NI-VISA\Examples
You can get to the example programs from the Start Menu as well.