Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-6361 Frequency measurement

Hi,

I have a USB-6361 device which have 4 counters and each counter has different terminals(like source, Gate, AUX ... ). My application is that I want to measure the frequency of a pulse train signal (0-4 volts pick to pick and also 30 ns rising/falling time) which comes from my sensor. I don't know to which terminal should I connect my sensor and also how do the frequency measurement in SignalExpress? 

Thanks

0 Kudos
Message 1 of 6
(6,849 Views)

Hi mkul,

 

In signal express you can get the frequency by adding a step >> acquire signals>> DAQmx Acquire>> Counter input>>Frequency. Then you will specify the device that you will be using. It will then tell you which channel you will need to connect to. I hope that this helps.

 

Perry S.

Applications Engineer
National Instruments
0 Kudos
Message 2 of 6
(6,829 Views)

Thanks Perry, when I went these steps, but there is something that I cannot do it. Like I cannot change the timeout. It is not active. also I connect my sensor to Gate of counter 0. is that right?

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

Hi,

 

The correct answer is that it depends.

 

To see what that PFI line corresponds to; go to measurement and automation explorer and right click on the device and select device pinouts. this will tell you if it shouls be the Gate or Source.

 

Regards,

 

Perry S.

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

Thanks Perry. I found that I need to connect my sensor to GATE terminal. now when I try to measure the frequency, I cannot change the timeout. also when I try to change the sample rate and number of the samples it gives me error. The error number is 200284.

I attache two snapshot of my configurations.

Download All
0 Kudos
Message 5 of 6
(6,797 Views)

Hi mkul,

 

I believe the reason that you are receiving that error is because the DAQ is trying to read data that does not exist yet. So the first thing that I would try is for you to have N samples instead of continuous and also for you to start your sensor before you start your task.

 

Perry S.

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