Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does AI_VRead always return -10403?

I am using a PCI-6014 board for single point analog I/O using the AI_VWrite and AI_VRead functions. I have written an application in C that does exactly what I want, as long as I run it on the computer in which the 6014 resides. But I need to run it remotely using the RDA server utility. When I do this, the AI_VWrite functions still work, but the AI_VRead functions always return -10403. But I know that it is possible to make this work because I can run the Measurement & Automation explorer on the same system and it successfully reads my anlog inputs from the remote system. What is my problem?
0 Kudos
Message 1 of 3
(2,764 Views)

Pentec,

The document linked below includes the following comments:

"RDA works with LabVIEW, LabWindows/CVI Easy I/O, and VI Logger under Windows XP, Windows 2000, Windows NT, and Windows 9.x. Currently this feature is not available for third-party compilers, such as Visual C or Visual Basic, or for Mac OS."

Are you developing in CVI? The AI_VRead() function is not part of the Easy I/O library, so it is not compatible with RDA. If you are using CVI, you should use the Easy I/O functions. If not, you will need to consider one of the supported development environments.

Networking Two PCs for Remote Data Acquisition

Good luck with your applic
ation.

Spencer S.

0 Kudos
Message 2 of 3
(2,763 Views)
I have been using RDA with my own app written in C and it works fine for some things but not all functions are supported.
0 Kudos
Message 3 of 3
(2,763 Views)