LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I make RPC calls from CVI?

I want to make an RPC call from a CVI program. I have #include . In rpc.h, RpcTryExcept is #defined to be __try. When I compile the line RpcTryExcept{myFunction}, CVI doesn't know what __try is. What do I need to do for CVI to be able to make RPC calls?
0 Kudos
Message 1 of 2
(3,253 Views)
We don't include library functions in CVI for RPC. You would need to find a C library for RPC. For example here is one for use over the internet via XML (http://xmlrpc-c.sourceforge.net/). It sounds like the library you have is written for C++ since it is using exception handling which isn't supported in C.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 2
(3,253 Views)