Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 6536 CTR Connection

Solved!
Go to solution

Hi all ,

 

I have one of the x-series devices NI-USB 6356 ,

 

it's working fine but I'm trying to understand it's CTR option , 

 

my question is what all the CTR 0 connection means ?

 

I want to create a simple pulse using the CTR and I have 6 connections :

 

CTR 0 SRC 81 (PFI 😎

CTR 0 GATE 83 (PFI 9)

CTR 0 AUX 85 (PFI 10)

CTR 0 OUT 89 (PFI 12)

CTR 0 A 81 (PFI 😎

CTR 0 Z 83 (PFI 9)

CTR 0 B 85 (PFI 10)

 

In the hardware level which one is my output ? And what all the SRC , AUX and so on means ?

 

 

-----------------------------------------
Kobi Kalif
Software Engineer

0 Kudos
Message 1 of 6
(3,142 Views)

 

Hello Kobi,

Thank you for bring this issue to the forums. If you go to the LabVIEW help, and search "Counter Parts in NI-DAQmx," you will find all the information you need.

 

Please refer to the attachment, Counter Terminals.docx, which will go over the help as well as more information.

 

For you application, generating a simple pulse, you would find that your pulse would be outputted on the CTR 0 OUT (PFI 12).

 

Check out these links for more information as well:

http://ae.natinst.com/public.nsf/webPreview/16AF66E3E15C430786256DBF0070C5F0?OpenDocument

http://ae.natinst.com/public.nsf/webPreview/47C97BDDCD462D9B8625726C00703BD8?OpenDocument

http://ae.natinst.com/public.nsf/webPreview/47C97BDDCD462D9B8625726C00703BD8?OpenDocument

http://zone.ni.com/devzone/cda/tut/p/id/4623

 

You can find a relevent example when in LabVIEW, under Help >> Find Examples.. >> Hardware Input and Output >> Generating Digital Pulses >> Gen Dig Pulse.vi

 

 

Thank you,

Vimal Fernandez

Applications Engineer
National Instruments
Message 2 of 6
(3,128 Views)

Hi Vimal ,

 

Thank you for the response , I have one more question :

 

Is it possible to create pulses by time list ?

 

To set times for the device lets say 0.01 , 0.05 , 0.06 ( sec )

 

and to get 3 pulses by this time after I've triggered my test.

 

The idea is to make some pulses with different time scale between each other and to make this time scale as parameter.

 

-----------------------------------------
Kobi Kalif
Software Engineer

0 Kudos
Message 3 of 6
(3,114 Views)

Hello Kobi,

 

Just a clarification, do you want to create a pulse at non-periodic intervals. Like a pulse at 0.01 s, then another at 0.05 s and another at 0.06 s? Also, do you want then to be able to change this on the Front Panel with a control? Or, is this progammatically determined?

 

Thank you,

Vimal Fernandez

Applications Engineer
National Instruments
0 Kudos
Message 4 of 6
(3,106 Views)

It's exactly what you said 🙂

 

non-periodic intervals with the ability to change the times in my panel before I start my task ,

 

Thank you

-----------------------------------------
Kobi Kalif
Software Engineer

0 Kudos
Message 5 of 6
(3,079 Views)
Solution
Accepted by Kobi_K

Hello Kobi,

 

Hope you had a good long weekend. Now, I've found an example which should do everything you want.

https://decibel.ni.com/content/docs/DOC-2527

 

You will have to edit this VI to add an output to your USB device.

 

Thank you,

Vimal Fernandez

Applications Engineer
National Instruments
0 Kudos
Message 6 of 6
(3,062 Views)