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

Issue with moving from Traditional DAQ to DAQmx using NI-6534

$
0
0

I am trying to move the following code from Traditional DAQ to DAQmx:

traditional daq.jpg

 

This code is used to send data to program a FPGA using a PCI NI-6534 DIO.  This code works like a charm, but when I try to write the equivalent code using DAQmx (in LV 8.6 as well) it doesn't work.  I don't get any errors, but the FPGA does not program.

 

The general procedure is as follows:

Set all lines on Port 0 to Output

Configure transfer mode to Active Low

Write the data to the buffer

Send the data using the 10MHz internal clock of the 6534 (6533 is no longer used but the code was never updated)

Wait until the output is done

Clear the task

 

In DAQmx I have it set up as such:

daqmx.png

 

Any ideas on what has changed in DAQmx or what I'm doing wrong?


Viewing all articles
Browse latest Browse all 2147

Trending Articles



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