How do I control DAQ boards under Linux using C (gcc)?

I need to control multifunction DAQ boards using C (gcc) under Linux/x86. What drivers/packages do I need to use?

Hi NEB,
You will need to download DAQmxBase 1.3.1 found here:
http://digital.ni.com/softlib.nsf/websearch/47D4C7DDD7C777C886256F230070A606?opendocument&node=132060_US
The readme file contains information about what kernels it has been tested on.
Thanks,
Sal

Similar Messages

  • How to upgrade ( touchsmart 610-1130f ) under Linux Operating System: Ubuntu 10.11

    How to upgrade ( touchsmart 610-1130f ) under Linux Operating System: Ubuntu X11
    Unfortunatly didn't do it before erasing Win Se7en.

    I got the answer: If your operating systemt is not listed, we don't have upgrade for you.  If I knew that I woud'nt buy a HP computer.

  • How to upgrade ( touchsmart 610-1130f ) under Linux Operating System: Ubuntu 11.10

    How to upgrade ( touchsmart 610-1130f ) under Linux Operating System: Ubuntu 11.10
    Options 
    How to upgrade ( touchsmart 610-1130f ) under Linux Operating System: Ubuntu X11
    Unfortunatly didn't do it before erasing Win Se7en.

    I got the answer: If your operating systemt is not listed, we don't have upgrade for you.  If I knew that I woud'nt buy a HP computer.

  • How do i detect DAQ device number programatticaly using Visual Basic (not using MAX)?

    how do i detect DAQ device number programatticaly using Visual Basic (not using MAX)?

    Several of the CWDAQ objects have Device (the device number), DeviceName, and DeviceType properties that I think will give you the information that you're looking for. For more information, look in the index of the Measurement Studio reference for Device, DeviceName, and DeviceType.
    - Elton

  • How to output executable Bin file under linux from java

    Hi
    im beginner in java under linux and i want to out put my java programs to be bin files that can run
    if this not possilble
    how to run the output jar files with just double click ?
    does i have to run sh file that do the hob how?
    thanks in advance.

    say your main method (application's entry point) is located in a class com.my.Class,
    then first you create a text file (say, manifest.txt) that contains this line:
    Main-Class: com.my.Class
    [/code}
    and then you append this to the jar's manifest as such:
    jar cfm yourjarfile.jar manifest.txt [additional files you might want to add]
    for more info,
    http://java.sun.com/docs/books/tutorial/deployment/jar/manifestindex.html                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • MXI resman crashes without graphics board under Linux

    We use MXI-2 controller under Linux that works perfectly, but it crashes when we run machine without graphics board (PC for data acquisition).
    We use RH 6.1 and no other boards in PC except netork (3COM FastEth).
    Error message when trying to run resman is:
    National Instruments VXI Resource Manager version 3.0
    Resource Manager failed with error code -105:
    "Unable to initialize NI-VXI driver.
    Unable to open NI-VXI driver window."
    We observed similar behavior also with GPIB under Linux - as son as graphics board is out, first simple ibwrt/ibrd command hangs even the whole PC ! and hard reset is necessary.

    Thanks for the answer - well, after unplugging the VGA adapter (simple ATI Rage 128 series) the memory mapping is of course reconfigured - so please have a look if it looks like "dangerous". Files are attached.
    Regards,
    Peter
    Attachments:
    pci_novga.txt ‏3 KB
    pci_vga.txt ‏3 KB

  • Problem of executing a process under Linux using Runtime.exec

    Hi, All
    I am having a problem of executing a process under Linux and looking for help.
    I have a simple C program, which just opens a listening port, accept connection request and receive data. What I did is:
    1. I create a script to start this C program
    2. I write a simple java application using Runtime.exec to execute this script
    I can see this C program is started, and it is doing what it supposed to do, opening a listening port, accepting connection request from client and receiving data from client. But if I stop the Java application, then this C program will die when any incoming data or connection request happens. There is nothing wrong with the C program and the script, because if I manually execute this script, everying works fine.
    I am using jre1.4.2_07 and running under Linux fedora 3.0.
    Then I tried similar thing under Windows XP with service pack2, evrything works OK, the C program doesn't die at all.

    Mind reading is not an exact science but I bet that you are not processing either the process stdout or the stderr stream properly. Have you read http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html ?

  • How can I control the PP (monitor) volume using my computer volume controls.

    I'm no longer able to control the PP (monitor) volume using my computer volume controls. I've always controlled the monitor volume using my computer volume levels, but starting today, that has changed.
    The volume is just playing at the level recorded with no way for me to turn down or up.
    I performed a disc repair and that didn't solve the problem.

    Does the OS volume control affect anything?  System beeps and sych?

  • Compile occi under solaris using g++/gcc problem

    Hi Expert:
    I got some link error when i tried to compile a demo occi code under solaris using g++. Please share experience.
    Thanks.

    Namespaces are not supported in -compat=4 mode. The only effect of -features=namespace is to recognize "namespace" as a keyword, and disallow it as an identifier. You don't actually get namespace semantics.
    The pupose of -compat=4 is to allow code written for C++ 4.x to compile and run until the code can be updated to conform to the C++ Standard. If you want to use features from the C++ standard, like namespaces, you must use Sun C++ in the default standard mode.
    If you remove -compat=4, the code compiles and links. If you need to use -compat=4 mode, remove uses of namespace, and fix the code to remove name conflicts.
    BTW, we recommend against using -features=bool in -compat=4 mode. It can cause odd behavior when part of the code expects boolean expressions to have type int and part of the code expects bool to be a different type.
    It appears you are using C++ 5.0, a product that has been obsolete for several years and which is no longer supported. You should consider updating to Sun Studio 11 (C++ 5.8), at no cost.
    http://developers.sun.com/sunstudio/

  • How can I control a stepper motor drive using a DAQ card?

    I need to control a simple CW/CCW stepper motor drive using a DAQ
    card.  I simply need to output a 5 volt signal and then a drop in
    the signal, and so on 200 times or steps for 1 revolution.  I have
    desiigned the basic program, but do not know how to output the
    appropriate signal.
    Cheers,
    Matt

    What DAQ card do you have? Ideally, one with a counter output to generate the steps, where you can control frequency. If you try to start the motor too fast (acceleration or abrupt application of fast pulses) it may stall out. Search in Help/Search for Examples for 'frequency' and 'pulse' for example of frequency generation. You can also use a digital output on the DAQ card to control direction.
    If DAQ card does not have a counter, you coul do a software timed loop to toggle a digital output to generate the pulse train. It may not be fast enough nor accurate for your application, do not know from info you have given
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • How to change locale of keyboard in linux using java.

    In my application I have a JTextArea . In that field i have to call my language dependent keyboard. How to do this?. I tried with InputContext ipt = InputContext.getInstance();
    ipt.selectInputMethod(new Locale("en", "US"))But it is working in windows, but not in linux.

    If any one have experience in this, please respond...

  • How to get free disk space in linux   Using JAVA program ?

    Hi,
    I am new to such adavance topics.. like JNI
    I have to check linux system free disk space , if space is more than 80% it should email to user.
    But how to check that Using Java program ??
    can u give me one sample example ? i will do it if u can do some for me
    thanks
    give me possible solutions...

    Using the Runtime class you can execute any linux command. Check it out.

  • How can I make DAQ VIs visible when using NI-DAQ 4.9 with LabVIEW 6.0?

    My operational system is Windows 98, I am using a AT-DSP2200 card and is configured. I have installed a NI-DAQ 4.9 (the last for this card) and I use Labview 6.0, but I can not find the DAQ VIs on the functions palette. How can I solve this?

    Hello;
    That version of the driver is too old to work with Labview 6i. The oldest version of NI-DAQ that one can combine with Labview 6i is version 6.1.
    You will need either to use another version of Labview, or to investigate a replacement hardware that you can use with newer versions of NI-DAQ.
    Regards
    Filipe A.
    Applications Engineer
    National Instruments

  • How can i control my new mac mini using my new macbook air? Thanks

    Hi, I would like to control and even file share my macmini using my macbook air... the mac mini is plugged into the family 50inch plasma... so getting access to it is not always easy! I'd like to play itunes, films, file share, just about do everything from the macbook air as if I was on and in front of the macmini... i'm hoping to do this from any country using wifi!
    I've looked at screens - vnc client, but can;t find anywhere where it says I should download the app... is there a master to download to the mac mini, then waht do i download to the macbook air to enjoy control... also am i expected to download twice and pay twice?
    I'm very new to the mac world... loving it, but lots to learn! Appreciate your help, thank you
    Chris
    PS... bonus if I can also control the mac mini using my iphone4 and ipad 2 (yup, my bank balance took a major hit.... apple certainly got me hooked!)

    Sceen sharing is built into the OS  go to your help in the finder and type in "screen sharing"
    To set up screen sharing: (on the mini)
    Choose Apple menu > System Preferences and click Sharing.
    Select the Screen Sharing checkbox.
    To specify who can share your screen, select one of the following:
    All users: Select this if you want to allow any user with a user account on your computer to share your screen.
    Only these users: Select this if you want to restrict screen sharing to specific users.Click Add at the bottom of the Users list and select a user from Users & Groups (accounts you have set up in Accounts preferences), Network Users (users on your network), or your Address Book. Or click New Person and enter a name and password to create a sharing account. Then select that user from the list and click Select.
    Click Computer Settings and set the following options:
    Anyone may request permission to control screen: Select this to allow anyone on your network to request to share your screen.
    VNC viewers may control screen with password: Select this and enter a password that VNC viewer applications can enter in order to control your screen.
    It’s recommended that you not set a password if you only share this computer’s screen using the built-in screen sharing viewer in Mac OS X.

  • How can I control a dc motor speed using an optical switch?

    I am trying to use LabVIEW to create a VI that controls the speed of a DC motor. The system needs to have an user set rpm and the DC motor needs to adjust the duty cycle to obtain the correct rpm dependant on the load. A disk with holes and an optical switch is being used to measure rpm.
    The current problem is that I cannot get the rpm based on the optical switch.
    Thanks for your help!
    Attachments:
    Speed reg.vi ‏183 KB

    The error for the samples to write does not appear after redoing the vi. Thanks. The controller seems to be working mostly.
    However, the issue with the Tone Measurement reading inaccurately at low frequencies still exist. Any ideas?
    I have attached the latest vi.
    Thanks again!
    Attachments:
    speed_reg_v2013-05-07.vi ‏183 KB

Maybe you are looking for