Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

High speed data acquicition with 6533 card

Hi,
I am doing a application that needs my 6533 card doing continueous high speed output and input at same time. Basically I need one port doing output and then other port doing input simultaneously. The data rate should be at least 100KBs. For this I can find many examples on the web.
But here comes my problems, I need to continueously monitor my data inputed at a high speed. For example, I need to compare the part of the data to a certain pattern, if the pattern matches, I must know it in the order of ms. But with pattern I/O(or burst mode), if my buffer size is small, the clock cannot go high, if the buffer size is large, the response time for my pattern matching is too slow.

can anyone kindly tell me which mod
e/triggering method I should use in order to acheive a fast simultaneous data transmission and input data process?

Thanks for your attention.

Best regards,

Stee
0 Kudos
Message 1 of 2
(3,058 Views)
Hi Stee,

It sounds like you will need to use DAQ Events to fire an interrupt when it matches a pattern on the input of your group. The NI-DAQ function you want to use is Config_DAQ_Event_Message and you want to configure it for message 8. The NI-DAQ C Function Reference manual located at Start >> Programs >> National Instruments >> NI-DAQ >> Help should help with the description and use of the function.

What essentially happens with this function is that an interrupt is fired everytime the pattern you are looking for is matched. You can have that interrupt be handled by a callback function or a case in LabVIEW.

Here is another discussion post talking about this event.
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&
HOID=506500000008000000FC300000&ECategory=Measurement+Studio.For+Visual+Basic


I've included a link to a good tutorial and to some sample code.
An Overview of DAQ Events and Occurrences
http://zone.ni.com/devzone/conceptd.nsf/webmain/7B95597F3C6138F8862567EB006C9638?opendocument

Using DAQ Event 8 to Send a Message When a Digital Pattern is Matched in Visual C++
http://venus.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3E22F56A4E034080020E74861&p_node=DZ52334&p_submitted=N&p_rank=&p_answer=&p_source=Internal

Hope that helps. Have a good day.

Ron
Applications Engineering
National Instruments
Message 2 of 2
(3,058 Views)