Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-DAQmx Burst Mode Handshaking

Hi:

 

I am working in a transfer burst mode, I need to send a control signal throughout ACK2 (PFI5) to recieve data over the port0 (32 bits) at a 20Mhz frequency in Burst Mode Handshaking. For that I create two task, one for adquire the data by burst handshaking mode and one for write '1' digital over PFI5, the problem is when I run the program with port0_32 (32 bits), It said that "DAQmx ERROR End the program, press ENTER key to quit", but when I run with port0_16, it runs ok.

I'm working with a PCI 6534 and NI-DAQmx library.

Note: I tried it in traditional NI-DAQ and it worked OK..

 

Marcos Inonan

0 Kudos
Message 1 of 6
(5,077 Views)

Hi Marcos,

 

Would it be possible for you to post your code for some further analysis? It would also be helpful to see a screenshot of the error as well if you would be able to post it. Thanks!

 

Steve

Steve B

0 Kudos
Message 2 of 6
(5,041 Views)

Hi Steve,

 

Thank you for you help:

 

Here send you my code for NI-DAQ Traditional (it's runs ok) and NI-DAQmx and a screenshot of its error, the code of the error is -215004, but that error does not appear in the list of errors in the library in NI-DAQmx.

 

Thanks

 

Marcos

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

Hi Steve,

 

Excuse me, i was wrong to send the file NIDAQ Traditional, here is the correct file.

 

Marcos.

0 Kudos
Message 4 of 6
(5,015 Views)

Hi Marcos,

 

I'm sorry for the delay in a reply to your message. I have looked into this issue and the DAQmx driver is reserving the handshake control lines for the handshaking task and will not allow you to write on it. The error code is incorrect and needs to be revised and I have filed a request to have it fixed. Is it possible for you to work with the traditional daq code for this particular task?  

 

Steve 

Steve B

0 Kudos
Message 5 of 6
(4,930 Views)

Hi Steve:

 

I appreciate your interest in responding. I will work with the Traditional NI-DAQ code.

 

But we recently have bought a NIDAQ 6537. Can we use the NIDAQ 6537 with the Traditional NI-DAQ code?

 

Thanks,

 

Marcos

0 Kudos
Message 6 of 6
(4,892 Views)