Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

muliple number input to PCI 6534 pattern trigger

I need to create a digital pattern for the PCI 6534 data pattern trigger input (I32) but I am using multiple numbers as the pattern that I believe needs to be converted into their digital pattern form in 8 bit sequences, for example 2,3,2 equals 00000010, 00000011,00000010 and would append together to be 000000100000001100000010

I am not very familiar with the pattern trigger input specification and have had no luck in finding reference inforamtion.
0 Kudos
Message 1 of 2
(3,113 Views)
Hi Bob-

It sounds like you are trying to perform pattern match triggering on your PCI-6534.

This type of triggering is meant to start or pause an acquisition based on a single pattern at the specified input lines and not for a pattern of inputs as you seem to be indicating.

Are you using LabVIEW or another API? There is a great example for LabVIEW in the NI Example Finder that can be found by choosing Help>>Find Examples and then browsing to Hardware Input and Output>>DAQmx>>Digital Measurements>>Read Dig Chan-Int Clk-Pattern Match Start.vi.

If you're using CVI or other C development similar examples are available at this location.

A discussion of the pertinent trigger function can be found in the DAQmx C Function Reference Help on your Start>>Programs>>National Instruments menu. A search for "pattern match" will turn up information on the three trigger types applicable to the pattern matching capabilities of your board.

I hope this helps!

Thanks-
Tom W
National Instruments
0 Kudos
Message 2 of 2
(3,101 Views)