How to use DAQ as a soundcard under linux

Hi,
My goal is to use a pci-4461 as a high accuracy replacement for a soundcard in a linux environment. The programming language should be C.
I have already looked at the examples that come with the linux driver but my problem is how to exchange the audio data with other applications in real time.
My other application is a softphone for IP-telephony that normally uses the /dev/dsp device under linux to exchange sound with the soundcard. (This can be changed to another device from within the softphone). Now, I want the softphone to read from and write to the DAQ instead of the soundcard. So the DAQ should be configured for continous analog input and output and give the data to the softphone in real time.
Do you have any ideas how to do that with the nidaq-C-functions?
Thank you for your help
Fabian

This example might help:
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=EE91CE2098BB42C1E0340003BA230ECF&p_...

Similar Messages

  • How to add patch in Oracle Payable under Linux

    Hi All
    I want to know how to apply a patch in Oracle under Linux environment. The problem is that I'm a Newbie in Oracle and i'm not a DBA and also i have little knowledge in Linux environment.
    Apps: 11.5.9
    OS: Linux x86
    Patch : 7309767
    Thanks
    Edited by: 883454 on Sep 6, 2011 5:07 PM

    Wrong category forum.

  • How to use more than one device under same apple ID?

    How do you you use more than one device under same apple ID? say for facetime?

    You don't. One Device and one Apple ID.

  • How to use 7344 driver with vc under rtx ?

    Hello everyone
     I am using the PCI 7344 card.Under windows system I  use the flexmotion32.dll well with vc,but when I use it under rtx ,it does not work,appering " can not load the driver".The fact is ,as most say,the driver is not suitable under non-windows systems. So I wonder
    if there is driver under the rtx,or how to use the windows driver under the rtx.
    If it is necessary to develop my own motion driver,what can I do?Does 7344 support register lever programming ? If it does, Can I  get the register map of the 7344?
     Hope your reply!!
    Thank you!!

    Hello !
     Presently I don`t have ni motion DDK, and it appears that there is no available link to download the DDK at ni`s web.So I  wonder if there is more detailed information about the pci-7344 card, for example the port of the registers ,how to mapping to the physical memory etc.
    Another question is if  ni can offer the source code of the ni motion driver for us to reference!
    Thank you!!
    Hope your reply!!!

  • How to use DAQ Assistant to display two analog channels in a XY Graph

    Hi,
    I am new to LabVIEW. I have been assigned a project in which i have to display two analog signals from an analog potentiostat i.e. voltage and current (also a voltage signal) on a graph using labview. I am using a myDAQ device to acquire these analog signals and I am using labview 2013 to display these signals on a graph. I am using DAQ assistant to configure these signals. Rightnow I have separate graphs for each channel. However, I want a single XY graph to display one voltage as a function of the other i.e. I want to have voltage on the X-axis and current output on the Y axis. Any kind of help is greatly appreciated.
    I have attached a screenshot of the VI. that I have made.
    Regards,
    Max
    Attachments:
    New Microsoft Word Document (2).docx ‏32 KB

    Thanks for the quick response. I was able to make a X-Y graph. However, I can only see a dot floating around. It's not drawing anything. I want to see it making a plot as it collects data. Also, I want to see the complete waveform formed when I stop the VI.
    Thanks,
    Max

  • How to enable OCR with Scangear MP under Linux for MG8250?

    Under Linux openSUSE 12.3 I use Scangear MP 1.80 for my Canon PIXMA MG8250.
    As a scan target (in my German GUI it's "Ziel") I can choose "OCR". But there is no text output, the scan is just saved as a picture. How can I configure Scangear to open the scan via Tesseract in a text editor.
    By the way, the target "Print" (in German "Drucken") leads to saving just as well, though there is at least one printer at hand, of course.
    It's a pity that the pixma scan drivers that are shipped with openSUSE don't work with xsane (the scanner starts working, but stops after one third of the page). Using xsane with a different scanner I can use OCR successfully.
    Volker

    There are two basic types of core OCR algorithm, which may produce a ranked list of candidate characters.
    Matrix matching involves comparing an image to a stored glyph on a pixel-by-pixel basis; it is also known as "pattern matching" or "pattern recognition". This relies on the input glyph being correctly isolated from the rest of the image, and on the stored glyph being in a similar font and at the same scale. This technique works best with typewritten text and does not work well when new fonts are encountered. This is the technique the early physical photocell-based OCR implemented, rather directly.
    Feature extraction decomposes glyphs into "features" like lines, closed loops, line direction, and line intersections. These are compared with an abstract vector-like representation of a character, which might reduce to one or more glyph prototypes. General techniques of feature detection in computer vision are applicable to this type of OCR, which is commonly seen in "intelligent" handwriting recognition and indeed most modern OCR software. Nearest neighbour classifiers such as the k-nearest neighbors algorithm are used to compare image features with stored glyph features and choose the nearest match.
    Software such as Cuneiform and Tesseract use a two-pass approach to character recognition. The second pass is known as "adaptive recognition" and uses the letter shapes recognized with high confidence on the first pass to better recognize the remaining letters on the second pass. This is advantageous for unusual fonts or low-quality scans where the font is distorted.
    So I wonder which kind of OCR algorithm are you using?

  • Pakages & how to added them to your CLASSPATH  under Linux OS

    Yesterday i posted a question how to setup a CLASSPATH under
    win2000. Finally with some help i got to work perfectly.
    here is the link for that thread if any one interested in it.
    http://forum.java.sun.com/thread.jsp?forum=31&thread=277111
    Now my question how to do the same thing under Linux OS. I'm using
    linux Redhat 7.3. Just to give you an idea, i have created a package is structure shown bellow. I'm looking to add the package somehow to my
    CLASSPATH or setting it up inorder to be able to import it in any application i might need to that package for.
    archives/mo
    archives/mo/util
    archives/mo/io
    archives/mo/fileutil
    ... Any idea how to do that in Linux

    Hi,
    Ok edit .cshrc file in your root dir, and add a line
    set CLASSPATH=( pkg_a pkg_b pkg_c . )
    this should work, if not try a few different configurations on the command line like infact try this first then edit your .cshrc file
    [ option 1 ]
    home> set CLASSPATH=(pkg_a pkg_b .)
    home> echo $CLASSPATH
    pkg_a pkg_b
    home> { then try a sample java program }
    [ option 2 ]
    home> set CLASSPATH=pkg_a:pkg_b:.
    home> echo $CLASSPATH
    pkg_a:pkg_b:.home> { then try a sample java program }
    regards,
    gearoid

  • How to use a .dmg file in Arch Linux

    I have a file a friend gave me from his Mac computer with a .dmg file name. I haven't been able to pinpoint exactly how to use this type of file... I believe its an Apple raw disk image or something like that.. sort of like an iso. I need to use this file in order to start an application and download it onto Arch Linux. The problem is that I can't figure out how to use it on Arch Linux and burn it onto a Cd. Has anyone had experience with this sort of thing? I am completely lost.

    $ poweriso convert ~/Downloads/lang.rar/Rosetta_Stone_3.4.5.dmg -o ~/Downloads/lang.rar/rose.iso -o t
    PowerISO Copyright(C) 2004-2008 PowerISO Computing, Inc
    Type poweriso -? for help
    /home/user/Downloads/lang.rar/Rosetta_Stone_3.4.5.dmg: The file format is invalid or unsupported.
    $
    $ poweriso -?
    PowerISO Copyright(C) 2004-2008 PowerISO Computing, Inc
    Type poweriso -? for help
    Usage: poweriso <command> [parameters] [-switches]
    <Commands>
    list <image file> <directory> List files and directories in image file.
    Example: List all files and directories in root direcory of /home/sam/test.iso .
    Command: poweriso list /home/sam/test.iso / -r
    extract <image file> <dir/file name> Extract files/directories from image file.
    Example: Extract all files and directories in root direcory of /home/sam/test.iso
    to /home/sam/test recursively.
    Command: poweriso extract /home/sam/test.iso / -od /home/sam/test
    convert <image file> Convert image file to other format.
    Example: Convert /home/sam/test.daa to standard iso file
    Command: poweriso convert /home/sam/test.daa -o /home/sam/test.iso -ot iso
    <Switches>
    -r List or extract recursively.
    -o Specify output image file name.
    -od Specify output folder.
    -ot <iso|daa|bin> Specify output image file type. If not specified,
    the image type will be determined by file name suffix.
    -volsize <n> Split output image file to multiple volumes, and set volume
    size to <n>. Example: -volsize 100M
    -setpassword <password> Set password for output image file.
    Example: -setpassword 12345678
    $
    I tried to convert the file .dmg to an .iso so that I can easily burn that onto a disk and get the ball rolling.. am I missing something here?

  • Using cinepak codec and JMF under linux mandrake

    Hello,
    I have a big problem using JMF under linux to read video files encoded with the Cinepak codec.
    I don't know if i'm the only one in this situation, so if you are too please let me know :)
    I tested my project under both windows and linux. Under Windows, no problem : the cinepak encoded file is read perfectly. Under linux, it doesn't work. Even if i try to read it with JMStudio. So i think it may be a problem of codec under linux, but it isn't because i can read the video file with a linux video player.
    I don't know what to do and it's very important for my project that i can read cinepak under linux.
    Thanks in advance for any help
    Alex

    well, your not the only one.
    I have it working in Debian, and JDS.(JMF is setup automatically in JDS).(2.6.6 kernel)
    I looked at the installation structure of JDS, and was able to duplicate what they did for Debian.
    Maybe it will work for Mandrake two??
    ok, all you have to do is copy or create soft links from your Mozilla directory, just like you did with the java plugin, and link to all the *.so files in JMF-2.1.1e/lib directory.
    Should work.
    I also read that not haveing the native files only matters if you are doing Capture. not play.
    to get your ATI All-in-Wonder 128 to work, make sure you install the correct driver, and have it working under linux, then try it in JMSTUDIO

  • How to use CS_BOM_EXPL_MAT_V2  to include bom under Phantom

    Hi every1,
    How can I get documentation for this function module CS_BOM_EXPL_MAT_V2 
    We want to explode BOM on single level ,including Material which is coming under Phantom assembly too.
    eg. I have one material 1xxxxx.
    after exploding single level bom suppose I'll get these material
    1xxxx1
    1xxxx2
    1xxxx3 and if 1xxxx3 is Phantaom assembly and under this item again I may have 1xxxx1 as bom item.
    that means for my parent material 1xxxxx, I want 1xxxx1 should come 2 times !
    Is there any simpliest way to get or for this item again I need to use this FM again ?
    Pl. do help me.
    Thanks in Advance.

    Hi,
    THE FM 'CS_BOM_EXPLOSION_MAT' mentioned above holds true if u dont hv any alternatives for the BOM.
    eg: If ur component in turn has BOM with 3 alternatives namely 01,02,03
    then ideally FM should pick all the items uder these 3 components but this FM picks by default the 1st
    alternative & ignores the rest.
    So there are changes dat the list which u hv gpt is not 100%.          
      Through Tcode CS12 u can see the level wise components for a BOM.
    U can gather the component details with this Tcode if u hv very few BOMs to explore.
    But if the count is higher u hv to select acoding way for it....
    Attaching a part of code to explore multilevel BOM.....hope dis ll help u......
    1 ST LEVEL
      SELECT MATNR  WERKS  STLNR  IDNRK  STLAL
            FROM ZMAT_PLANT
           INTO TABLE IT_BOM
           FOR ALL ENTRIES IN IT_INPUT    **maintain materials to be explored in IT_INPUT
           WHERE WERKS = IT_INPUT-WERKS AND
                 MATNR = IT_INPUT-MATNR.
      CONCATENATE DOWNLOAD
                  '1_FILE'
                  '.TXT'
                  INTO DOWNLOAD1.
      LOOP AT IT_BOM ASSIGNING <FS_BOM>.
        MOVE <FS_BOM>-MATNR TO IT_CHECK_MAT-MATNR.
        MOVE <FS_BOM>-WERKS TO IT_CHECK_MAT-WERKS.
        APPEND IT_CHECK_MAT.
        COUNT = COUNT + 1.
      ENDLOOP.
      SORT IT_CHECK_MAT BY MATNR WERKS.
      DELETE ADJACENT DUPLICATES FROM IT_CHECK_MAT COMPARING MATNR WERKS.
    2 ND LEVEL
      IF NOT IT_BOM[] IS INITIAL.
        SELECT *
             FROM ZCOMPONENTS
             INTO TABLE IT_STPO
                   FOR ALL ENTRIES IN IT_BOM
                   WHERE MATNR = IT_BOM-IDNRK AND
                         WERKS = IT_BOM-WERKS.
      ENDIF.
      SORT IT_STPO BY MATNR WERKS.
      CONCATENATE DOWNLOAD
                  '2_FILE'
                  '.TXT'
                  INTO DOWNLOAD1.
      LOOP AT IT_STPO ASSIGNING <FS_STPO>.
       MOVE <FS_STPO>-MATNR TO IT_CHECK_MAT-MATNR.
        MOVE <FS_STPO>-WERKS TO IT_CHECK_MAT-WERKS.
        APPEND IT_CHECK_MAT.
        COUNT = COUNT + 1.
      ENDLOOP.
      UNASSIGN <FS_STPO>.
      SORT IT_CHECK_MAT BY MATNR WERKS.
      DELETE ADJACENT DUPLICATES FROM IT_CHECK_MAT COMPARING MATNR WERKS.
      SORT IT_STPO BY IDNRK WERKS.
      LOOP AT IT_STPO.
        READ TABLE IT_CHECK_MAT WITH KEY MATNR = IT_STPO-IDNRK
                                         WERKS = IT_STPO-WERKS
                                              BINARY SEARCH.
        IF SY-SUBRC <> 0.
          MOVE IT_STPO-IDNRK TO IT_STPO1-MATNR.
          MOVE IT_STPO-WERKS TO IT_STPO1-WERKS.
          APPEND IT_STPO1.
        ENDIF.
        COUNT = COUNT + 1.
      ENDLOOP.
    REGARDS ,
    AJIT.
    Edited by: AJIT THAKUR on Apr 16, 2009 10:51 AM
    Edited by: AJIT THAKUR on Apr 16, 2009 10:54 AM

  • How to use DAQ to control Mindstorms NXT in real time?

    I have a project in which I must use a a biosignal to control a Lego robot in real time.  My group is using a DAQ to read an EMG signal into the computer.  We are trying to use the RMS of this signal to control the power of the Servo motors that drive the robot.  However, the DAQ assistant can not be loaded into the NXT (the error message says something about password protection).  
    Is there any way to read the RMS from another vi and feed it into the vi that is loaded into the NXT?  
    In general terms, what I would like to do is use the root mean square of a biosignal read by a DAQ to control the power of the Servo motors, in real time.
    Any help would be greatly appreciated. 
    Attachments:
    Master File.vi ‏65 KB

    You won't be able to run DAQmx VIs on the NXT. The error message is misleading -- the problem is that the DAQ VIs weren't written to run in the NXT's virtual machine.
    Instead, you should create two separate VIs. The first VI will run completely on the PC, will acquire the EMG signal, and then pass messages to the NXT over Bluetooth indicating how much power the motors should get.
    The second VI will run completely on the NXT, will read messages from one of the Bluetooth mailboxes, and then feed that power value into a motor control VI.
    If Bluetooth is not an option for you, you could use just one VI running on the PC, and use the NXT direct command VIs to set motor power over USB. (The drawback is that your NXT is now tethered to the computer.) 
    James Blair
    NI R&D

  • How to use italics,fonts in description under photos in iPhoto

    How do I use italics, fonts etc in the description below the photo in iphoto

    In the iPhoto Window? You can't.

  • How to use my data on windows under bootcamp

    i i had to install windows on my macbook pro retina with mac osx 10.10 to use 3d max on may work, now i want to access on my files on my external hard drive with mac format, i can view files but i can't use file or install any programmes also from mac drive the same problem, i tried to install paragon HFS+ for windows but i can only copy and paste

    Half an hour before you posted there was this same Q&A
    Can I increase the boot camp partition size?
    Goes to show that thinking people will see if the question was ask ed and "More like this" just isn't working.

  • How to use iPhoto in screen saver under maverick os

    With the Lion or Leopard O/S i am able to use my pictures directly from  iPhoto as screensavers.  However after upgrade to Maverick, it is now impossible to select iPhoto events as a source for any of the screensavers!
    any ideas, please help!

    I too am having the same issue.  I have a circa 2007 iMac, and recently upgraded to OS 10.9.1.  I also moved all of my photos to an external hard drive (currently have iPhoto 9).  When I try to set to set up the computer screensaver, the iphoto library on the external drive is greyed out.
    I may upgrade to iPhoto 11 if that it requirement, but if there is an easier solution, I will go for that. 
    Thanks for any feedback!!

  • How to use all oracle text features under ifs?

    i'd like to know that is possible to use a oracle text features like a Theme Capabilities to do a classification when documents its incoming.....

    You will probably need to use dynamic SQL.
    See the discussion at:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:53140567326263
    (while the question deals with SQLX, the answer is the same - Pro*C can't parse all SQL, but dynamic SQL is not parsed by Pro*C)

Maybe you are looking for

  • Error while posting parked document in fbv0.

    hi experts, while posting a parked document in transaction fbvo the follwing information appears and document is not posted.      Field WITH_DIALG-WT_BASE(2) is not an input field message no 00347 Diagnosis A transaction is processed using batch inpu

  • MacBook Pro failing to boot up despite disk utility repair and PRAM

    Problem: MBP frozen on boot up screen with Apple logo and turning gear (which freezes after a while aswell) Solutions attempted: disk repair via custom recovery- disk utility, PRAM Device: MacBook Pro 15" (early 2010) running 10.9 Additional info- Ne

  • Formatting value in the dynamically created table

    Hi, I have created table dynamically. In that, if the columns going to be number datatype, <af:convertNumber pattern="##########"/> , i want to apply this pattern, if the column going to be date, <af:convertDateTime pattern="DD/mm/yyyy" /> , i want t

  • BW-APO Business Content

    Hi, Does anyone have some documents about BW-APO (DP and SNP) Technical documents like: Business Content and other ETL process? . Appreciate your inputs?

  • If you move files to external disk in PSE 7, are those files backed up when you Backup Catalog

    My catalog is now about 50 GB and I want to decrease its size so that it takes less space on my hard disk and, more importantly, so my backups and restores don't take so long.    These are files that will not be edited in the future so why keep backi