02-14-2013 07:37 AM
This sounds like you have issues with the external connections. Is port 0 already connected to other parts of your DUT?
--- I meant making the connections via the PFI mechanism. I don't have the cables / breakout boxes to do it physically.
As long as the frequency of your clock signal does not exceed 10MHz, you can use the PXI backplane to route the clock signal from the 6602 to the 6221. But you are correct, this is only possible if you know and use the correct assignments for PFI/TTL lines.....
But that's just it - I get the "Hardware doesn't support it" error when I try to make that connection. 6602 CTR x OUTPUT to 6221 Port 1 Line 0.
it will connect to Port 0 Line 0, but that's the one that won't read clocked Digital input.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
02-14-2013 08:26 AM
Steve,
i think you should take a look into this example. Make sure that your setup is similar.
If you have both devices in the same PXI segment, you should be able to simply replace the clock source terminal of the DIO 6221 port 0 with the internal output terminal of the counter of the 6602 you want to use for clocking the DIO. DAQmx should create routes using the backplane automatically.
Possible sources of errors: TTL lines of the chassis are already used or reserved otherwise.
OK, havent have a system here to check it with hardware devices, but this essentially should do the trick.
Norbert
02-14-2013 09:16 AM
I looked at your example. Thanks for posting it.
Unfortunately, that doesn't get it done.
That example uses the counter on one board as a CLOCK for a DI task on another board.
While that's necessary for what I want to do, it's not sufficient, because I want to connect a different counter output to the DIGITAL IN line.
IOW, this example is monitoring a physical DI line. I want to monitor a CTR OUT line. Without making a physical connection.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
02-14-2013 09:34 AM
I can route /6602/Ctr0InternalOutput to /6221/PFI0, without errors.
But PFI 0 is port 1 on that board.
If I try to run a clocked DI task on port 1, it will not let me ("must use lines that support buffered operations").
If there's a way to connect to P0.0 on that board, I don't see it.
Blog for (mostly LabVIEW) programmers: Tips And Tricks