NI 6221

Bonjour
Je souhaite acquérir une tension sinusoïdal a partir d’un GBF pour vérifier le fonctionnement de la NI PCI 6221 reliée à un boîtier  NI SCC-68.Mais j’ai rien reçu dans Max dans le panneau de tests chaque bornier  ‘AI ‘ fonctionne une fois puis ca marche pas, l’orsqu’il marche le signal visualisé est bruité. Sachant que la sortie est bien marchée. Comment je remédie ca? et Merci d'avance 
Résolu !
Accéder à la solution.

En mode différentiel vous devez connecter votre signal d'entrée entre deux AIs, pas entre une AI et le AI GND. Donc actuellement c'est normal que ça ne fonctionne pas. Vous pouvez configurer votre acquisition en mode non différentiel, ou alors modifier votre cablage, mais avez vous réellement besoin d'une meure différentielle ?
Je vous invite à consulter le manuel utilisateur des cartes de la série M, notamment le chapitre "Connecting Analog Input Signals", ainsi que le tableau de la page 4-5 si vous voulez vraiment connecter votre GBF en différentiel pour connaitre les entrées AI à utiliser
Cordialement,
Yohann L.

Similar Messages

  • How to get counter values from pci 6221 card?

    Hii
     I am using PCI 6221 card .. In that i am using the ctr o .. In my application i am using Linear encoder to measure the Lift movement.. so from software how to access the counter values i.e how much mm it moves... 

    Measure Angular Position.vi in the LabVIEW examples will be a good starting point. Adapt it to Linear Encoder by clicking on the selector below DAQmx Create Channel.vi.
    You can also create a corresponding DAQmx Global Channel (or task) in MAX and then use it in your code.
    Feel free to post back if you need further help.
    Message Edité par JB le 10-31-2008 02:15 PM

  • How Do I enable multiple trigger voltages on the PCI-6221 using NI-DAQmx?

    I am using the PCI-6221 to do some simple data acquisition.  The idea is to allow three different analog voltages to trigger the data acquisition state.  I currently have the code set up for one voltage trigger but I am not sure what needs to be done to add the two additional trigger voltages. Any ideas?
    Thanks.
    Solved!
    Go to Solution.

    Is it possible to do something as simple as this:
        DAQmxErrChk
            (DAQmxCreateAIVoltageChan(taskHandle,"Dev1/ai0","",DAQmx_Val_Cfg_Default,0.0,5.0,DAQmx_Val_Volts,NULL));
        DAQmxErrChk
            (DAQmxCfgSampClkTiming(taskHandle,"OnboardClock",3000.0,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,3000));
        DAQmxErrChk
            (DAQmxCfgAnlgEdgeStartTrig(taskHandle,"Dev1/ai0",DAQmx_Val_Rising,0.7));
    or will I need to put the trigger on PFI0?

  • Setting voltage level Digital Out in NI 6221

    Hi all,
    I am working with a NI 6221. I am wondering if it is possible to change voltage level of digital out channels? Currenty I am using "Digital Bool 1line 1 point" as my DAQmx write.
    Thanks,
    Saridar
    Solved!
    Go to Solution.

    Saridar wrote:
    Hi all,
    I am working with a NI 6221. I am wondering if it is possible to change voltage level of digital out channels? Currenty I am using "Digital Bool 1line 1 point" as my DAQmx write.
    Thanks,
    Saridar
    can be done with a ttl to cmos level shifter   

  • How do i create 6 digital 25Hz PWM output signals with my PCI-6221 card?

    Hi!
    I´m a student, who´s trynig to control a gasturbine process for my diploma thesis. The control program should be written in LabView 8. I need to control 6 25 Hz PWM signals for the gasvalves. The  needed accuracy of the duty cycle has to be about  0.1 %.
     A  tech. engeneer from  NI  told  us , that  we can  do this by using one single digital output for each PWM.
    Now, after a while, i need to implement it into my program. But there are troubles:
    My NI-PCI-6221 standard card only has 2 couteroutputs and only the first of the 3 ports seems to be buffered (Error Nr.  201062)...
    I tried to do the programming, by manipulating the "DIO_PWM_50Hz.vi" I found in google.
    Does anyone of you have any information or helpful examples how i can create these PWM with my card, or did I get a wrong Information by the salesagent (...not the first time....)?
    Thanks for your help
    Tobi

    Here you can find an example, how to do this:
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=DE27921DB53A4D8DE034080020E74861&p_...
    As the text says, best would be to use the counter. As your Hardware has only 2 Counters, you would need additional hardware. Best would be to use a Counter-Card (660x), thes boards have up to 8 counters, so you coulkd control your 6 gasvalves indipendently.
    The soultion with the timed digital outputs of the m-series boards would only work, if you can use the same timing (one counter) for all 6 outputs.
    Hope this helps!

  • Using timer/counter with PCI-6221/USB-6210 to control timed-loop VI

    Dear all,
    I need to ask about two devices and one of their functionalities, PCI-6221 and USB-6210. For our NI-based system, we need to control some timings in a Timed-Loop vi, for that currently we are using PCI-6221 and we give external TTL signal (at 1 kHz) to it,
    recenntly we need to make some changes and for that we found USB 6210 DAQ to be more suitable, but we need to clear ourselves on some specific things.
    Can the counter/timers functions available in the either PCI 6221 or USB 6210 can be used to control the Timed-loop VI by giving external clock or by using their own internal clock source?
    Although we are using external clock with the PCI 6221 but we want to know about the usage of their internal clock, also are controlling timed-loop also possible for USB-6210
    Also... What if we use the RTOS, are they still able to control the timed-loop VI  without giving any 'EXTERNAL CLOCK' and using the internal clock sources of the DAQs
    Waiting for reply,
    Bests,
    RaJaf
    Solved!
    Go to Solution.

    Ben,
    I having read previous email which I send earlier with general overview, we discussed in more detail within our team and I am giviing the specific answers.
    Please check in RED the most recent answers. Blue are the questions/suggestions by your side.
    1.    Using Internal hardware clock of PCI-6221 would enable us get rid of external clock, but how to divert the internal hardware clock to the current settings. Any idea  (can you provide us with some reference manul for otherwise). I mean is there some flag-bit etc. or VI
    2.       Is it also meant that with the installation of RTOS the timed-loop can directly get the timing source from the internal hardware clock PCI-6221? --- How???
    3.       In order to make desktop to work as RT system, what is the hardware (motherboard, processor, etc..) requirement? What are the LabVIEW modules (specific name) that needed to be installed? Our platform is LabVIEW 8.6. (Currently we have windows-7 with i7 core processor)
    What kind of application are you intending for this system? ---- high-speed laser scanning system.
    Are you most concerned about accuracy, speed, or responsiveness? To control the laser mirror scanner to move at 1 kHz or 2 kHz speed. On the other hands, using PCI-5105 (128 MB memory) as a DAQ for real-time/on-the-fly data processing.
    Bests,
    RAJAF

  • Im using a pci-6221 daq-card.I want to know the difference(use)of a line output and a port output.

    Im using a pci-6221 daq-card.I want to know the difference(use)of a line output and a port output.

    Hello Hellraiser24,
    This question has actually been discussed in another thread here:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=95895&requireLogin=False
    I hope this helps,
    E.Lee
    Eric
    DE For Life!

  • How to entirely develop an application with PCI-6221 in Borland C++ Builder V6 in DAQmx?

    Hi,
         I am sorry that I have asked a huge question.
         But the main questions I want to know is :
         1,In Borland C++ Builder 6,Which version of DAQmx is the best one we will use?  DAQmx V8 don't support BCB6.
         2,Would you please give an example source file to use *.Lib in BCB6?
         3,In other computer,not including developping environment ,which items of DAQmx we have to install,PCI Card Driver?
    Which dll?How to make the installation the smallest?
         Thanks for your possible answer.

    Why DAQmx8 doesn't support C++ Builder 6 ?
    I've just used LabVIEW with DAQmx8 create dll file for C++ builder 6. My application is to use PCI-6221 generate Analog output. ( just DAQ assistance ).It works well.  

  • Problem with NI 6221

    Hi. I use one analog output channel and 5 input channels. They all are scanned. When I work only with one output and input chanels (4 channels are not connected), I can see on them the same signal as on working channel.
    I read the following issues:
    http://digital.ni.com/public.nsf/websearch/B9BCDFD960C06B9186256A37007490CD?OpenDocument
    http://digital.ni.com/public.nsf/websearch/4E9B8B3F8FD3A31B862562B5004EA1D9?OpenDocument
    I want to understand, what are the solutions of my problem?
    What is the source impedance - выходное сопротивление источника?
    Thank You.

    This is normal behaviour. The 6221 has a multiplexer witch switches the input channels of the AD converter.
    A residual voltage will be present at a floating input.
    Ground non-connected inputs and you will be OK
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • How to use the 6221 68 pin board?

    I am using the PCI/PXI 6221 to control a motor by varying the voltage using LabView 8.2.   We are having trouble hard wiring the input and output voltages in and out of the board.    

    Hi leaf34,
    If I understand you correctly, you are having difficulty wiring your motor to your 6221. Are you using a connector block? The SCB-68 is a popular shielded connector block that works with M Series devices. Each pin is connected to a screw terminal for easier wire connection.
    Please let me know if you have any questions. Have a great day!
    Ryan D.
    District Sales Manager for Boston & Northern New England
    National Instruments

  • How can I configure NI PCI 6221 and DAQ SCB-68 for pressure sensors?

    Hello
    everybody,
    I am using the measuring board (NI PCI 6221) and DAQ
    SCB-68 for the data acquisition.
    With the DAQ-Assistant I created AI for the voltage of
    pressure sensors. In a big indicator panel from this DAQ-Assistant I see the
    voltage for both sensors in the correct size. But if I set sensors in the
    blockdiagramm to control the signals for sensor one I get a wrong voltage size
    and for sensor 2 nothing.
    How can I configure this data acquisition equipment to
    get the correct signals?
    Thanks a lot for your help.

    I do not know the type of sensor you are using. But pressure transducers may have a very low output voltage(in the mVolt range). They also need an excitation voltage. Here is an introduction. http://focus.ti.com.cn/cn/lit/an/sloa034/sloa034.pdfThen working with pressure sensors I always use 3 stages in the circuit.
    1 Instrumentation Amplifier as a preamp
    2 filterstage
    3 Final amp and output buffer
    (you may combine stage 2 and 3)
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Help Connecting a Encoder to a USB-6221

    I'm new to NI and I designing a system that has a YET servo controller and a USB-6221. I need to connect the encoder output signal from the YET to the USB-6221 and not sure how.
    The YET servo controller has three encoder output channels each having two signals. Phase A (A and A-not), Phase B (B and B-not), and Phase C(C and C-not).
    I believe I need to wire Phase A from the YET to PF 8 (A) on the USB-6221, Phase B from the YET to PF 10 (B) on the USB-6221, and Phase C from the YET to PF 9 (Z) on the USB-6221. Is this correct?
    Can anyone help me please?
    Thanks,
    David

    Hi David,
    Welcome to the NI forms. Your connections are correct for
    the USB-6221 (I assumed you were using the pinout, and not BNC). There are a
    few ways we can double check this – one way is to create a task in Measurement
    and Automation Explorer (MAX), as it will tell you which pins to connect your
    wires to (see ‘MAX Configuration.jpg). We can also bring up the pinout for the
    device by going to MAX and then right-clicking on our device under the ‘Devices
    and Interfaces’ folder, and choosing ‘Device Pinout’. This will bring up the NI-DAQmx
    Device Terminals Help (See ‘NI-DAQmx Device Terminals Help_USB_6221.JPG’).
    Hope this helps!
    David L.
    Systems Engineering
    National Instruments
    Attachments:
    MAX configuration.JPG ‏57 KB
    NI-DAQmx Device Terminals Help_USB_6221.JPG ‏114 KB

  • PCI-6221 fails self-test in MAX but device manager says it's working

    Hi everyone,
    I bought a few PCI-6221 (37-pin) data acquisition cards and have been able to get one to work but 3 others don't work.
    Device Manager sees them and says they work.  MAX sees them and when I run Self Test, they fail with error number
    -50002.  Motherboards in non-working systems are PC Chips M957G and P25G.  OS is Windows XP Pro with SP2.
    I already tried uninstalling SW and the board, reinstalling SW and the
    board...autodetect etc works fine.  I even reformatted
    the HD on one of the computers and reinstalled the OS.  Anyone have any ideas?  Thanks in advance.  Halden
    [email protected]

    Thanks Tom for your suggestion to try NI-DAQ 8.0.  I just saw it today.  Yesterday,
    I was able to isolate 3 PCI-6221-37 boards as defective because they all wouldn't work in another computer while
    one other identical model card did work in that same computer.  I called to arrange to return them to NI and learned
    that for these 3, I needed NI-DAQ 8.0.  The fourth one was okay
    with NI-DAQ 7.5.  Apparently, this was a known problem. 
    I wish NI would have simply notified me that my boards would
    not work with the software sent with them and sent the NIDAQ 8.0 CD as soon as they knew rather than have me
    waste a day of my engineering time trying to figure it all out.  Booo NI.
    One of the boards has worked for almost a day under NIDAQ 8.0.  I was able to make some progress on the
    system I am building.  But then it stopped working.  LabVIEW
    (version 7.0 executable) programs would not open completely
    or would open slowly.  One that accessed the COM port only (no
    data acquisition) did work.  MAX opened very slowly or not at all
    and when I click on
    Devices and Interfaces, the hourglass is up for a long time and finally the + icon goes away indicating that MAX is not
    aware of any devices being present.  The Windows Device Manager says the board is present and working.  Windows
    Task Manager lists LabVIEW Runtime and MAX when only MAX is open and indicates that MAX is Not Responding.
    I shut down the computer, removed the PCI-6221 board, booted it up again, and MAX is the same way.  I uninstalled
    MAX and NI-DAQ LabVIEW 7.0 support and then reinstalled them.
    Now the MAX loading window is up for more than a minute and NIMAX.exe is listed in Task Manager's processes.  After
    the first minute, LabVIEW Runtime appears in the Task Manager's
    Applications list.  After a while longer, the MAX window finally
    opens
    and MAX is listed in the Applications.  I click on the + icon by Devices and Interfaces in MAX and the hourglass appears
    and Windows Task Manager says MAX is Not Responding.  Eventually, the + icon and the hourglass go away and
    the Task Manager lists LabVIEW Runtime and MAX as Running.
    I shut the computer off for several minutes, started it up again, and MAX is still takes a long, long time to open. 
    I haven't put the PCI-6221 card back in because MAX still isn't working.
    What do you suggest I do next?
    Thanks
    Halden

  • No power in new SC-2345, PWR01 (powered from PXI-6221)

    I've used several systems in the past that included an SC-2345 box powered from a PXI card, and until now have not had problems.
    I have an SC-2345 (PWR01, rear-connect) connected to a PXI-6221, all brand new, and the SC-2345 does not seem to be getting any power.  The indicator LED's on the front do not light, and if I look at terminal 14 on the screw terminal block, I don't see the +5V I expect.  If I unplug the 68-pin cable at the SC-2345 and look at the pins directly, I do see +5V on pin 14.  All the pins on the cable appear in good condition, and the cable seats firmly when plugged in.
    I can run a self-test on PXI-6221 from MAX, and it passes.  I've removed all cartridges from the box and looked for obvious shorts, but the problem persists.  There _may_ have been a short when the box was first connected -- a few leads from the front panelettes were disconnected and unrestrained.  Supposing this caused a short, are there fuses in the box that I can check / replace?
    I have spare SC-2345's, but it's a little difficult to get them to this particular site -- are there any suggestions for things to check before just trying a different SC-2345?
    Thank you!
    -Eric

    Hi Eric
    Did you set the switch S1 on the SCC-PWR01 to select the source of the +5 V E SER (E/M Series) or EXT (external). If you select EXT, you must connect a +5 V supply (user supplied) to the screw terminals of J1 on the SCC-PWR01. For more information here is the link of the manual
    http://forums.ni.com/t5/Signal-Conditioning/No-power-in-new-SC-2345-PWR01-powered-from-PXI-6221/m-p/...
    Regards
    Esteban R.

  • 6221 pulse generation using external digital trigger

    Hi there: I am trying to do something very basic, but cannot figure out how to do it. I have an NI 6221 USB I/O device.  I want to program it to generate a digital output 100ms after receiving a digital input. I am trying to create a task to do this using NI Max, but all of the options on the trigger source menu are greyed out. There is no way to specify an external hardware trigger.  Do I have to program this functionality using DAQmx in the code?

    I found the solution to this question in Gen Dig Pulse-Dig Start.vi from the NI example finder. The answer is that you do need to configure the input trigger programmaticaly using the DAQmx functions. See example code for more details.

  • Trouble specifying TTL for digital outputs from PCI-6221

    Hi!
    I'm trying to generate TTL output signals using a PCI-6221 daq board - within Labview, I'm using DaqMx to create two digital waveforms and then write these. When I plug in an oscilloscope, the shapes/frequencies of the signals are correct, but the lower value is 0V, and the higher value is 1V, rather than the TTL values. Is there a way to specify these voltage levels to TTL within the software? I see from NI help that "do.logicfamily" exists to specify TLL, but when I add a property node and connect it to the channels, I do not see Logic Family as an option under "digital output." Let me know if you have any ideas!
    Thank you,
    Emily

    Set your oscilloscope to use 1MOhm impedence.  Your problem is that the maximum current for those DIO is 24mA.  1V/50 Ohms = 20mA.  So you are current limiting the digital outputs.  If you need more current, then you need to add in some digital buffer chips that can output more current.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

Maybe you are looking for

  • Sales By Amt Query Change

    Hello All - We have this Query used to view sales by Amt for each month.  Can we modify it so it does not show every month.  Instead, gives option to select the month at the start of the Query and only shows the month selected in the results? Keep ev

  • When I import photos from Photostream into my iPhoto, it no longer organizes them into Events. I haven't been able to creat an Event since November 2013.

    When I import photos from Photostream, iPhoto no longer organizes them into Events. Although I can organize my photos into old or newly created Albums, I haven't been able to create an Event since November 2013. Any ideas would be appreciated.

  • Basic auth from SRA

    Hi. I have to connect from portal SRA component to intranet sites that require HTTP basic authentication. This authentication can be activated in the SRA component thru amconsole by chosing the 'Service Configuration' tab and using the link : Gateway

  • Partner detrmination

    Hi Experts, I have one issue in sales order that is sold to party and ship to party are going to gray mode. I have created one new partner determination and assigned to sales documents after  assigned  the partner determination  to Order type the err

  • Insert a bunch of stills

    I had already asked about inserting a single frame onto the timeline and it seems I can't do that in one move, but the default when you put a selection of stills onto the timeline is for each still to be ten seconds long.  Is there no option to chang