Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

internal routing

HAI,
 
im using a pci6602 counter card.i would like to use the function of internal routing for my program but im not sure on the function .
my question is i would like to trigger 3 counter at the same time and i made a program in which the trigger is an external trigger.can i use the function connect terminal.vi so that when i produce and digital output in DIO 0 and internally routed to DIO 1 and use the DIO 1 as my trigger signal.
 
real hope someone would be kind to help me.thanks
0 Kudos
Message 1 of 2
(3,627 Views)
 Hi Shamaran,

 Yes you can do this. The first thing to do when wondering what internal connections are allowed is to go to MAX and check the Device Routes table.
 I've attached a screenshot to the bottom of this post that shows exactly how to do that.

 The Device Routes table is found by selecting your NI device from the Devices and Interfaces tree. Then look at the bottom of the screen and there is a Device Routes tab. Click that. Observe the intersections of two terminals can be White, Yellow or Green. White means no connection is possible internally. Yellow intersection means a connection
 is possible if a Subsystem is not using the resources. Green intersection means the internal connection can be made.
A second very helpful tip is to Right-click your NI device. Select the Device Pinouts option. This will open a window which shows the connection pinout for your NI product. You can use this information to find what a certain PFI line is.

For example:
 DIO0 (P0.0) and DIO1(P0.1) cannot be interally connected. P0.5 and P0.6 can be internally connected.

I would strongly advise starting with a example from the NI Example Finder. The one that I believe is close to your application can be found here:
  Help menu->NI Example Finder->Hardware Input/Output->DAQmx->Generating Digital Pulses->Gen Dig Pulse Train-Finite-Dig Start.vi

You can then select the Trigger source to be your DIO line and start from there.

I hope this is helpful!

Best regards,

MatthewW
Applicaitons Engineer
National Instruments



0 Kudos
Message 2 of 2
(3,610 Views)