How to force digital input sample rate?

Does anyone know how to force a Digital Input sample rate and/or tell Core Audio which conversion clock to use... internal or external? Apparently both things can be done from Pro Tools, but I don't have it.  My problem is locking onto an A/D converter's 48K Toslink output.  I can set 48K in 'Audio - Midi' setup and the audio is perfect, but a few seconds later  Core Audio returns to the default 44.1K.  I need to force it to stay at 48K, or clock on the signal rather than internal clock.

Braver,
Let me clarify a few things. First, the 6733 supports correlated digital I/O. This means that the digital operation does not have its own clock. You can correlate the digital operation with the AO clock, which will allow a digital operation up to the max AO rate. You can generate a pulse train with an onboard counter and use that as your digital clock source. Also, you can use a completely external clock source to achieve the max digital rate of 10MHz. The knowledge base, linked below, points you to a couple of examples that ship with LabVIEW. Be sure and read the documentation associated with each example.
Knowlege Base
As for
the example CDI Single Point clocked by Counter (E).vi, notice how the output of...

Similar Messages

  • Anyway to force a Digital Input sample rate?

    I've tried three different A/D converters and all fail on the Mac Pro, but work with other equipment. All of the A/D converters have a fixed 48k output sample rate. I can set a 48k sample rate on the Mac and the sound's great.  Unfortunately, it only holds this setting for a few seconds, then snaps back to a 44.1k sample rate and says 'locked'. The audio is then slow and distorted.. like playing a 45 rrmp record at 33 1/3 rpm.  My question is, is there any way I can stop OSX from falling back to 44.1k; i.e. force it to hold the 48k sample rate?

    Got an updated Core Audio driver from Digidesign - that fixed it.

  • How to check current input/output rate on router subintenterface via SNMP?

    How to check current input/output rate on router (2821, etc..) subintenterface via SNMP, like cacti monitoring system.
    I cant find OID to make this with snmpwalk.
    Or there is no way to check current load by this way? Only polling?
    P.S. Ethernet subinterface, of course.
    With great respect, S.A.

    Hi,
    Try to use:
    1.3.6.1.4.1.9.2.2.1.1.6 - InBitRate
    1.3.6.1.4.1.9.2.2.1.1.8 - OutBitRate
    1.3.6.1.4.1.9.2.2.1.1.28 - ifDescription

  • How to sync. 50Hz sample rate with 5Hz external digital trigger signal?

    Hello there,
    I want to sample an analog input at 50Hz, where I further want to use
    the 5Hz PPS signal of a GPS receiver as an external trigger/clock
    signal for the NI DAQ USB-6008 device. However, I do not want to read
    10 samples every 200ms (= 50Hz avg. sample rate), but I want to read 1
    sample every 20ms, i.e. with "real" 50Hz.
    The "natural" way, it seems would be to use a task that waits for a
    rising edge on the ext. trigger input, then reads 10 samples, then
    waits for the next trigger edge, and so on.
    However, it seems that with this approach I cannot read the data from
    the DAQ with real 50Hz, further it seems that every 10 samples the task
    needs to be restarted, which takes longer than the 20ms (corresponding
    to the 50Hz target sample rate).
    I hope the problem description is clear enough....
    Thank you in advance for any advice.
    Regards,
    Oliver

    You have to use the counter together with the analog input to achive this. You could configure the counter to generate 10 pulses with 50 Hz whenever the counter sees a rising edge on the inpput of the counter. The output of the counter would be used as the external clock for the analog input.

  • How does Core Audio set sample rate?

    When I play a particular movie in QuickTime, the audio and video are out of sync. The movie plays fine on other computers.
    This Mac Pro (OS 10.6.8) is used exclusively for Pro Tools and Final Cut Pro. The audio hardware is a Pro Tools HD Native card:
    Native card --> Pro Tools Digital I/O boxes --> Lavry D/A converters --> monitors
    The sample rate of the Digital I/O boxes is set by an external master clock, a Lavry Gold A/D converter.
    I opened the DigiDesign Core Audio Manager and it says:
    Connected @ 44.1K, 32 In/32 Out, Buffer Size 512
    Yet the movie is at 48K (I know because I created it in Final Cut Pro), and the external clock is set at 48K. So, I don't know where the 41K in the Digidesign Core Audio Manager came from. This is why I am guessing the problem is sample rate.
    Please help me understand what sets the sample rate.
    Does the application using Core Audio set it?
    If so, how is this made consistent with the sample rate set for the hardware by the external master clock?
    Do I have to be sure I always change the external clock setting to be consistent with the movie being played?
    BTW, I have not had a sync problem when I play video in Final Cut Pro..........it is always in sync. So, I have never worried about how Core Audio works. The sync problem is only with QuickTime.

    Well, here is more information:
    - I reinstalled QuickTime 7 and did many other things (trashed preferences,etc)
    - I set the audio hardware (Pro Tools/HD Native card) to 48k
    - I checked the Digi CoreAudio Manager and it said "Connected at 44.1K", even though the hardware was set to 48K
    - I played the problem videos, and all are now in sync
    - I check the Digi CoreAudio Manager and it still says 44.1K
    - I checked the hardware and it is now set to 44.1K
    I know that the videos are 48K, because I created them in Final Cut Pro X.
    Does this mean that QuickTime 7 always converts videos to 44.1K, regardless of their sample rate?

  • How do I control the sampling rate of a PCI-6602 counter

    Labview version: 7.1
    Processor: Pentium 4 1.8 GHz
    Hello All,
    I have two avalanche photo diodes connected to two counter entrances on a 6602 (ctr 0 and ctr 1).
    As can be seen in the attached VI, I'm generating a signal on ctr2 and using that as an external clock for the counters.
    My objective is to accurately read the counter values at a rate of ~100KHz (i.e. 0.01 ms between measurements) and to be able to control the rate via the front panel. This should be possible (80MHz timebase), however when I run the program it is only able to actually sample at ~5 ms intervals. Also I'm encountering error 200141 even though I set the rate in the counter to 1M, which should buffer enough.
    What am I doing wrong? Any help would be greatly appreciated.
    Thanks a lot,
    Attachments:
    FRET_ver_14.vi ‏456 KB

    Hello Aadam,
    After looking at your code, I would not use the DAQ assistants to implement this. The DAQ assistant are best to be used for simple acquistion and since you are looking to use more lower level properties of you card, I would suggest to move to use the lower level VIs. It will be easier to understand where the problem is occurring at and will run better than using the DAQ assistant.
    I have done some initial research for you to implement this design. I have described each of them below and how they will assist you.
    The first example I have found is the Change Counter Output Frequency While the Task is Running. In this example, it will show you how to change the frequency and duty cycle of a counter output frequency task. One thing to remember about these counters are that the frequency will not change until the period has finished. For example, if you changed the frequency in the middle of a period of frequency of 1 Hz, it has to complete the 1Hz period before changing it to the next frequency.
    The next example I would investgate is in the NI Example Finder called Correlated Dig Write With Counter.vi. The NI Example Finder can be found in Help » Find Examples... This VI will explain how to use the counter as a clock for another task. You will need to combine the concepts of the first example with this to make sure that you can vary the sample clock.
    Finally, in the NI Example Finder, there is an example how to count digital events with an external clock called Count Digital Events-Buffered-Continuous-Ext Clk.vi. With this example, I first suggest to add the counter task and make sure you can get the external clock to work. After this, I would then implement changing clock.
    Jim St
    National Instruments
    RF Product Support Engineer

  • How do i ensure my sampling rate is a constant and correct (@250Hz) when using AI Sample Channel vi

    I am running a VI that samples 2 channels using the AI Sample Channel vi within a for loop (executing equal to the number of samples i require), i then calculate the difference between the channels. Within the for loop i use a chart to displays this difference in realtime.
    On exiting the loop the data is converted to an array, which in turn i then convert to a waveform (using dT as 0.01 as an arbitary solution at the moment). The waveform is then compared to limits using the limit specs and limit testing vi's.
    There is also other code displaying graphs from the previous iterations of the VI.
    My question is how do i control the aquisition rat
    e so that i know that the AI Sample Channel vi is sampling my data at a set rate (250Hz)?
    I have tried to use some of the hardware timed exaples supplied by NI to no avail. They can't give me the single point output required within the initial for loop for the real-time display.
    Any solutions welcome!!

    How about buffered acquisition? You can let your DAQCard acquire the number of samples you require instead of doing it with a FOR loop. Using a FOR loop means that you are software timed, which may as well be untimed since it's about as deterministic as the weather in Florida.
    Look for the "Acquire N Scans.vi" example.
    If you want to do this the RIGHT way, use continuous acquisition. Start your acquisition and keep doing AI Read in a loop. Also include your porcessing and display functions in the loop. Just make sure your loop runs fast enough to keep up with your acquisition. At 250 Hz, you should have no problem.
    Dan Press
    www.primetest.com

  • How to address digital input & output, analogue input & output when communicate with mitsubishi fx1n plc

    dear all,
    i am new to labview, how to code or address digital input & output, analogue input & output when communicate with mitsubishi fx1n plc or crouzet plc.
    pls help.
    HM

    http://search.mywebsearch.com/mywebsearch/redirect.jhtml?searchfor=mitsubishi+fx1n&cb=ZO&p2=%5EZO%5E...
    Try the above link. I know it is a screen-full, but is a search result for Matrikon. They have a whole slew of OPC servers/clients you can try out. Personally, I would go with their OPC server for the Mitsubishi, and use Labview Datasockets. That would be the simplest with the lowest learning curve.
    Otherwise, if you wish to use Modbus, you would have to get the commands/syntax from Mitsubishi; might be in their user manual, but I wouldn't lay bets on it. With the Matrikon stuff, the syntax is all built in.
    Good luck which ever way you decide to go.
    Dave

  • Question on supported audio input sampling rate

    Hi,
    I have USB capture device which supports HDMI input and I wish to use it to connect to my digicam and stream it out with FMLE. While I can see that the video input is working properly, the audio is not working. The error message "Problem with audio capture device - Please verify that the audio device is working correctly and is not already in use." always appear when I try to select the device's audio device. Using the graphedit, I can see that the capture device's audio output pin only supports stereo 16-bit 48 kHz PCM output. As such, can I confirm that that FMLE only support 44.1kHz (as well as other 44.1kHz divisible) sampling rate?
    Thanks
    John

    After researching and playing with the system,  I found a solution.  Uninstalling the "Realtek High Definition Audio Driver" under the Control Panel -> Hardware and Sound enables sampling rate up to 384KHz  instead of 48KHz.
    If there are other solutions without uninstalling the HD audio driver,  please post.  Thanks
    Eddie 

  • How to render audio with sample rate 48000hz using jmf

    hi,
    In my application i need to play the audio with jmf player with sampling rate 48000hz. but i found that jmf player plays the audio with sampling rate of 44100hz only.but my application needs to play the audio with sampling rate of 48000hz .please help me how to do this using jmf .
    thanks in advance,

    hi,
    In my application i need to play the audio with jmf player with sampling rate 48000hz. but i found that jmf player plays the audio with sampling rate of 44100hz only.but my application needs to play the audio with sampling rate of 48000hz .please help me how to do this using jmf .
    thanks in advance,

  • How do i change Audio sample rate to suit?

    Hi,
    I Just captured a small clip from my DV camera on final express 4. At the end of the capture i got a message saying that the sample rate on my source may be different to the rate on my capture and it may cause the video and audio to go out of sync. This did happen so i checked the camcorder and it is set to 12bit. How do i set the captute settings to suit??
    Thanks,
    Dave.

    Can I ask a stupid question?
    What do you mean "if you overrun" I just encountered all the above issues. First tape imported perfectly once I changed it to 32. The next one appeared to but then like jerryws1431 said, FCE quit. I wasn't here at the point it quit, but if was either after or during the "Validating Audio". Last time I looked it was validating.
    So, if I have a 60 minute tape and I tape 51 minutes, is that too much to have on one tape, or am I completely missing something......
    Tom, thank you so much for all this information! I would have been stuck with out of sync audio had it not been for you!

  • How to give digital inputs to ni 6501

    I am trying to give a digital data to a port of ni 6501... Can some one exlain in which format this datas shuld be given in a C++ code 

    Hi,
    You just need to change the XSD of your process.
    Someone posted something similar last week : How to change the input and output schema in BPEL process
    Hope it will help you ..
    romain.

  • How can I change the sample rate (delta X)?

    Hi, I create vi which can measure resistance, it will record the data and write to a file.
    however, I want to change the sample rate which is delta x. is that anyway I can do?
    I have try to put a clock inside the loop, it does slow down the speed but not the sampling rate.
    Please help me!!
    Thank you!

    Hello Shan405,
    Adjusting the Reading Rate of a DMM
    As noted in the above DeveloperZone article, there are a lot of factors contributing to a reading rate of a DMM. 'Sampling rate' can only be configured in digitizer mode, which can only be achieved on the flex DMMs
    Using the NI PXI-407x DMM as an Isolated Digitizer
    Regards,
    Glenn

  • How to check current PulseAudio sampling rate and other parameters?

    # pacmd list-sinks
    Daemon not responding.
    http://askubuntu.com/questions/299597/g … d-bit-rate

    lucke wrote:Did it mention having permission denied to /run/user/1000? If so, "chown bbarcher.users /run/user/1000" and perhaps "pkill pulseaudio; pulseaudio &".
    On pulse restart I get
    Unable to contact D-Bus session bus
    And a whole galore of errors.

  • DIgital audio in sample rates, 441 48 96 but no 882... is there a way to ad

    When feeding my macbookpro a digital audio signal via optical cable while viewing the audio midi setup utility, it shows that the mbp's internal clock automatically switches to the incoming sample rate. I got it to work with 441,48 and 96k. When I fead it the 882 sample rate it automatically switches back to the mbp's internal clock and reverts to line input instead of digital. So the audio midi setup utility shows when it is in digital input mode the three sample rates 441,48 and 96k in the format pop up window and not 882 so it must be just a software issue and I am wondering if there is a way to add the sample rate to the list. If it can take in 96k it should also be ale to take in 882. So does anyone know how you could ad a sample rate of 882 to the list in the audio midi utility format list?

    One added note. The reason that I want to be able to do this is I like to record my audio projects at 882 and if the mac book pro could except the sample rate I could then use it as a 882 digital 2 track recorder. Enabling me to skip hitting the bounce to disk function in pro tools and actually be able to ride a fader as the mix is printing to the macbookpro, where as when you bounce to disk in pro tools you cannot access the mix as it bounces to disk.

Maybe you are looking for

  • Creative Cloud not see the license of Adobe ID

    Hello, I have a problem. I started studying at the British School of Art and Design  and we were issued a license for 1 year Creative Cloud Suite. I activate the license as it was written in the manual and in the settings of my account Adobe ID indic

  • XML Parsing, how to get a specific tag?

    Hello, I'm new to Flex, am trying to load some data from xml file using httpservice. all is right, but i dont know how to access to a specific tag. the xml mapping is showed in the  picture : i try to access Device1,  dataService.Lastresult.trames.tr

  • Ios 6.0 -Mobile Safari Crash on web page combo box - html select

    If the combo-box on web page is empty, selecting the combo box and swiping inside the empty space or pressing the ‘Done’ button is causing the crash Incident Identifier: EB3B67A4-174D-4A22-AF07-64621BDBDEC8 CrashReporter Key:   b8f222c49c43977c429ece

  • Face Time has disappeared

    With my IPad 2, Face Time has disappeared.  There is nothing in Settings to turn off/on.  There is no option to call/video from Contacts via the FaceTime logo.  How do I re-install? I do have an Apple ID. 

  • Tax Condition Type 5% VAT

    Dear Experts, Here the scenario is,We have maintained JIN!=VAT condition type with 5% of condition record,so that the user need not to fill in the 5% rate in condition tab while creating SO.This is working fine. Now the requirment is i need the same