At-mio two synchronous waves output

Hi,
has anybody here some expierence how to create (easily) two waveforms
(wave and one harmonic) with a at-mio card under nidaq/CVI ??
Thanks for any hints
Urs
Sent via Deja.com http://www.deja.com/
Before you buy.

grifo,
It is correct for there to be two listed for NI AT boards in Windows Device Manager. The reason is the number of resourses alotted to each board is more that what windows will allow for one device. But, you will still just see one device in MAX. You may be getting a Code 10 error if the resourses that are trying to be assinged to the second device (a DMA channel) are being used by another device. You will need to disable one device from trying to access that resourse. You can get information on how to do this from NI's web site at www.ni.com/support/daq -> enter device and OS and then click on Resourse Conflict.

Similar Messages

  • Output of two aquare wave genrator

    I am using two Square wave generator with same Frequency say 10 Hz and all same parameters accept Phase shift.
    If i put 180 deg. Phase shift to one and 0 for another.
    My problume is that the out put are in same phase.
    What is the resion behind it.
    regards
    Attachments:
    savi.lvproj ‏52 KB

    Hello,
    project is empty
    vi containing both generators could be sufficient ?
    Tinnitus
    CLAD / Labview 2011, Win Xp
    Mission d'une semaine- à plusieurs mois laissez moi un MP...
    RP et Midi-pyrénées .Km+++ si possibilité de télétravail
    Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
    Don't forget to valid a good answer / pensez à valider une réponse correcte

  • Synchronizing counters output using NI9401

    Hi,
    I'm using cDAQ9174 and NI9401; I need to generate two synchronized square waves (using two counters). The two waves could have different frequencies (from 500Hz to 7KHz) and duty cycles, but I need they start at the same time (first rising edge together). Is there a way to synchronize the two tasks? I would prefer without using an external trigger.
    Thank you in advance for the answers 

    Hello Domcar,
     I think the best way to synchronize your two counter outputs would be to use a dummy task as shown in the following link. Could you please take a look?
    Synchronize Two Counter Output Tasks Using a Dummy AI Task
    https://decibel.ni.com/content/docs/DOC-11755
    Regards,
    Antonios

  • Playing two sound waves across two different sound cards simutaneously?

    Hello all.
    With the help from old board posts and the example VIs packaged with Labview 2009 SP1, I was able to get part of the way.
    The goal is to simutaneously play two .wav files, to two different sound cards. So far:
    1) I can play one wav file to either sound card
    2) I can generate two sine waves of different tones, and push each out to the two cards seperately simutaneously.
    But when I replace those two tones from #2 with .wav files, the wave files play alternately. So wav_1 plays to sound_card_1, THEN wav_2 plays to sound_card_2, not simutaneously.
    Is it even possible to play 2 wav files simutaneously out to different cards?
    I've included a VI of the attempt in #2 above. Disclaimer: my labview skills are minimal and this vi was very experimental so it's probably terrible form.
    Solved!
    Go to Solution.
    Attachments:
    sample_code.vi ‏23 KB

    Tzoom84,
    Since there is no way to buffer your sound output on the sound card and use hardware triggering you will be limited to software start timing.  You could use semaphores as you said, or simply wire both of the Sound Output writes in parallel inside a single while loop.  Since windows is nondeterministic the best you will likely achieve is the two outputs starting within tens of milliseconds of one another.  The time between the two starting will be affected by all other processes running on your system and may take much longer.  
    Regards,
    Sam K
    Applications Engineer
    National Instruments
    www.ni.com/support

  • How to calculate the phase difference between two square wave (acquired from two channel in one DAQ)

    Hello everyone ,
     I need a quickly help that as below :
    I am trying use PCI-6220 to acquired six signals from one rotation encoder (channel A, channel B,channel Z ,and their non-signals) .The encoder out signals will be square wave and 4000pulses per revolution. I set it rotation at 300rpm speed. I need show every square wave of six out channels in waveform and measure the A-B phase difference to check if the value is correct (designed value should be 90deg) .
    I have no idea how to measure or calculate the phase difference of two square wave base on synchronizate to acquire these two square wave from two channel on the PCI-6620....
    Anyone can give a idea how to calculate the phase difference with two square wave ?
    Thank a lot and Thanks again...
    Tim

    Tim,
    Here is a simple rising edge detector for one channel.
    Lynn
    Attachments:
    Rising edge.vi ‏15 KB

  • I have generated two square wave forms using NI-9221. These two Square waveforms are suppose to be 90 degrees electrical from one another.

     I have two square wave forms from an encoder wheel. I can not seem to generate or calculate the phase of the waveforms. I have tried to extract the data but it is not accurate? I can not use a true false statement with the extracted data either. I have to have the one waveform 90 degrees electrical from the other waveform. Any Suggestions?

    Fist thank you both for responding so quickly. I am using a half encoder wheel and the waveforms are certainly show the phases correctly.  The operator of this program will not have access to the graph only the data and measurements collected. The reason I am trying to get the phase is because that is going to be a major factor in if the board passes or fails. I extracted the phases from the waveforms but it’s not accurate at all. I think I may try to trigger when to measure the wave and when to stop measuring. Is that Possible?
    J. Powell

  • If there are two synchronized methods in one class.

    If there are two synchronized methods in one class then what will be the beheviour of the threads accessing the methods.

    Synchronization is on objects, not methods or classes. A thread, entering a synchronized method, synchronizes on the object on which that method is called. Another thread, attempting to synchronize on that object, will be made to wait until the first thread releases it.

  • Need to join the two xml type output in plsql function

    Hi,
    I need to join the two xml type output in plsql function. Could you help me out?
    Sample function:
    function func_ret_stk return xmtype
    xmloutput_stk xmtype;
    xmloutput_desp xmtype;
    begin
    xmloutput_stk := --------;
    xmloutput_desp :=---------;
    return xmloutput_stk + xmloutput_desp;
    end ;
    Thanks in Advance,

    Hello,
    this is the forum for the tool {forum:id=260}.
    Please ask your question in {forum:id=157} or {forum:id=34}
    Regards
    Marcus

  • Generate two sine waves with time delay

    I have not been using the waveform generation tools so I hope this is an easy one for somebody.  I want to create two sine waves at different frequencies say F1 = 1.00 KHz and a second at F2 = 1.20 KHz.  I know that to combine them into one I can just add them.  Them problem I have is that I want F1 to start first then a few millisecond later have F2 sum into F1.
    T0 = F1
    T0 + Delay = F1 + F2
    Is there a VI capable of a time delay?  Tried to sum individual signals together but seems more difficult because of the waveform cluster format.
    Any help is appreciated,
    Matt
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

    Would the attached VI work for you?
    Attachments:
    Add Delayed Sinewave.vi ‏54 KB

  • Synchronization of two analogue DAQmx outputs, error -89131

    I am trying to synchronize two analogue waveform outputs.  I can run and observe both channels  in isolation but cannot work out how to run both at the same time.  I'm a novice Labview user.
    My system contains the following:
    Labview 2012
    Windows 7
    PCI-6035 DAQ card
    I've attempted to write code configured as MASTER/SLAVE, an error occurs when the code attempts to write the waveform to the SLAVE output (DAQmx Write), error code -89131
    Any help would be much appreciated
    Thanks
    Duncan

    Hi Duncan,
    For most DAQ devices, only one hardware timed task per subsystem (i.e. analog input, analog output, digital input/ouput, ...) can run at once.  Each subsystem has its own dedicated timing and triggering circuitry, and your code has two separate AO tasks trying to configure the AO subsystem's resources simultaneously.  After the resources are configured the first time, the second task notices that they're already being used, and it tosses you an error indicating as much.
    In order to configure multiple AO channels on a single device, you need to include both (or all) of them in a single task.  For your application, since it looks like your channels will be updating at the same rate, this will be fairly straightforward.
    Open the Voltage - Continuous Output example that you used as a starting point for your code.
    Configure the Physical Channel(s) input -- either in the existing front panel control or as a block diagram constant -- to include both channels.  You can use the dropdown, select Browse, and Ctrl-click multiple channels or you can simply type Dev1/ao0:1 into the field.
    Now that the task contains two channels, it expects you to define two waveforms to write to the output.  In the example, all you have to do is initialize a second element in the Waveform Settings array.  Just increase the array index value to 1 to view the second entry (should be grayed out, at first) and select the Waveform Type, Frequency, or Amplitude for the waveform you want to send out on AO1.
    That should get you going.  Let us know if you run into any other hurdles as you develop your DAQ application!
    KB
    - Additional reference: Simultaneous AO Tasks on the Same Device

  • Two digital channel output question

    Hi, everyone
    I need some helps on design two digital channel output
    In brief, I want to use a PCI-6731 output with BNC2110. Two digital
    output channel will be used, e.g. Dev1/port0/line0:1. I hope line0 could
    output a steady finite samples in frequency f1 (e.g. 10kHz), and total
    number of samples like N1 (e.g. 1E6); in the mean time, I hope line1
    could output finite samples in frequency f2 = f1/M (e.g. 2kHz), and
    number of samples like N2 = N1/M (e.g. 2E5). In another words, I expect
    line0 and line1 output same time length samples sequence with different
    frequency and also different number. Please note that parameter should
    be expected to be controllable, and sometime f2 and N2 are not exactly
    integer (then we need take round value).
    Thanks for your help in advance.
    Solved!
    Go to Solution.

    Attached is a vi that does what you want, I think. It used two digital outputs clocked by one of the counters. The digital outputs are fed waveforms that are generated by making two frequencies with an integer ratio. You can change the part of the code that generates the waveforms as you wish, and use the rest to do the output.
    Richard
    Attachments:
    Synched DO waveforms.vi ‏38 KB

  • Will the Ipad power adapter operate safely from the modified sine-wave output from a 12VDC-240VAC inverter?

    Will the power adapter for the Ipad Air operate safely on the modified sine-wave output from a 12 VDC-240VAC inverter?

    I am not sure why you want to do that...the power adapter takes 100-240 volts AC at 50-60 Hz and converts that to 5 to 5.1 volts DC at about 2 amps.  Why are you inverting 12 VDC to 240 VAC then back to 5 VDC?
    It should handle that easily, but seems like a long round about way of getting there.

  • What's the smallest sine wave output from PCI-5401(50&60Hz)

    Want to know the minimal sine wave output from the PCI-5401. Primary use for tests with 50 & 60Hz, with different loads.

    Hello,
    Are you talking with respect to frequency? Using the DDS mode, the frequency resolution is 9.31mHz. You can find more in the appendix B of the manual. I am providing the link below. Please do let me know if you have any questions.
    5401 Manual
    Sincerely,
    Sastry V
    Applications Engineer
    National Instruments

  • Two types of outputs for goods receipt

    Dear all guru,
    we are making GR for suppose 5 items.
    and here we are printing GR document for store record with having all 5 items in single document.
    and also we need to take additional printout for 5 items seperately for GR Tag for keeping with material lot.
    so we need 6 print outs.
    Pl guide me how to use two output types and one is based on collective and one is individually for each item.
    Regards,
    Vimlesh

    Tricky one!!
    I belive you can controll it by using the appropriate Output type for eg:
    Output type WE03 is for all line items in an GR document.
    Output type WE01 is for seperate line item in GR documnt.
    The issue is you can mantain only one output type at a time.
    The general solution would be mantain WE03 as default output type and later for seperate line item print out go to MB02 and change the output type to WE01 and save it and process the output using MB90 with refrence to Material document.
    For other customized solution need to be coded for the output determination procedure, get help from your ABAPER. A customised hard coded routine need to be insert in the procedure for the output type you want to use.
    Hope it helps..
    Regards,
    Sujoy

  • NI PCI-MIO-16XE-50 voltage output

    I am an undergraduate student working on a research project. I need to program a labview block diagram to output continous voltage using DAQ NI PCI-MIO-16XE-50. I am new to this and having problems with formulating.
    For example, if i need to output 4V, how to output 4V from the DAQ.
    I know that there are 2 channels for output. But having problems figuring out which pins to use as well.
    If there are any examples,tutorials or whatever hints i could get in order to solve this, that would be great. I am simply confused and wondering where to start.
    Thanks in advance.
    Confused undergraduate student

    Confused Undergraduate Student,
    Dont worry, we have a huge amount of resources and tutorials available specifically for people in your situation. 
    For understanding pinouts, you can look in the user manual here:
    http://digital.ni.com/manuals.nsf/websearch/06115536722DAA558625728E007E6BA4
    here is good getting started guide:
    http://www.ni.com/pdf/manuals/373737d.pdf
    we also have some great tutorial videos for new users here:
    http://www.ni.com/dataacquisition/videos
    We have many more resources available at NI.com. From there just use the search bar in the top right. Results can be sorted by type on the left. 
    Regards,
    Kyle Mozdzyn
    Applications Engineering
    National Instruments
    Regards,
    Kyle M.
    Applications Engineering
    National Instruments

Maybe you are looking for