LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital Data Acquisition

I'm using a DAQcard-1200 in my laptop PC to [try to] log digital data.
I am persistently getting bizarre low-level errors in trying to perform
this simple task; can somebody maybe tell me what I'm doing wrong? Here
is a description of my program:

It's very simple. I have a DIO Config vi wired into DIO Start, and then
DIO Read. From my understnding, the Config should establish a task ID
number and reserve memory in a buffer for the data; the Start should
start logging the data at the specified rate; the DIO Read should
extract that data from the buffer and put it into an array.

But the problem is: when I leave the "group" and "port list" inputs to
DIO Config unspecified, i.e. to use the default value of ALL ports in
Group 0, t
hen DIO Config outputs a Task ID of '0', which DIO Start does
not recognize as valid.

The same thing happens when I specify Group=0.

When I try to enumerate a list of ports (i.e. port 0,1,2 or even just
port 0), I get "error -10403" which says "The specified device does not
support the requested action", which is ridiculous because the requested
action is to log digital data, and the card is a digital I/O board.

This is really the simplest possible implementation of this program -
what am I missing?

-Brandon Kuczenski
Matthew.B.Kuczenski@jpl.nasa.gov
0 Kudos
Message 1 of 1
(2,674 Views)