Quantcast
Viewing all 6877 articles
Browse latest View live

NI-USB6001 and NI PXIe-8360

Hello,

 

I am using NI PXIe-8360 along with PXI-2571, PXIe-6341, PXI-2720, PXI-8433/2 and PXI6722 (Chassis - NI PXI-1062Q).

And I need to use "NI-USB 6001" for other test purpose.

 

Before installing "NI-USB 6001", I would like to know if there is any issue between dirvers or any tips to prevent conflics between drivers.

 

 

Thank you so much.

 

Insuk

 

 


synchronous acquisition 2 channels with different signal amplitude

Greetings,

 

I'm having some issues with my VI. I'm using NI-DAQ 6212 and I'm trying to acquire 2 different signals (ECG with 1mV amplitude and Respiration with 100mV).

When I'm using a VI that only acquires 1 channel, I have no problem acquiring both signals. But when I use the other VI the ECG signal is acquired, but on the other hand the Respiration isn't, it's mostly just noise.

 

I've made acquisition of different ECG Leads synchronously but I'm not being able to do the same with these 2 signals.

 

I'm sending the file to see if anyone could help me find the problem.

 

 

Thank you for your attention,

 

FM

Using PCI-6221 Digital Output to perform GMW 3172 Nov 2012 Section 9.2.18 Switched Battery Lines

Greetings all! So glad I figured out how to post my question...

 

I am trying to program a simple digital waveform out a PCI-6221 or PCI-6132 S Series, the timeing for this in the micrseconds. 

Image may be NSFW.
Clik here to view.
GMW 3172 Nov 2012.PNG

 

 

Image may be NSFW.
Clik here to view.
Code for switched battery lines.PNG

 

Problem is I can not get it out to the PCI card.. I got everything else completed, but have not been able to read it out my PCI card.. any suggestions?

Thanks all for any help given.

Problema con tarjeta cDAQ-9171 no detectada

Yo trabajo utilizando termopares conectados a una tarjeta de adquisició de datos cDAQ-9171, con ayuda de Labview y el driver DAQmx.

 

Recientemente he notado un problema, cuando desconecto mi tarjeta del puerto usb y vuelvo a conectarla(por ejemplo cuando voy a comer o tengo que salir del laboratorio), algunas veces esta ya no es detectada correctamente:

Image may be NSFW.
Clik here to view.
EV2.png

 

Como se ve en la imagen anterior la tarjeta no es detectada correctamente, y cuando busco en Network Devices me dice que no tengo ningún dispositivo conectado.

 

Sin embargo mi tarjeta si esta conectada, el botón de ready se encuentra encendido y el botón de active no se encuentra parpadeando. Cuando busco mi tarjeta en el panel de control, si aparece como detectada y "funcionando correctamente".

Image may be NSFW.
Clik here to view.
EV1.png

 

Desconectar y volver a conectar la tarjeta no funciona. La solución que he encontrado es reiniciar mi computadora, cuando lo hago ahora si visualizo mi tarjeta de forma adecuada:

Image may be NSFW.
Clik here to view.
EV3.png

 

Aunque esto soluciona el problema, estoy seguro que debe de haber una manera más fácil/rápida de arreglar esto. La versión del DAQmx (9.6) si es la adecuada para mi versión de Labview (2012). Me gustaría saber que me recomiendan hacer.

 

Muchas gracias de antemano

NIDAQmx documentation in PDF format?

Hello all,

 

Is the NIDAQmx documentation available anywhere in PDF form?

 

Specifically, I am interested in the "NI-DAQmx C Reference Help", which is by default only installed in "Windows Help" format.

 

I cannot find this anywhere on the NI website.

 

(If this is not the appropriate forum for this question, please let me know.)

 

Kind regards,

 

  Sidney

 

 

 

 

 

NI-DAQmX Hardware Synchronization for 2 module NI-9223 !!!

Dear All 

 

I am using NI-cDAQ 9184 and 2 Module NI-9223(1M) to acquire 6 channels analog input from Acoustic Emission sensors(frequency from 20kHz-400kHz) with external signal conditioning.

Please kindly do let me know how to synchronize using NI-DAQmX? Does NI-9223 support hardware synchronization? 

 

Thanks and Regards

 

Luong.Tran

USB 6008/6009 DAQs will not work in series with external usb hubs

We need to control about 6 or 7 usb 6008s or 6009s. We have a few of each. The DAQs will not turn on when plugged into the usb hub we are using. I have tried different computers (both quite old and running Windows XP however), and also different ports of course. The hub ports are rated to 500mA each, while the DAQs typical draw is 80mA with a max of 500mA so power should be the issue. I've also tried two different usb hubs and am getting the same results. There have been points in time where the setup has worked, but after powering down there is no guarentee it will work again. When the DAQs are plugged directly into the computer and working, the green light they have will flash half on half off (50% duty cycle), but when plugged into the port and not working, sometimes the light will blink on then off really fast, like a 5% duty cycle. I am unsure of what that may be indicating. Could the DAQs not be getting enough power or is this just due to old computers? Should DAQs not run on hubs? I don't see an alternative to using a hub if that is the case though.

Average of a analog Input Signal with Visual Studio (without Measurement Studio)

Hello,

 

I got a Signal in my NI USB 6009 analog input. Now I have to average this Signal and send it to the analog output. I continuously aquire the signal. The Signal in my input looks like the following Signals:

  

 

Image may be NSFW.
Clik here to view.
TEK0144.jpg
Image may be NSFW.
Clik here to view.
TEK0143.jpg

 

I think the input signal is a ~ 280 - 300Hz Signal.

 

Which sample rate I have to take for this 280 - 300 Hz Signal? And how do you averge this signal?

  

DAQmxErrChk (DAQmxCreateTask("",&taskHandle1));

DAQmxErrChk (DAQmxCreateAIVoltageChan(taskHandle1,"Dev2/ai0","FunktionEingang1",DAQmx_Val_Cfg_Default,0,10.0, DAQmx_Val_Volts,NULL));

DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandle1,"",1000.0,DAQmx_Val_Rising,DAQmx_Val_ContSamps,100000));

 

DAQmxErrChk (DAQmxCreateTask("",&taskHandle));

DAQmxErrChk (DAQmxCreateAOVoltageChan(taskHandle,"Dev2/ao0","",0,5.0,DAQmx_Val_Volts,""));

 

[...]

 

// DAQmx Read Code

DAQmxErrChk (DAQmxReadAnalogF64(taskHandle1,100,-1,DAQmx_Val_GroupByChannel,dataread,1000,&read,NULL));

 

[...]

 

// DAQmx Write Code

DAQmxErrChk (DAQmxWriteAnalogF64(taskHandle,4,1,-1,DAQmx_Val_GroupByChannel,datawrite,NULL,NULL));

 

 


error 200524

Hi all,

I met error 200524 when using the DAQ assist. The rate is 2KHz and the sample to read is 200. I transfered the sensing data to 1D array for a PID algorithm and transfered the 1D array back to waveform signal and send it to the DAQ. This kind of data transfer was doing well in another VI, but it shows such error in this one. It says there are 200 channels in data which must be the value of "sample to read". I am confused by this error as when I collect the 1D data directly to the DAQ, the VI run well without such error. Who can help me solve this problem?

Thanks

best

Compaq DAQ Square wave analysis

Hi 


I am using a CDAQ-9178 with NI9229 4 channel 50 kS/s analogue card. I have fed in two independt square wave signals that are 90° out of phase. The two signals are below 20hz. The sample rate is set to 25khz and i am sampling for a finite period of 50khz so two seconds. The two seconds should show 40 pulses on both indpenedent channels.

 

I want to do the following measurements.

 

-Measure minimum and maximum phase shift between between the two channels for the two seconds

-Measure minimum and maximum pulse width of both channels for two seconds. 

 

Is there VI created that can do this. I am using the DAQ assistant with data output. Both set of data for the two channels are save in this data signal. 

 

Thanks 

NI 9222 Amplification

I have the NI-9222 module connected to a cDAQ-9174 chasis. Connected to the module is a piezoelectric sensor, which produces a voltage signal. Oscilloscopes and multimeters read the output voltage of the sensor for our specific application to be roughly 150mV. When using the NI hardware, LabVIEW (and NI Max test panels) are reading values of roughly 5V. The sensor cannot realistically output such a high voltage, so I am led to believe that the hardware is amplifying the signal. I have looked though the settings, but have not been able to find any way to remove this amplification. How can I go about doing this?

Synchronize NI9234, NI 9203, and 9237 at 200 Hz

For a research project, I am preparing an acquisition system based on a NI CompactDAQ (NI cDAQ 9184) with NI 9234 (4 accelerometers), NI 9203 (4 current sensors), and NI 9237 (4 strain gages). The hardware will be controlled through a LabVIEW program, saving all data in a common file.

In my project is fundamental that all sensors (in 9234, 9203 and 9237 in same 9184 cDAQ) are perfectly synchronized and it is mandatory that the final acquisition rate is 500 Hz for all sensors, too.

 

Is it possible?

 

After a general search I am still with doubts how can achieve the synchronization of all sensors taking into account that they will be in three different modules:

 

- Is it enough to configure all devices into the same “DAQ assistant” in LaBVIEW to ensuring the perfect synchronization?

 

- In that case, which should be the native acquisition rate since 9234 and 9237 have specific supported rates and they are not coincident (see http://digital.ni.com/public.nsf/allkb/593CC07F76B1405A862570DE005F6836)

 

- Are there a more recommended (proper) ways to synchronize the modules for this purpose?

 

- I found this explanation http://www.ni.com/white-paper/11549/en/ but I am not sure that this may be effective in my case (which figure should I follow?) and if it updated taking into account the last “DAQ assistant” function.

 

- In LabVIEW, how should I perform the decimation to keep the synchronization of data?

 

Excuse my questions but it is not simple to test and to assess the validity of the synchronization.

Thank you in advance for your support.

Regards,

CR

error 201003 cDAQ startup

Hi forum,

 

i got a error massage error 201003 while starting my application. The application is in the startup folder as soon i start up its not running and i get the error massage. When i close the vi and open it again manual its working. 
What could be the problem?

 

THanks,

Martin

USB-6009 Simultaneous Software Timed Analog Output/Input

Ladies and gents,

 

I have been working on a LabVIEW interface for a potentiostat I designed and built. I am not very experienced with LabVIEW, but do have programming experience with a variety of other languages (I had originally intended to use a FPGA for this, but was requested to write a LabVIEW VI first).

 

The goal:

 

I wish to output a voltage signal (initially composed of ramps) and measure the voltage of an operational amplifier configured as a feedback ammeter (using the feedback resistor value and voltage to calculate current) connected to an electrochemical cell. The feedback resistor is selected using an autoranging function (although I wrote a previous version with manual control) that ouputs TTL values through DAQ Assistants to select the relevant MUX channel. I then try to save the data in a spreadsheet.

 

The problem:

 

I am using a USB-6009 DAQ and I am aware this does not have a hardware clock. From reading around it seemed apparent the best way to output the voltage waveform was using the DAQmx package to define a write function within a software-timed loop. The problem I am having is that I cannot reliably synchronise the output with the input and I also have some errors relating to the DAQ resources being reserved (Error 50103). I think the way to resolve this would be to convert all the DAQ Assistants to DAQmx equivalents and try to bundle their execution- this is where I stumble. I tried to write a simple VI that shared a software-timed loop to read and write but had issues related to the AI min value (Error 200077).

 

General issues:

 

The way I start the write/read process (using a boolean switch) is very weak and does not feel robust. Ideally I would like some form of indicator to notify the user when the write/read process is running and when it has terminated.

 

My error handling is terrible but I cannot find much to read on the basics.

 

I only use one step sequence and I believe I should have more.

 

Once I hit start, the VI requests the file name for the spreadsheet- at first I was worried that the data would not be correctly captured, but I think this is okay as the file is generated then modified. It would be better if the user was prompted for the file name once the data collection was complete.

 

 

 

Any suggestions or assistance would be greatly appreciated. Thank you in advance.

 

Kindest regards,

 

Julius

 

How to measure 12V input frequency signal on AI pins of USB-6009

Ma
ximum voltage that can be connected to analog
inputs is from -20 V to 20 V (card specifications
Ma
ximum voltage that can be connected to analog
inputs is from -20 V to 20 V (card specifications
Ma
ximum voltage that can be connected to analog
inputs is from -20 V to 20 V (card specifications

Maximum signal that can be measure in 6009 AI Analog Input pins is -10 V to 10 V as per spec. I want to measure a 12V freq signal 0.1Hz to 2000Hz with 50% DC. Do I have to scale it down to 5V or can directly connect to 6009 AI pins. If need to scale down what are my options. My signal is pulled up to 3.3K+100Ohm resistance.

 

Waiting for quick response.

 

 


Connect myRIO to NI USB DAQ Board

Hi,

 

Is it possible to connect a NI USB DAQ board, specifically NI USB-6212, to NI myRIO? I am working in a project which needs more analog /digital inputs and outputs.

 

Theoretically, the USB DAQ is accessible through APIs available both in C and LabVIEW. Are there APIs to do the same thing but embedded in the myRIO? A sort of driver, I guess.

 

Thank you very much.

Multi channel pulse generation with NI-DAQmx

I'm new to using DAQmx, so forgive me if I'm barking up the wrong tree.

I am trying to generate a multi-channel pulse sequence using counter outputs on a PCI6602 with the BNC-2121 accessory. Eventually I want different pulses on all the channels (by specifying different delays/durations when configuring each channel) but for now I am just trying to get 4 synchronous square pulses out.

In MAX, I create a task and add 4 counter channels to it (Ctr2 through Ctr5), all with the same initial delay/high time/low time, run the task, and look at the output on the scope. The 4 pulses are made and have the correct durations, but are not synchronous. The 2nd pulse configured starts a few microseconds after the 1st one, and so on, even though they are identically configured. I can fudge it a bit by configuring an initial delay to each of the pulses, but that feels pretty kludgey and unreliable.

I have also tried this in code using the PyDAQmx wrapper (since my final application is written in Python), and get the same result. I tried making a separate task for each channel, and using CfgDigEdgeStartTrig to trigger Ctr3 off of Ctr2InternalOutput. I feel like this worked once, but now I am only getting "resource reserved" errors - and from reading the manual I get the impression that running multiple tasks in the same subsystem is not something that is supposed to work at all.

I'm pretty new to a lot of these DAQ concepts and would appreciate any help orienting me toward the proper way of making multi-channel pulse trains. Thanks!

Analog input current port for BNC 2110

HI,

 

    I am using BNC-2110 as an interface to connect to PCI 6280, I checked this interface card. I wonder if this curd can be used for measing input analog current (I mean directly). Does it accept input analog current?

   and one thing more, when I open Measurement & Automation module on my PC, I can not see the pinout layout of BNC-2110, I see some channels and a wierd pinout. do I have to map that pinout to BNC-2110 card? if yes, does anybody know how I can do that?

 

Best,

PyDAQmx and USB-6000/USB-TC01 Thermocouple Device

Hi All,

 

I have a project I'm working on which requires reading values from a circuit board.

 

Need to do these things:

1). Read five analog values from test points on a circuit board with USB-6000 DAQ Unit.

2). Read tachometer from fan with a counter from USB-6000 DAQ Unit.

3). Read a temperature value from USB-TC01 Thermocouple Unit.

 

We can't use LabVIEW because we would need to recode our entire python low-level driver to interface with the software. Instead, I want to utilize PyDAQmx module to interface with the NIDAQmx driver.

 

However, I'm not sure how to use the functions in PyDAQmx to utilize reading values from the boards and units. Any help would be appreciated, thanks!

 

Best,

Jacob

 

 

Problem with Connection Diagram - BNC 2110 to PCI 6280

Hi,

 

    I want to read analog input data using BNC 2110 as an interface connected to PCI 6280. In first step I want to use Signal Express to just see the data, but when I choose one of the input channel and then I want to see the connection diagram, I get this message:

------------------------------

The connection Diagram tool does not supprt the accessory on connector 0 of your device:
BNC-2110

Please select one of the following supported accessories to view the connection diagram:

 

Supported Accessories:
SCB-68

CB-68LP

TBX-68

CB-68LPR

SCC-68

------------------------------

 

What should I do in this step?

Viewing all 6877 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>