Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to write onto port 3 based(using a buffer) on a pattern match trigger from port 2. How can I code this?

I have to check for a pattern match from port 2 and based on this trigger I have to write onto port 3(buffered) as fast as possible. So there needs to be a buffered O/P from port 3. How to code such that the pattern match trigger from port 2 triggers the trigger config.vi for port 3?
0 Kudos
Message 1 of 4
(3,334 Views)
You can only use a pattern match trigger for triggering an input operation, not an output operation. The only option for triggering a pattern output operation is to connect a digital signal to the 653x device and have the output operation trigger (start) when the external digital signal changes. I hope this helps.

Regards,

Todd D.
NI Applications Engineer
0 Kudos
Message 2 of 4
(3,334 Views)
Todd,

I am using pattern match operation for port 2 where I read the signal and when the pattern match occurs I need to trigger the write process of port 3. I hope this clarifies the question. The board I am using is a 653x.

Thanks for your replies,
Bheem.
0 Kudos
Message 3 of 4
(3,334 Views)
Bheem,

Unfortunately, you can not share the start trigger with another operation when using the pattern match operation as a trigger. The only way to share a start trigger is if you are triggering on the rising or falling edge of a digital signal. This is a limitation of using the pattern match operation as a start trigger.

Regards,

Todd D.
NI Applications Engineer
0 Kudos
Message 4 of 4
(3,334 Views)