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

Trying to use USB6008 as a pressure reader, won't recognize as a physical device.

$
0
0

Hi,

 

I am trying to use an USB-6008 to read the voltages outputted from a Dwyer 668D Pressure Transducer. When I go to set up the board in LABView 2018, version 18.5, it will recognize the board for analog input for voltage, but doesn't recognize any physical devices for reading pressure. Any help with this would be appreciated. 


cDAQ 9188 loss connection after sometime

$
0
0

Hi,

 

I have trouble with loss connection Error code -201390 after sometime.

 

This occur randomly, will take up to 6-7 hours. Im using dell xps wih windows 10. My pc directly connected to cDAQ and using static IP. 

 I did as per NI suggested, 

1. Setting on power mode pc

2. Disabling firewall

3. Untick power mode for lan card.

 

Well this error still occur. anyone happen to face this problem too?

By the way, my application run 24/7.

 

Nipalk.sys apparently causing Blue screen

$
0
0

Afternoon,

Please excuse the vagueness of some of this, but I'm not the person that actually uses the machine this is about. I work in the IT department and the person that used to look after all this is no longer here. So they have come to me.

I have a Windows XP laptop that is connected to an LGCM 014-LG-TE-2000 calibration machine, there is a program that was created in LabView 7.1, that is used for testing and calibrating pieces. The program has three voltage settings, 5V, 9V and 28V. The 5 and 9 volt buttons work fine and when pressed turn on the light on the calibration machine, but when the 28V button is pressed we get a BSOD, attached picture 1.

Everything I've read indicates a driver issue, so I have downloaded NIDAQ 7.4 and NIDAQ 8.3 and ran repairs on all the installed parts that I can.

I have also included a kernel memory dump. if anyone can advise on what can be done then I would greatly appreciate it.

 

Thanks

David Kernaghan

How can I make n-bit data generator?

$
0
0

clock, data, enable
How do you make a 9 bit data generator using these three?
I want to use this code to express 9 bits of data in a square wave on the instrument.
The frequency and amplitude must be adjustable in the code.
Please, let me know.

I use Daqmx program.

How to use the highest sampling and update rate of USB NI-6351

$
0
0

Hello,

I have USB NI-6351, and it is stated in the manual that the sampling rate is 1.25 MS/s and the update rate is 2.85 MS/s. For some reason, the while or for loops in the VI that I write are way slower than the sampling rate, and I cannot figure a way to make the loops faster. I need faster loops to be able to use the DAQ to control 9 fans in real time. Is there any way to achieve that?

 

Thanks,

Adnmak

PXI-6229 DC Offset

$
0
0

Can anyone explain how to read the spec sheet for Analog Out for a DAQ 6229??  Particularly the DC Offset.  I go thru a number of iterations where I put out a DC voltage from an AO channel on the DAQ.  -8.0 to +8.0 in steps of 1 volt.  One step is zero volts DC.  Zero volts DC +/- what offset????  Currently I get about 13 mvdc.

 

Thanks..

Maximum Frequency sample in cDAQ 9174

$
0
0

Hi

I have a audio system for testing headsets that have a cDAQ 9174 CompactDAQ chassis (4 slot USB) and 3 modules:

 

NI 9205 32-Ch ±200 mV to ±10 V, 16-Bit, 250 kS/s Analog Input

NI 9263 4-Channel, 100 kS/s, 16-bit, ±10 V, Analog Output Module

NI 9403 C Series 32-Ch, 5 V/TTL Bidirectional Digital I/O Module

 

Headset speaker is connected to NI 9263 and a reference microphone is connected to NI 9205

When I need to do one audio test I use simultaneous one channel for generation and one for measurement.

What is the maximum sampling rate that I can use for this measurement?

 

In case of USB headset, speaker audio is generated by USB PC and measurement is by reference Microphone to NI 9205

In this case, what is the maximum sampling rate I can use?

 

Thanks for any help

 

NI9866 Malfunction transceiver not powered

$
0
0

Hello I'm having a lot of troubles with a legacy project that has a NI9866 for LIN communication, from the NI-XNET Bus Monitor every time I start the bus I get the error message -1074384856 occurred at Check Runtime error.vi as possible reason that i'm trying to start an interace that is missing bus power for the transceiver.

But I've checked all the connections starting from:

1-Compact DAQ9811: Powered (V=20V,C=GND) [Power Led=ON]

2-NI9866: DB9 (pin9=12V->Vsup,pin6=GND->COM)

When I initialize everything the NI9866 LED1 is Solid Red as shown in the manual that means 'Open session on hardware, port is missing power.'

I've tried placing the DAQ different slots but I always get the same error.

I can Start the NI9866 as subordinate in the monitor bus even I have frames in the LIN bus nothing appears.

 

Any idea how to solve this? My NI9866 is broken??


Append Column of Data to Text File

throughput limitations - USB FIFO

$
0
0

RE: USB-6002 & LabVIEW throughput

 

I want to sample 5 ADC channels, each at 4096 Hz

(5x4096 = 20,408 samples/sec) on a USB-6002 for about 10 consecutive seconds (204, 080 total samples) in LabVIEW.

 

Two Questions:

  1. Given the above sampling requirements and the USB-6002 limitations, is this a reasonable task regarding stream rate (total through-put) for the ‘USB-6002 to LabView’ combination…….

given the limitations of serial USB, small 2047 FIFO size and LabView/Windows 10?

 

2.) The what is the definition of “Bandwidth 300 KHz’ in the USB-6002 data sheet?

 

Thank you !

Confused about error -89120

$
0
0

I'm trying to collect a set number of samples at a specified rate from an analog input channel (PCIE 6321).  I am using MATLAB and the NIDAQmx library (through myni) to communicate with the DAQ card. I'm using the code below. There are no errors until I run DAQmxStartTask, which returns error -89120. In the error list this is called DAQmxErrorInvalidRoutingSourceTerminalName_Routing but I have no clue what that means. Do any of you know what might be causing that?

 

Thanks!

 

Code:

%------------- Constants -----------------

num_chans = 2; %how many channels we collect data from
lockin_min_timeconst = 1*10^-3;
sampling_rate = cast(ceil(10/(lockin_min_timeconst)),'int32');
dwell_time = 5; %in miliseconds
pixel_dwell = dwell_time*10^-3; %this is how long the DAQ will collect data at a particular pixel. Units of seconds.
samps_per_chan = cast(ceil(sampling_rate*pixel_dwell),'uint64'); %number of samples the DAQ will collect on each active channel.
data_buffer = zeros(num_chans,samps_per_chan);
DAQmx_Val_Volts =10348; % Volts
DAQmx_Val_Diff = 10106; % Differential
DAQmx_Val_Rising = 10280;
DAQmx_Val_FiniteSamps =10178;
DAQmx_Val_ContSamps =10123;
DAQmx_Val_GroupByScanNumber =1;
DAQmx_Val_GroupByChannel = 0;
DAQmx_Val_ChanPerLine =0;

%------------- Create the task -----------------

taskName='';
taskHandle=uint32(1);
[E_create,taskName,taskHandle]=calllib('myni','DAQmxCreateTask',taskName,taskHandle);
TH = sprintf('%.0f', taskHandle); %I don't think this step is necessary?
task = uint32(str2double(TH));

%------------- Create the input channels -----------------
[E_init(1,1)]=calllib('myni','DAQmxCreateAIVoltageChan',task, strcat('Dev1/','ai1'),taskName,DAQmx_Val_Diff,-10,10, DAQmx_Val_Volts,'');

[E_init(2,1)]=calllib('myni','DAQmxCreateAIVoltageChan',task, strcat('Dev1/','ai2'),taskName,DAQmx_Val_Diff,-10,10, DAQmx_Val_Volts,'');

%------------- Configure up the clock -----------------
E_ClkConfig = calllib('myni','DAQmxCfgSampClkTiming',task,'NULL',sampling_rate, DAQmx_Val_Rising, DAQmx_Val_FiniteSamps, samps_per_chan);

%------------- Configure the buffer-----------------
[E_buffer] = calllib('myni','DAQmxCfgInputBuffer', task, samps_per_chan);

%------------- Start the task -----------------
[E_start] = calllib('myni','DAQmxStartTask', task);

 

BLDC motor modeling for quadcopter modeling

$
0
0

I am new to this field so kindly assume that I don't know much about this stuff.
I am assigned to do quadcopter modeling using NI system. There is a quadcopter model in example so I thought to use it as reference. In that model, BLDC motor's model isn't discussed so I thought to model it myself. The procedure I thought was:
1. Take a simple DC motor model
2. Use arduino with RPM counter and BLDC motor
3. Test for error and generate equations using that

Though I believe this approach has many loop holes in it, e.g. the modeled motor will be valid under no load but after putting quadcopter's load, it will surely fail.

So I was hoping any expert here could guide me if any DAQ model I can use to get data to model BLDC motor and what parameters should I use to model BLDC motor?

Multiple ATI Load Cells to PCI-6221

$
0
0

I am trying to connect two ATI load cells to one PCI-6221 using NRSE. First load cell (Ch0-Ch5) works fine, but voltage readings from second load cell (Ch8-Ch13) keeps jumping in square wave. Both load cells had their AI0- connected to AI Sense, AI1- to AI5- are not connected to anything. Both load cells share the same AI GND and DGND. Any feedback on this will be highly appreciated. Thanks.

Maximum Trigger Frequency - USB6210

$
0
0

We are considering purchasing a USB-6210 to digitize a waveform. Our main priority is the synchronization with rest of the system via triggers. I understand that the USB-6210 is within 10ns of a trigger signal.

 

Our goal is to use the trigger as a signal of when to digitize the waveform. What is the maximum frequency that we can trigger the USB-6210?

Compactrio: detect broken wires on analogue inputs?

$
0
0

Hello,

I would like to know if there are analogue in- output modules for the compactrio that detect if wires are broken/not connected.

 


PCIe-6343 + SCB-68A with Phoenix Contact OPT relay - do I need pull-down?

$
0
0

Hi All,

 

I'm using PCIe-6343 card and SCB-68A connector block to turn on and off some opto relays from time to time Smiley Happy

The issue is, that after I'm turning my PC off, relay diode constantly light up a little..

There is an information that 50kOhm pull down resistor can be used with 6343 card in manual, but SCB connector block manual contain no information about that.

Thats why I would like to ask more experienced users (or just someone with electronic knowledge) - should pull-down resistor solve my problem?

If yes - any guide how to install it in SCB-68A connector block?

 

PCIe 6738

$
0
0

Hi,

I recently acquired a PCIe 6738 and it was not getting detected by the Win10 PC. Its slots were  PCIe 3.0 x8 lanes. I had to go to BIOS settings and change link speed from 'Auto' to 'Gen1' to get the card detected. I was wondering why it wasn't automatically detected?

How can I use the matlab toolbox and define the edge count term and sample clock timing PFI inputs

$
0
0

We are using Matlab for controlling a DAQ 635.

We are suffering from extreme memory leaks, and we therefore want to switch to the newer toolbox based control.

However, we are having problem migrating our code... specifically, we are trying to define an edge count measurement, and we need to define both the sample clock input to one of the PFI lines and also the edge count term to another PFI line.

Previously, this was as simple as writing the following three commands:

 

DAQmxCreateCICountEdgesChan(task, 'dev1', '', edgeRising, 0, countDirection);

DAQmxCfgSampClkTiming(task, '/dev1/PFI5', sampleRate, edgeFalling, sampleMode, nCounts);

DAQmxSetCICountEdgesTerm(task, '/dev1/Ctr0', '/dev1/PFI1'  );

 

However, in the toolbox, it seems that we can only ask what the terminal is - using the .Terminal property of the channel (Which I believe it is the count edge term) but we were not able to change it... And I couldn't find how to change the sample clock at all.

 

Any help would be appreciated.

Using USB-6001 to implement SPI/I2C

PCI to USB adapter

$
0
0

Does anyone know how to convert the PCI-6220 to an external USB?

Viewing all 6882 articles
Browse latest View live


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