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

Similar Messages

  • 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

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

  • Auto Setup a four channel oscilloscope using two NI 5112 boards

    I have two NI 5112 boards and want to design a four channel oscilloscope supporting auto setup.
    I refer to the "niScope EX Getting Started.vi". I have studied the "niScope Initialize" and "niScope Auto Setup" in the "NI SCOPE VI Reference Help".
    The "niScope Auto Setup" generates no trigger output. Would it still be possible to auto setup a four channel synchronized display using two NI 5112 boards?
    How can I using property nodes or by other means find out:
    1. If there is a signal present on ch0 and what vertical range "niScope Auto Setup" has setup?
    2. If there is a signal present on ch1 and what vertical range "niScope Auto Setup" has setup?
    3. If there is no signal on a certain channel?
    I
    intend to use and modify the �niScope EX 5112 Synchronization.vi�

    There are no NI-SCOPE functions to automatically do an autosetup on two synchronized 5112s. However, you can use niScope Auto Setup.vi on each of the 5112s individually, then reset the slave trigger parameters back to digital with the proper source. The other synch parameters (clock out/in, synch pulse, trigger out) should not be effected by the auto setup.
    If the autosetup routine cannot find a signal on either channel, it will return a warning. If autosetup cannot detect a signal on a particular channel, it will set the lowest possible vertical range. To find out if there is a signal on a particular channel, take a short data set and look at it. NI-SCOPE does not provide a way to get this information any other way. If you know your signals wi
    ll always produce a range greater than the smallest range of the 5112, you can use the vertical range as the way of telling that no signal was detected.
    You can query almost any current parameter from the driver using property nodes. The vertical range is channel specific, so first set the Active Channel, then query for Vertical->Vertical Range. A word of warning when querying parameters. NI-SCOPE is IVI compliant, so the values you get from querying the property nodes are based on the IVI specification, not the NI-SCOPE LabVIEW API. Sources will always be strings and some properties have the same format, but different mappings. For example, the trigger slope in the LabVIEW API is mapped 0-positive, 1-negative. If queried from the property node, 0 is negative and 1 is positive due to the IVI spec. There are not many of these. You can easily find them by looking in the block diagram of the set VIs for look-up tables (array constants).
    Good luck! If you
    still need more help, post a reply
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • 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

  • What needs to be done in order to bring in a signal to a SCB-68 and have the SCB-68 caculate the frequency, etc. using a PCI-6052E board in LabView?

    I am using a basic function generator to create a signal to channels ach0,ach1,& ach2, using resistors as a way to change the signal a bit. I have built a VI to see these three waveforms, but I'd like to be able to use the internal counter of the SCB-68 to measure the pulse width and be able to convert it into a frequency measurement that can be displayed on the front panel. I've looked in the NI 6052E manual, but it is very vauge. Any help would be useful. Thanks
    SQ

    Hello;
    First of all, you need to make sure the three waveforms are TTL leveled, since the counters only support that data type.
    After you clear that out, you will need three counter to do frequency measurements on the three waveforms, and the board you have there has only two counter available.
    In case you have the thre counters, you can connect the pulse trains on the gate input of the counters, and use one of the two timebases to be the source input. You need to configure the counter to do buffered event counting. Then, the number you catch in the buffer will be the number of pulses that elapsed in between two active edges of your pulse train. Since you will know which time base you chose, you can do a simple math to calculate the total time.
    Hope this
    helps.
    Filipe A.
    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

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

  • 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

  • PCI-6221 pwm on separate 24 channel outputs

    We have a PCI-6221 board and want to produce 24 separate 100 hz pwm signals. All 24 signal will be at the same frequency but they will all have different duty cycles. What is the best way to develop these separate 24 pwm signals?

    hei,
    i am not familiar with the word "pwm". explain.
    i guess you want to use the DIO signals, at 100Hz? this card has about 1MHz frequency. therefore depending on the accuracy of your waveforms, you can go to lower time base.
    Once this is set, you can use DAQmx for addressing either all channels together, or one at a time. i would opt for the "1-channels n-samples", where your 1 channel is actually the whole combination of the 24 ports out.
    in order to do that you will have to compute in advance (or at same time as you output to buffer), the whole 24bits for each cycle. that is one reason you might want to lower your timebase - lots of computation.
    all you have to do now, is create a subvi wich will create 24 rows lists of values. the list will be following your timebase, say 1MHz.
    then, assemble all columns into 3 words (3*8bytes), or one 32bit long. that will depend how you enter the data to DAQmx.
    at the end you expect to have a single 1D array with all info for all 24 channels at a specific time. you enter that into buffer and start task.
    for futur implementations, say if you want to do that for 100s of seconds, you will have to regenerate those function while it is running. we will get there as you finish the first step.
    Is it helpfull?
    Gabriel
    ... And here's where I keep assorted lengths of wires...

  • 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

  • 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

Maybe you are looking for