Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how VISA/COM works in C#?

Status
Not open for further replies.

mad98ad1

Junior Member level 3
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


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
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top