Digital ı/o problem in mseries 6229 daq card

In our lab, we have a 6229 M series daq card. We want to send digital output ,
( three square waves and their direction values for driving 3 dc motors.
We will change pulses or frequencies during application). we tried to send the signals from single lines
(altogether we need 6 lines.)  but we failed. We could only send pulses from counter ports but
unfortunately there are only  2 counter ports. Can anybody help us about this problem?
If anybody could also send a labview 7.x program for this application we will be thankful.

Hi,
You can use the correlated dio functionality of your M series board to output digital waveforms. However, you will need to construct the waveform before actually outputting the data. Here is the link to another discussion forum with more information on this including links to examples: How do I output a digital waveform?
Regards,
Hal L.

Similar Messages

  • 6229 DAQ Card: Problem if only one connector is connected

    Hi!
    I'm using a LABVIEW 6229 DAQ- Card to acquire signals. Unfortunately I only connected on of the Connectors of this card and left the other one unconnected (This means that one half of the analog inputs is connected to nothing). So far no problem :-) Unfortunately I'm still measuring signals on the analog input channles that are not wired to anything if I'm measuring signals on the analog input that are wired!?
    The signals of this unwired analog inputs are quite similar to those of the connected ones..
    If I only measure analog inputs that aren't wired to anything I see a voltage ramp or a constant voltage of -10V as I would expect. Any idea what could go wrong? All this seems a bit strange to me :-)
    Thanks for your help!

    But I also don't see ghosting at the unwired channels if i'm measuringsimultaneously
    at the wired channels. Only if I'm measuring only unwired channels I see ghosting at that is what seems strange to me...
    If I would always measure ghosting at the unwired channels everything would be fine :-)

  • NI PXI 6229 DAQ Card Digital Output High/Low Levels

    Hi everyone, I can't seem to find in the NI PXI 6229 DAQ spec what the Digital Output high voltage and low voltage is when I set a digital signal high and low.  What is the voltage when I set a Digital Output "HIGH" and what is the voltage when I set a Digital Output "LOW"?
    Thanks! 

    See the digital I/O characteristics section of the specs. Typical ttl levels.

  • How does the PCI-6229 DAQ-card communicate with CB-68LP connector block?

    Hello!
    I want to do a very simple task which is to just turn on/off a LED. I am using LabVIEW 7.1 and I have a DAQ-card PCI-6229. The DAQ-card is then wired to a connector block CB-68LP.
    Now my problem is to figure out how the connector block communicates with the DAQ-card?
    In the file I attached there is a picture of connector block and the device pinouts from the DAQ-card. But how do I know which of pinouts triggers some connector on the connectorblock?
    Which are digital outputs on the DAQ-card?
    Where can I read about this?
    Attachments:
    daqANDconnectorblock.bmp ‏2437 KB

    Hello asc01001:
    The digital pins of the PCI-6229 are labelled as Px.y, where x is the port name while y is the channel name.  For example, pin52 of the NI 6229 is P0.0; which is also port 0, channel 0 of the digital I/O of the DAQ card.
    While "D GND", which are located at pin53, pin18, pin50, etc. are the negative terminal of all digital I/O of the DAQ cards.
    Please advice if this helps.

  • 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

  • Setting different analog output's parameters in PCI-6229 DAQ card

    Hello,
    We are using DAQ assistant to set the analog output parameters (frequency).
    Is it possible to set different values for each channel using DAQ assistant?
    If not using DAQ assistant, what  is the other way to set it?
    Thank You
    Arunas

    If you are trying to set different frequencies for waveform generation on two channels, the answer is No, it can't be done. If possible, you will have to pick a sample rate high enough to work for both signals, and use an over-sampled waveform.
    Another choice would be to use a second device for the second waveform.
    John Weeks
    WaveMetrics, Inc.
    Phone (503) 620-3001
    Fax (503) 620-6754
    www.wavemetrics.com

  • DAQ card works with NIDAQ test panel but not with VB app/Component works

    I am seeing this problem with 2 different DAQ cards. The card works fine with the NIDAQ test panel, but acts like the return lead is lifted with my VB app. The plotted signal appears to be little more than noise. Channel scan is internally triggered; that apparently works fine. The VB app is running in this configuration successfully in other areas, and I fixed this problem once by swapping cards. Currently, I lack a spare, as my "spare" is showing the same symptoms. Any helpful hints?
    Card type: AT-AI-16XE-10
    Configuration: Double-ended input, +/-10V range
    Running: VB6, NIDAQ 6.1, ComponentWorks Std. 2.0.1, Windows NT 4.0 SP5

    I upgraded to NI-DAQ 6.8.1 (with patch), but no joy. The upgrade went smoothly, the card was recognized and I was able to set the resources without a problem. The test panel works fine looking at the actual signal on the target system: slowly varying DC between 0-5 V or so. My app works fine also, except that it behaves as though the A/D is not connected to anything: noise between .05-.1 V or so. I swapped DAQ cards between the test system and my development system. The problem appears to be in the test system, not on the card. Another test system, identical except for (now) the version of NI-DAQ, works fine. I'm stumped!
    BTW, why are there 3 DMA channels listed in the configuration for this DAQ? Do all 3 need to be assigned? I've run some systems
    for years with only the first 2 assigned.

  • PCI 7830R series DAQ card with SCB 68

    Can anybody how to mapp PCI 7830R card with SCB68, which was connected in 0 connector? is thier any VI as an example for this

    Hello Sir.... i created a VI in Project Explorer Methode to test the working condition of DAQ card PCI 7830R which i installed in my PC , in both Sub VI and the Host VI the programme is working , now i connect the SCB 68 hardware with DAQ card thro RMIO cable , i wired the DIgital Pins of SCB68 (respectievely with DAQ card Pins) in a Bread Board an place a LED corresponding to pins to show the real world output...
      Now my prob is after i connecting the wire i run the VI, in breadboard the LED's are not getting ON same status is displayed in Labview Front panel too , when i remove the wire the LED in front panel of both sub and Host VI is getting ON..... y this prob occuring? to solve this what i have to do? i want to show realworld output (LED On in Bread board) thro SCB68... how to solve this?
    Attachments:
    Digi.vi ‏37 KB
    Digi (H).vi ‏121 KB

  • My 6036E DAQ Card is not running at its full refresh rate

    I am using a DAQ PCCARD on my desktop ( I have a PCMCIA to PCI converter). I am running NI-DAQ 7.2 and i am having trouble getting the card to run at its full refresh rate. If i set the card at a scan rate of 1000 and acquiring 100 samples at a time, i get an error that says ive reached the system and or bus limitations in Labwindows CVI. Does this mean that the PCI to PCMCIA Converter is not fast enough to keep up with this scan rate or is another problem?

    Assuming the DAQ card can sample at 100 kS/s, the problem is most likely the converter. The PCMCIA bus can transfer data at speeds up to 20 MB/s and the PCI bus, running at 133 MHz, can transfer data at speeds up to 1 GB/s. With this being said the PCI bus is much faster than the PCMCIA bus and will be able to handle the PCMCIA's slower transfer rate. The converter, however; will most likely introduce some latency in the transfer between the PCMCIA and PCI buses. This would result in the error seen when running at near the maximum sampling rate.

  • Synchronize problem for DAQ cards

    I am trying to synchronize 4 PCI-6071 DAQ cards through cables using SCNCLK pin. I know the DAQ will send a pulse through that pin. but what is the frequency of the pulse?
    Also, I would like to know how to avoid the phase delay generated by the cable. Can I synchronize the DAQs through internet, how to do that?
    Thank you very much!
    Sincerely
    Joe yang

    The frequency of the pulse will be whatever you program it to be. For instance, one of the PCI-6071E's will use its own internal timebase and the other three (slave devices) will synchronize off of that device's (master device) clock. So you will programmatically control the master clock and then send that clock to the other three devices.
    An easy way to do this is by using the RTSI (Real-Time System Integration) bus on the PCI-6071E's. You'll notice that on the side of the PCI-6071E's there is an additional pin connector. This is for the RTSI bus. You can purchase a RTSI cable and connect the RTSI bus for each device and route the master clock to all other devices through the RTSI bus. I've included a couple of links below to documents that explain synchro
    nization and the RTSI bus. I hope this helps.
    How Do I Synchronize Two E-Series Data Acquisition (DAQ) Devices (For AT or PCI or DAQCards)?
    http://digital.ni.com/public.nsf/websearch/6EC96C76111D2E6A86256628008071A0?OpenDocument
    RTSI Bus Cables
    http://sine.ni.com/apps/we/nioc.vp?cid=3544〈=US
    Regards,
    Todd D.
    NI Applications Engineer

  • Ground problem for daq card

    I am using daq card PCI-MIO-16E1.It was working fine in one PC.When transferred to another PC, there is some ground problem it seems.when no signal is connected, it is showing a voltage level of -5v and when a signal is connected gradually it rises ffrom this level and reaches the level of the signal.whereas in the old PC a level of about 0.1v was seen.this is irrespective of the configuration(differential,RSE,NRSE etc).can anybody help ?
    R.P.Kumar

    How does the 6070E (PCI-MIO-16E-1) perform if you put it back in the
    original system or yet another one?  Have you tried multiple channels? 
    Do you notice a difference in the keying of the PCI connector between
    the two motherboards?  The 6070E is a 3.3V 32-Bit card and will not
    work with a 5V 32/64-Bit slot even though it will fit.  Consult the
    following document for more details on PCI keying: PCI Keying and Voltage Compatability
    Elijah Kerry
    Senior Product Manager, LabVIEW
    Follow my Software Engineering for LabVIEW Blog

  • IMAQ 1408 + DAQ cards crashing when loop iteration 1

    I have a problem trying to run some code which outputs a synchronised analog and digital pattern using the PCI-DIO-32HS and PCI-6713 DAQ cards which triggers an external analog camera. The images from the camera are then read via the IMAQ 1408 frame grabbing card.
    When I run the code once, it executes successfully every time. If, however, I select 'run continuously', or alternatively place a FOR-loop around the pattern output and image collection, the computer executes the pattern once, then completely freezes the computer, requiring a hard reboot of the computer.
    I have attempted to add wait times at various points through the code, however even if I place 10s delays in the loop (the pattern takes around 1s) the computer hangs and crashes. Running the code by repeatedly clicking 'run' however works every time, with no error or crashes.
    Is there any way to extract or trace the error causing this behaviour - the issue must be with the IMAQ drivers, however I cannot see what is different between running the VI manually 10 times in a row, and running it continuously with a wait to prevent it running at full speed. Any advice for debugging this error would be much appreciated. I have attached the code with subVIs necessary to reproduce the error.
    Attachments:
    JAI_Testing.zip ‏841 KB

    Hi Fan Wu,
    You're right that you only have two counters on your USB DAQ device. If we limit the problem to only one channel, then I would recommend using the counter because it sounds like you're creating a pulse train of known parameters. Since the counters use a fast timebase (if you're using Mseries you're using an 80MHz clock), you'll get very predictable performance at 1ms of interest.
    The other way to do this (since you'll need more channels) is to use a counter to setup a timing engine. A simple pulse train with 50% duty cycle and whatever frequency you're interested in (sounds like 1kHz) can be used as your DI/O timing clock. You can then create a digital waveform with the characteristics you are interested in and write that to your buffer. With your Digital task correlated to your counter output, you can output this waveform at the rate of your counter output.
    While this is NOT the end application you are looking to write, this example has some great parallels to what you are trying to do. It illustrates creating a clock with the counter and then writing a digital waveform to correlate to that clock.
    http://zone.ni.com/devzone/cda/epd/p/id/3687
    PBear
    NI RF

  • What is the maximum number of samples that can be acquired with a single trigger using PCI-6036E DAQ card?

    1. My PCI-6036E card has a FIFO of 1024 bytes in AI. Maximum how many samples can be acquired with single trigger for digitizing a waveform?
    2. PCI-6036E DAQ card has got a AO with 10ks/s update rate? Can I generate a pulsed output with the AO of this card? I need a pulse of, say, 5 V and 1 kHz frequency.

    Giri,
    1.The trigger is usually for enabling the acquisition. I mean, when it is logic zero, you acquire nothing; however, when it is logic one, you start acquiring your waveform,and you can acquire continuously without having to worry about how many samples, unless you want to set your program for doing so. You can acquire continuously by implementing buffer acquisition. Finally, the FIFO that is in the board will not affect the buffer acquisition.
    2.Yes, you can do that! You can generate your 5V signal with that specific frequency, and you should not have any problems, because the freq fits in the update rate.
    I hope this information is helpful.
    L Aguila
    Applications Engineer
    National Instruments

  • 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

  • 6025E DAQ card is not communicat​ing with driver I have written

    I recently wrote a driver that used the 6025E DAQ card. I then packaged up this product, and am in the process of creating a second identical product. The problem is that the software I wrote does not work with the new hardware card. Nothing has changed, except for the new card. Basically, the first product works great, the second one does not... They both seem to be using the same version of NI-DAQ (6.9.1), and I can't think of anything else that would cause these problems...
    Could it be the computer speed? The actual system is a 866 MHz, but the test system (until the new computer arrives) is only 250 MHz...
    In addition, the NI-DAQ test software works fine, i.e. I can send Digital inputs and th
    e NI-DAQ test software will process the signals, but my software will not.

    First, I want to make sure I understand your terminology. You have written a driver for your 6025E? We consider NI-DAQ(6.9.1) the driver for the DAQ boards. If you are making NI-DAQ function calls, then I'd say you are using the driver. (You're not making register-level programming calls are you?)
    It's hard to say what the problem is right away, but I guess I do have some suggestions. In case you were wondering, computer speed usually isn't a problem when using standard DIO.
    What does your program do? Find a similar example program in your ...\NI-DAQ\Examples folder and see if it works.
    What is the other board you are trying to use? Is it also a 6025E?
    Also, you said the program is not working, but what is the result? Are you getting any kind of e
    rror message?
    Russell
    Applications Engineer
    National Instruments
    http://www.ni.com/support

Maybe you are looking for

  • How to get the computer name in a text box automatically?

    Hi, I am using flash cs4 (AS3). How can I get the computer name/username in a text box created for grabbing Username from the computer and show it in the username textbox automatically? Thanks.

  • #NAME shows in export to excel

    When an export to excel is done in a report some colunms display #NAME. These columns have a '-','*' , etc. as the leading character. Is there a way to have the correct data in the excel report? Thanks

  • Aggregates...How to find out for a query..Any TC??

    Hi friends, How to find out whether the query is using aggregates or not, which are built on its base cube. Is there any TCode for it to know?. Without going to Infocube maintenance tab, can we know whether queries use aggegates??? Thanks Murthy

  • Java reflection on package

    Is there a way to find out the names of all classes within a particular package at runtime? For example, let's say I want to find out all the class names under the java.util package... So it would return 'List', 'ArrayList', etc... either as Strings

  • How can I mirror margins on facing pages in Pages 09?

    How can I mirror margins on facing pages in Pages 09?  Older versions had "Facing Pages" on the documents inspector.  It is not there in Pages 09 so how can I do this?