How to use DMA in linux?

Hi,
This is not exactly an area of my expertise, but I'd need to output analog signal with an M Series card in linux. I'm using the NI DAQmx Base driver and apparently it does not have any direct support for DMA access. As I understood, the NI DAQmx driver would have a support for DMA, but the newest version of driver for linux (openSUSE) is from 2005. With current implementation the output is not very steady as there are some other mandatory processes on the background and the driver already seems to be using nearly all of the CPU time. Any help would really be appreciated. Thanks in advance.
-- mikko

Hi mikko,
DAQmx Base does support DMA, but only for analog input (which obviously doesn't match your application's needs).
However, I don't believe you will need the DDK to support DMA for analog output on your hardware: installing DAQmx 8.0 is possible on newer Linux distributions, and one user in particular shared his procedure [1]. His instructions mention using NI-KAL 1.6, but my recommendation is to use the latest [2]. National Instruments hasn't tested DAQmx 8.0 on these newer distributions, so I can't say what the driver's performance would be in your situation. I can say, though, that I've installed DAQmx 8.0 on openSUSE 10.3 successfully and was able to use the shipping examples for an internal demonstration.
If you encounter problems, please reply and tell me which hardware you want to use and which Linux distribution you're currently using. It will be much easier to install DAQmx 8.0 on a newer release of a supported distribution (like SUSE [3]) than a on an unsupported distribution.
[1] Installing LabVIEW 8.2.1 with DAQmx 8.0 on Suse 10.3 for Linux.
http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=331638#M331638
[2] NI-KAL for Linux
http://joule.ni.com/nidu/cds/fn/p/sb/navsRel/lang/en?q=ni-kal
[3] National Instruments and Linux: Frequently Asked Questions
http://www.ni.com/linux/support.htm#1
Joe Friedchicken
NI VirtualBench Application Software
Get with your fellow hardware users :: [ NI's VirtualBench User Group ]
Get with your fellow OS users :: [ NI's Linux User Group ] [ NI's OS X User Group ]
Get with your fellow developers :: [ NI's DAQmx Base User Group ] [ NI's DDK User Group ]
Senior Software Engineer :: Multifunction Instruments Applications Group
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)

Similar Messages

  • How to use jdeveloper with linux?

    how to use jdeveloper with linux?
    Hello, i've download jdeveloper, and i have java1.4 installed. But i can't run jdeveloper i have jdev.exe and jdev but when i put /usr/local/jdev/bin/jdev a have a message like file not found. I don't know what to do.
    Help please!!!
    Ori.

    You need to go to the directory where you unzipped JDeveloper, for example:
    cd opt/jdev/jdevj2eebase1013/jdev/bin
    Once there, do this:
    chmod +x jdev
    chmod +x ojc
    Now you can try this:
    nohup ./jdev &
    or simply
    ./jev
    I usually create a soft link in ~/bin

  • How to Use JNI for linux based C programs

    Hi all,
    I am doing my project in JAVA for my Institute. There is a Central server. All the API's have written in C. The C APIs are Linux based.
    The problem is getting records from the database through API.
    I tried the Java Native Methods. I am able to do that in console with out problem. Since my project is web based I want to fetch the records through the C APIs in JSP. Is it possible? How to do that?
    Please Help me.
    -Prathap

    Why can't you use JDBC?
    I tried the Java Native Methods. I am able to do that in console with out problem. Since my project is web based I want to fetch the records through the C APIs in JSP. Is it possible? How to do that?JSP runs in a server. Which is just a big console application. Same as any other.
    Basic process.
    1. Write the JNI
    2. Insure the JNI is in the servers shared library path. This can depend on the user that the server runs under (unlikely to be you.)
    3. Add the java code into the server.

  • How to use Jinitiator for linux???

    I want to run oracle apps 11i on mandrake 8 using netscape 4.7

    Jinitiator for linux does not exists.
    You can try jdk (jre) 1.3.1 plugin and
    sign f60web.jar
    Visit http://www.snpe.co.yu/index.php?sadrzaj=html/fslin_eng.html
    regards
    peco

  • How to use sqlldr in linux

    i need to load an excel file in oracle database using sqlldr
    how can i do that
    i am not clear about the control file uses and its creation
    thanks :-)

    These links were not of much help as i already went through it
    my prob is i dont get any error when i run sqlldr
    sqlldr userid=scott/tiger control=emp.ctlPotential problems:
    1. Your command "sqlldr userid=scott/tiger control=emp.ctl" doeas not include data file name (where is the data for import) because there this file is not specified in .ctl file.
    So define "data" prameter in sqlldr command or add infile <filename> to .ctl as following:
    LOAD DATA
    INFILE <replace by filename>
    APPEND INTO TABLE emp1
    id INTEGER EXTERNAL TERMINATED BY "," ENCLOSED BY '"',
    ename CHAR TERMINATED BY "," ENCLOSED BY '"'
    )2. Your .ctl is not appropriate for data structure.
    This .ctl is expecting following data structure:
    "1", "James Bond"
    "2", " Miss Moneypenny"
    "3", "M"
    "4", "Q"
    ... and so on.or
    "1", "James Bond",
    "2", " Miss Moneypenny",
    "3", "M",
    "4", "Q",
    ... and so on."userid=scott/tiger" - I assume you are loading data on the same machine where the databse serer is located. Right?
    The links are appropriate! It is official documentantion and all information I gave you are part of this document.

  • How to use Linux Print queue in client_text_io.fopen to print from Windows

    We have a forms application deploed on LINUX (Oracle application server 10g).
    I have to print a file from local windows PC to a linux Print Queue from forms
    I have the following code
    PROCEDURE file_to_printer (i_filename_output IN VARCHAR2
    ,i_network_printer IN VARCHAR2) IS
    l_line VARCHAR2(2000);
    l_fileid_output client_text_io.file_type;
    l_fileid_print client_text_io.file_type;
    BEGIN
    l_fileid_output := client_text_io.fopen (i_filename_output,'R');
    l_fileid_print := client_text_io.fopen (i_network_printer,'W');
    WHILE 1 = 1 LOOP
    client_text_io.get_line (l_fileid_output, l_line);
    client_text_io.put_line (l_fileid_print, l_line);
    END LOOP;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    client_text_io.fclose (l_fileid_output);
    client_text_io.fclose (l_fileid_print);
    END file_to_printer;
    Everything works fine if I use a windows printer like \\machine\printer.
    I want to use a Linux printer and specified the print queue as
    \\machine\print_queue_name. It's not working
    and I get error ORA-302000 on the following line
    l_fileid_print := client_text_io.fopen (i_network_printer,'W');
    and if I give only the queue name no error but it's not printing.
    Could you please tell me how to use a Linux/Unix print queue in this situation

    the simplest way is to edit the interface file (look in /etc/lp/interfaces for existing printers). Each script is
    run per print job where stdin has your print data, and stdout is going to your print device. You can just
    send the output to a file instead (assuming you can create a file in the windows directory from the solaris
    box). If it's a network share, you could use smbclient.
    -r

  • How to run SAP BUSINESS ONE 8.8 clients on windows and use MaxDB on linux/W

    Good day,
    As the subject shows we have SAP BUSINESS ONE 8.8 and I want to find out how to use it in combination with MaxDB instead of MS SQL. I find a lot of MaxDB stuff on the net but no guides on how to setup SAP BUSINESS ONE 8.8 clients on windows workstations and connect them to MaxDB.
    Is this possible and if so how do I go about doing it ?
    Any assistance is greatly appreciated .

    Hi,
    I suggest you to check the supported server for B1 in this link:
    http://service.sap.com/smb/sbo/platforms
    You will know the sap b1 supported platform.
    If you really want to use maxDB on linux/W as B1 server, you can send a development request to SAP AG.
    JimM

  • 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?

  • How can use linux in my macbook?

    how can use linux in my macbook?

    You can use various distributions of Linux either by running them under Boot Camp, or in a virtualized environment such as Parallels or VMWare's Fusion. Note that you may have to try several different distros until you find one that works. I settled on Ubuntu running under Parallels.
    Best of luck.

  • How to use clamav anti-virus for Red Hat linux

    I wanted to know how to use clamAV anti-virus solution for RHEL 5.X. I tried to find it online but the information does not seem consolidated. I wanted to understand how to install and use it to scan the system.
    Requesting a reply to my query.
    Regards

    Moderator Action:
    This question has no relationship whatsoever with functionality involving anything "Oracle".
    You should ask your Red Hat Linux questions at a Red Hat support forum.
    Thread is now locked because it is outside the scope of this forum discussion space.

  • How to run .jar on linux & how to create .jar file using java?

    hi, may i know how to run .jar on linux & how to create .jar file using java? Can u provide the steps on doing it.
    thanks in advance.

    Look at the manual page for jar:
    # man jar
    Also you can run them by doing:
    # java -jar Prog.jar

  • Can i use itunes on linux ....how

    can i use itunes on linux ....how

    Yes, although not natively. You can install iTunes under the Wine framework (see http://www.junauza.com/2010/07/how-to-install-itunes-on-ubuntu-linux.html). Wine allows Linux to run Windows applications by doing a  translation of Windows APIs to the equivalent Linux system calls.
    You could also install a Windows Virtual Box using VMWare or Virtual Box, and then install iTunes in the VM.

  • How to compile CrossBridge to using it in Linux?

    Hello.
    I see that Crossbridge and FlasCC running in Windows throught Cygwin. So, I think it is possile to build it for Linux. How to do this?
    Best regards,
    Nicholas

    Hi,
    Thanks, looks promising.
    Will give a try right now
    2013/8/23 cbakgly <[email protected]>
       Re: How to compile CrossBridge to using it in Linux?  created by
    cbakgly <http://forums.adobe.com/people/cbakgly> in FlasCC - View the
    full discussion <http://forums.adobe.com/message/5619598#5619598

  • HT5002 I used Inkscape on Linux before moved to Mac. Now I am trying to install it using MacPorts, but libpixman has some problems that has been reported out there. Does any one know how to fix it without the need to use other way than MacPorts?

    I used Inkscape on Linux before moved to Mac. Now I am trying to install it
    using MacPorts, but libpixman has some problems that has been reported out there.
    Does any one know how to fix it without the need to use other way than MacPorts?

    Start with this comprehensive troubleshooting article:
    https://discussions.apple.com/docs/DOC-3521
    Look at this one for possible solutions:
    https://discussions.apple.com/docs/DOC-3353
    Ciao.

  • How do I combine multiple PDF using PHP on Linux

    Hi,
    I would like to know if there is an Adobe product that can combine multiple PDF's into a single document and works on Linux? We are developing an application using PHP on Linux that has to combine selected PDF's and would like to know if there is a tool with api's (or command line interface) to allow that.

    Adobe licenses the PDF Library SDK for native developers on Linux platforms (as C code). They do not supply PHP tools.

Maybe you are looking for

  • Problem with JavaScript in my PDF Form buttons

    I am trying to have my user click on a button in my form on my website and e-mail the form data to me. I am using the following JavaScript with my form button: this.mailForm(false, "[email protected]", "", "", "Subject", "Message Body"); Protected mo

  • MP4 H.264 video won't play in Flash Player

    I am using a Mac Book, OS X 10.8.5; FireFox 32.0.1; Flash Player 16.0.0.305.  I am trying to play video (MP4 H.264 format) that works on VLC, Quicktime Player & Real Player but won't play through Flash Player.  Why?

  • Why is there a huge white space to the right of the board when I play Lexulous on Facebook?

    I play Lexulous (a form of Scrabble) on Facebook. For months now, whenever I play the game, there is a huge white space to the right of the board, like a whole other window. Only with this app. I tried another browser, same thing, and it also does it

  • FASTER THROUGH PUT ON FULL TABLE SCAN

    제품 : ORACLE SERVER 작성날짜 : 1995-04-10 Subject: Faster through put on Full table scans db_file_multiblock_read only affects the performance of full table scans. Oracle has a maximum I/O size of 64KBytes hence db_blocksize * db_file_multiblock_read must

  • Automatically creation of column by creating it in another list

    Hi, I have two list (list1 and list2) and what I want is if I create any column in list1 the same will create in list2 with same description and property. Kindly help me in this. thanks, Vidhu