Signal en output avec NI usb-6216
Bonjour,
J'ai un daq usb-6216 et je me demandais s'il était possible d'envoyer un signal analogique vers un appareil tel qu'un controleur de valve. Je n'ai besoin que d'un signal qui va ensuiye actionner l'appareil. J'ai essayé d'obtenir un signal et en vérifiant qu'il y avait une tension grâce à un multimètre mais ça reste mort.
Quelqu'un peut m'aider ou me dire que je suis dans le champ svp?
Bonjour Matboy,
Si vous rencontrez des difficultés en ce qui concerne l'utilisation de votre périphérique USB-6219, vous avez la possibilité d'utiliser des exemples LabVIEW qui vous permettrons de réaliser de façon générale des tâches d'acquisition et de génération. Lors de l'installation du driver NI-DAQmx, il faut penser à installer le support d'exemples pour LabVIEW, pour y avoir accès depuis la recherche d'exemples.
Pour ouvrir la recherche d'exemple, il vous suffit de faire apparaître la fenêtre de démarrage de LabVIEW et de cliquer sur recherche d'exemples. Depuis la recherche d'exemples, vous avez également la possibilité d'activer un filre pour avoir uniquement les exemples en relation directe avec votre périphérique USB-6216. Pour cela il vous faut ajouter le périphérique en question, et activer le filtre, qui vous donnera accès uniquement aux exemples compatibles.
Depuis la recherche d'exemples : - E/S matériel -> DAQmx -> génération analogique -> tension
Pour obtenir plus d'information sur l'utilisation du driver NI-DAQmx et de l'API DAQmx, je vous invite à prendre connaissance des éléments présents depuis les liens suivants:
Getting Started with NI-DAQmx: Main Page
http://zone.ni.com/devzone/cda/tut/p/id/5434
Learn 10 Functions in NI-DAQmx and Handle 80 Percent of Your Data Acquisition Applications
http://zone.ni.com/devzone/cda/tut/p/id/2835
Si vous n'êtes pas familier avec l'environnement LabVIEW, je vous encourage à suivre le tutorial suivant qui permet de prendre en main, et comprendre la programmation graphique avec LabVIEW:
Getting Started with NI LabVIEW Student Training
http://zone.ni.com/devzone/cda/tut/p/id/7466
Cordialement,
Rémi D.
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
>> Les rencontres techniques de NI - Mesures et acquisition de données : de la théorie à la mise en ...
Similar Messages
-
Is the connection of thermocouple need any signal conditioner if we use a NI USB-6216 Card?
I have a NI USB-6216 Card and I want to use it to measure a temperature using a thermocouple but I want to know if I need a signal conditioner circuit in this case
Best regardsHi kukarobot,
Themocouples do typically require signal conditioning becuase they have such a small signal and are succeptable to noise because they are antennas. A low signal input range (minimum for 6216 is -200 to +200 mV) helps to get better resolution with the thermocouple, and a lotpass filter can help to knock off the noise on the line. This can be done in LabVIEW with a filter.
Also, you can opt for a low-cost TC01 for a single TC or multiple or USB 9211 or 9213 for multiple thermocouples. The devices have lower input ranges and the filtering built in.
Best,
Adam
Academic Product Manager
National Intruments -
NI USB 6216 max current in output
Hello everybody,
Please someone could tell me what is the maximum current the NI USB-6216 can supply in output. I found a value of +/- 2 mA for current drive in the datasheet, is this value correspond to the data I'm looking for ?
Thank you in advanceYes, the 6216 can source up to 2mA max per channel, and up to a total of 4mA for all channels.
Dan -
Bonjour, je tâche d'utiliser une carte NI USB-6216 avec Labview 8.6 et dans le manuel LV_Getting_Started, on signale d'utiliser la fonction
Assistant DAQ, que je ne trouve pas dans la palette des fonctions (rubrique Express-Entrée). Ai-je la bonne version de Labview pour cela ?Bonjour Yoalain,
Avez-vous bien installé le driver NI-DAQmx après l'installation de LabVIEW 8.6?
Si ce n'est pas le cas, vous pouvez faire une réparation de NI-DAQmx afin que vos palettes LabVIEW soient populées des fonctions du driver.
Pour ce faire:
-allez dans Panneau de Configuration»Ajout/Suppression de prgrammes
-choisissez Logiciel National Intruments et cliquez Modifier/Supprimer
-choisissez NI-DAQmx et cliquez sur Réparer
Bonne journée,
Flo
Open Diagram First -
Envoi de signal analogique continu avec Labview
Bonjour,
Je voudrais savoir comment envoyer un signal analogique continue avec le DAQ assistant de Labview.
En effet je possède une carte d'acquisiton NI 6008 et lorsque je veux envoyer un message analogique de 5V en tension ( ce qui est normalement possible avec ma carte ) il me met un message d'erreur. Je ne peux que envoyer un échantillon sur commande...
Merci d'avance pour la réponse.
Cordialement.What error message do you get??
Plus, I suggest you to use appropriate example VI's shipped with LabVIEW for Analog generation.
You will find it at Find Examples>>Hardware input output>> DAQmx>> Analog generation>> Voltage>> i suggest 'Generate Multiple Volt Updates-Int clock.vi, to start with -
NI USB 6216 differential recording setup in SignalExpress
Hi,
I'm new to NI USB 6216 DAQ.
I'm wondering how to record differentially with this DAQ via SignalExpress.
In previous DAQ I used (NI 6341), there's a + and a - channel for each input (e.g. ai 0+ and ai 0-).
But in NI USB 6216, it's only from ai 0 - ai 15, no + or - sign for each input.
It will be highly appreciated if someone can tell me how to record differentially between ai0 and ai8, for example.
Quite urgent (experiment ongonig)...
Many thanks in advance!!
Sincerely,
HemmingsBe sure your "Terminal Configuration" is set to Differential and not RSE
SCXI- 1000 Chassis w/ 1346 adapter
PCI 6281 DAQ card
SCXI- 1520 Bridge Board w/ 1314 Terminal Block (x2)
SCXI- 1180 Feedthrough Panel w/ 1302 Block
Signal Express 2014.
Win7 Enterprise -
Audio output and left USB port is not working!
Hi! I have MacBook Air 13" late 2010, Audio output and left USB port is not working!
What happened?
Part No.: Z0JH000TE RSIf the left USB port doesnt work with an external mouse its seems to be a hardware malfunction of this USB port.
The newest BIOS is already installed?
Have you removed all USB ports from device manager and restarted your notebook?
If you have already tried this, contact an authorized service provider. The guys can try to fix this issue and it should be covered by warranty, if you still have warranty on this notebook. :) -
Chargement ISO7 + 2nd mise à jour effectués sur 4S avec succès. Désormais écran noir avec cable usb blanc et logo Itunes BLOQUE.
Lorsque je connecte Iphone à ordinateur, Itunes ne reconnait plus mon iphone ??? Quid ??? je précise que j'ai téléchargé (aussi) la dernière version Itunes 11.1
Comment faire pour que mon Iphone soit reconnu ?? Par avance merci. -
I am displaying status (traffic signal ) in output screen in tree display
hi all,
i am displaying status (traffic signal ) in output screen in tree display but instead its displaying <b>@08@</b> like text format....is there any need of conversion....
but it works in normal ALV grid layout.
please suggest a solution....... !
regards.
sivaram.You need to do the following three steps in order to have "status" indicators on your ALV list:
(1) Add a status or exception field to your itab definition, e.g.
TYPES: BEGIN OF ty_s_outtab.
TYPES: status(4) TYPE c. " status field for LED / traffic light
INCLUDE TYPE KNB1.
TYPES: END OF ty_s_outtab.
DATA:
gt_outtab TYPE STANDARD TABLE OF ty_s_outtab
WITH DEFAULT KEY.
(2) Define the status field in the layout (LVC_S_LAYO):
gs_layout-excp_fname = 'STATUS'. " name of the status/exception field
gs_layout-excp_led = 'X'. " display LEDs, else traffic lights
(3) Loop over the itab and set the appropriate status:
LOOP AT gt_outtab INTO ls_outtab.
IF ( <condition is fulfilled> ).
ls_outtab-status = '3'. " green
ELSEIF ( <condition partially fulfilled> ).
ls_outtab-status = '2'. " yellow
ELSE.
ls_outtab-status = '1'. " red
ENDIF.
MODIFY gt_outtab FROM ls_outtab.
ENDLOOP.
reward points if it is usefull....
Girish -
OSX ni-daqmx base does not detect USB-6216
USB-6216 is not detected on macbook pro retina late 2012 with NIDAQMX base installed even though the board is listed as supported.
Other boards (i.e. USB-6008) work. The 6216 works prefectly using win7 in a virtual machine on the same macbook; when the wirtual machine is on max asks whe the borad has to be connected and answering win TWO devices are connected to win (i.e. Firmware loader and 6216)
If the virtual machine is off nothing is asked, however, when 6008 is connected its led starts blinking, while nothing happens on the 6216.
A listing of the USB devices in the case of 6216 shows:
USB Hi-Speed Bus:
Host Controller Location: Built-in USB
Host Controller Driver: AppleUSBEHCI
PCI Device ID: 0x1e2d
PCI Revision ID: 0x0004
PCI Vendor ID: 0x8086
Bus Number: 0x1a
Hub:
Product ID: 0x0024
Vendor ID: 0x8087 (Intel Corporation)
Version: 0.00
Speed: Up to 480 Mb/sec
Location ID: 0x1a100000 / 2
Current Available (mA): 500
Current Required (mA): 0
Sleep current (mA): 0
Vendor-Specific Device:
Product ID: 0x7269
Vendor ID: 0x3923 (National Instruments)
Version: 0.00
Speed: Up to 480 Mb/sec
Location ID: 0x1a120000 / 4
Current Available (mA): 500
Current Required (mA): 100
while in the case of 6008 shows
USB 3.0 Hi-Speed Bus:
Host Controller Location: Built-in USB
Host Controller Driver: AppleUSBXHCI
PCI Device ID: 0x1e31
PCI Revision ID: 0x0004
PCI Vendor ID: 0x8086
Bus Number: 0x14
NI USB-6008:
Product ID: 0x717a
Vendor ID: 0x3923 (National Instruments)
Version: 1.03
Serial Number: 0130C6E2
Speed: Up to 12 Mb/sec
Manufacturer: National Instruments
Location ID: 0x14200000 / 17
Current Available (mA): 500
Current Required (mA): 500
Anyone may help?
ThanksDear Cindy,
many thanks for your replay. I think it will be quite useful.
I should have the last driver revision (downloade one week ago...) and the board is a screw type. I have not checked it on another mac, but I will try to find one.
The part on the lsdaq is the most interesting for me: my lsdaq shows no boards at all (it shows something similar if I connect a 6008 board so it is working), but the mac detects an USB device (listed as vendor specific) as:
Vendor-Specific Device:
Product ID: 0x7269
Vendor ID: 0x3923 (National Instruments)
Version: 0.00
Speed: Up to 480 Mb/sec
Location ID: 0x1d110000 / 6
Current Available (mA): 500
Current Required (mA): 100
As you see the product id is different. I suspect the problem is in the board firmware: when I connect the board and the win virtual machine is on, parellels asks me if I want to route the board to win. If I say yes after few seconds it asks if I want to route a second device which is labeled as 6216. It seem the board starts presenting one device and then it 'boots' a second device only after some driver operation.
May I ask you to check the board firmware using FWUpdate.app located in /Application/NI-DAQMx Base/bin/ ?
I contacted NI and maybe this can help them. When did you buy the board? Can you read the product id on the back of your board?
Many thanks again
Marco
-
Comment acquérir sur 2 voies avec un USB 6009 ?
Comment acquérir sur 2 voies avec un USB 6009. ?
ma configuration labview 7.0, windows NT
lIl y a plusieurs manière de configurer tes voies, si tu n'as pas bcp d'expérience en programation LabVIEW, le plus facile est peut être de configurer tes voies en voies globales dans MAX (Measurment and Automation Explorer) et ensuite de les utiliser dans LabVIEW en utilisant les fonction DAQmx. Lorsque tu démarres une tâche DAQmx, tu peux sélectionner les voies globales que tu as définis dans MAX.
Il y a des exemples dans Help >> Find Examples... Recherche "daqmx"
Bon courage !
When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!" -
Connect Cable Box Output to MacPro USB Input
Is it possible (using appropriate cable) to connect the HDMI output of a cable box to a USB 2.0 input on a Mc Pro in order to view cable TV programs?
BDAqua has it right.
HDMI has nothing compatible with USB. USB is far too slow, and the signal levels and data encoding are completely different.
If you could get past all that, they still would have nothing to say to each other.
And Macs generally have no HDMI inputs, only outputs.
To view Cable TV programs off your cable box, you need a TV set. -
Mesure de fréquence avec NI usb 6210
Bonjour,
Je viens de faire l'acquisition d'une carte NI USB 6210, je cherche à recupérer la fréquence de mon signal alternatif 50hz, mais je n'y arrive pas.
J'ai cabler en entré de l'entrée PFI1 in et DGND mes deux fils conducteur, et ensuite sur Labview signal express j'ai créer un DAQmx fréquence. J'obtiens comme résultat un nombre qui alterne entre 63 et 255. Je ne trouve pas d'expliquation à mon résultat...
Merci d'avance pour votre aideBonjour Rj293,
Les caractéristiques de la carte USB 6210 en niveau TTL sont:
- 0/0.8V pour un niveau logic bas
- 2/5.25V pour un niveau logic haut
Avec une amplitude de 2.5V votre mesure de fréquence devrait fonctionner.
Cependant, le signal sinusoidale que vous utilisez à une amplitude de 2.5V en Pkk, et une valeur moyenne nulle? Par ailleurs, pouvez-vous joindre les deux courbes (sinusoidale et carré) avec echelles?
Cordialement,
Rémi D.
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
>> Les rencontres techniques de NI - Mesures et acquisition de données : de la théorie à la mise en ... -
Not receiving any signal input with LabVIEW SE, USB DAQ board
Hello all, good afternoon.
I am having a little trouble with my DAQ device, I hope that someone will be able to help me.
I'm plugging a BNC pH sensor to a NI USB 6251 M-series board, to try and obtain the electrical response of that particular sensor, measuring the voltage output for each buffer solution (pH 4 and 7). Have 9.2.3 mx (lastest) drivers.
The pH sensor (floating) is plugged through a female BNC plug to the circuit board, signal is going through a signal conditioning circuit (composed by a voltage follower on each of the wires to lower the output impedance of the sensor, and 2 bias resistors from AI+ and AI- connected to AI GND with the board case wired to the power supply ground, as seen in http://zone.ni.com/devzone/cda/tut/p/id/4494)
I'm measuring in differential mode, as I said both wires of the sensor are going through a voltage follower each, and into the DAQ board. The Op-amps are being powered by +-15v as seen, again, in http://zone.ni.com/devzone/cda/tut/p/id/4494
I did take the time to read the manuals and tutorials I found, did quite a bit of investigation over the last few days, and wired the system carefully.
In labview signal express, I choose to take an analog voltage read, and select input range from -500mv to 500mv, because the sensor should output at most -400mv to 400 mv
Now, much to my dismay labview registers in that channel absolutely nothing, only a little noise (~1 mV). I unplug the sensor and realise that whether the sensor is connected or not, it doesn't make a difference in the presented output - it's as if it the sensor wasn't there at all. And yes, I am measuring the correct channel. I tried connecting the wires to different AI channel pairs as well, could be a faulty one, but no success either.
If I plug a voltimeter to the wires that are going into the analog inputs (after conditioning), it measures about 50 mV, which is a lot more than the 1 mV the board is measuring, but a lot less than the ~180 mV I should be measuring with a pH 4 buffer solution.
I know for a fact the problem is not the sensor, and the DAQ board seems to be fully operational.
I think it might have to do with the signal conditioning I'm doing, or some sort of configuration with the hardware of the DAQ board.
So, any idea what I might be missing?
I'm a week behind schedule because of this, hopefully I will find my answer here.
Thank you very much in advance!Good afternoon.
Yes I have tried all of that. The board responds very well when a flat 5V DC voltage is fed into a channel.
However after much investigation I believe to have found the problem yesterday, it probably has to do with the operational amplifiers I was using. The input bias current was in the magnitude of nanoAmps, while for pH measurements an IBC of picoAmps or less is necessary due to the high impedance of the sensor. This was causing a drift of over 100 mV on my output which is about 2 pH and thus unnacceptable (even though I had the Bias resistors at the input to ground, like suggested in the NI tutorials, but apparently they were not enough to compensate for the high IBC).
In the lab all available op-amps suffer from this, even Instrumentation op-amps like AMP04 from Analog Devices. I still haven't had a chance to acquire new op-amps with the necessary IBC but hopefully it will do the trick. Makes sense since I checked the datasheets for every op-amp in the lab, and they all had IBC around 400 nanoAmps (and none of them worked), while every single op-amp for every pH meter circuit I found have IBC's of pico/femtoAmps.
The sensor I'm using is from AquaMedic, I'm not sure what the model is, but it's a cheap plastic sensor that comes bundled with their pH Computers.
Thank you very much for your input. -
How do I set up a triggered analog output on a USB 6009?
Hi! I am very new to LabView and am working on the control portion of my senior ME design project. It is an anti-tip brake system for a bicycle. The goal is: When critical time to tip is reached (by reading values from a rear wheel normal force sensor, taking the derivative and calculating this critical time), my cheap DAQ USB-6009 device will put out an analog signal to a transistor, which will spin a DC motor (attached to a worm gear setup) for a certain length of time (...This will change a pivot location in the mechanical assembly which will decrease brake mechanical advantage).
I have been trying to work with LabView 8.5. I get bogged down in confusion when I try to use G-code and get unexplained errors in using Express VI's (they're rather black box-ish to me).
I think that all I need to do is set up an analog input channel, take derivatives and values and put them into a formula for critical time. Then if the result is a "True", I want to begin an analog out sequence for a certain period of time (to get the motor to the right position).
I would appreciate any help that I can get with this one.
Attachments:
ABScontrol1.JPG 43 KBchowph,
You are
correct with your last statement about performing a comparison on your data.
1. Are there any error codes or messages in the
errors you are getting? Or if you have screenshots of the errors you could post
then that would work too. Knowing the
errors would help in understanding where to start.
2. In your previous
post did you have a chance to try the examples or Kent’s example code he
posted?
3. What were the results of those examples and
your experiment? Again screenshots would
work fine here.
Since you
new to LabVIEW make sure to take advantage of the online training material and
tutorials we have on ni.com. I have posted
a few that I think may be helpful.
Learn 10 Functions in
NI-DAQmx and Handle 80 Percent of Your Data Acquisition Applications
Complete Data Acquisition
Tutorial
How Can I Learn
LabVIEW?
I hope this helps!!
Message Edited by Ryan N. on 03-31-2008 11:52 AM
Ryan N
National Instruments
Application Engineer
ni.com/support
Maybe you are looking for
-
I have a finalized project in iMovie '11. Shared it on Youtube, Facebook, and Vimeo. Then, when I shared it to iDVD, it reverted to a previous version of the project, so my titles and pictures were out of sequence. Now, in my list of projects, my
-
UMI 7764 second axis not working
I have a strange problem with my NI motion control setup and I wondered if anyone could help me. I have the following setup: PCI-7330 connected to a UMI-7764 Connected to the UMI-7764 I have two P70530 stepper drives, themselves connected to two Nema
-
Edited Flash Website Template Won't Accept Changes When Published.
Hi, All, I didn't think this was going to be so difficult. After I purchased and downloaded a "complete flash website template" file from the internet, I uploaded the file into my local_site file and then into Dreamweaver 8 The template included fil
-
Display selected language in multi-language environment
Hi there I have 3 keyboards defined in settings>General>Keyboard EN, FR, DE Swapping from one to the other shows me shortly on the spacebar the language I've chosen. Also the "return" key is renamed. Bad thing is that DE and EN both use the term "Ret
-
ITunes 11: Cannot Search in iTunes
I cannot seem to search/lookup songs in the iTunes store since I downloaded iTunes 11. At first it just kept saying searching iTunes store/not responding so I uninstalled iTunes 11 and reinstalled iTunes 11. Now when I go to search a song to download