Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How to access remotely to a PXI card with Visual C++ through an Ethernet TCP/IP link?

I read that it was impossible to use RDA with C++, however, we must use Visual C++, and we must use TCP/IP to access to the PXI (MXI3 solution is not convenient due to its optic fiber). How can we do, which tools should be used and how to use them ?
Thank you very much.
0 Kudos
Message 1 of 4
(3,329 Views)
RDA is supported in LabWindows/CVI, so you could try to create a new Visual C++ project with the Measurement Studio AppWizard, specifying that you want to create a LabWindows/CVI application, then specify that you want to create a Visual C++ project that incorporates LabWindows/CVI run-time libraries, then leverage CVI's RDA support in your C++ project. For some more general information, see Developing Networked Data Acquisition Systems with NI-DAQ and Networking Two PCs for Remote Data Acquisition.


- Elton
0 Kudos
Message 2 of 4
(3,329 Views)
ok until "leverage CVI's RDA support in your C++ project". How can you do that ?
Are you obliged to use WinMain function and InitCVIRTE call, or can you make a C standard program ?
Thank you very much.
0 Kudos
Message 3 of 4
(3,329 Views)
Run the wizard as mentioned above and it'll generate the starting boilerplate code for you. For more information, see the LabWindows/CVI-related topics in the Measurement Studio for Visual C++ reference. If you have Measurement Studio 6.0, the topic is called "Using the Measurement Studio AppWizard to Convert LabWindows/CVI Projects to Visual C++ Projects" and it can be found under Visual C++ Help->Tutorials->Getting Started->Measurement Studio for Visual C++ 6.0 in the table of contents. If you have Measurement Studio for Visual C++ .NET, the topic is called "Working with LabWindows/CVI Projects in Visual C++" and can be found under Visual C++ Help->Tutorials->Getting Started->Measurement Studio 6.0 for Visual C++ .NET in th
e table of contents.

- Elton
0 Kudos
Message 4 of 4
(3,329 Views)