Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

output on one group, db input on other group does not work with onboard loop

Hello!
I have the following Problem.
I use the NI-6534 and MS Visual C++. I configured two groups one for output and one for input. I send a pattern for output to the memory of the 6534-card and want the card to output this with the onboard-loop. This works fine!
Then I want to read the outputted pattern with the other group with continuous data input. But the DIG_DB_Transfer stops after two halfbuffers and does not continue. If I disable the onboard looping for output, the input group reads the data continuous.
I don't know, where the error is, input and output alone work fine, but together the input stops if I use onboard looping.
I hope somebody can helpme with my problem. Thank you.

0 Kudos
Message 1 of 4
(3,402 Views)
Greetings,

Take a look at the attached file. It was created for the purpose you are describing. It was written in CVI, but it should give you the idea.

Good luck with your application.

Spencer S.
Message 2 of 4
(3,402 Views)
Hello!
Many many thanks! Your program works great. But I don't know why my program didn't work. It was equal to yours but my configuration calls for the card were in different order. Maybe this was my mistake?

Thank you for your help!
0 Kudos
Message 3 of 4
(3,402 Views)
Spencer,

I can reproduce a problem with the example you provided.

Also, please see my post with title "6534 doesn't set halfready flag after 2 seconds".
Here is a link: http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000B9D00000&USEARCHCONTEXT_CATEGORY_0=_31_%24_12_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_31_%24_12_&UCATEGORY_S=0


Also, please explain the importance of the nidaq function call order.
0 Kudos
Message 4 of 4
(3,402 Views)