Current position:Home > DAQmxCreateCOPulseChanFreq

DAQmxCreateCOPulseChanFreq

Advertisement

Access Counter with ANSI C

2015-10-11

Hi Folks, I am trying to access counter  using ANSI C (python wrapper actually). Now I am able to read number of counts with sets of commands: DAQmxCreateTask("", &task); DAQmxCreateCICountEdges(task, "Dev1/ctr0", "", DAQ

Helping to understand a c++ code

2015-10-11

Hello everybody. I have a problem with an example provided by NI for DAQmx ANSI C programmation. I putted this question here, because I could not find a suitable board for it. About the problem: I'm currently working with a NI PCI-6120 device and the

Digital inputs NI6220

-0001-11-30

Hello! DAQmx Version 7.3 I want to read the digital inputs of a NI6220. There is no matter of timing, I only want the actual state. I get the error code -200077 from the StartTask, that means: "Requested value is not a supported value for this proper

Output frequency to a port mentioned in MAX

-0001-11-30

Hi, I am trying to output ca. 100 KHz on a PIF port using NI 6351. I used example from NI example bank and it's working fine with the following code. DAQmxErrChk (DAQmxCreateTask("",&gTaskHandle)); DAQmxErrChk (DAQmxCreateCOPulseChanFreq(gTa

Please help with C code to synchronize counter output to analog input

-0001-11-30

Hi All, I am using NI DAQ USB-6353 with text-based C code to control it. I would like to send a continuous pulse train from the DAQ to pulse a power supply, which then activates an electron beam producing current to be read by the analog input port o

Error -89120 Source terminal to be routed could not be found on the device

-0001-11-30

Dear All, I am generating a pulse train using a 6602 card on Ctr0. I use Ctr1 to read the number of counts from the 80MHz source gated by this Ctr0. I get an error when starting the Counting process on Ctr1 when calling the DAQmxStartTask function: e

How to make a ramp for a stepper on PCI-6221

-0001-11-30

Hello! I'm looking for a solution/example in ANSI-C to make a ramp for a stepper that is connect at PCI-6221 CTR-port. The function I'm actually using is: DAQmxErrChk (DAQmxCreateCOPulseChanFreq (taskHandle, "Dev2/ctr1", "", DAQmx_Val_

2 channel CTR0/CTR1 ouput synchronously

-0001-11-30

I am using PXI-6259 under Measurement studio VC++ and trying to generate 2 counter output synchronously. ********** DAQmx *************** //set output channels  (DAQmxCreateCOPulseChanFreq(CTR0_Task,"Dev3/ctr0ev3/ctr1","",DAQmx_Val_Hz,

672PCI 6723 error when attempting to generate DO signal with 20kHz sample clock

-0001-11-30

I have a piece of code that successfully worked on the PCI-6224 card, but when I tried to implement the same code on the PCI-6723 card I have run into problems. Here is the code that I am using: ManchConversion6723();//produces SendIt array of series

Genral How do I get syncronize​d encoders to work with a PCI-6602

-0001-11-30

I am new to the DAQmx and need some general help writting VB code that works. I can get some things to work, but others don't work at all and I don't have enough knowledge of these drivers to get up the learnign curve hump. I wanted to post this as a

100% CPU with DAQmxRegisterSignalEvent(.., DAQmx_Val_CounterOutputEvent,..) / NIDaqmx 8.71 C client

-0001-11-30

Hi All, Please see code below for my problem. I removed error checking to make things easily readable.  Whenever I enable callbacks using DAQmx_Val_CounterOutputEven,  the following code utilizes 100% CPU even with the 10Hz counter!!!!  Am I missing

Generate pulse frequency with usb-6259 on matlab

-0001-11-30

Hi, I would like to create a pulse with the ni usb-6259 counter via Matlab (R2007b). As Matlab Data Acquisition Toolbox dosen't support the access to the counter/timer of the 6259, I call 'DAQmxCreateCOPulseChanFreq' from the library. However, it ret

Krypton Synchronization

-0001-11-30

Hi I am trying to synchronize our NI daq system with a Krypton K600 camera-based measurement system.  Our system: PCI-6052E measurement card, 4 SCXI-1001 chassis with 1102s and 1520s in them.  I also have an SCXI-1302 50-pin connector block.  The Kry

3つ以上のPWM信号生成について

-0001-11-30

DAQ (USB-6221) を用いてモータドライブ用のPWM信号を生成しようとしています. daqmxcreatecopulsechanfreq() 関数と2つのタイマ出力ポートを用いて2つまでは生成することができるのですが,3つ目以降をどうしたらよいのかわかりません. よろしくお願いいたします.改行を忘れていました.失礼しました. doradorachan様,皆様 ご返信ありがとうございます. ご指摘の通りまずソフトウェアのタイミングでpwm生成を試みましたが,timer()関数を使って測定

Permanent square signal

-0001-11-30

Hi all, I am working with the PCI 6221. I am using it to generate a square signal of a determined frequency. The problem comes up when the computer where the DAQ is plugged into becomes unstable, freezes up,... then i think that the DAQ stops generat

PCI 6221Square signal generator

-0001-11-30

Hi all, I am trying to generate two independent square signal with the PCI 6221, following the code example in the SDK i got how to output one signal from "ctr0" to the output pinout by means of the next code: DAQmxCreateTask("",&t