Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2167

Basic Rundown of Digitial IO Techniques with Examples.

$
0
0

Hey Folks:

 

   I seem to be orbing around a solution to what I need, but always run into an error, that it seems nobody else is running into. I think I'm missing something.

 

   Trying to do digital input with DAQ-mx on a PCIe-6535B   along the following lines.

 

Data -----  X_BE56_X_78CD_X_FFE2_X .........

Strobe _____----_____-----_____----___  .........

 

I'm sending the strobe into PFI5 and the data are going into data ports 0 and 1.

 

I'm getting a errors along the lines of data timeouts etc along the lines of

DAQmxErrorCannotReadRelativeToRefTrigUntilDone                             (-200281)

 I don't fully understand what DAQ-mx input modes are and I can't find a full write up that goes into depth on all the modes and how they work.

 

Also it seems that DAQ-mx is self contained. I can't find any write ups or examples on how to size buffers and transfter acquired data into arrays and files so I can actually do something with the data.

 

I'm using the canned examples, I've attached one, but there's very little explained here. Does anyone have any pointers?

 

Thanks

Andrew


Viewing all articles
Browse latest Browse all 2167

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>