how VISA/COM works in C#?

Status
Not open for further replies.

mad98ad1

Junior Member level 3
Joined
Sep 8, 2004
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
113
ivisasession c#

Hello,

I can import VISA com to C++, and define resouremanager and Imessage pointer, then message pointer will be assigned as resourcemanager.open(..) it works fine. However when I move to c#, after add visa com lib into project as reference, I define resource manager rm and Imessage mg. It didn't work if I use like mg=rm.open(...). It says compiler cannot convert from Imessage object to Ivisasession object!! I am stuck. Does anyone here have experience in c#?

Thanks,
MR
 

Re: ivisasession c#

Hi,

Did you find any work around for this?

Thanks,
Murali


 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…