PWM with Low Frequency (less than 40 Hz)
i'm using myRio to generate PWM signal. how can I get PWM frequency lower than 40 Hz, I would like to reach 10, 20, 30, 40 Hz
View ArticlePCI-6115を用いたパルスカウンタ
PCI-6115, BNC2110を用いてパルスカウントを試みているのですがうまくいきません.アドバイスいただければ幸いです. DAQmxを以下の設定で実行すると,エラーコード200141と表示されます.信号を収録ーカウンタ入力ーエッジカウントーctr0を選択.集録モード:Nサンプル読み取るサンプル数:1Mレート:10MHz測定対象のパルスシグナル:ctr0(PFI9)外部クロック(10MHz...
View Articlegenerated pulse fall time with PIO16XE50 and SCB68 is wrong
I'm using a PCI MIO 16XE50 and an SCB68 with LV 8 to generate pulses signals to a stepper motor controller. I'm using the Labview generate pulse vi and the rise and fall time of the pulses is not...
View ArticleHow to sync Encoder Z signal with TDC (engine Top dean center)?
Hello guys,I am trying to set up DAQ system for engine testing to measure pressure, temp, torque and etc.I am currently using NI-6211, 6212(pressure and engine parameter), and 9213 (for temperature).So...
View ArticleHow to count internal clock edges?
Hello, I am working on an application using a NI USB-6218 BNC device that is going to drive a pair of digital IO lines high or low depending on the number of edges counted on one of the counters. I...
View ArticleHow to drive a digital output high when counter reaches a value?
Hello, I have found a few examples addressing this problem but they are VIs and I am implementing this solution in C# so they are not entirely applicable. I would like to drive a digital output...
View ArticleGenerate trigger after every N counts from a single counter
How to generate a trigger after every, say N counts from a counter? I want to use only one counter for this application. when the count reaches N it should generate a trigger and then start from 0...
View ArticleHow to route a start trigger to a counter?
Hello, I would like to use a start trigger to generate single pulse on my device using it's counter. The following code snippet generates the pulse I want when I comment out all trigger related code....
View ArticleSyncronization of two counters
I am trying to synchronize two counters to collect data from a rotational and linear encoder. I have followed several examples on how to do this however I am having trouble triggering the counters. I...
View ArticleMultiple Frequencies measurements
Hello... I am just a beginner in using labview and daq... can any help me out in measuring the feedback of 3 motors encoder ( i.e frequency).... basically I have to measure three different frequncies...
View ArticleMissing/duplicate readings in a 6602?
I have a 6602 and I have it collecting 2 trains of edge time stamps (ticks) simultaneously. I have 2,500 line encoders, running 100 RPM. 4.1666kHz or .24ms period. 4 rotations, so 10,000 ticks per...
View ArticleQuadrature Encoders and NI-MAX
I am using the NI 6259 DAQ to read a quadrature encoder. The datasheet for the 6259 states that any PFI designated channel can be used as a counter/timer; however, there are only two channels that...
View ArticleSynchronize counter outputs with second one inverter from the first
I am using a NI USB-6363 and need to synchronize counter outputs with second one inverter from the first. This seems like a trivial thing for the powerful DAQMX libraries. I found a help file topic and...
View ArticleHardware connection between NI 9215 and 9361
Hello to all, Please I have one question maybe it would appear a little bit "weird".This my first real project with NI DaQmx.I need to acquire voltage measurements Through NI 9215 (BNC), and using The...
View ArticlePCI 6602 counter card: time lag between roll over and reset to zero?
Hi, I was using PCI6602 to perform some photon counting task. As the 32-bit counter will roll over, it is able to count up to 2^32/80M = 53.68 seconds (when 80MHz timebase is used) before roll over. My...
View Articlehow to stop Counter output when a condition mets from Digital or analog input...
I am using Daq Assistant to generate pulses on a counter to drive a stepper motor. Counter pulses are correct when using without while loop and setting the "samples" on the daq Assistant in advance....
View Articlesynchronizing AI task with counter task
I have written a standalone script to try troubleshooting why I can't get a counter synchronized with an analog input task. After searching NI discussion boards and white papers I can't find much...
View ArticleCounting Edges and Frequency from the Same Measurement Device
Hi, I have a LED open collector tied to my gas meter that sends out pulses as my gas meter dial turns. I then convert the number of pulses into a gas reading. This gives me the total amount of gas that...
View ArticleGetting measurements after a digital input rising edge
Hello to all, For my project I am trying to record a small amount of measurementsusing a digital trigger.At first I am using an analog module for the measurements, and I would likethat my software...
View ArticleExample of dynamic averaging for frequency measurment with NI 9361
Hi all, I am playing around with a cdaq system wth a NI 9361 module. In the past I did my frequency measurements with an x-series board and used the sample clocked measurement method with an external...
View Article