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

Is there a way to use the NI 9217(PT100 RTD Analog Input) to retrieve temperature from a thermocouple?

$
0
0

I purchased an NI 9217 and Pt Thin Film RTDs to make a temperature measurement. But I now realize that the RTD is acting as a non-negligible heat flow path in my system and so I want to switch to a thin wire Thermocouple that touches the surface. 

 

But purchasing another module is a huge investment. So I am trying to find what my options are. 

 

Thanks for the help!


Linux NIDAQmx install problem

$
0
0

Hello,

 

I'm a beginner in linux and having trouble installing the NIDAQmx library for linux on a raspberry pi. I downloaded the .iso and mounted it successfully however when running the install It reported this: 

 

Checking required install tools...
Checking installer tool versions...
dpkg found
rpm Not found in current path
tar 1.26
Checking dependencies...
glibc 2.13
Unpacking install files to /tmp/nidaqmx-8.0.2f0.install...

*********************************** ERROR ************************************
* ERROR: 4.1 kernels are not supported! *
* Running a 2.6.x kernel is required to continue this installation. *
*********************************** ERROR ************************************

 

I've seen some other people having similar errors when downloading NI-VISA, but not for NIDAQmx. How can I fix this? Thank you!

Multiple channel measurement

$
0
0

Hey guys, i am relativly new to Labview. I did a lot of the beginners Tutorials but i am stucked with my VI.

 

At the moment i simulate the Signals of the NI USB-6289.

 

Basically i want to measure 24 Voltage Inputs with the NI USB-6289 at the same time on 12 diffrent Positions and write it into Arrays.

Each of the Values must get a diffrent Offset and Factor.

I also want to control when to measure ( with a button " next measurement" or something like that ) and  in which Array the next measurement will be written.

Furthermore i woud like to have a boolean wich on the true case automaticly go to the next postion when i  click on "next measurement" and on the false state it stays on the position i have choose. How coud i implement this function in my VI ?

This is my current VI ( see Attachments).  I`ve been told that this can be done much easier since my Block Diagram is allready so big. And that I have a Race Condition.

 

And now i have no Idea how i can give every single channal diffrent Offsets and Factors with an easier VI and how i can get rid of the Race Condition. Smiley Sad

 

 

Can someone help me

 

best Regards

LV_Vladi

Are 2 DAC channels faster in 2 tasks than in 1 task?

$
0
0

I will use NI PCIe-6361 to generate 2 waveforms (2 DACs) and measure 1 signal (ADC).

I need to get max peformance from the card. I have 2 questions:

1. I can use 2 DAC channels in 2 ways

- one task as "Analog 2D DBL NChan NSamp" 

- two tasks as "Analog 1D DBL 1Chan NSamp"

Will "2 tasks" way be faster? Or will " 1 task" use 2 DMA channels and performace will be the same?

I assume data type (waveform. double, int) doesnt influence on performace.

2. DACs and ADC channels will work on the highest rates (> 1 MSamples/s) and ADC and DAC waveforms can be more than 32 (or 64 - don't remember) kB channel memory of NI PCIe-6361 card.

Computer will not do almost anything at that time. Will it work?

Continuous analog output intermittently dropping

$
0
0

I've got a setup with a computer, a USB-6221 and a USB-6251. I have one continuously outputting an analog waveform and the other one sampling data. Every couple minutes, the waveform will stop being output for a small amount of time. I'm using a Visual Basic program to do this. Here's the snippet of code that sets it up. This issue only happens on computers running Windows 10, while with Windows 7 it's fine. Does anybody know if there's a setting in Windows 10 that messes with communication to the DAQ?

 

AO
DAQmxErrChk DAQmxCreateTask("", AOFastHandle)
DAQmxErrChk DAQmxCreateAOVoltageChan(AOFastHandle, "Dev" + Trim(Str(Sys.FastBoardNum)) + "/ao0:1", "", -10#, 10#, DAQmx_Val_VoltageUnits2_Volts, "")
DAQmxErrChk DAQmxExportSignal(AIFastHandle, DAQmx_Val_Signal_SampleClock, "/Dev" + Trim(Str(Sys.FastBoardNum)) + "/PFI5")
DAQmxErrChk DAQmxCfgSampClkTiming(AOFastHandle, "/Dev" + Trim(Str(Sys.FastBoardNum)) + "/PFI5", ClockFreqHz, DAQmx_Val_Rising, DAQmx_Val_AcquisitionType_ContSamps, 1000)
Call DAQmxWriteAnalogF64(AOFastHandle, npts, False, 10#, DAQmx_Val_GroupByScanNumber, AOBuffDP(1), nWritten, ByVal 0&)

DAQmxErrChk DAQmxStartTask(AOFastHandle)

 

DAQ X Series timer interrupt

$
0
0

Hi, 

 

I have a DAQ X Series PCIe 6363 board and trying to implement such scenario with C++:

 

- Setting the timer of the board to 1 ms

- For each 1 ms, the  board should trigger an interrupt to a thread that will do some real time task for me. 

 

I am very new to data acquision topic, so I could not reach any information about implementing such scenario. Sory if this is the wrong location.

 

Thanks in advance for your support.

configurar reloj externo NI 9234

$
0
0

Hola. Necesito adquirir muestras a otra tasa de muestreo que la interna del módulo NI 9234, como y donde puedo configurar el reloj externo del NI 9234?. Muchas Gracias

USB DAQ from local to remote Desktop

$
0
0

HI,

I have labview installed in the remote desktop from my university, and i need to connect the usb-6009 to my laptop and for it to send the data to the labview in the remote desktop.

How do I do that? I dont have the license to install labview on my laptop.

Thanks in advance,
Rafael lopes


USB-6001 ContGenVoltageWfm_ExtClk

$
0
0

Dear all,


I have just received USB-6001 and was trying to go though the demo examples. The question is about "ContGenVoltageWfm_ExtClk". Based on my understanding, there should be no AO signal while no pulse train supplied to defined sample clock source (/PFI0). However, AO signal is still generated as if it's running internal onboard clock. I am using Examples\DotNET4.5.1. Does USB-6001 support external sample clock? Any help will be appreciated. Thanks.

 

DAQ Analog Output using Matlab Script

$
0
0

 Hello everyone

 

I'm trying to generate an analog output with a DAQ USB-6008, generating some unusually waveform  using a matlab script but i get some troubles, (i'm also reading  the  signal with an Analog input of the same DAQ)  i can't write the waveform to the output of the DAQ. First I try using a "simulate signal VI" and everyting was right, but when a tried to write the values of 1D array generated in the script it doesn't work. I'm learnig Labview since yesterday and i realy need some help :/  Thanks

 

 

Windows Embedded System 7

$
0
0

I am trying to load Microsoft Access onto a cRIO- runnig WES7 DVD Image 1.0.1f1.  The installer for Access is giving an error: "unable to proceed.  To install and use this product you must be running Window 7 Service Pack 1 (SP1).

 

Has National Instrument started supply cRIOs with WES7 (SP1)?  If so is there an upgrade path for existing cRIOs?

 

Paul

cDAQ code can't read/write to MAX tasks when compiled

$
0
0

Hi,

I have this code which uses several imported MAX tasks on analog input/analog output and digital output cDAQ modules which are able to read/write as they should when uncompiled.  However, when I compiled the software to run on a computer without the full LabVIEW development suite, the MAX imported tasks are not working.  Even though I successfully imported the .nce file and the instruments indicate they are connected and functioning and I recieve no errors, the indicators for these instruments are all stuck at zero.  Any idea what could be going on?

 

Help would be much appreciated!

DAQmxSetBufOutputOnbrdBufSize on M-series

$
0
0

I'm trying to set the onboard buffer size for the output buffer to a value smaller than 8191 samples (which appears to be the default for the PCI-6259). I know I can set this on a X-series card (e.g., the PCIe-6321). However, when I use DAQmxSetBufOutputOnbrdBufSize with the PCI 6259 it seems to work. However, as soon as I write some samples and start the task, I get an error saying that the only allowable buffer size for the PCI-6259 is 8191.

 

If that's the case, how do I determine whether a DAQ card allows me to set the buffer size before I attempt to set this?

Bug report

$
0
0

Software:     NI-MAX v 14.5 or NI-MAX v15.0

 

If the channel names in a task exceed 500 characters, the import function will display a message stating that "A property is missing - 'SampQuant.SampMode'" and fails the import of the configuration.

Connecting Current Analog Input Signal (4-20mA at 24Vdc) to PXI-6238 Card

$
0
0

Hi,

 

I need to measure the current from a device which generates constant current 4 & 20mA at 24Vdc i.e device acts as constant current source. From the PXI-6238 manual I understand that Method 2 as shown in below figure is good for making measurements up to 20mA.  Though manual says that this type of connection ensures that positive and negative side are within the common-mode input range.

 

I am worried about connecting the device directly to the PXI card might damage the PXI module. Is it safe to connect the device directly with out any signal conditioning and does it satisfy the maximum working range of device.

 

Can any one please help me on this or provide suggestions.

 

Thanks.

 

 

 

 

PXI-6238 Connection To Current Source.jpg


Delaying two voltage reads to synch with others on a daq

$
0
0

I have 6 sensors connected to my daq via bnc, that output 0-5V. 2 of the sensors are on the same piece of hardware and are connected in series, so one is ~20ms delayed compared to the other (it's a gas analyzer, so the stream is pumped to one before the other) how can i delay the read or shift the data back 20sec for a specific input so everything is synced on screen in the graphs, and also in the tdms file i write to?

 

Can I set AI Sense of a 6343 to 5V

$
0
0

I'm looking at an NI USB 6343 daqmx device.  I notice that I can set the measurement to have an input configuration of NRSE.  The documentation says it will take the measurement with reference to the AI sense inputs instead of system gnd.  I'd prefer to keep the measurements as single ended instead of differential to take advantage of the higher measurement channel count.

My input signals are typically 0-12V.  It would be an advantage to me to have the input range of the instrument be -5 to +15 instead of +/-10.

Can I set AI Sense of a NI USB 6343 to 5V to offset the input range?

If not is there another device that would have an input range of -5 to +15?

If not is there a recommended attenuator circuit I could put on the front end?

 

sincronizar entradas analogas

$
0
0

Hola gentem estoy desarrollando mi proyecto de tesis de control difuso y tengo varios problemas para ejecutar: 

 

1° No puedo sincronizar mis entradas analogas a la DAQ usb-6008, la cual no me permite con los bloques daq assistant directamente, sino que debo hacer la configuracion completa, desde la seleccion del canal, que lea la señal, sample clock, etc. Por ahora solo se entrega una de las dos señales y necesito saber como sincronizar estas dos entradas, para poder visualizarlas y llevarlas al controlador difuso.

 

2° Para la salida tambien tengo dos variables una es ON-OFF y la otra es la salida del controladro, tendre el mismo problema de sincronizacion que en las entradas?, porque he probado la salida ON-OFF y si me entrega los 5V, pero a la salida del controlador no llegan las señales de la entrada.

 

espero se comprenda, de igual forma adjunto el programa.

 

saludos

 

sincronizar entradas analogas

$
0
0

Hola gentem estoy desarrollando mi proyecto de tesis de control difuso y tengo varios problemas para ejecutar: 

 

1° No puedo sincronizar mis entradas analogas a la DAQ usb-6008, la cual no me permite con los bloques daq assistant directamente, sino que debo hacer la configuracion completa, desde la seleccion del canal, que lea la señal, sample clock, etc. Por ahora solo se entrega una de las dos señales y necesito saber como sincronizar estas dos entradas, para poder visualizarlas y llevarlas al controlador difuso.

 

2° Para la salida tambien tengo dos variables una es ON-OFF y la otra es la salida del controladro, tendre el mismo problema de sincronizacion que en las entradas?, porque he probado la salida ON-OFF y si me entrega los 5V, pero a la salida del controlador no llegan las señales de la entrada.

 

espero se comprenda, de igual forma adjunto el programa.

 

saludos

Analog output intermittant

$
0
0

I am using a PXI-2630 DAQ card. Is there a possibility that when the card is commanded for a certain output (DC voltage) that it will output a different voltage? We had a situation where an analog output of 8.3 Vdc was commanded on the DAQ card but the input to another device was showing 9.28Vdc. Just checkinig to see the card could intermittantly output something other than what was commanded. Thanks, Jeff.

Viewing all 6909 articles
Browse latest View live


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