Using two PCI 6221 on a target PC

Hi all,
I'm currently working on a project which requires real time control, and I was wondering if I can install two PCI 6221 boards on a target PC.
I've tried using one PCI 6221, which works fine, but what if I add another one?
Also, would I need better CPU for that?
Just let you know, I'm using CVI 9.0 under Windows XP
Thank you for your help.

They are both development environments, so the answer is the same for CVI.
This is more of a hardware question and would be appropriate in the Real Time forums board.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies

Similar Messages

  • Using two PCI 6221 boards on a target PC

    Hi all,
    I'm currently working on a project which requires real time control, and I was wondering if I can install two PCI 6221 boards on a target PC.
    I've tried using one PCI 6221, which works fine, but what if I add another one?
    Also, would I need better CPU for that?
    Thank you for your help.

    They are both development environments, so the answer is the same for CVI.
    This is more of a hardware question and would be appropriate in the Real Time forums board.
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • 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!

  • I can not use two PCI-1407 cards together.W​hy?

    When I installed two PCI-1407 cards on the same computer, I can find one card in the M&A Explorer,and that card can work well.But another card is invisible in the M&A Explorer.I can find the card in the source manager of windows 2000.I can't find the reason.Give me a hand,please.

    If either of the PCI-1407 cards is rev E or higher, then you need to have NI-IMAQ 2.5.1 or higher installed. You can find the revision by looking at the assembly number on the card, 184895x-01, where x is the revision. Otherwise, I would troubleshoot this like any other NI PCI card. Make sure you have the latest version of the NI-IMAQ driver. Try the cards in multiple slots and in multiple computers if feasible. Does each card work fine when installed by itself? Is there anything unusual about this computer (industrial PC, unusual chipset, etc)? Narrow down the problem to one particular card, slot, or computer. You can also try updatin
    g to the latest win2k service pack.
    Regards,
    Brent R.
    Applications Engineer
    National Instruments

  • 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?

  • Displaying and saving multichannel waveforms using PCI-6221 DAQmx card

    I am trying to obtain voltage readings at 8000 kHz from 9 channels using a PCI-6221 DAQmx card. The waveforms are to be displayed on individual charts while being saved. I have run into problems when I have 4 channels reading in at the same time. The charts stop displaying the data. Since the program will be running within another program where video acquisition is being done, space/buffer size is a very large consideration. If anyone can offer any suggestions about being able to display and save this data without losing seconds of information, the help would be appreciated.
    Thanks,
    Nina

    Hello Nins,
    The first thing to notice is that you are going far beyond the specifications of the 6221 if in fact you are sampling at 8000 kHz. Something I can tell you is that when you are performing fast acquisitions and processing the data at the same time, it is sometimes advised to have an acquisition loop (procucer loop) and a processing loop (consumer loop) and transfer data between the two. That way, you can put a wait in the consumer loop and use a waveform graph to plot the data rather than using a Chart wich requires memory.
    Hope this helps some...

  • 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

  • PCI-6221 high CPU usage

    I'm currently using a PCI-6221 DAQmx card to continuously acquire readings from 9 channels at 5000 samples per channel per second. Using a timed while loop, I reduced the CPU usage to ~50%. When I add the additional control code for two other devices (that use ~4% of the CPU each), the CPU usage goes up to 100%. I tried to increase the DMA on the PCI card, but it doesn't appear that I can alter it on this card. I'm setting the "DAQmx Read" control to "Analog 1D Waveform N Channels N Samples." Also, when I remove the waveform indicators on the front screen, it doesn't lower the CPU much. If anyone can offer suggestions for lowering the CPU usage without sacrificing the above mentioned data collection parameters, I would appreciate the help greatly!
    Nina

    Alan,
    The CPU usage for the 9 EMG signals is ~50%.  The second input is video acquisition using an IMAQ 1411 card acquiring 30 samples per second with real time display.  The third input is a serial connection which samples at 1Hz.  Each of these codes uses approximately 4% CPU when running separately.  Each has the option of saving the data while still continually displaying on the front panel. The video acquisition utilizes the grab image setup along with notifiers for saving the data.   To link  the saving of the files (using case structures) to a single control button on the front panel , I created local boolean variables. The EMG readings use a timed while loop.  The serial connection uses a timed while loop cycling at the same frequency.  The video acquisition uses a while loop contained within a for loop.
    Thanks for your continued help!
    Nina
    Message Edited by nins on 07-06-2005 02:47 PM

  • NI PCI 6221 and SCB-68 and timer

    I'm using NI PCI 6221 and SCB-68.  Can I use timer with Single Two-Signal Edge-Separation Measurement. Is this type of measurement can be set with that hardware combination. I,m asking becouse when I,m using DAQ ASSISTANCE it pointing the pin name that doesn,t exist on the SCB-68.

    Hi Fazi,
    The SCB-68 has pinout labels for E-series DAQ cards while the NI PCI-6221 is one of the newer M-series DAQ cards.  The Single Two-Signal Edge-Separation Measurement you want to take is possible with your card.  Below is a KnowledgeBase article which gives the SCB-68 pinouts for M-series cards. Let me know if this fully answers your question or I assumed something wrong.
    SCB-68 Quick Reference Label for M Series
    Alex A.
    Applications Engineer

  • High frequency quadrature decoder (NI PCI 6221)

    Hello, i would like to ask you about high frequency quadrature decoder. I am using module in DAQmx for measuring linear position. For this i am using NI PCI 6221. My problem is that i want to use this for my interferometer and we need really high speed. So I tried to use External timing whitch should be possible for this card up to 80MHz. Unfortunatelly i always will get error message that there is some kind of owerflow and my program crashes. So my question is how to get all data form this card. I know that the buffer size FIFO is only 2 so if it is impossible to get all data so i want find another solution. Is it possible let my card work alone on 80MHz and only repeatly rewrite all buffer and just sometime ask this card for sending current buffer. I dont really need all the data, but when i will ask i need to know reall position. This high speed is really necessary because my interferometer is sensitive and i dont wat to lose any steps. If there would be any possibility how to work on 80MHz and only sometime ask for sending data with position, it would be great. Sometimes i will ask not for only current position but for full buffer because i want so see what is happening during some time period, but this task will be only sometime. 

    Dear BMAJTZ,
      The counter frequency (the maximum speed available) is configured by the Task in the background. In our case, the counter is set to detect edges, so it always uses the maximum speed available. If an edge occurs, the count value increases by 1, and this accumulated count value (stored as a binary number) is read by the DAQmx Read VI, and converted to meters. So if your encoder input is slow enough for the 80 MHz card to handle, you won't miss any ticks, even if you only read the value occasionally.
    You can find further information about counters and encoders on these links:
    http://www.ni.com/academic/students/learnlabview/digital.htm
    http://www.ni.com/white-paper/7109/en
     Also if you can tell me the approximate frequency of your encoder signal, and how often you nedd the position info, I can do some benchmarking for you to see if your card is capable of the task.
    Best regards:
    Andrew Valko
    National Instruments
    Andrew Valko
    National Instruments Hungary

  • Q: Re: Q: Acquiring data using two E series devices connected by RTSI and streaming data to disk

    << (My first posting)
    I use two E series PCI Cards, connected by RTSI. I'd like to stream the data
    from both cards to a binary file and to add a header to it.
    I also need to somehow read (plot) the stored data, this with another VI.
    The whole should be then integrated into an existing program, that used just
    one acquisition card.
    Till now I have tried to combine "Two E-series Shared ScanClk.vi" and "High
    Speed Data Logger.vi" into another VI, and I have tried to read the stored
    data with the "High Speed Data Reader.vi". The problem is that I fight with
    one error after another, what prevents me from going further.
    I use LabView 6.1, under Windows 2K.
    Has somebody by chance already done something similar and would agree to
    share with me their experience? TIA for any suggestion.
    Regards,
    Victor Manta
    >>
    "Ben" wrote in message
    news:[email protected]...
    > Hi Victor,
    >
    > I have done a lot of similar work.
    >
    > Exactly what did you try and what specific errors did you encounter?
    >
    > What you are trying is do-able provided the hardware you have suuports
    > it.
    >
    > Please post (both here and to the DAQ group)
    > the details of the hardware you are using,
    > versions of software being used,
    > Examples that you are using,
    > error codes that occured,
    > posibly post example code showing the problem.
    >
    > Ben
    Hi Ben,
    I use two PCI-MIO-16E-1 cards, connected by RTSI. I'd like to stream the
    data from both cards in real time to a binary file, after having added a
    header to it.
    For tests, on the channel 0 of each card is applied the same square wave,
    100 Hz.
    Yes, the hardware support RTSI. I use LabView 6.1.
    Till now I have:
    1. Combined the "Two E-series Shared ScanClk.vi" and the "High
    Speed Data Logger.vi" into a DAQ VI. To do this, I have "doubled" and
    adapted the "High Speed Data Logger.vi". For testing purposes the data are
    stored in two files, always the same ones (the old ones being overwritten
    after each acquisition).
    2. "Doubled" and adapted "High Speed Data Reader.vi" into another VI, for
    reading from both files, mentioned earlier.
    What already works:
    - The headers for both files are correctly stored (VI point 1.)
    - The acquired data from the first card (device 1) are correctly stored (VI
    point 1.)
    - The VI (point 2.) that reads both files and displays the results works
    What doesn't work:
    - The acquired data from the second card aren't stored at all (VI point 1.)
    - An error message says: "Error -10608 occurred at AI Buffer Read. Possible
    reason: NI-DAQ LV: No transfer is in progress for the specified resource."
    I think that I understand this message, but I don't know how to continue.
    The DAQ VI can be downloaded from (please click the link, then the link on
    that page; about 100K, zipped):
    http://www.swissheartnet.unibe.ch/labview.htm
    Thanks a lot in advance.
    Regards,
    Victor Manta
    PS. I don't know which DAQ group you mean.

    "Filipe A." wrote in message
    news:[email protected]...
    > Victor;
    >
    > You can definitely accomplish that task with the DAQ boards you have
    > and Labview.
    >
    > It would be good if you could be more specific as far as what type of
    > errors you are seeing and how you are integrating both VIs.
    >
    > Regards
    > Filipe A.
    > Applications Engineer
    > National Instruments
    Maybe Mr. Filipe A. could help me? Please see below, and TIA.
    Regards,
    Victor Manta
    "Victor Manta" wrote in message
    news:[email protected]...
    > << (My first posting)
    > I use two E series PCI Cards, connected by RTSI. I'd like to stream the
    data
    > from both cards to a binary file and to add a header to it.
    >
    > I also need to somehow read (plot) the stored data, this with another VI.
    >
    > The whole should be then integrated into an existing program, that used
    just
    > one acquisition card.
    >
    > Till now I have tried to combine "Two E-series Shared ScanClk.vi" and
    "High
    > Speed Data Logger.vi" into another VI, and I have tried to read the stored
    > data with the "High Speed Data Reader.vi". The problem is that I fight
    with
    > one error after another, what prevents me from going further.
    >
    > I use LabView 6.1, under Windows 2K.
    >
    > Has somebody by chance already done something similar and would agree to
    > share with me their experience? TIA for any suggestion.
    >
    > Regards,
    > Victor Manta
    > >>
    >
    > "Ben" wrote in message
    > news:[email protected]...
    > > Hi Victor,
    > >
    > > I have done a lot of similar work.
    > >
    > > Exactly what did you try and what specific errors did you encounter?
    > >
    > > What you are trying is do-able provided the hardware you have suuports
    > > it.
    > >
    > > Please post (both here and to the DAQ group)
    > > the details of the hardware you are using,
    > > versions of software being used,
    > > Examples that you are using,
    > > error codes that occured,
    > > posibly post example code showing the problem.
    > >
    > > Ben
    >
    > Hi Ben,
    >
    > I use two PCI-MIO-16E-1 cards, connected by RTSI. I'd like to stream the
    > data from both cards in real time to a binary file, after having added a
    > header to it.
    >
    > For tests, on the channel 0 of each card is applied the same square wave,
    > 100 Hz.
    >
    > Yes, the hardware support RTSI. I use LabView 6.1.
    >
    > Till now I have:
    >
    > 1. Combined the "Two E-series Shared ScanClk.vi" and the "High
    > Speed Data Logger.vi" into a DAQ VI. To do this, I have "doubled" and
    > adapted the "High Speed Data Logger.vi". For testing purposes the data are
    > stored in two files, always the same ones (the old ones being overwritten
    > after each acquisition).
    >
    > 2. "Doubled" and adapted "High Speed Data Reader.vi" into another VI, for
    > reading from both files, mentioned earlier.
    >
    > What already works:
    >
    > - The headers for both files are correctly stored (VI point 1.)
    > - The acquired data from the first card (device 1) are correctly stored
    (VI
    > point 1.)
    > - The VI (point 2.) that reads both files and displays the results works
    >
    > What doesn't work:
    >
    > - The acquired data from the second card aren't stored at all (VI point
    1.)
    > - An error message says: "Error -10608 occurred at AI Buffer Read.
    Possible
    > reason: NI-DAQ LV: No transfer is in progress for the specified resource."
    >
    > I think that I understand this message, but I don't know how to continue.
    >
    > The DAQ VI can be downloaded from (please click the link, then the link on
    > that page; about 100K, zipped):
    >
    > http://www.swissheartnet.unibe.ch/labview.htm
    >
    > Thanks a lot in advance.
    >
    > Regards,
    >
    > Victor Manta
    >
    > PS. I don't know which DAQ group you mean.

  • Q: Acquiring data using two E series devices connected by RTSI and streaming data to disk

    I use two E series PCI Cards, connected by RTSI. I'd like to stream the data
    from both cards to a binary file and to add a header to it.
    I also need to somehow read (plot) the stored data, this with another VI.
    The whole should be then integrated into an existing program, that used just
    one acquisition card.
    Till now I have tried to combine "Two E-series Shared ScanClk.vi" and "High
    Speed Data Logger.vi" into another VI, and I have tried to read the stored
    data with the "High Speed Data Reader.vi". The problem is that I fight with
    one error after another, what prevents me from going further.
    I use LabView 6.1, under Windows 2K.
    Has somebody by chance already done something simi
    lar and would agree to
    share with me their experience? TIA for any suggestion.
    Regards,
    Victor Manta

    << (My first posting)
    I use two E series PCI Cards, connected by RTSI. I'd like to stream the data
    from both cards to a binary file and to add a header to it.
    I also need to somehow read (plot) the stored data, this with another VI.
    The whole should be then integrated into an existing program, that used just
    one acquisition card.
    Till now I have tried to combine "Two E-series Shared ScanClk.vi" and "High
    Speed Data Logger.vi" into another VI, and I have tried to read the stored
    data with the "High Speed Data Reader.vi". The problem is that I fight with
    one error after another, what prevents me from going further.
    I use LabView 6.1, under Windows 2K.
    Has somebody by chance already done something similar and would agree to
    share with me their experience? TIA for any suggestion.
    Regards,
    Victor Manta
    >>
    "Ben" wrote in message
    news:[email protected]...
    > Hi Victor,
    >
    > I have done a lot of similar work.
    >
    > Exactly what did you try and what specific errors did you encounter?
    >
    > What you are trying is do-able provided the hardware you have suuports
    > it.
    >
    > Please post (both here and to the DAQ group)
    > the details of the hardware you are using,
    > versions of software being used,
    > Examples that you are using,
    > error codes that occured,
    > posibly post example code showing the problem.
    >
    > Ben
    Hi Ben,
    I use two PCI-MIO-16E-1 cards, connected by RTSI. I'd like to stream the
    data from both cards in real time to a binary file, after having added a
    header to it.
    For tests, on the channel 0 of each card is applied the same square wave,
    100 Hz.
    Yes, the hardware support RTSI. I use LabView 6.1.
    Till now I have:
    1. Combined the "Two E-series Shared ScanClk.vi" and the "High
    Speed Data Logger.vi" into a DAQ VI. To do this, I have "doubled" and
    adapted the "High Speed Data Logger.vi". For testing purposes the data are
    stored in two files, always the same ones (the old ones being overwritten
    after each acquisition).
    2. "Doubled" and adapted "High Speed Data Reader.vi" into another VI, for
    reading from both files, mentioned earlier.
    What already works:
    - The headers for both files are correctly stored (VI point 1.)
    - The acquired data from the first card (device 1) are correctly stored (VI
    point 1.)
    - The VI (point 2.) that reads both files and displays the results works
    What doesn't work:
    - The acquired data from the second card aren't stored at all (VI point 1.)
    - An error message says: "Error -10608 occurred at AI Buffer Read. Possible
    reason: NI-DAQ LV: No transfer is in progress for the specified resource."
    I think that I understand this message, but I don't know how to continue.
    The DAQ VI can be downloaded from (please click the link, then the link on
    that page; about 100K, zipped):
    http://www.swissheartnet.unibe.ch/labview.htm
    Thanks a lot in advance.
    Regards,
    Victor Manta
    PS. I don't know which DAQ group you mean.

  • PCI 6221 Generating a Voltage Output

    Hello everyone,
    I am trying to use a PCI-6221 to provide an analog output voltage of 5V and use the AI to read the returned signal using labview. Does anyone know how I can do this using this hardware device?
    Thank you

    Hi lrving9,
    First you will need the DAQmx driver, here is the link for you to install the latest version.
    NI-DAQmx 15.0.1
    http://www.ni.com/download/ni-daqmx-15.0.1/5353/en/
    If you already have it, then go ahead and take a look at this examples:
    This one shows you how to output an analog DC voltage.
    Community: Output a Constant Analog Voltage
    https://decibel.ni.com/content/docs/DOC-18631
    Then do you have a connector block to connect the signals?
    If you do, then you can just create a task to read a Continuos Voltage Input, like in this example
    Community: Voltage - Continuous Input
    https://decibel.ni.com/content/docs/DOC-25105
    If you do not have a connector block and have no way to connect the AO to an AI, then you can read the internal AO channel, like shown in this link (there is an example at the bottom):
    Is It Possible to Read the Value of Analog or Digital Output Channels?
    http://digital.ni.com/public.nsf/allkb/CB86B3B174763C3E86256FFD007A2511
    Also when you install the driver some examples are installed as well, this shows you how to get to them:
    Where Are NI-DAQmx Examples Installed?
    http://digital.ni.com/public.nsf/allkb/E3BAF6FC4017960B8625755A00525D37
    Regards,
    Carolina 
     

  • Can the M Series PCI 6221 control 24 VDC solenoid valves like the NI 9477?

    Hi,
    I am working on a project where three solenoid valves requiring 24 VDC and 8 Watts must be controlled by a PCI 6221 multifunction DAQ.
    I read on the NI website that an external power supply and the NI 9477 can be used together to actuate solenoid valves.  Since I already have the PCI 6221,
    I was wondering if an external power supply would allow the PCI 6221 to power the valves.
    Sincerely,
    Tristram Jordan

    Hey,
    Is there any way to control solenoid valves using the PCI 6221 DAQ card? Is it possible for the DAQ card to control a driver circuit for the valves?
    If there isn't an alternate way to control the valves, which DAQ do you recommend purchasing to control 3 solenoid valves and a pressure transducer?
    I am not familiar with the compactDAQ. Does the digital output module need to connect to a DAQ card within the computer? If not, how does it communicate with the computer?
    Sincerely,
    Tristram Jordan

  • High CPU load when sampling from two PCI 4472

    Hi,
    LabVIEW 8.6, DAQmx 8.7.2  PC: Pentium 4  3.2 GHz, 2 GB Ram, Windows XP Prof Service Pack 2
    I have an application with two PCI-4472 cards connected together with a RTSICable and I am sampling at 44.1 kHz.
    When I only sample from one of the cards the CPU load is about 2-3 % regardles of whitch off the cards I am sampling from.
    But when I sample from both cards ths CPU load goes up to 50-60 %.
    I have made an clean VI with only an DAQ Assistant and this gives the same result: 3% + 3%  = 60% ... ???
    What can I do to get the CPU load down when using two PCI-4472 cards ?
    Kind regards
    Leif Christensen

    This is happening to me too, but i found a solution. try to change the way you look at music , on the left of search is 4 buttons, List view , Album List view, Grid view , Cover Flow view. try to change the view, then view your cpu usage, it worked for me, but not for my friend, so im not sure that it will work

Maybe you are looking for

  • Installment payment term with full tax in one installment

    Hi, I have a requirement where customer is looking for a payment term which is like this 1. X% of invoice amount + 100% VAT amount due to XX days 2. rest of invoice amount due in YY days (No Tax) We can have a payment term with 'Installment Payments'

  • NLS SUPPORT FOR ORACLE 8I

    I am trying to use the NLS support of Oracle 8i on windows Nt/2000 platforms. I have tried configuring the database characterset and the national character set as 'IN8ISCII' - the one prescribed in the NLS documentation for India territory and Hindi

  • Is RoboSource Control compatible with Windows 8?

    Is anyone using RoboSource Control with Windows 8.1? I've heard rumours that it isn't compatible. Thanks Jonathan

  • FM STATUS_READ_MULTI

    wht kind of S.Order errors this FM STATUS_READ_MULTI will return ....a program is using it but it behaves in a different way when i use it for a single order and for mutiple orders

  • Privilege setting in Discoverer OLAP

    Hi, One of my customer has the following issue: Powerful role OLAP_USER is assigned to the role D4OPUB, on first-time creation of a Discoverer catalog. However OLAP_USERS has a lot of system privilege, like create table, create dimension. We have a n