Triggering of a task by using PFI on a Board of PCI-6221 (37-pin)

Hello everyone,

I need material triggered acquisition, use of the PCI-6221 (37-pin) card board. In LabView, I used the simple program (see attachment): in a data acquisition assistant, the start of the task is set to 7 PFI. However, to make a PFI7 pulse does not trig acquisition and I get timeout error.

When I test the same, but using the standard PCI - 6221 Council (i.e. 68 pins), everything works fine.

I have to do extra to PFI configuration when I use the Council 37 pins? (Note: the same PIN is assigned to the PFI7 and digital line P1.7).

Thank you.


P.S.: I use LabView 8.0, OR-DAQmx 8.7.1 and Windows XP Professional.

Problem was curious, but it is solved now:

-OR-DAQmx wasn't actually 8.7.1 8.0.0; I have updated (but it still didn't work)

-J' replaced the virtual channels by the corresponding physical channels; He began working

-J' replaced return physical virtual channels, and it works always :-)

It seems that there is a bug somewhere in OR-DAQ.


Tags: NI Hardware

Similar Questions

  • DEP DEP is triggered when I try to use MSWorks. When I try to disable it for this app it says that it cannot be disabled


    DEP is triggered when I try to use MSWorks.  This has just begun.  When I try to disable it for this app it says that it cannot be disabled.  What is going on?

    Try this:

    Restore point:

    Do Safe Mode system restore, if it is impossible to do in Normal Mode.

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    Read the above for a very good graph shows how backward more than 5 days in the System Restore Points by checking the correct box.


    Above is a tutorial on how to turn off DEP for a particular program.

    See you soon.

    Mick Murphy - Microsoft partner

  • Schedule a task by using the service account

    To schedule tasks by using the service account and he could be executed in more than one PC. Please suggest and provide some example or screenshot.

    Hi Ravikumar,
    Thanks for posting your question in the Microsoft Community Forum.
    Based on the information, you find out to schedule tasks by using the service account and to run in multiple PCs.
    It would be useful that you can answer the question to help you further.
    Your system is connected to a domain?
    If your system is connected to the domain, the question you posted would be better suited for the IT Pro TechNet public. I would recommend posting your query in the TechNet Forums to get help:
    Let us know if you need help with Windows related issues. We will be happy to help you.
  • Issue of multiple Disqualification tasks that use the same snapshot

    Details of the environment


    Disqualification Version:

    A snapshot has been created in which the WHERE clause is outsourced and this snapshot table is used in a data quality process.

    Since there are different values passed to the WHERE clause, different jobs who have their own data quality process, but these process reads from the same snapshot table.

    Disqualification does not allow execution of different tasks that uses the same shot to run at the same time.

    Job1 is in operation, job2 throws an exception that the snapshot is locked.

    Any reason why Disqualification has this restriction? Processes are just doing a read on the snapshot table operation, so I was wondering why it was necessary to lock the object.

    We have more than 60 jobs that use the same snapshot and it would inhibit scalability if we are forced to run 60 jobs in sequence and not allow them to run in parallel.

    Can you advice how to fix this problem?

    The short answer is that each task must be executed with his own label of execution. Otherwise, each work is actually being run in the same context, and you will have problems of blocking.

    Please read on the labels of the execution and run profiles in the online help.

    Note that when running with a label of execution, complete results are not written; you need to decide exactly what to write work featuring the views of results you need. All data staged (including the snapshot itself) will be written with a label execution context and you can view the results in the Console of the server. Director will only show the results of the last run.

  • How can I activate several tensions trigger on the PCI-6221 using NOR-DAQmx?

    I use the card to make an acquisition of data simple PCI-6221.  The idea is to allow three different analogue voltages trigger the State of data acquisition.  I currently put code in place for a trigger voltage but I'm not sure what to do to add two additional trigger voltages. Any ideas?

    Thank you.

    Hi capncane,

    The 6221 is not able to do an analog trigger so DAQmxCfgAnlgEdgeStartTrig will not work for your card. Is your relaxation a digital signal? If so what kind of logic level is? If it's TTL, you can use the PFI lines. If this isn't the case, you need to trigger as I mentioned in my previous post.

  • Need help on the use of the PCI-6221 and c# to control three digital Port and an analog of entry

    I need to send the digital output at three ports and then read an analog input voltage using the analog card PCI-6221.

    I did a c# program to fight against it. I built four tasks altogether. Three tasks for three digital output ports and a single task for analog input.

    How can I reduce the time?

    Using my method, to 3.3ms in total. And it's slow.

    I can build one task for three ports?

    What is the best way to the control task to reduce the time of communication with the PC?

    Is that possible to save a lot of analog reading entry in the memory of the DAQ hardware and then read it all together from the computer in order to reduce time consumption?

    1 million thanks!


    Hi Jin,

    To answer your questions, Yes, you are able to configure a task of digital output to use three output ports and PCI-6221 has a buffer of memory FIFO aboard 4095 samples.

    I would like to direct you to the example of NOR-DAQmx for c# files located in the following location on your computer

    C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DotNET2.0


    Here, you will find predefined examples in c# that should give you a good idea of how to go about architecting your code to achieve the results you need.

    There is also a useful help file which you will find by navigating to Start > all programs > National Instruments > NOR-DAQ > help of NOR-DAQmx .NET Framework 2.0

    I hope that this answer is useful.

    Best regards

    Steve H

  • I use pci-6221, I need her to interface with thermocouple with voltage up to 5v

    I use as my pci-6221 or data acquisition card and card 8.2.this labview version gives the constant 10.5 volt signal in at the entrance to analog channel AO on pin 68 and 34. why it shows 10.5 although I did not connect any input.i use type k thermocouple and after signal conditioning with tl0804 I need it interface with AI 0.i channel unaware aware of off the road on the output pins this Card.i need to operate an electric rod that needs 24 volt DC.i give entry to the pins HAVE with variable dc power block after reaching the limit I set(eg:2v) it jumps instantly to 10.5 volts.

    You have your task to acquisition of data configured for the mode differential or asymmetric acquisition for the analog input?

    I don't understand your comment about to connect the pins WITH a DC power supply.  Why is that you connect a DC power supply to the analog input?

    Using an analog output or digital output to operate the electric rod?  I'll assume that you are looking for on/off control.  A digital output is not the voltage or current to drive something that big.  You may be able to find a relay for coil 5VDC.  Check current requirements.  With which you can have the relay to connect or disconnect a power supply of 24 VDC is the actuator.  Make sure you have a protection diode across the relay coil wired, so that the magnetic field of the coil does not damage the analog output of your card.

    Another possibility is to have the 5 VDC output transistor circuit switches the 24 VDC circuit.

  • After you have installed windows 10, I can't use apple wireless key board and mouse magic. any solution

    I am facing a strange situation. I used Win7 on BootCamp. Last week attempted to upgrade to Win10. After the upgrade is perfect, I could not connect to the wifi or wired internet. called the Apple support, Windows supports, no one would help you. Downgraded to Win7, after decommissioning, apple wireless key board and mouse magic does not work. Called Apple support, after nearly 90 minutes of interaction with them, ZERO, no solution result. Apple support told me that an Apple engineer will call me at my appointed time. A call came, but no one answered.

    So, today did a clean install of Win10 through BootCamp. All right, BUT I still can't use apple wireless key board and mouse magic. Can someone help me with this situation? Apple & Microsoft support engineers have failed to help out me. Thanks in advance.

    Have you installed the Boot Camp Windows Support software?

    If you do not see some Mac functionality if you are using Windows on your Mac - Apple Support

  • Selection of encoder to use with NI PCI-6221 for a project of inverted pendulum

    Hi, I'm a mechanical engineering student is his last years, for my final project I do an inverse pendulum system, the University already offered me this data acquisition card which is a NI PCI-6221, and I have to get the other components (motor continuous, encoders, cables, servoamplificateurs, etc.).

    My concern is to choose the right encoder so I have no problem... I was told that the best way to measure the position of the carriage uses an absolute encoder mounted on the motor shaft and some incremental encoders for measurement of angles of clock, but I don't know if the 6221 can handle this kind of data to an absolute encoder, and if so, what are the main parameters for selection? as the format, the number of bits.

    In the case where it doesn't work I have to go with the option of incremental encoders for both measure the position of the carriage and the angle of the pendulum, I believe the 6221 can manage entries in quadrature encoders, there´re a lot of examples of this, but since models of incremental encoders are wide enough there´re some features that I worry about : frequency vs the sampling frequency response and the output type.

    I found a catalogue which includes two types of digital incremental encoders said their models have 300 KHz frequency response, being the only differences, the output and food, anyway the 6221 can handle this freq resp? sampling rate of the card being 250 kech. / s, would there be any conflict?

    They offer two types of output: TTL/74LS04 and line pilot, and even if I go further with the hohner encoders they have the following outputs/freq RESP: RS-422 (TTL compatible) / 300 KHz, push-pull differential/200 KHz, NPN Open Collector/100 KHz and push - pull without complementarity/200 KHz.

    Any help would be well received

    PD: I don't know if a similar topic has already been posted, I'm again like this... I searched in other posts, but found nothing,

  • I use an analog input on a PCI-6224 and are having problems with the clock source

    I use an analog input on a PCI-6224 and are having problems with the clock source. I'm trying samples of 16 different analog inputs very quickly. I have the sample mode: Timed Single Point material. The rate, that I am running is the maximum (250 kHz (15625Hz per channel)). I left the default clock source and trying to taste several times. The analogue input works for a short time (2-3 seconds) and then everything stops. I'm doing something wrong or is there something I'm missing? Any advice would be great.

    That's how you samples using the sample clock clock. If you see a delay then something is wrong with how you track/data visualization.

    Single point NI the hardware is for PID control with a real-time operating system.

  • In the resolution of the technical document ADC PCI 6221 = 16 bits at 250 kech. / s means I use all channels, then each sample channel = 15,625 kech. / S ?.

    In the resolution of the technical document ADC PCI 6221 = 16 bits at 250 kech. / s means I use all channels, then each sample channel = 15,625 kech. / S ?.


  • Module AO trigger using PFI on the cDAQ-9188

    I use a cDAQ-9188 chassis with an AO (NOR-9264) module.  Is it possible to configure a PFI (channel on the frame) as an input signal to synchronize an AO channel with the trigger?  Here's what I'm trying to do.  I need a channel on the AO module to switch voltages in sync with the trigger when the user "push a button".  So once the button is pressed, the channel of the AO will not change until the next trigger pulse.

    Thanks for your help


    Hello Ben

    I hope you are well.  The consensus is that it is possible.  Have you tried this yet?  If so, can you tell me what you have tried and how you made a lot of progress?  I recommend the following VI example: Cont Gen tension Wfm - Ext  Are you able to get all the functionality you are looking for this VI.  It was recommended that I'm showing you this.  We find this VI under help--> find examples and then material input output &--> DAQmx-->--> voltage analog generation.

    Please let me know how you are progressing and if you have need of all aspects of this example explained.  Thanks for choosing National instruments!


    Greg S.

  • tasked.exe uses 99% of CPU

    original title; tasked.exe

    Begins 2 to 3 minutes after starting the machine.  Uses 99% of CPU.  Complete the process stops programs, but it restarts in a few seconds.  Does not appear in the registry analysis.  Hides in the folder data, app under temp folder ACD.  Has 3 files in the folder.  Normal attempts to delete files or folder does not work.  I was able to successfully delete files and folder using a kill, but within 5 minutes the program and records and files were back.  The files do not appear in the registry analysis, aren't in the batch to start.  I've seen references to the file on the web, but on non-English sites.  It seems that the issue is important in Germany, because several of the reference sites are in German.

    The file hogging 99% of the time CPU, the machine ends up with little value to the user.  It also interferes with access to internet, specially when you are trying to communicate with an exchange server.

    If someone has encountered this problem, I would appreciate any information you may have to permanently remove the files/folders.

    Thank you


    Not a virus.  Trace program to Asia and Germany.  Version of rogue of an old Corel. DLL file.
    Has had a few days within the registry to track all change of name/alias and refill/change of name entries, but I finally beat him.

    Its very common in Europe.  Very surprised by Symantec and McAffee had nothing on this subject.

  • Scheduler - not triggered when the task "run if the user loged on or not."

    I m, creating a task that is mapped to a file is to run,

    I have his work automatically and manually when the option (button) "run only when the user is logged on" is selected.

    but the automatic/manual RACE does not work when the option (radio button) "Run if user logged on or not" is selected.

    Please help us to solve the issue.

    "Run If the user of connect or not" only works if the task does not call a user interface.  I have found this workaround to How to run. BAT files invisibly - Ramesh Srinivasan and it works successfully "Run if user logged in or not ' in Task Scheduler batch files now.

  • In train to build a pacemaker triggered two pulses (in burst), using the PCI-6251 M-Series card.

Maybe you are looking for

  • iPhone & Phonak Compilot Air II

    Today I had an air compilot 2 audio stream to my hearing aids Phonak V90, it works really well, I'm really impressed, it's so clever how it works, to be a bit picky, but the sound of radio streaming live sounds a little hail, I'd love to me in order

  • Why do I get ' open cms-2 - frame.html.

    Since the upgrade to version 9.0.1, I get a popup that says: opening cms-2 - frame.html; of

  • The link is authentic

    Is it true that, as long as I have the correct address in the address bar of my browser, so I can be sure that I am indeed visit the web site I want to visit?  In other words, if I see, it cannot be another site claiming to be the true

  • IOM create user CommandToolbarButton customization

    Hi - I'm trying to customize the button create a user on the search page - users.jsff using personalization of sandbox. The required functionality is to have a drop down to appear when you click on the CommandToolBar button (to create), with a list o

  • Training face to face for illustrator

    Hi allI'm just starting to learn how to use illustrator and other programs adobe and while that online videos are an excellent starting point I'm looking forward to trying to find a few classes face to face. I can see on the US site they have "Adobe