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

synchronise accelerometer data with rotation speed by using NI4472

$
0
0

Dear All,

 

In my application i want to get vibration data with respect to each pulse of rotational speed signal(From Speed sensor - encoder), Iam using NI 4472 PCI card. Is there any way to synchronise this rotation speed signal with respect to vibration data...

 

Reagrds,

Vijay


Error -200284 occurring intermittently towards end of testing.

$
0
0

Hi,

 

I am getting the following error when trying to aquire samples with my DAQ USB-6008:

Error -200284 occurred at Configure DAQ.vi:1

Possible reason(s):

Some or all of the samples requested have not yet been acquired.

To wait for the samples to become available use a longer read timeout or read later in your program. To make the samples available sooner, increase the sample rate. If your task uses a start trigger, make sure that your start trigger is configured correctly. It is also possible that you configured the task for external timing, and no clock was supplied. If this is the case, supply an external clock.

Property: RelativeTo
Corresponding Value: Current Read Position
Property: Offset
Corresponding Value: 0

Task Name: _unnamedTask<2DD0>

 

My sample rate is only 5kS/s, and my timeout is more than enough at 40seconds (I only take less than 10 s of samples at a time).  The external trigger is hardwired to the PFIO pin on the NI-USB6008.  I have determined the grounding is all okay and the problem is intermittent.  It seems to only give me this error towards the end of my test, where I have taken at least 150 trials.  If I stop the test early, and then restart for my last trials, then I don't get any errors.  It's like the DAQ is off sync and didn't catch when the trigger went  high at the beginning.  Could it be a resource problem?  If so, should I reset the DAQmx and how?  I'm running out of ideas.  Thanks in advance.

NI-6008 selecting voltage range from Matlab .m file

$
0
0

Hi, I need to select a voltage range such as -1V to +1V from .m file in MATLAB to acquire data from NI-6008 DAQ.

I appreciate if some one send me an example code.

The system is working fine and I can successfully control sampling rate but not the Voltage range.

 

 

Regards

straingage

$
0
0

Is it possible to measure 350 Ohm Wheatstone bridge (loadcell) using PCIe-6341 with SCB-68A?  Can I use the Digital +5V for excitation high voltage and Digital Ground for excitation low voltage?  Then I was going to use 2 analog inputs, one to measure Vo and the other to measure Vex.

dsc

$
0
0

Bonjour,

 

je suis  un novice en Labview, je cherche vraiment de l'aide:smileyembarrassed:

 

Actuellement en stage de licence professionnelle, je suis dans une boite où l'on fabrique des antennes pour traquer les voleurs dans des grandes surface. Dans le cadre de ce stage ma tache est de rajouter un bout de programme dans un programme existant que la boite utilise  dans les carte électroniques des antennes. ce bout de programme à rajouter devra permettre de récupérer des données de la variation de signal de l'émission et du réception des antennes.  Le programme de l'entreprise est composé des 5 sous VI mais la place a été réservé au cas où on, souhaiterai rajouter d'autres programmes. Le programme affiche au moyen d'une graphe la détection de l'émission du signal de l'antenne et 2 Graphes  affichant la réception du signal. J'ai travaillé l'exercice 7.1 du VI machine à États de l'exercice 1 Labview Fondamental et j'arrive à récupérer une liste des valeurs de la variation de  température. Je voulais introduire ce bout de programme dans le programme de l'entreprise, est-ce-que vous pouvez me dire  si ce vraiment possible? Ou il faut forcement introduire le DAQ.. vu que dans l'exercice 7.1 il n y en avait pas. Es-ce-qu'il faudra réellement modifier tout le programme? Merci

Acquisizione dati accelerometro con Matlab

$
0
0

Buongiorno a tutti!

 

Abbiamo installato il software NI-DAQmx per acquisire i dati con un accelerometro; è possibile utilizzare Matlab al posto di Labview per registrare i dati?

 

Grazie!

 

 

 

Hi everyone!

 

We installed NI-DAQmx software to acquire accelerometer data; is it possible to use Matlab instead of Labview for data recording?

 

Thank you!

Understanding Error "-200846" DIDO in Nibble mode

$
0
0

Hey everyone,

 

the goal is to use a 9401 to record and output digital lines. The digital line is used to trigger a camera, thus should be synchronized to the digital input. The point is I want to record only a finite number of samples at a given sampling rate. Using the example for the DIDO in nibble mode i played around with it and tryed to modify it to my needs.

 

test_di_do_blockdiagram.png

 

However I keep running into Error 200846 when trying to do so. The error is solved if the autostart property of write node is set to true. But this starts the write task before the read task. I checked this by wiring the line in and line out elements together. And ideally, this should record 190 false values and one true value. But it only records true values, which in my eyes confirms my idea.

 

Or is my understanding here wrong? Any help would be greatly appreciated

Two same board on a computer

$
0
0

Hello,

 

I would like to know if there are problems to work with two PCI-6321 on a computer. Boards will working in same time but acquisitons will be different.

If there are problems, what do you recommend?

 

 

Thanks very much.

Romain


Missing external function DAQ channel read

$
0
0

Hi,

 

I made a couple of installers to share variables on network, the first one is based in DAQmx analog channels readings using simulated modules and the second ane receives the shared variables of those radings... I thought that was pretty fine because i run the main app (read channels and share variables) in my main PC (which has LabVIEW 2012 istalled) and run the other in a regular PC (without any NI software installed until my installer take action) and it worked well. However i installed the main app in the regular PC and i had an error that indicated: missing external function DAQmx read DLB single sample... I guess i must include on my installer some features about DAQmx but i don´t know which ones to avoid this error and be able to install my apps in any PC... Thanks i await your advices!

Using a single hardware trigger for both Analog Input and Output on a PXIe-6361

$
0
0

I have been trying to set up this hardware trigger for the past couple weeks and i cannot seem to make it work. I am using a PXIe-6361 board to control an analog output voltage, which in turn controls the intensity of a laser, and I also want to read an analog input voltage coming from a detector which is proportional the intensity of the laser. I want to use a single hardware trigger to control the analog input and output. Basically, once the input voltage from the detector rises above 4V, i want the analog output to the laser to change to 0V, essentially killing the laser, and i want to read 200 samples from the detector in order to track the decay of the laser intensity.

 

I have tried looking at several examples and the closest ive come was using the "Multifunction Synchronization" found here: http://www.ni.com/white-paper/3615/en/#toc4

When i use this method, the analog input is read but i still get Error -200479 and the change to the analog output is not performed.

 

Any help would be appreciated

Thank You

Create a virtual channel

$
0
0

Hello,

 

I have examples for VB and NI, I have de NI Max, but when I connect my device, I can't do anything with my program. What can I connect my VB program with my device? I read that I have to create a virtual channel, but I don't know how...

 

Thanks.

Building labview executable file with a DAQ

$
0
0

Hi all,

 

I've built a labview code that uses the NI USB 9213 device to measure temperatures from thermocouples, and display each thermocouple's temperature as indicators and graphs. The code works great, the only issue I encounter is when I try to build the code as a .exe file, to be run on a computer without labview. The issue that occurs, is when you open the newly created application, the program does not collect any data. The program will run, however it doesn't do anything, and all the temperature indicators and graphs read 0 for each thermocouple. As if the DAQ is not measuring anything at all. To build the installer, I followed the instructions on the link I posted below, and I consulted my Universities labview course professor, and he could not figure it out either.

 

Any ideas why this might be occurring or potential things to try to solve it would be great. The instructions that I followed originally were from the following links:

 

http://www.ni.com/white-paper/4039/en/

 

and

 

http://www.ni.com/white-paper/5406/en/ 

 

 

Adjust Digital Out (PO) Voltage

$
0
0

How can you alter the Digital Out (PO.x) voltage for the NI 6343 (it is a DAQ)? By default it outputs 5V on high.  I need 3.3V output for my application.

amplitude of a periodic signal

$
0
0

Hello fellas now i have another novice problem, looks as if i had 2+2 and it equals 4 and then i change it to 2+3 and it freaks me out cause it equals 7. and i dont. know. why? :D

 

so heres the problem: i am acquiring a signal which changes periodically and i want to measure the amplitude sticking to the frame method - i get the block of samples and then analise it with peak/valley thing, substract peak from valley and get the amplitude withing this sample range.

 

in order to come up with a scheme, i built the attached vi, which generates the signal, adds noise and then i measure the amplitude with peak/valley thing. now the problem i face is that the chart stops showing the amplitude value at certain signal freq and noise freq. should i change any of them to another value, the chart goes on showing stuff, which is most likely nothing close to the real amplitude which i can see on the chart showing the initial signal+noise. for instance, if i see with my eyes that the amplitude should be around 10, the chart shows eather nothing as if it stopped or nothing correct. 

If you could give me any advice on this, id much appreciate your help, thanks! 

p.s. i have a different .vi for my test rig which is supposed to measure the amplitude of a signal from pressure sensors, all these extract single tone/multiple tone ifo, amplitude and level.vi and stuff like that and nothing works with any treshold :( and now i hope this peak/valley method works, but i still dont understand why it shows what it shows 

9375 Simultaneous write and read

$
0
0

Hello,

 

I have a 9375 DIO cDAQ card on a 4 slot USB chassis. My question is can the card be configured to perform simultaneous read and writes? All the DAQmx channel and task VI's want to either read or write. My goal is to be able to use a digital output to trigger a UUT and use one of the digital inputs to read an output from the UUT. I know I can start and stop the digital in and out tasks in order to perform my test but was wondering if I am missing the mark somehow.

 

Cheers,

 

Emach


Choose Hostname for simulated cDAQ acquisition

$
0
0

I made a copule of VI to send data (reading a cDAQ simulated modules) and receive to graph that data. The shared library has 48 variables. It works well. but i must to configure each variable in receiver VI library to read its respective variable from sender VI. This causes i must modify the library in receiver VI each time sender VI runs in a different PC on network (changing hostname).. Is there any way to avoid this, i mean choose hostname at VI or something? Finally, the main VI (sender) will keep in the same PC all time; however i must make proobes in PCs that hasn´t LV installed.

 

I hope your advices...

USB-6211 Pressure Transducer Noise Error

$
0
0

Hello all,

 

I have been trying to connect a pressure transducer through my DAQ by reading the voltage and when using a multimeter to checking the voltage reading from the wires I'm getting exactly what I want, but when I look at the reading through labview I'm getting so much noise that I can't even acquire a solid enough reading for testing. When playing around with filters and measuring blocks I am pretty sure that some way of reducing the noise and getting the reading of the peak amplitude would do it, just not sure where to go next as I've tried so many options like that already.

9237 Load/Torsion Cell Excitation Voltage Issue

$
0
0

Hi All,

I was recently given a custom load/torsion cell and asked to build a test system around it.  I have a 9237 to read the sensor but have an issue. The sensor has both a load cell and a torsion sensor built into it. There are output wires to read both independently a task easily done with the 9237.  However both the load and torsion cells pull there excitation voltage from the same pair of wires as the schematic below shows.

 

2014-04-03_134243.png

 

As I understand it the 9237 wants to independently provide excitation to each of its channels so that it outputs a value based on the actual excitation voltage to each bridge it is measuring.  With this configuration I clearly can't provide each bridge its own excitation.  So my question is what is the best way connect the excitation voltage.  Is it acceptable to tie the excitation outputs of both channels of the 9237 together before entering the sensor?

Query about NI USB 6009 DAQ

$
0
0

Which microcontroller is used in NI USB 6009?

Error 200290

$
0
0

I have written a VI to ramp a voltage signal to a solenoid, whilst simultaneously reading a voltage signal from a load cell and monitor a switch. It is part of a load calibration VI I have created for some lab equipment.

The VI keeps crashing with the error 200290. There seems to be little pattern to when this occurs.

I've attached the VI.

I'm concerned I’ve fiddled with the VI too much and have made it more complicated than is necessary.

Viewing all 6881 articles
Browse latest View live


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