Outputting 2 channels from an AT-MIO board

i'm attempting to output 2 channels from an AT-MIO-16E-1 board using
labview. the first channel goes out fine but when i try to add the second
i get an error message and no second channel. the error mesage is:
Error -10687 occured at AO Buffer Write.
Possible reasons: A configuration change has invalidated the acquistion
buffer, or an acquisition buffer has not been configured.
does anyone know how to solve this problem?
thanks,
jon.

Thank you for contacting National Instruments.
When you write �instrument driver,� I understand you to mean one of the complete LabVIEW VIs often available for communicating with things like o-scopes and DMMs through serial or GPIB interfaces. These usually have front panels similar to the look of the actual instrument.
When it comes to DAQ products, there are no �instrument drivers� per se. Nonetheless, there are a variety of example programs available. From the first screen that you see when you load LabVIEW, choose the option to search examples. Then look under Data Acquisition. There will be examples available for whatever type of DAQ operation you wish to perform.
Regards,
Mike G.
National Instruments Support

Similar Messages

  • Output 5.1 channels from mybook pro when playing a Dolby or DTS movie

    My macbook pro is the model of 2008 and it won't output the 5.1 channel audio along the video from the HDMI cable connection to AVR, anyone know why this problem exists and how can I output 5.1 channels from my mac to the AVR to listen to surround movies played from the MAC pro
    Thank you in advance for your reply

    Buy a Mini-TOSLink-to-TOSLink cable to connect the headphone port of your MBP to the optical audio-in port on your receiver. In the Sound pane of System Preferences, click the Output tab and select Digital Out. Consult your receiver's manual for the correct audio input setting to select. Note that the receiver must allow you to select separate audio and video input ports for this to be possible. It may not be possible on some receivers; they may assume that audio will come in via HDMI if HDMI is being used for video, and not offer any other option.

  • How can I read channels from different SCXI modules simultaneu​sly?

    Hello.
    I have a system that consists in:
    - Three E-series DAQ boards (PCI-6034, PCI-6052 & PCI-MIO-16E)
    - One SCXI chassis (SCXI 1001)
    - 4 SCXI modules for voltage measurement connected to PCI MIO 16E
    - One SCXI module for strain gauges connected to PCI 6034
    - One SCXI module for accelerometers connected to PCI 6052
    I have to develop a software application that reads all the channels at the same time or at least in the same program cycle. I have tried to create only one DAQmx task containing all the channels, although they belong to different DAQ boards (and SCXI modules, of course), but it seems to be impossible to use channels from different devices in the same task.
    So I have created three different DAQmx tasks, one for each device and its channels. I have used one "DAQmx Start Task" VI for each task at the beggining of the loop in order to use them independently, reading their channels inside the loop in every program cycle.
    When I have run the program I have get the following error:
    "ERROR -200619 ocurred at DAQmx Start Task.vi
    Chassis cannot be used for more than one scanning operation at the same time.
    Do only one scanning operation or combine multiple scanning operations into a single operation."
    What is the problem? How can I combine these multiple scanning operations? What can I do to read all channels at the same time?
    Thanks.

    Hello pablomendana,
    it's ok that you got an error when trying to use more than one device on the same task. According to the setup you have, I agree that 3 tasks should be put in place.
    The key question I have is... Have you configured manually at MAX the SG and accel. modules to be in Parallel mode?
    I would not expect the error you get if they are in parallel mode (in which you could even read directly from the DAQ board, using DAQ device channels instead of SCXI channels).
    Unfortunately, I haven't been able to setup a system similar to yours, but I would like to know more details on what you've tried so far.
    Also, I recommend you that if still need help on setting up the system, use NI's SSP program to get support from your local NI Application Engineering organization, as this will be faster than the forum.
    Regards,
    Jorge M.

  • Change a DAQmx channel property for a single channel from a channel group

    Hi,
    I'm doing some digital output, and I'd like to tristate certain lines in each port. However, I'm having difficulty figuring out how to specify which individual lines to tristate. I input a port and a line range, e.g. PXI-6533/port0/line0:7, specify to use one channel for each line in the DAQmx Create Virtual Channel VI, retrieve the channels from the DAQmx Task Property, and try to operate on the individual channels that way.  However, this results in the following error:
    Error -200428 occurred at Property Node DAQmx Channel (arg 1) in tristate_test.vi
    Possible reason(s):
    Measurements: Value passed to the Task/Channels In control is invalid.
    The value must refer to a valid task or valid virtual channels.
    Task Name: PXI-6533/port0/line0
    The NI knowledge base article that deals with this error code talks about creating a task with the DAQ assistant, or ensuring that a task has been created. However, I'm not using the DAQ assistant, as my I/O is pretty complicated; I'm just using a bunch of virtual channels. 
    Is there a way to specify individual channels to changethe properties of without having to create additional virtual channels? I have 48 digital channels I plan to use, so the less virtual channels I have to create the better. 
    Please reference the attached VI, which demonstrates the problem I am facing. 
    Thanks for any assistance. 
    Attachments:
    tristate_test.vi ‏11 KB

    You can only software-time tristate for the 6533/6534. Have a look at the attached example.
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies
    Attachments:
    tristate6533.vi ‏58 KB

  • Remove channel from DAQmx AI task - reconfigure existing task

    Is there still no way to remove an AI channel from an existing DAQmx task? I know that it's possible to add a channel to a task using DAQmxCreateAIVoltageChan.
    Removing seems to be possible only by clearing the task and creating a new one, but this ends up in error -50103 (The Specified Resource is Reserved.) at creating and clearing a task continuously (after ~ 100 - 1000 iterations).
    Measuring device is USB-6225.
    Any idea ?

    Unless you want to learn how to do this with the Excel add-on called Measure, you should post to the much more appropriate Multfunction DAQ board.

  • "The source and output audio channels are not compatible or a conversion does not exist" - ?

    I'm trying to export from Premiere Pro for a f4v file that matches all source settings except resizing the video. I've done this a million times but today, when I hit EXPORT, I'm getting an error message from Adobe Media Encoder that says "the source and output audio channels are not compatible or a conversion does not exist." I'm using wav, mov and mts files in my audio tracks and everything plays happily in the timeline. Any ideas?
    Thanks for any help!

    Sounds like you unsuccessfully trying to output a 5.1 Master to a stereo or mono file.  Or something along those lines.

  • Extract single channel from DAQmx Task

    Hello,
    I have created a DAQmx output task, which contains two channels.  Is it possible to extract individual virtual channels from the task to be processed by two parallel processes?  I have tried bringing out the Channels Property using a Task Property Node, but I then get the error that the channel is not part of an active task (see attached snippet)
    Could anyone advise on a better approach, or how to acheive this functionality - if it is possible?
    Regards
    Dave
    Solved!
    Go to Solution.
    Attachments:
    split out channels from DAQmx task.png ‏34 KB

    Sorry, that VI does not make much sense. You have to use a single DAQmx Write for both channels and for 1 Sample mode, you simply have to build an array of the signals as shown below.
    Attachments:
    two channel write.png ‏12 KB

  • How Do I Output 4-Channel Discreet Audio?

    Is there a way to output 4-channel discreet audio in FCP? We want channels 1&2 to be stereo and channels 3&4 to be mono.
    Anybody???
    thanks

    well the first place to start, if you haven't done so already, is to set your project up with the output settings you are wanting to get.
    with your sequence active, go to Sequence menu > Settings... then select the Audio Outputs tab in the settings window
    you'll need to select 4 audio outputs with the channel grouping of the first pair set as stereo and the second pair as dual mono
    you assign individual tracks in your sequence to the audio outputs by right clicking in the track on or around the track lock icon / autoselect icon, and selecting Audio Outputs from the context menu and then target track from its submenu
    you may need to simply double up your tracks if you are trying to create both a stereo and mono copy of the same audio within the same timeline as FCP does use have a powerful enough patch bay paradigm for this purpose

  • Need advice on best way to acquire multiple vibration waveforms from a PXI-4472 board

    I'm using a PXI-4472 board to acquire vibration data from 8 proximity probes, each with different scaling. Confused as to best approach to achieve this given all the options with MAX, LabView and its Sound & Vibration toolset scaling. Reading other posts, it appears that 24 bit acquisition also requires some special treatment.
    This acquisition needs to be done continuously.
    As an additional side note, I will eventually need to synchronize these channels with the channels on 2 other 4472 boards.
    Any advice on how to use MAX in combination with LabView's AI CONFIG, START, READ, CLEAR and scaling
    for this application would be greatly appreciated.
    All the best,
    Hunter

    Hello Hunter --
    In regards to your questions...
    For scaling, I would recommend using either MAX or the Sound and Vibration Toolset (SVT) scaling, but not both together. The SVT is a bit more flexible, and in general I prefer that. One other thing to keep in mind about MAX is that virtual channels for accelerometers and microphones provide an option to control IEPE excitation, but in fact this can only be set from LabVIEW for the 4472.
    24 bit acquisition does not require any special treatment if you are only reading the scaled (i.e. voltage or engineering unit) data. If you use the binary array option for AI read, you will only receive the top 16 bits.
    If you use the SVT scaling, you should not worry about MAX at all. If you you do define virt
    ual channels in MAX for scaling, you should simply wire a channel array with those channel names into AI Config. Other than this, what you do in MAX should not change how you write the LabVIEW code.
    Please see the attached example for synchronizing PXI-4472s.
    Hope this helps!
    Bryan
    Attachments:
    PXI_4472_Continuous_Synchronized_AI.vi ‏156 KB

  • ITunes only outputting left channel through Soundsticks

    I've been using the original Harman Kardon Soundsticks (USB type) for about six years now without problems, but just today they've started behaving oddly in iTunes and Front Row. Only the left channel is now output, through BOTH speakers. They work normally when I use the Quicktime player, but not iTunes/FR. If I switch the output to internal speakers, then iTunes outputs both channels normally. I tried deleting the preferences, and updating iTunes to 8.01 from 8.0 but without any difference. Have also tried rebooting, disconnecting and reconnecting the speakers, and the power to the speakers but nothing seems to make any difference. Additionally, there's no "balance" option in System Preferences for USB speakers.
    There clearly isn't anything physically wrong with the speakers themselves so can only assume there must be a corrupted preference file or similar, but have no idea where to start looking. Can anybody help?

    I have the exact same problem but I use Windows vista into a MOTU Ultralite Firewire interface outputting to some powered monitor speakers. I know the issue has got to be with iTunes because i can open the mp3 in windows media palyer and it plays just fine in proper stereo. It's really annoying and I cant seem to find the solution.

  • How does the pin of SCXI-1302 relate to E serious MIO board

    I use PCI-MIO-16E-4 to control my scxi(scxi 1000+1100+1300+1302). Now I want to use the counter and +5V power of MIO board. How does the pins of SCXI 1302 (50 pins) relate to the pins of my MIO board(68 pins)?

    Dear Jack,
    Please find attached a .zip file which I took from a Knowledge base article entitled "Cable Mapping for a 68 Pin Connector to a 50 Pin Connector" in here you will find a the pin-outs for a 68 pin connector and a 50 pin connector for the E-series boards. When you use the SCXI-1302 you are essentially converting the 68pins of the PCI-MIO-16E-4 to 50 pins, so follow the 50 pin connector diagram and you will see which connections you need to make.
    Regards, Sally Tipper -NI.
    Attachments:
    68to50.zip ‏45 KB

  • "Reading temperatures from using 5508TC adac board"

    I am measuring temperature using the "5508TC adac" board on Windows2000.I have a "K-Type" Thermocouples, but I can't select the channels from the Measurement and Automation Explorer window using Labview 7.0 software.When I click on NI-DAQmx in Labview 7.0;I clicked on "Analog Input" then Temperature, Thermocuples then it says "no supported devices found".I even installed an updated version of NI-DAQ drivers, but I'm still facing the same problem. What do I need to resolve the problem?
    Bultu

    Lab Technician wrote:
    > I am measuring temperature using the "5508TC adac" board on
    > Windows2000.I have a "K-Type" Thermocouples, but I can't select the
    > channels from the Measurement and Automation Explorer window using
    > Labview 7.0 software.When I click on NI-DAQmx in Labview 7.0;I clicked
    > on "Analog Input" then Temperature, Thermocuples then it says "no
    > supported devices found".I even installed an updated version of NI-DAQ
    > drivers, but I'm still facing the same problem. What do I need to
    > resolve the problem?
    I'm sorry but Measurement & Automation Explorer is a National
    Instruments software and knows only about National Instruments hardware.
    The same applies to the DAQmx functions.
    You will have to ask the manufacturer of your board for a config
    uration
    utility for your hardware and also some LabVIEW drivers.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to generate multiple output pdf's from one oracle reports

    how to generate multiple output pdf's from one oracle reports.
    I have a report where I have to generate more than one output files from the same report based on a parameter.
    Each output file is for each parameter.
    Is this possible in oracle reports, is so how ?

    You can better post your question in the reports forum instead of this pl/sql forum.

  • Feature Request:  Modify Audio Channels from the Timeline in Premiere CC.1

    Why have we never been able to modify audio channels once a clip is added to a sequence?  I'm guessing there's a good reason Adobe has never had this feature.  The lack of this feature is explicitly mentioned a few times in the audio section of the Premiere Pro CC manual, as if it's a benefit NOT to have it.  But the benefit is entirely lost on me. 
    In my workflow, I synchronize my double-system video and audio before anything else.  I do this in PluralEyes (and unfortunately I'll have to keep doing it this way, until PPr's sync on sound feature gets fixed—for me it's never worked).
    Once PluralEyes has synched hours of footage and audio and placed it on a PLURALEYES GENERATED sequence, I import that sequence into Premiere.  Note:  Since I haven't gone through the step of creating a blank New Sequence, I don't get the opportunity to setup my audio channels the way I'd like in my sequence (i.e. Stereo recordings should occupy ONE track, not two.  Typically these tracks come from a camcorder and are used for reference sound, or ambient noise at best, so I don't need them taking up precious real estate in my sequence). 
    Since PluralEyes doesn't merge my clips for me (or rather I don't want it to since I'm usually doing multi-cam sequences where I want to keep all 14, or so, tracks of audio), I have to go through the clips one by one and do a Merge Clip action once I've adjusted any minor sync issues, or determined which tracks I actually want to keep.  But, and here's the key, at this stage I'm not yet 100% certain whether I'll use the nat sound or the wireless mic sound (separate audio recorder, etc).  Furthermore, I don't really want to think about that at this point.  After I've spent a few mind-numbing hours just ingesting files, sync and merges, I want to jump into the edit as soon as possible, before I lose all will to finish this edit.  If I modify my audio channels right now, I'll lose the ability to make some creative decisions later on.
    I'd like to start whacking out an assembly edit.  And then after I have a rough program, I can start looking at which audio tracks (nat or double-system) I like better in each circumstance.  This is where I become stumped that at this stage, I'm locked into whatever audio channels I've setup (or not) in the earliest stage of the edit, back before any media was actually on the timeline!  It's at this stage, and usually only at this stage that I want to start Modifying Channels—FROM THE TIMELINE!
    Does anyone else feel the same?  If not, what is your workflow?
    Feature Summary:  Right-click on any clip, (master clip, sub-clip, merged, nested or otherwise) in the timeline and choose Modify > Audio Channels.
    I've submitted a feature request, with a link back to this discussion, so please pipe in—especially if you want this feature. 

    Maybe its your specific workflow, asset mangement  and use of a 3rd party application that  runs you into an issue.
    Take Pluraleyes out of the equation, I would imagine my workflow is the same as most everyone else.  Find footage in the Media Browser.  Import it.  Create a Sequence and start editing.  Use the Source Monitor to set Ins and Outs and then Insert the clip on the timeline. 
    At this point, if the audio needs to be modified, it cannot be done on the Timeline.  The workaround, of course, is to Find Clip in Project; Modify Audio in the Project panel; then do a Matchframe to replace the audio clip.  This works, but requires many steps per clip.  Also, Matchframe in Premiere Pro CC is not reliable. 
    Introducing a new Modify Audio (from Timeline) feature as seen in the fantasy screenshot above would solve it.
    I dont use Pluraleyse ...which I understand to be a synching aid...so I dont know the workflow it imposes on one .
    Returning to Pluraleyes workflow, this issue is compounded by the need to Modify almost ALL audio.  Every stereo track is separated and placed on two MONO tracks taking up precious real estate.  This is not something Pluraleyes imposes.  It is due to the way Premiere imports XML timelines.  This would apply to sequences imported from Final Cut as well.
    In this case it would be ideal to select both the LEFT and RIGHT mono tracks and choose "Modify > Audio Channels > Merge L/R Mono to a Single Stereo track."  Ideal?  No.  I guess Ideal would be if Premiere would interpret XML files properly in the first place.
    What actually is the issue with Premieres synch and merge workflow in your case?
    Audio Sync in Premiere Pro doesn't work.  Period.

  • How can I extract the two channels from a stereo track?

    Hi,
    I am writing a class that is able to draw an audio signal. It seems to be working well but I have a question. If I load a mono audio file I am able to draw it on a graph by using the byte[] array and everything is ok until now. That's the code:
    void Draw(byte[] x)
                Graphics g=getGraphics();
                Graphics2D g2=(Graphics2D)g;
                g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,                     RenderingHints.VALUE_ANTIALIAS_ON);
                for(int i=0; i<x.length-6; i++)
                    g2.draw(new Line2D.Float(((i*(getWidth()-6))/x.length)+5, (getHeight()/2)-          ((x*(getWidth()-6))/x.length), (((i+1)*(getWidth()-6))/x.length)+5, (getHeight()/2)-     ((x[i+1]*(getWidth()-6))/x.length)));
    The results is correct only if I have a mono track. Obviously when I get a stereo track the array becomes very large so here the question. How can I extract the two audio channels from a stereo track?
    Thanks in advance.
    Maurizio Di Vitto                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    A mono audio stream is stored [sample, sample, sample, sample], so just a list of samples in an array.
    A stereo sample is interleaved in the same manner, so you get [left-sample, right-sample, left-sample, right-sample]
    So every nth sample is the 1st channel, every nth+1 is the 2nd channel...

Maybe you are looking for

  • I want to use Airport Express in my hotel room using the wired internet connection, but I don't carry a computer, just my iPad.  Is that possible?

    I want to use AirPort Express when I am traveling.  I would like to use a wired internet connection in a hotel room to create a wireless connection.  However, I do not normally carry my laptop, just my iPad.  Is it possible to do this?

  • Determining Edit/Display Mode from Within Freestyle Component

    I am new to FPM.  We are running ESS. I have enhanced a new Web Dynpro Component onto an Edit page of an OVP (as a Freestyle Component). I want the new WDC to behave differently based on the mode I am in. How, from within the new WDC, can I tell if I

  • How to launch EAS in the server

    Dear Experts, We generally use the URL to access EAS in our machines without logging into the server.. Now I have a huge data to load... I thought its better to load the data file directly from server but I am unable to find from where i can launch t

  • Edit Error CKBK009

    Good day Gurus, I have a question, and i hope you can guide me through it. Im trying to edit an Error "CKBK009". Im trying to change it from "Error" to "Warning", but i can´t find the way. I use the transactions code: OPR8; OPR4_CK; OPR4_PPCO and ano

  • Copy BW

    Hi, We want to copy our BW (7.0) Prod-Env to our BW Dev-Env concerning to SAP note 886102 Scenario "B". One of the first steps (2.1) is to "Save sourcesystem-dependent objects" (to reimport it after the Copy). Does this include "3.x DataSources" (ISF