Digital I/O of PCI 6224

Actually I have a small doubt regarding PCI 6224.So far I have seen that the digital pins are only used for frequency measurement and PWM generation. But there are 48 digital pins which is more compared to analog pins. so can you suggest me some new applications using these digital pins

First of all, the frequency measurements and PWM generation can only be done on the counter pins.  As far as the other static DIO, I've used them for relay control, UUT communication (read and write), microcontroller communication, read UUT output status, and more of the sorts.  DIO are extremely important for test sets.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • Transmit/Receive Manchester signals using digital output of PCI 6224

    How can a manchester signal be transmitted and received using the DIO of the pci 6224 board?
    I want to create a NRZ manchester signal on a digital ouput channel and then have the ability to receive and interpret the same type of signal on a digital input channel.
    Any assistance would be greatly appreciated.
    Solved!
    Go to Solution.

    Hi VJohnson,
    You might find this discussion forum post useful.
    Looks like LabVIEW does not have Manchester coding/decoding built in, but it should be do able in your VI by replacing every element with the corresponding two elements, and using double the baud rate as your clock rate.
    Thanks
    Scott M.
    Applications Engineer
    National Instruments

  • Interface with I2C SDA and SCL with PCI 6224 digital ouputs in C/C++

    I am trying to use the pci 6224 in order to send SDA and SCL to an I2C. I have been able to control the Digital Output, but I have been unsuccessful with generating a clock source to satify the I2C. I am writing this code in C/C++. Any ideas or examples would surely be appreciated. I need a good starting point, but I have not been able to find any useful examples that have worked. I am using the SCB-68 and I am trying to use my digital multi-meter to verify my code. 
    I have looked at the examples provided, but is there a description of these functions that are being called using the NIDAQmx.h? 

    Hello VJohnson,
    The counter will give you control of the clock frequency and duty cycle.  However, this card also has correlated DIO, which means that you can clock your digital lines.  Because of this, you can write a specific pattern (101010) to the buffer and just have it continuously output.  However, you will have to write this in a way that you know what values you're writing based on the part of the clock you're at.  
    My I2C implemetation knowledge isn't the greatest, so I do not know how big each of your communication packets will be, but one implemetation would be to write your data in packets to regulate your SDA and SCL lines.  The WriteDigChan-ExtClk is the best option that shows how to write a digital channel with a clock.  You will just need to modify the DAQmxCfgSampClkTiming( function call.  The second input should be changed from "/Dev1/PFI0" to OnboardClock or NULL.  Hope this helps! 
    ColeR
    Field Engineer

  • How do I connect and detect a high frquency pulse (0-3500hz) with a variable pulse voltage (0v low,5-10v high), on a SC-2345 connected to a PCI-6224?

    How do I connect and detect a high frquency pulse (0-3500hz) with a variable pulse voltage (0v low,5-10v high),  on a SC-2345 connected to a PCI-6224?  Labview doesn't generate a waveform if I try to graph the signal, and my analog input doesn'y recognize that the signal is even pulsing, only that it has a voltage.  Some advice would be much appreciated.
    Thanks in advance,
    Garrett

    Hi Garrett,
    It sounds like you want to do Frequency Measurements of a signal that is somewhat digital.
    There are two ways you can really do this:
    Wire your signal to the counter input and use the Digital Frequency examples (Help > Find Examples > Browse > Hardware Input and Output > DAQmx > Counter Measurements > Digital Frequency)
    Continue taking analog measurements and use some sort of logic to determine where you are getting rising and falling edges.
    I would recommend doing method #1, but you must determine which one is the best for your system.
    If you want to connect to the counter pins then you will find the
    terminals located on the side of your SC-2345.  If you don't need
    to condition your signals then simply wire everything into the proper
    pins for your counter (below).
    Default NI-DAQmx Counter Terminals (Connector 0)
     Terminal 
     Counter Context (Default) 
     Motion Encoder Context 
     Signal Name 
    37
    CTR 0 SRC
    CTR 0 A
    PFI 8
    3
    CTR 0 GATE
    CTR 0 Z
    PFI 9
    45
    CTR 0 AUX
    CTR 0 B
    PFI 10
    2
    CTR 0 OUT
    PFI 12
    42
    CTR 1 SRC
    CTR 1 A
    PFI 3
    41
    CTR 1 GATE
    CTR 1 Z
    PFI 4
    46
    CTR 1 AUX
    CTR 1 B
    PFI 11
    40
    CTR 1 OUT
    PFI 13
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • PCI 6224 error code -88302 during self test

    Hello,
    I'm having a problem with self testing my PCI 6224 board in my computer. I am able to run 2 different boards successfully on 2 different computers, but this computer is seeming to give me troubles.
    When I open NI MAX to run self test, it gives me an error code -88302 and says issue with connection. I tried unplugging the DAQ to my circuit and running the self test again but got the same error.
    How can I further trouble shoot this problem to take my next steps to resolving this?
    Thanks,
    Brandon Deal
    Brandon Deal
    RDD Intern
    Solved!
    Go to Solution.

    Yeah, at this point it does sound like a software problem on this particular compute - most likely an issue with DAQmx. What version of DAQmx do you currently have installed? When you were trying the first troubleshooting steps I recommended, did you just repair DAQmx, or did you upgrade to the latest version of the driver? If you just repaired your existing installation, you can try upgrading to DAQmx 9.8 instead. You can download DAQmx 9.8 from the link below.
    NI-DAQmx 9.8
    http://www.ni.com/download/ni-daqmx-9.8/4297/en/
    You can also try resetting the MAX configuration data. While it is rare for it to happen, the MAX configuration database can become corrupted, which can cause sytem issue like you're seeing. Follow the steps in the document below to reset the configuration data.
    What is the Process for Resetting the MAX Database?
    http://digital.ni.com/public.nsf/allkb/2C7480E856987FFF862573AE005AB0D9
    At this point it's probably just a matter of pinpointing which piece of software is malfunctioning/corrupted and repairing/reinstalling it. You can continue trying to do that for this machine, or, if you do have another working machine available, you could switch to that computer - whichever is more convenient for you.
    Regards,
    Ryan K.

  • Digital Handshaking with two PCI-DIO-32HS Cards

    Hardware: two PCI-DIO-32HS Cards
    Software: LabVIEW 5.1, NI DAQ 6.6
    Problem:
    I'd like to do burst digital handshaking with two PCI-DIO-32HS cards.
    One being used for sending bit stream while the other receive.
    Suppose I want to use burst handshake mode.
    How should I wire the connections?
    Where should I wire the REQ, and ACK line from the sending card?
    Should I wire REQ from card one to REQ of the other card?
    Also, how do I configure labVIEW VI to do burst handshaking mode.
    Can anyone send me a VI that can do this.
    Thanks a lot.

    Matt,
    I would recomend using the DIdoubleBufPatternGen.C examples that ships with NI-DAQ. You can find it in your \NI-DAQ\Examples\VisualC\Di folder. If you don't have this example on your machine, you can get it by running NI-DAQ Setup and selecting support for C/C++.
    This example does double buffering to allow you to continuously acquire data from your card. Data is transfered only when a full 1/2 buffer is ready. You can set how long to acquire data by setting the number of half buffers to read, or by modifying the read loop conditional parameters to fit you needs. See the NI-DAQ help on how to set you REQ pulse rate to 100kS/s.
    Nick W.
    www.ni.com/ask

  • Where we can use PCI 6224 in an electronic industry other than Testing?

    I have PCI 6224 card  and SCB 68 box with me. Upto now i have devoloped VIs for measuring volatges and currents and generating a test report. I want to further use them for some other applications. Can anyone suggest me some applications where can i use LabVIEW other than measurement and testing?

    This is a strange question.
    You can do pretty much anything you want to with LabVIEW.
    But a PCI 6224 is a DAQ card, a piece of hardware that is meant to measure electrical signals.  What else do you expect to use it for?  You could possible use it for a coaster, but that would be pretty lumpy.  An AOL CD makes a much better coaster.

  • Pci-6224 counter measurement

    We need to make simultaneous counter pulsewidth measurements with our PCI-6224 DAQmx card.  It has two counters and the function panel info/help indicates specifically that it can do simultaneous measurements by creating 2 different tasks (DAQmsCreatTask()) and then using two separate DAQmxStartTask() calls.  We then do 2 separate DAQmxReadCounterScalarF64() calls. 
      The problem is that DAQmxStartTask()doesn't initiate the measurement like the function panel documention indicates.  The measurement(s) aren't initiated until the DAQmxReadCounterScalarF64() is executed, which makes simultaneous measurements impossible (i.e. if the measurement isn't initiated until the Read, then the first Read will be executing while both simultaneous pulses are generated and the second read will be too late).  I've put breakpoints in and verified this repeatedly.
      How do I get the DAQmxStartTask() to initiate the counter measurement immediately?

    Hi nap3n,
    What Dustin said is true of buffered tasks, but it sounds like the original poster is using an on-demand counter task, which is where the device starts counting when you call DAQmx Read. I think your best bet might be to use buffered tasks by calling DAQmx Timing (Implicit) like in the Meas Pulse Width-Buffered-Cont example. It may also be helpful to synchronize their arm start triggers, though implicit timing will still cause them to drift apart depending on the input signals.
    Brad
    Brad Keryan
    NI R&D

  • Windows 7 et PCI-6224

    Hi,
    I have a DAQ board (PCI-6224) under Win XP and use Matlab to read the data.
    I'd like to upgrade to Win 7 for the summer... is there anyone that use this board under Win 7 (with Matlab)?
    if yes, what version of DAQmx?
    thank,
    MEK

    Hi !
    It depends of your OS !
    We can find the list of all DAQmx versions to this link : http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/fr/pg/1/sn/catnav:du,n12:en,n19:Windows...
    Benjamin

  • How to avoid dependance between output digital port with a PCI 1200 daq card?

    Hello,
    I don't manage to fix the state of a line on one port (PA0 for ex) without change the state of another line of another digital port (PB0 for ex)
    I use a PCI 1200 Daq card with Labview 5.0.1 (under Windows 98)
    How to configure a robust state (high logic level) on a line of a port??
    Does anybody have an idea on this problem?
    Thanks a lot in advance and happy new year to the community
    JF LAVEZARD

    jflab a écrit:
    Hello,
    I don't manage to fix the state of a line on one port (PA0 for ex) without change the state of another line of another digital port (PB0 for ex)
    I use a PCI 1200 Daq card with Labview 5.0.1 (under Windows 98)
    How to configure a robust state (high logic level) on a line of a port??
    Does anybody have an idea on this problem?
    Thanks a lot in advance and happy new year to the community
    JF LAVEZARD
    Hello,
    I've found the problem
    The PCI1200 has a chip 8255 for Digital I/O
    If I use the bad VI, it reconfigures the port and all the lines go in a low logic state
    so I'd to write only on the port or the line without reconfigure the port
    So the good VI in the palett is: Port Write and not Digital Port write!
    See attached file..
    Thanks
    Best Regards
    Attachments:
    port_dio.jpg ‏771 KB

  • Can I use the 2 digital triggers on the PCI-6023E to trigger 2 seperate Analog inputs on the same board?

    I want to monitor 2 analog DC signals (single point measurements, not a waveform) and I want to use the digital triggers to start the acquisition, 1 trigger for 1 AI. the measurements need to be made at 1Hz, maybe slower. Is this possible with the PCI-6023E?
    If not what hardware should I be looking at? I have a total of 6 triggers and 6 AI.

    Dimentia,
    I would need confirmation on what you want to do:
    1) I want to monitor 2 analog DC signals
    This means that you will have one Analog Input operation monitoring two channels. Please confirm.
    2) single point measurements, not a waveform
    Ok, no buffers.
    3) I want to use the digital triggers to start the acquisition, 1 trigger for 1 AI
    This would mean that a single digital pulse or edge on a single line would start your 2-channel analog input operation. Please confirm.
    4) the measurements need to be made at 1Hz, maybe slower.
    Hardware-timed or software-timed? 1 Hz could be easily implemented with software timing. But the triggering could force you to use hardware timing. It will not be a problem but it would be good to know.
    5) Is
    this possible with the PCI-6023E?
    Everything I mention above is possible with the PCI-6023E.
    6) I have a total of 6 triggers and 6 AI.
    This last phrase is what really confuses me and seems to contradict the previous sentences. Does this mean that you will want to perform 6 independent Analog Input operations, with its own triggers (one each)? Will every Analog Input operation have 2 channels?
    I'll clarify why this is important:
    - Each Analog Input operation can only have one hardware digital start trigger assigned to it.
    - Only one Analog Input operation (multiple channels allowed) can be performed per board at any time.
    Since the rates are so slow I would recommend that you perform sample all channels within a continuous acquisition and then discard the data that does not meet a certain condition. You could sample the triggers as well and discard those channels for which the trigger has not been received.
    These are just some ideas based on my assumptions on the
    problem. Assumptions are never a good thing so please confirm on the point s above and we'll try to help.
    Thanks
    Alejandro Asenjo
    Applications Engineering
    National Instruments

  • Generating digital pulses from the pci 6722

    I am trying to generate signals that will drive a piezoelectric motor. I need an analog signal that I will send to an amplifier and 6 digital pulses with varying offsets. I am using a pci 6722 and was hoping to get an offsets between the digital pulses to be around 2 microseconds. I am struggling  to find the best  way to get such exact time delays between multiple tasks. Any help  would  be greatly  appreciated.

    The actual offset times is not as important as the digital pulses firing sequentially and all within the envelope of the analog signal for multiple steps.  I guess my question is less about hardware limitations, and more about how execute my desired process in Labview. My experience in Labview is pretty rudimentary and I am struggling to see how to synchronize events in labview.  We are using a BNC 2110 to output our signals, and it is my understanding that the BNC 2110 has a 1 Mhz clock.  We are trying to import that clock from our device use that to clock timed loops and we are having some difficulties with the details.  I am honestly not sure if I am on the right track.  In hopes that it might add some clarity I attached a picture of the signals we are hoping to produce.  The orange signal is our analog output.  Between times t3 and t4 we need the 6 digital triggers to switch to "on" and we need them to all switch off simultaneously at t6.  Again we are definitely willing to compromise on speed if we can use the card we already have.
    Attachments:
    waveform.PNG ‏28 KB

  • No Digital Decoder or option to use optical digital ports X-FI PCIe sound blas

    Hi,I'm new to this board and I just got the new Soundblaster X-FI PCI express card. I'm dual booting both 32 and 64 bit versions of Windows XP and I don't seem to have any access to my digital optical ports. I dont have the doby digital decoder tabs in the sound settings on either windows or the Creative software. I'm a bit confused as I thought that would have installed when I ran the setup from the disk. I feel kind of dumb since im going to assume something either didnt install right or I might have to download something. I know the card has to support digital audio as it has the ports so maybe something is not set right? I tried doing a search but couldnt find anything specific to my problem. Thanks in adavance,SDB

    Well, after a more detailed search I have found out that the Creative Labs PCI express X-Fi xtreem audio sound card can not decode DTS or Dolby. I was confused as I didnt know it didnt have that ability. Poop. I have to say that it might behoove Creative to make that clear on their website as I would have bought a better one had I known. Otherwise the card is awsome and I'm just going to have to pay the restocking fee but at least I can get most of my money back from where I got it. Seriously, I should have done a better job at doing my homework. I'll probably get another X-Fi card cux it sounds awsome with my new creative 7. speakers. Just wish I had known before hand. Anyway, maybe this will be helpful to other people.

  • 5th media live with no digital output, and now pci slot is dead

    you may recall my previous thread, where my 4th media live, still had no spif digital output.  well i sent it back to ebuyer and got another one, and low and behold the same, only this one is noisyer and the pci slot seems to be dead!
    i have tried a couple of devices in the riser card, and non of them seem to be recognised?
    anyone got any ideas.
    cheers
    john

    OK Status update:
    I posted this question on the Dutch forum as well. I am happy to tell you all that in the Dutch forum Dragonfly is one of the moderators. He knows his MSI stuff
    He gave me the solution to my problem. So just in case anyone else has a similar problem and can't read Dutch, here it is
    He advised me to start the Media Live up with no monitor or TV attached to it at all. Then start up with either a monitor or a TV attached to it. Lo and behold.... the problem is solved.
    All credits for this solution go to Dragonfly 
    Greetz,
    J@n
    PS Mark topic as SOLVED

  • Can i generate PWM output from digital out of my PCI 7041 RT DAQ card?

    I want to generate 4 PWMs using my PCI7041 card. I do have only 2 analog outputs and 2 counters to output my signal that's why I want to use digital out of my card for PWM. How can I do that? If there is any example then please let me guide that way.

    Hello rajen,
    There is a good link to PWM in LabVIEW using counters here.
    As for using analog output, you will need to be able to continuously update your output waveform. I've attached a program that demonstrates this. Hope this info is helpful.
    -Alan A.
    Attachments:
    Continuous_Analog_Out_Update.vi ‏139 KB

Maybe you are looking for

  • Problem: Creating Charts in RTF Templates

    I am using BI Publisher Template Builder for Word. I am using Word 2007 and the patch 9821068 of the Template Builder. I am attempting to create a chart in an rtf template using the chart wizard. I can go through the wizard fine and preview my chart

  • My safari browser seems to be missing on my 3g iphone.  How do I get it back?

    I seem to have deleted my Safari browser on my 3g iphone.  Any idea how to recover or reinstall?

  • Mac OS 10.6.1

    We just purchased a Macbook for my wife. The out-of-the-box Safari and Firefox software won't load sites like apple.com; huffingtonpost; ebay; yahoo; people.com; and any google searchable images. Huffingtonpost won't load at all. The other sites try

  • After iOS 5, calendar info older than 1 yr is gone

    I updated my iPod Touch 4th gen from 4.3.5 to iOS 5 yesterday.  After the long process, I noticed that my calendar info only went back to Oct 12, 2010!  In settings, Calendar -> Sync is set to All Events.  Can I still get that info back from the back

  • CVI aborts with no warning when compiling

    When I compile a simple instrument driver with the CTRL-K shortcut in CVI 2009 (9.1) it aborts CVI without warning No popup, no nothing. All I had done was delete a typedef in the driver file for a structure containing GPIB configuration info. After