Quantcast
Channel: Multifunction DAQ topics
Viewing all 6882 articles
Browse latest View live

NI 9220 wide channel range causes error

$
0
0

My current setup I'm using cDAQ-9178 with NI 9220. I've noticed that when I'm configuring NI 9220 for reads across multiple channels, if the channels are spread far enough apart I receive an error. 

 

Example: Read AI0,AI1,AI2 will work no problem and run as expected. However if I change the task to Read AI0,AI1,AI13 I receive the following error:

<B>Property: </B>RelativeTo
<B>Corresponding Value: </B>Current Read Position
<B>Property: </B>Offset
<B>Corresponding Value: </B>0

<B>Task Name: </B>test

 

This will only happen when I select channel 13 or above while also reading channels 0 and 1. There is no issue if I try to read AI 0,1,12. I've repeated this issue on multiple different machines and different cDAQ hardware as well. Attached is a snippet of code which would receive an error.


ni usb6210

$
0
0

Hi 

    i have one question that i cant find out ni usb 6210 drive and signal logging application , could you tell me where i can donwload .

there's too much application online

 

Upgrade PCI-6014 to PCIe-6321

$
0
0

Hi
According to NI:s homepage the recommended replacement for PCI-6014 is  PCIe-6321.
I have 2 questions about this upgrade:

1. Is the connector on the PCIe-6321 board the same as the connector on the PCI-6014 board?

2. Can I use the cables that  I have with the PCI-6014 board directly with the PCIe-6321 board?

measure voltage and current simultaneously

$
0
0

Hi.
I need to measure voltage and current simultaneously with a single device. I am about to acquire the USB 4065 card, but I have no knowledge if this card can perform both simultaneous measurements. Can someone help me clarify this question or if you know another reference which I can use to meet the two simultaneous measurements. The measurements I get should be averaged and then apply K to present them in real time. 

NI USB-6255采集的数据的噪声很大

$
0
0

USB-6255测试的数据,发现噪声很大很大;我用我们的数字万用表Keithley2700采集了相同的产品。2700的噪声要小很多。
请问是什么原因造成的呢?有什么方法可以改善?

PS: 6255的采样率是1Hz,差分,输入范围设置的是±0.1V。附件的单位都是V

dynamic multitone analog signal output with pxi-4461

$
0
0

Hi,

I am trying to build a dynamic multitone analog signal generator, which allows dynamic changes of at least amplitude and phase (I withdrew allready from dynamic frequency changes). The hardware is a pxi-4461 and I use the onborad clock for timing. So far it works with the "no regeneration" property and the wait mode set to "Poll". Depending on the chosen frequency I frequently encounter buffer problems. And due to the restrictions of the sample rate and number of samples fore multitone signals, it seems almost impossible to generate signals with a fundamental frequency above 1000 Hz. Which on the other hand is possible with the regeneration property on (no dynamic changes possible). Are there any settings that would improve the behaviour of my generator?

NI DAQ 6368/6378 Card is not capturing complete waveform on AI channel

$
0
0

Hi,

 

I am using NI DAQ Card 6368 and 6378 for Analog signal acquisition and saving waveform in .tdms file. Below are the settings for AI channels:

Sampling rate:1MS/s

No. of AI channel: 16

Samples per channel: 5MS

Sampling mode: Continues

System RAM: 16GB

Capturing time: 105% of the total waveform time

I am not able to capture complete waveform with these settings. Please help me if anyone know the solution.

 

Thanks

How can I use the same name to identify two USB-6343 DAQ's?

$
0
0

I have two DAQ USB-6343 to use for an application. When I try to identify the devices and use the tasks it doesn't allow me as MAX assigns a default name for each of it like Dev1, Dev2.

 

Is there a name that can be used for both of them or any property node that will help identify it that way and not the MAX assigned name?


Error -229771: Internal Software Error Occurred in MIG Software

$
0
0

Hello,
we are facing problems with NI-DAQmx (OS:Windows 7). The actual error is "Error -229771: Internal Software Error Occurred in MIG Software".
Since https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P7a7SAC&l=ru-RU  (Updated Sep 26, 2019) didn't help to us, I write here. We have already reinstalled NiMAX, nidaq and checked all services, it seems that they are working correctly . Of course, we did all the recommendations from forum and from knowledge web-pages. But it didn't help.

How to read multiple samples on digital input line in 6211

$
0
0

Hi,

 

I have USB-6211 series daq, i am trying to read HX711 ( laod cell IC ). Is there any way i can read multiple samples on digital line of 6211. The sampling method it support is on demand only and i am guessing it corresponds to one sample only. Any suggestion on this will be much appreciated. 

 

Thanks 

Do you have any requirements for sensors when using USB-6009 data acquisition card? What kind of temperature sensor is specifically selected?

$
0
0

Using USB-6009, we want to measure the body temperature of the human body. What kind of temperature sensor do we choose and what are the requirements? I hope you can answer. Thank you

USB-6003 DA変換について

$
0
0

USB-6003 を使用しております。前回は波形の生成,出力等について質問させていただきました。

今回は,ハード面での質問がございます。

USB-6003 はアナログ出力する際のレートが5KS/sであることは,仕様書やソフトの警告等から確認しております。

現在行いたいことは,USB-6003 から「綺麗な正弦波を出力すること」と「Excelファイルを読み込み,信号を忠実に再現してアナログ信号として出力する」ことの2点です。

 

1点目の方は,サンプリングレートが5 [KHz]であるために,2.5 [KHz]までなら波形の出力が担保されているとの認識をしておりました(サンプリング定理より)。しかし,USB-6003 から2.5 [KHz]の波形を出力しようとしても綺麗な波形は再現されておりませんでした。1秒間に5000ポイント,1波あたり2ポイントで波形を再現しなければならないと考えると汚い波形しか出力されないことは理解できます。そこで,時間の間隔や範囲を指定して出力するようなことはできないでしょうか(ex. 1秒ではなく,0.01秒と限定して5000ポイント使うなど)。

 

2点目の方も,1秒5000ポイント制限があるために,忠実な信号の再現が行えておりません。

 

どちらも,スペック的に決められているもので変えようのない物なのでしょうか。

特に,1点目のサンプリングレートの半分の波形も出力できないことについては私の認識が誤っているのか,使いこなせていないのか頭を悩ませています。

よろしくお願いします。

How to avoid measurement drift

$
0
0

I used the NI 9205 to measure the voltage signal of the ICP accelerometer. This voltage signal has been modulated by the modulator, but there is a bias voltage. The output interface of the modulator is the BNC port. The outer casing of the accelerometer is metal and is mounted on a metal table. The modulator housing is plastic and placed on a metal table. The metal table is insulated from the ground. I used a shielded cable to connect the BNC port, and connected the core to AI+, the shield to AI-, and set the sampling method to the differential in vi. But the voltage signal I collected drifts severely. I have consulted some technicians. They said that the drift may be caused by poor grounding. But I don't know how to solve this problem, I want to ask for some help.

NI-PCI6259 Malfunction

$
0
0

The offset voltages are high from the reference level of all the outputs of the NI-PCI6259 on the LabVIEW display window. Due to this error, all the output voltages are distorted.  What may be its cause and how to get the correct level.

How to use all analog outputs with NI PCIe-6323

$
0
0

Hi there,

I'm using the PCIe-6232 card together with a connector block (SCB-68A). Right now my LabView code provides two analog outputs, however, I want to add a third one. In principle, I can use 4 analog outputs based on the card specifications, but the connector block only has 2. Do I need a second connector block if I want only another analog output?

Thanks for your help!


USB6212 (BNC) analog inputs question.

$
0
0

Hello,

 

I have a 6212 DAQ that we want to use to gather data from 10 sensors. There are only 8 analog inputs that are obvious to me, and they are working fine and collecting the data we need. This is just from looking at the test panel in NImax and shining a light at the sensors. The manual I was given for this device states that it has 16 analog inputs (it says the same thing on the NI page for that DAQ), and I'm wondering if maybe I have to configure one of the other inputs to work as an analog input (which per the manual does not seem possible but I'm hoping someone here can prove me wrong). I'm starting to think maybe the "16 analog inputs" means signal and ground for 8 sensors? I've tried messing around with config settings to see if I can pick anything up from the last 2 sensors but I have not come up with anything. 

 

The 8 sensors that are currently working are using the bottom 8 BNC ports on the DAQ. 

 

If anyone can be of any help or give me a push in the right direction that would be great, or even tell me that what I'm trying to do isn't possible with this device.

 

Thanks

 

Problem with continuous generation with NI 9269

$
0
0

I am attempting to generate an excitation signal for a resolver coil using an NI-9269. The resolver excitation signal is 3 kHz with and amplitude of 10V. This excitation signal is driving 4 resolvers so I'm using an independent channel for each resolver.

 

I'm prepopulating the sine waveform to write at 96000 Hz with 128 samples (1 full cycle) and initializing an array of waveforms to send to a DAQmx Write for NChan NSamp Analog 1D Wfm.

 

Everything seems to work fine for a while and then the analog outputs just crap out and stop generating voltage. When I stop the task, I get a -200018 error. 

I've tried dropping my output rate to 48000 Hz with 64 samples but it doesn't seem to make much difference. 

I've tried monitoring the Overcurrent property and it doesn't trip before the AO generation stops.

 

My working theory is that the additional noise on the coil is causing the AO to decide that it hasn't settled and then it overruns the update time. Are there any properties that I can monitor to let me know that the AO has quit? Are there any properties I can adjust to make the AO more tolerant of whatever condition is causing it to quit?

 

I'll try and put together a snippet that shows my configuration.

 

PCI-6024 support

$
0
0

I've unearthed a PCI-6024 DAQ card, which gave good service in the past and would just right for a new job I've got.  However, the PC I used it in before has long gone and I'll need to install it in a new PC.  

Do you still support this old card and can I get drivers for it on Windows 10?

 

Buffered operations on NI USB-6259 vs Ni USB-6343

$
0
0

Hello,

 

I am trying to run a program that was written for a NI USB-6343 on a NI USB-6259. The program uses two analog outputs to step the voltage applied to galvo mirrors, and one counter input to read TTL pulses from an APD. These operations all work fine for both systems. However, any buffered operations, for example creating a pulse train to synchronize stepping the galvos and reading the APD, causes an error when run on the USB-6259. These are the lines of code that are used to prepare the pulse train and configure the internal timing:

 

obj.CreateChannels('DAQmxCreateCOPulseChanFreq',ctr,'',obj.dev.DAQmx_Val_Hz,obj.dev.DAQmx_Val_Low ,delay,frequency,DutyCycle);

obj.LibraryFunction('DAQmxCfgImplicitTiming',obj,mode,NSamples);

obj.LibraryFunction('DAQmxSetCOPulseTerm',obj,ctr,line);

 

When run on the USB-6259, an error occurs saying that the pulse train task cannot be started because the resource is reserved (status code -50103). I have checked and the counter being used by the pulse train is different than the counter input used for the APD. Is there a difference in how the 6259 and the 6343 handle buffered operations?

 

Thanks

 

 

 

Is it possible to get number of samples much larger than buffer size in Finite mode?

$
0
0

Hi All,

 

Thank you for any comments in advance. 

I have a NI 9775 to collect 4-channel analog signals from a scanning microscopy detector. Basically I want the sampling rate as high as possible so that there are more samples to average during the dwell time. However under continuous mode the maximum is 4MS/s, so I'm thinking of taking advantage of the finite mode which can be up to 20MS/s. To get a sequence of valid data, I need to continuously read the data until, e.g. two pulses are collected in the sync channel. But the samples per channel can only be set at most ~2.8M due to buffer size, which may not be enough to get the two pulses. Then the question is is it possible to, for example, store  20M or 40M samples first and then transfer the data 2M per time in finite mode?  I only find a solution in this page (https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000PA1PSAW&l=en-US) using DAQmx control task (solution 3), but I think it still reads one time for one acquisition.

 

Best,

Yu

Viewing all 6882 articles
Browse latest View live


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