DAQ-PXI 6259

Hi,
I am using Labview 7.1 and NI PXI 6259 DAQ card.
I want to configure 'n' no.of digital channels at a time but each channel has to stop the task at different time.Is it possible to do this??
Suppose consider i need to configure some 8 digital channels in that i need to write 4 channels continuously and 5th channel for 5 seconds,6th for 3 Seconds,7th for 2 seconds,8th for 10 seconds.I will come to know abt the no.of channels and whether it is for continuous or for finite time only at run time.Is there any method to configure the virtual channels by grouping all 8 channels but stop each channel at different time??
Plz help me in this
Regards
Meenatchi

Hello Meenatchi,
It appears what you are trying to do is to use synchronized digital output so that one sample is output on all of your lines at the same time, for different lengths of time.  If this is the case, then what Britoa suggests is probably the best way to go about it.  You can programatically "decide" what you want to output and then build a digital waveform to reflect the behaivior you want to see. For example, if you wanted to output at 1kHz and you wanted channel 1 to output continuously while channel 2 only output for 1 second, then you would programatically construct a waveform where channel 2 was set low after 1000 samples.  The example that I would start with would be the Cont Write Dig Port-Ext Clk-Non Regeneration.vi
As far as having different tasks running, the only way you can do that is if you use software timing (1 sample On Demand) for the different lines.  You can then create a different task for each line and stop them independently as shown here:
Your lines will not be synchronized, but you could then use a case structure to decide whether to write to each line or not.
I hope this gives you a place to start, post back if you have any issues programming this.
Message Edited by Neal M on 12-26-2007 01:42 PM
Neal M.Applications Engineering       National Instruments        www.ni.com/support
Attachments:
2DigLines.JPG ‏97 KB

Similar Messages

  • Does NI PXI-6259 support both Traditional DAQ and NI-DAQmx of Labview 7.0 Express?

    I need to buy a Multifunction DAQ board which will be supported by both the Traditional and NI-DAQmx of Labview 7.0. Is the NI PXI-6259 appropriate for such application?
    Thank you.
    Ujwal

    M-series boards are not supported by Traditional NI-DAQ. Stick with the E-series if you require Traditional support.
    John Weeks
    WaveMetrics, Inc.
    Phone (503) 620-3001
    Fax (503) 620-6754
    www.wavemetrics.com

  • How to send a SQUARE WAVE to PXI-6259 over the LAN

    howcan I  send a SQUARE WAVE  to PXI-6259 over the LAN, is
    there any example or link any one can send me , thanx in advance.

    Dear HaI L,
    I managed to send a test signal (sine wave) to the device by choosing
    the test panel option and choosing Analog output. In the analog output
    I could many channels to choose from. ai0, ai1.ai2 and ai3.
     I did this by right clicking NI PXI-6259, in the NI DAQmx devices
    located in the Devices and Interfaces and choosing test and saw it on
    an Oscilloscope without using the NI DAQ OPC capabilities, and I cannot
    understand this thing.
    1)How can it be possible without  making a NI DAQmx  channel and Variable?
    2) I cannot create any channels in the devices and interfaces located
    in My system but I can create NI DAQmx Global Virtual channels easily
    in Data neighbourhood in the remote system, Plz tell me why?
    3) I  want to create a program and choose a channel to send the
    signal,  can I choose the channel that i create in the remote
    system device ? and if yes how can I choose this ?
    Thanx in advance.
    Sincerely,
    Munir Afzal Bhatti.
    Attachments:
    max.jpg ‏2305 KB

  • Error in reading voltage using DAQmx with PXI-6259

    Hi,
    We are trying to acquire analogue voltage from 5 channels using PXI-6259. We trigger the data sampling with clk 0 (i.e. using PFI 12).
    The problem we had is:
    1)When we tried to get voltage from 5 channels, we get 2 data at the same after twice the period. For example, If we set the 
      sampling rate to be of period 1 second, we get 1 signal at 2 second and around (2+t), where t is a random time less than the execution period of the loop.
      Then the next cycles would be 4 second and (4+t).
    2) This timing problem did not occur if we only acquire voltage from 2 or less channels.
    3) We tried to run exactly the same program with NI USB-6210 and everything worked just fine.
    4) We replaced the DAQmx read with DAQ assistant and still encountered the same problem.
    Attached is the a simple program that showed the error. Is this possibly a bug in PXI or DAQmx?
    Please help us
    Arul (CLAD)
    Attachments:
    test rig.vi ‏74 KB

    Good afternoon Nitin,
    Thanks for contacting National Instruments with your issue, we'll try our best to resolve it for you as quickly and efficiently as possible.
    As the error message stated:
    "Analog input virtual channels cannot be created out of order with respect to their physical channel numbers for the type of analog device you are using. For example, a virtual channel using physical channel ai0 must be created before a virtual channel with physical channel ai1."
    If you need to randomly switch which channels you want to either control IEPE excitation or coupling on, a better approach rather than having all of these channels in one task as you've done in your attached VI, is to parse your program down to multiple tasks that can run simultaneously. 
    I have attached a screenshot of this approach, which hopefully is not a compromise to your application.
    Best of luck with your project.
    Sincerely,
    Minh Tran
    Applications Engineering
    National Instruments
    Attachments:
    ParallelTasks.JPG ‏52 KB

  • NI PXI-6259でのデータ集録におけるエラーについて(デバイスのリセット)

    NI PXI-6259でBNCコネクタを介してエンコーダのパルスをトリガとして圧力や流量などのデータ集録を行っています.大体は異常なくデータ集録が可能なのですが,たまにエラーとしてデバイスをルーティングに使用できなく,デバイスをリセットするか,リセット中の可能性がありますと表示されます。このような場合,どのように対処すればよろしいでしょうか?

    櫻田様
    早速のご返事,有難うございます.
    現在,私は以下の製品を使用させて頂いております.
    ・PXI-8187 RT2.5GHz リアルタイム組込コントローラ(Windows XP,Lab VIEW 7.1)
    ・PXI-6259 Mシリーズ多機能DAQ(BNC-2110コネクタブロックを用いて,エンコーダからのクロックにより圧力,流量のデータ集録)
    ・PXI-4351 高確度DAQ(熱電対で測定した温度のデータ集録)
    ・PXI-7344モーションコントローラ(ステッピングモータ角度調節)
    上記の製品を用いて,エンジン計測および制御を行っております.
    プログラムの内容としては
    エンコーダからの1P/Rのトリガによりデータ集録を開始し,360P/Rのクロックを元に圧力,流量のデータ集録を行っております.
    今回生じたエラー(毎回起こるわけではなく,たまに起きるのですが)はおそらくデータ集録を開始する以前のVI「DAQmx」で生じ,エラー番号は89130で
    「デバイスをルーティングに使用することができません.デバイスをリセットするか,デバイスがリセット中の可能性があるため,リセットが終了するのをお待ちください」
    との内容でした.
    実際には,データ集録の際にMAXでデータ集録項目やポートなどを設定しており,
    MAXの方で,テストを実行した際にも同様のエラーが発生しました.
    エンコーダからのパルス信号に異常はないため,
    やはり,PXI-6259の問題なのでしょうか?
    ご返事,宜しくお願い致します.
    大村

  • PXI-6259 wiring

    Putting together another data acq. system that has PXI-6259 cards.  Attached is how I have typically wired in the past with TBX-68 terminal boards, however when I go to ni.com and look and the manual it does not agree with my typical witing scheme.  Any idea why they dont agree?
    Attachments:
    AI.pdf ‏10 KB
    NI-6259.pdf ‏89 KB

    You have it correct. For channel 1 (technically channel 0, because we like to 0-index everything) in differential mode the DAQ card takes inputs on AI1 and AI9 and compares the two values. It doesn't reference directly to ground, but instead references one to the other. This document might do a better job of explaining it: Field Wiring and Noise Considerations for Analog Signals. The scheme we have for differential inputs is to typically have the inputs be 8 AI channels apart (AI2 goes to AI10, AI3 goes to AI11, etc.)
    Edit: Consider reviewing this resource for double-checking wiring connections using DAQmx Tasks in MAX:
    Using Connection Diagrams for NI-DAQmx Tasks
    Tim W.
    Applications Engineering
    National Instruments
    http://www.ni.com/support 

  • Three Counters in PXI-6259

    Hello Everyone,
    I'm trying to measure time t in the picture that I have attached. I am using a PXI-6259 for this (both input and output). My first idea is to use one counter to generate the input, another counter to time when to stop the first counter and the third counter to measure time t. However, I find difficulty in getting the timing correctly, especially, the second timer.
    Do you have any ideas on how to do this?
    Thanks
    Attachments:
    picture.JPG ‏27 KB

    Hi P.Jack,
    I would like to ask for a bit more information about your
    project and DUT. Creating a pulse as input for the DUT is not a problem. Examples
    can be found in the LabVIEW example finder ((Help >> Find Examples…
    >> Hardware Input and Output >> DAQmx >> Generating Digital
    Pulses). Please keep in mind that the finite pulse train uses both counters
    (one to generate the train, and one to count the number of pulses that have
    been generated). Continuous generation only uses one counter, leaving you with
    a free one. On that note, I would like add that the 6259 only has two counters.
     Is the DUT output a TTL signal ? Also, is this a stimulus
    response system, where t can vary in the time it takes? (that is the impression
    I gathered from the picture). The overall task you are looking to accomplish
    cannot be completely done in hardware with the PXI-6259 because there are only
    two counters on the board, and this entire program would require four counters..
    If hardware timing is essential, I would suggest a PXI-6602 counter/timer card.
    This will allow you to use two counters to create the pulse train, and another
    two to do a buffered counter acquisition.
    If partial software timing is OK for this project, than the
    6259 can accomplish the task. I would do a pulse generation, and then once this
    is complete (time T starts), you can clear the task and create a buffered
    counter task. Instead of creating another task, you may also think about doing
    a digital read on the input line. You would put the read in a loop, and
    constantly monitor the line until it goes low. You would put tick counts before
    and after the loop, then compare them and see how long it took for the digital
    line to go low. Either route is software timed because it requires configuring
    and starting a new task at a minimum.
    David L.
    Systems Engineering
    National Instruments

  • Adlink daqpilot not working in subvi (DAQ/PXI-2204)

    Using DAQpilot from Adlink
    in Labview 2010 / windows 7
    I want to do n-channels, n-scans, single shot in a while loop
    The configuration is as follows: (see also attached task)
    -installed device: DAQ/PXI-2204:0
    -n-chs: 0-31 differential
    -10.000 Hz
    -30.000 scans
    -scaled data in 2D array
    The DAQ pilot runs once and continously in a sub vi:
    It also works when I place the task in a loop.
    But when I use it in a sub vi which is called from another vi in a loop it work the first cycle and the second not, third ok, fourth not. see diagram below:
    following error message:
    Attachments:
    test_3.vi ‏67 KB
    while_loop.vi ‏13 KB
    tset3.zip ‏4 KB

    Hello!!!
    You do not need to put the "Configuration Parameters Setting" inside a loop.
    These configuration are needed just one time.
    If you want to change these parameters for other acquistion, you can put these steps inside a case structure and when you need to change those configurations values you've just to call the "Configuration Case" and do it before the new acquisition starts.
    The acquisition need to be continuous, not the configuration.
    You can found code examples on this link below:
    www.ni.com/code
    Hope this helps,
    Regards.
    Barbara Pracek
    Engenharia de Aplicações
    National Instruments Brasil

  • 2.7 year experiance in labview, DAQ, PXI, PCI seeking job

    chennai based
    2.7 year experiance in labview, DAQ, PXI, PCI seeking job
    Attachments:
    sen 3.doc ‏81 KB

    Thanks for your help,
    I've finally got rid of the errors, but when i run the VI while using the potentiometer, i'm not getting any readings on the graphs (on the front panel). I've checked for errors but cannot find any...
    Any help is appreciated,
    Thanks
    p.s. i've attached the VI so you can see what i mean...
    Attachments:
    Pitch Analysis1.vi ‏321 KB

  • PXI-6259 2 KHz signal acquire, sound

    Hello:
    I working with a brakin product ABS motor, with a PWM at 2.8 KHZ, my setup:
    -PXI-1042Q Chassis
    -PXI-6259 Analog acquisition card.
    when I fire the motor in order to measure the peak current and the motor stable current, a sound coming from the PXI chassis like if the Analog card reproduce the 2.8KHZ signal in sound, if i reduce the frequency from the product to 2KHz the sound is loud,
    my question is is a NI application engineer can tell me if this is normal or if I violating a card o chassis parameter, the voltage that I reading at peak  1.1 VDC  aprox, and 0.1 and state stable,
    attached you can find a complete data coming from the product to the analog card.
    the results are good just is bother me the sound,
    thanks in advance
    Javier Reyna 
    Attachments:
    FIRE.xlsx ‏3125 KB

    The frequency and voltage range that you are using are definitely within specifications for the PXI-6259, and if you notice a sound from the chassis, it is due to the fans, which I agree with you it can be very loud. The fact a slight change in frequency would produce a different sound from the chassis is rather strange. Not sure if it's just the noise volume that increases, or if it's like a high pitch sound changing.
    What would be more useful is that you record this noise to a .wav file (hopefully good quality audio) and upload it here, to determine if the sound is normal or not.

  • PXI-6259

    Some PXI board can operate in CompactPCI chassis. Is it the case for the PXI-6259 ? 
    What are the limitations ?

    Hello,
    In this documentation about the PXI-6259:
    http://www.ni.com/pdf/manuals/371022k.pdf
    You can find some information about compactPCI <=> PXI compatibility (page 164.)
    This link could be helpful as well.
     http://www.pickeringtest.com/static_pdf/PXIHWSPEC21.pdf
    Hope it will help,
    Waiting for your feedback,
    Regards,
    MatthieuR
    Matthieu RICORD
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Été de LabVIEW 2014
    12 présentations en ligne, du 30 juin au 18 juillet

  • How to synchronize NI PXI-6534 and NI PXI-6259?

    Hi,
    I am trying to output a continuous analog waveform (sine, dc, ramp, etc) using an AIO card (6259) and a DO pulse (using the PXI DIO 6534 card) with a customizable Duty cycle in each period of the AO signal. I need them to be in sync. Both cards reside in the NI PXI-1042Q chassis. I am using this solution as an example but can't get it work.
    Also, my DO card cannot write high-frequency pulses on one line - I should instead use the entire port. It also cannot produce CO pulses.
    Can anyone help with a simple vi? What is the correct way to synchronize these two cards (I am a beginner in LV) in one crate?
    Thanks in advance,
    ~Paul

    Hi Paul,
    I see that has been a while since there were no activity here.
    Did you manage to synchronize them?
    Basically, you can synchronize them by using the PXI backplane clock. A very nice tutorial can be found at the following link http://www.ni.com/white-paper/11369/en
    Best regards,
    IR

  • DAQ PXI 6527 sous Teststand

    Bonjour,
    Je travaille actuellement sur le développement d'un programme de test automatique sous Teststand v3.1. Pour cela, je dipose d'un châssis PXI 1045 ainsi que diverses cartes PXI programmables.
    Si je poste ce message sur le forum, c'est parce que j'ai des difficultés à accéder aux fonctionnalités de la carte PXI 6527. En effet, c'est la seule carte pour laquelle je ne dispose pas d'IVI (type Dmm) ou de DLL.
    Je n'arrive donc pas à communiquer avec la carte PXI 6527 sous Teststand.
    Mon objectif est de programmer la carte de façon à ce que je puisse la commander en Tout ou Rien (sortie à 0 ou 5V).
    Comment puis-je réaliser un tel programme sous Labwindows CVI v7.0? Disposez-vous d'exemples?
    Comment utiliser le programme CVI sous Teststand?
    Cordialement,
    Eric59

    Bonjour Eric59,
    Pour ce qui est de l'utilisation d'un code développé avec CVI sous Teststand, je vous conseille de consulter le manuel suivant : http://www.ni.com/pdf/manuals/375070c.pdf
    A partir du chapitre 11, ce document vous explique comment utiliser CVI avec Teststand.
    Concernant la carte PXI-6527, quelques exemples existent que vous trouverez au lien suivant : http://sine.ni.com/psp/app/doc/p/id/psp-152/lang/fr
    Cordialement,
    Celine
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Journées Techniques LabVIEW
    Du 15 octobre au 7 novembre : Strasbourg - Lyon - Lille - Toulouse - Mar...

  • DAQ PCIe-6259 vs. PCI-6251

    Should I buy a PCIe-6259 or PCI-6251 ? ( I think that PCIe-6251 is not delivered in the Netherlands)
    Is the software for both cards the same?
    What slot do I need with PCIe-6259 in my motherboard, PCI-express x1 or x4 ?
    Can I use the terminal block BNC-2110 with a PCIe-6259 ?
    Thanks a lot for any help.

    Hello,
    The PCIe-6259 is a x1 lane PCI express board. Basicly, the driver software is the same for both boards (DAQmx) and programming is not different for these boards. Yes, a BNC-2110 can be used allong with this board. Last, this board should be orderable in the Neterlands without any problems. For more order information you could contact the dutch office and ask for the sales department.
    Kind regards,
    RikP
    National Instruments
    Rik Prins, CLD
    Applications Engineering Specialist Northern Europe, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • PXI-6259 simultaneous updating of AO

    Hi, I have PXI6259 M series DAQ cards. Each card having capacity for four analogue outputs with update rate (if using all four) of 1.25MS/s. My overall goal is to be running 11 analogue outputs (using 3 cards) all running at 1.25MS/s. I want to update all channels at the same point in time - I do not want sequential updating of the channels. I have searched the examples but can't seem to find anything that specifically gives me pointers as to how I ensure each channel is updated at the same time. The timing of the updates is important too, so I want to have some kind of hardware timed execution. Currently I'm researching but soon I shall begin to program and measure in the lab. - I'd like to make sure I don't go tearing off down the wrong track! Any hints and tips of what to look out for would be really appreciated. - I'm pretty new to this!
    Regards,
    George.

    Hello George,
    Hopefully I can shed some light on this for you. A task such as this would be programmed using VIs which form part of the driver. You probably already have the driver installed - DAQmx.
    A great start for getting to grips with DAQmx is this set of tutorials found on ni.com:
    http://zone.ni.com/devzone/cda/tut/p/id/5434
    You configure settings like finite sampling, sample rate etc in your DAQmx task.
    Moving on from there, to ensure all your cards are properly synchronized you have to ensure that each card is using the same sample clock. You will need to route this clock over the RTSI bus. Thank fully DAQmx makes this really easy. See this for a nice example:
    http://zone.ni.com/devzone/cda/epd/p/id/5197
    Let me know if this is of any help
    Nick C.
    Cardiff University

Maybe you are looking for

  • How to tweet your screen as a pic

    I'f seen often pics like this on twitter. But how do people tweet pics of what they see on the screen? I realy want to know!

  • Quicktime plugin disconnect error in Snow Leopard

    I have a bit of a problem with Quicktime X in snow leopard. We use a Codian bridge quicktime stream for classes at our college and Snow Leopard has stumped me. A problem we run into on occation is the -3184: Disconnected error when some clients are b

  • No sound out off my speak

    just installed my new Sound Blaster X-FI card on my computer. And i have put the right cables in it. And now i dont get any sound of my Trust 4500P 5. speaker set and i also dont get any sound out off my Headset.plz help to solve this problem

  • Get bigger pictures when click on it!

    Hey, I have a problem with getting bigger prictures by clicking on the smaler one. Example: On our news section are posted some pictures. That pictures are "thumbnails" (or just smaller pictures) and when I click on the thumbnail the original picture

  • How to check my ITS patch level.

    Hi everyone, I need to check my ITS 6.20 patch level. Can someone tell me where can i find it? I am using a standalone ITS. Thanks Regards, Bryan