Hi,
I am writing an app in C#.net to control a device using the NationalInstrument.Visa.dlll and Ivi.VIsa.Interop
Is there any document guide of how to use basic functions such as: find(), open()??? or maybe an example in C#?
I found the following example for VB but I can not find the right way for C#:
Public Class Osciloscope
Public rs As ResourceManager = New ResourceManager()
Public visaSession As MessageBasedSession
Public Function ListDevices() As String()
Dim a As String() = rs.Find("(ASRL|GPIB|TCPIP|USB)?*")
Return a
End Function
Public Function Connect(ByVal DeviceIDString As String)
Try
visaSession = rs.Open(DeviceIDString)
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Critical)
End Try
End Function
Maybe an example with the general functions??
thanks