NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Where is DAQmxReadDigitalU8() documented?

Is there a page somewhere that documents the arguments, return codes, usage, etc. of 

DAQmxReadDigitalU8()?

0 Kudos
Message 1 of 6
(3,928 Views)

Don't know why you would post your question here.

 

The NI-DAQmx C Reference Help has this information. It will be somewhere under National Instruments on your start menu. On my Vista installation, it's under NI-DAQ>Text Based Languages.

0 Kudos
Message 2 of 6
(3,926 Views)

I appologize if this was the wrong forum.  I'm supporting an application that interfaces with TestStand via C# and I am looking to get details of the DAQmxReadDigitalU8() method to try to interpret what it expects as input and what it is giving as output to see if we're handling return codes incorrectly.  Is the NI-DAQ documentation available on-line as well?

0 Kudos
Message 3 of 6
(3,914 Views)

Never had to look for it online, sorry. Did you not find it locally? Did you select C language support when you installed DAQmx?

0 Kudos
Message 4 of 6
(3,909 Views)

I don't have DAQmd installed.  I have a "home made" DLL that uses DAQmx, and my code calls that DLL.  The return code from DAQmxReadDigitalU8() is the value returned from the method I'm calling in this library.  So I want to see if the return codes are documented.

0 Kudos
Message 5 of 6
(3,892 Views)

If you do not have DAQmx installed, you will never be ablke to call DAQmxReadDigitalU8 or any other DAQmx function. Therefore, i don't get the point you are after.

 

If you want to get error information about the return code, you can call

int32 DAQmxGetErrorString (int32 errorCode, char errorString[], uInt32 bufferSize);

from the C API from DAQmx.

 

On the other hand, if you already work with C#: Why don't you use the .NET API from DAQmx?

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 6 of 6
(3,887 Views)