11-17-2016 06:04 PM
I have an unusual situation where I have a custom hardware board that plugs into one of the two connectors on the PCIe-6323. Unfortunately, its the connector that has all of the PFI pins, which means that I only have access to AO, AI, DI, and DO pins, and I need to arm a counter off a TTL signal. Looking at the X-series manual, I can see a few possible workarounds:
1) Use the AI and the Analog Comparison Event as a trigger source.
2) Use DI Change Detection to generate an event which is routed to PFI
3) Hack a cable to one of the RTSI pins on the PCIe board (? not sure if this is possible?)
1 seems straightforward, but I'm worried about timing jitter. Is 2 a better idea (or even possible)?
11-18-2016 11:21 AM
Hi saratoga,
I think that option number 2 will be your best bet. I can see two ways to do this:
1) Export your digital input on a PFI line, and then physically use a wire to connect to another PFI line that your arm counter is pointed to.
2) I believe that there is a way to export your digital signal directly to the counter arm on the PCIe-6323. Look into using "Ctr0ArmStartTrigger" as the "output terminal" input of "DAQmx Export Signal". You will have to select "Include Advanced Terminals" in the "I/O Name Filtering..." option when you right click the "output terminal" constant to see this option.
11-18-2016 02:53 PM
Unfortunately I can't access any PFI pins (there are none on block 2 of the 6323), so the problem is how to get the signal into the system.
The workaround I found is to wire to the RTSI pins, which as far as I can tell function just like PFI pins.