NI Daqmx Base tutorial

Hi,
I am now using a data acquisition CompactFlash-6004 and i have installed the NI DAQmx Base 3.1 driver. The problem now is i can't find any tutorials for NI DAQmx base.Any kind person please direct me to the correct source?

The LabVIEW NI-DAQmx Base Help gives a lot of information on the LabVIEW VI's and properties. In LabVIEW, select Help » Search the LabVIEW Help and the VI reference help section for NI-DAQmx Base.
Also, please see the KB below for the location of examples for DAQmx Base and the Developer Zone article for some getting started information with DAQ.
Where Can I Find NI-DAQmx Base Examples?
http://digital.ni.com/public.nsf/allkb/BEA8C88ED8B09AF286256ED0004544F7?OpenDocument
Complete Data Acquisition Tutorial
http://zone.ni.com/devzone/cda/tut/p/id/3116
Regards,
Chris Delvizis
National Instruments

Similar Messages

  • Cannot find Data Neighborhood in NI-DAQmx Base to create a Task

    I cannot find Data Neighborhood in NI-DAQmx Base inorder to create a Task.
    I am trying to follow the "Learning with LabVIEW 8" tutorial book.
    I am using a NI USB-6008, and have downloaded NI-DAQmx Base 3.0.
    The book says to right click on Data Neighborhood and "Create New". I cannot find Data Neighborhood anywhere. The help documents referance Data Neighborhood but I still can not find it. Is Data Neighborhood not in the base version?
     Please Help Thank you

    Hi Lazysmartperson,
    DAQmx base uses a different utility to create tasks.  This is called the NI DAQmx Base Configuration Utility.  It can be found in Windows by going to Start » Programs » National Instruments » NI-DAQmx Base » Utilities » C Interface.  The reason behind this is because NI DAQmx Base is typically used on non windows operating systems such as Linux, Mac OSX, and some RT systems.  Since there is no Measurement and Automation Explorer (MAX) for these operating systems we use a different utility for customers to configure tasks.  If there is no specific reason you cannot use DAQmx, I would highly recommend switching to it.  Our DAQmx driver is fully supported within MAX and should show up as in Matthew's last post.  If you are looking to develop in DAQmx Base so that the applications can be used later on Linux, Mac, or other DAQmx base supported operating systems, I would suggest taking a look at the DAQmx Base Configuration Utility.
    I hope this helps,
    Paul C.

  • USB 6009 and DAQmx Base Concerns

    Hello,
    I just received a USB-6009 multifunction DAQ device along with DAQmx Base for use on Windows XP with LabWindows/CVI ver 7.1.  Both the 6009 and DAQmxBase are successfully installed however I have several questions, I hope I am missing something obvious:
    1. The Task Configuration Utility is not needed for use with LabWindows/CVI?  I believe I read this in the Getting Started Guide.
    2. There is no function panel for the DAQmxBase functions?  I even searched the installation CD and found no .fp files.  So the only way to know what functions are available with DAQmxBase is to open the NIDAQmxBase.h file and search through the function prototypes?  Then, to know what a function does it is necessary to open the C Function Reference Manual via the Windows Start button and search for the function name of interest?
    3. When creating a digital input or output channel with DAQmxBaseCreateDIChan or DOChan is it only possible to setup a "channel" as an entire port?  Is it not possible to setup a channel as a single input or output line?  Similarly, once the channel is configured is it only possible to read or write an entire port with DAQmxBaseReadDigitalU8 or WriteDigitalU8?  I was expecting something similar to the DIG_out_line function used in Traditional NI-DAQ where a board number, port number, line number and state are passed so that a signal output line can be set on or off.
    Thanks in advance for the assistance,
    - Aaron

    Aaron T. wrote:
    Hello,   I just received a USB-6009 multifunction DAQ device along with DAQmx Base for use on Windows XP with LabWindows/CVI ver 7.1.  Both the 6009 and DAQmxBase are successfully installed however I have several questions, I hope I am missing something obvious:   1. The Task Configuration Utility is not needed for use with LabWindows/CVI?  I believe I read this in the Getting Started Guide.  
    **The Task Configuration Utility is not necessary, except that there is significant functionality missing from DAQmx Base but present in the utility. That includes a lot of what DAQmx calls "proerties", and includes things like the convert rate for AI scanning.
    2. There is no function panel for the DAQmxBase functions?  I even searched the installation CD and found no .fp files.  So the only way to know what functions are available with DAQmxBase is to open the NIDAQmxBase.h file and search through the function prototypes?  Then, to know what a function does it is necessary to open the C Function Reference Manual via the Windows Start button and search for the function name of interest?  
    **I don't use CVI so I don't know anything about this. It strikes me that even if you have such a panel reading the documentation is a good idea
    3. When creating a digital input or output channel with DAQmxBaseCreateDIChan or DOChan is it only possible to setup a "channel" as an entire port?  Is it not possible to setup a channel as a single input or output line?  Similarly, once the channel is configured is it only possible to read or write an entire port with DAQmxBaseReadDigitalU8 or WriteDigitalU8?  I was expecting something similar to the DIG_out_line function used in Traditional NI-DAQ where a board number, port number, line number and state are passed so that a signal output line can be set on or off.  
    **Well, the ReadMe file says that USB-6008/9 is supported with both Line I/O and Port I/O. On the other hand, the documentation for DAQmxBaseCreateDOChan and DAQmxBaseCreateDIChan say for the lineGrouping parameter, "Always pass DAQmx_Val_ChanForAllLines." So your question is a good one! Perhaps one of the NI engineers can comment on this.
    - Aaron
    Thanks in advance for the assistance,
    John Weeks
    WaveMetrics, Inc.
    Phone (503) 620-3001
    Fax (503) 620-6754
    www.wavemetrics.com

  • USB-6009 Daqmx Base 3.3 Cannot creat 2 or more channels on Windows mobile 6

    Hello,
    I have USB-6009, PDA iPAQ 214, WM6, Daqmx base 3.3, Labview 2009. In order to create new mobile project I use wizard and standart dynamic example: Cont Acq&Graph Voltage-Int Clk.vi. All works ok, but if I add more chanels in VI "Create Channels" or place new VI block and enter "Dev1/ai1", exe on my PDA cannot work correctly. Exception after RUN. I have no idea how build correct application with 3 channels without this exeption...  On PC all works. Whay right way to create channels? I attach VI which don't work, for examle. I read daqmxbase cannot support WM6, but 1 channel work ideal!
    Attachments:
    diagramm.jpg ‏113 KB

    Vital000,
    I forgot to mention that, yes, Windows Mobile 6 is not supported along side of DAQmx Base. That means you might be able to get some  of the same functionality(limited) that you would with Windows Mobile 5, but most likely not 100% functionality. This could explain why 1 channel works and multiple channels do not. I will try and help you out, but as this is not supported my ability to help is limited.
    Ben Sisney
    FlexRIO V&V Engineer
    National Instruments

  • How to count number of NI digitizers installed [NI-DAQmx Base]

    I'm the author of a cross-platform scientific data acquisition/analysis program (C++ using Qt: Windows and OS X). I'm just getting started on adding support for NI digitizers. It's tougher than I was expecting - there's so few helpful code examples. On Mac OS X I'm stuck with NI-DAQmx Base. I'd be very grateful if someone could help me with a couple of basic questions...
    1) How do you determine if the computer has an NI digitizer installed?
    1a) Is there a way to count the number installed?
    2) How do you synchronize things so that the input and output streams start at the same sample point?
    Thanks,
    John.
    Dr John Clements
    Lead Programmer
    AxoGraph Scientific

    Hi John,
    DAQmx base does not have property nodes, therefore we cannot
    programmatically determine information about the cards. We typically refer to
    our high-speed scopes (51xx series) as digitzers, in which case, there are no
    drivers for MAC. Our other DAQ cards, E-Series (60xx) and M-Series (62xx) work
    with DAQmx base according to the readme.
    If you are using a DAQ card, I would like a bit more clarification about question 2. When you say start at the same sample point, do you mean start simultaneously so that the input and output start at the exact same point in time? If so, I may suggest triggering them both off of the same digital line.
    David L.
    Systems Engineering
    National Instruments

  • NI-DAQmx Base - "Read or Write task without first setting line states"

    I am writing an application to interface with the USB-6501 hardware platform. In my application, I am first initializing all the lines on each digital port to be either read or write lines. After these lines have been initialized to the correct state, I would like to write data to a specific port, or read data from that port, without having to again define the line states (i.e. I'd like to write data to the port based on the already configured lines).
    Here's how I approach the problem. On initialization, my program will create a DAQmxBase task which will set the lines I specify as "Write" lines for port0, following this is another task which specifically sets the "Read" lines for port0. When I create a task to simply read or write data to a port (without again defining which lines are write and which lines are read) I receive the error "-200428 - Value passed to the Task/Channels In control is invalid.". If I define the read and write lines as a step in the same task which reads or writes data (respectively), the process seems to work ok.
    Can anybody offer any insight to whether or not I should be able to accomplish this task using this approach?
    Thank you for your help.

    Hello DarkCloud. Thank you for contacting National Instruments. If you create a task in the DAQmx Base Configuration Utility and set the direction of the line, you don't need to reset the direction in LabVIEW. There are some examples of how to do this at Start>>All Programs>>National Instruments>>NI-DAQmx Base>>Examples>>LabVIEW 7.1. Open the static example for DIO>>Write Dig Port. Please let me know if you have any questions. Have a great day!
    Marni S.
    National Instruments

  • NI DAQmx Base error

    We're trying to use the NI USB 9233 DAQ card with DAQmx Base 3.4 on Windows 7 and we're getting a lot of errors in the process.
    The card seems to be recognized properly, as it shows in the Measurement and Automation Explorer (the one that came with DAQmx Base).
    But when we open the NI Data Logger, it says "Error 200036 at Requested Sample Clock Rate not supported by device".
    We're tried changing the sample rate quite a few times, and to a lot of different values, with the same result.
    Also, in the NI Nase Configuration Utility, we're unable to create a task. The Device simply shows up at "Dev1" i.e. without any name. And when we try to create a task, the "OK" button is greyed out.
    Any ideas what may be going wrong?
    Thank you in advance
    Sarthak

    Wow, I did not know there were two different things... I thought it just meant it was a base error.
    Neil, can you provide all of the code that you have that controls your DAQmx stuff? You're showing a small part of the whole DAQmx process and it's just not enough information to get to the root of the problem.

  • NI-DAQmx Base 2.0 and Win Mobile 5

    Hi,
    Can anybody tell me if NI-DAQmx Base 2.0 is compatable with Win Mobile 5 devices?
    I'm trying to capture analogue voltages and my app builds fine and loads to the PDA, but the PDA is not seeing the PCMCIA DAQ card (6062E) that I'm using.
    I have run the "Base" installer which has copied the Base driver file/s to the PDA (and I have the Base task setup OK in the VI), but the PDA comes up with an "Unrecognized Card" error. I have removed the Base driver/s from the PDA and reinstalled them but with no luck.
    Is this just because Base 2.0 is not compatable with Win Mobile 5?
    Is there any way I can get Base 2.1 to work with LV-Pro-8 and PDA-8 or is there some other way I can get the drivers onto the PDA that will handle the 6062 card under Win Mobile 5.
    Any help would be greatly appreciated,
    Thanks,
    Paul.
    Solved!
    Go to Solution.

    Hi Paul,
    Good afternoon and I hope your well. 
    One thing to bear-in-mind is that DAQmx Base doesn't offically support Windows Moble 6 devices - even though they have been seen to work. This is not to get confused with LabVIEW 8.6 which does support Windows Mobile 6. i.e. just not DAQ applications/DAQ hardware. 
    I am another customer, here at NI UK Support and I have another customer with the an issue with WM6 and DAQ CF, I'd like to work more with you on this.. could you please provide more details on how it goes tomorrow and the tests you do. 
    For reference please look at these links: 
    http://zone.ni.com/devzone/cda/tut/p/id/7705#toc0
    http://digital.ni.com/public.nsf/allkb/F6576C46AD7B42768625758200510715?OpenDocument
    Thanks
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • NI-DAQmx base vi's compatibility

    Hi All
    I have two questions
    1. I am using a PCMCIA card 6024E to perform analogue input on a pda. The specifications state that a sampling frequency of 200kS/s is guaranteed. Is there any way I can measure the sampling frequency programmatically or is there any VI for this already available in thevi library?
    2. I have written a simple program  in Laview 7.1 for analogue input data acquisition using NI-DAQmx base 1.0 vi's (e.g.Ni-daqmx base read, write, etc.) which runs on a pda using the above card. I would like to  run the same program using the same card on a laptop which uses windows 2000 operating system. I believe that the NI-DAQmx base vi's are exclusive for use on pocket PC's and cannot be used with other devices such as a laptop. Is this correct?
    Is there a simple way to make the program compatible , or upgrate it for use on a laptop or maybe to convert the mx base vi's into NI-DAQmx vi's without having to rewrite the program?
    Many Thanks
    Rupa

    Hey Rupa,
    Please dont start different threads for the same question. This will create confusion for the newbies like me. So please hence forth start only one thread for one question.
    I can assure you that you will get the answer for your posting. So please keep this in mind.
    Thanks.
    Regards,
    Sarang Dhananjay Jaiswal
    Satyam Development Center, Banglore, INDIA

  • Can NI-DAQmx Base read more than one channel at a time?

    I need to read and record two channels off of my Ni USB-6008 using NI-DAQmx Base. Is there a way to do this or is a lost cause?

    Of course it can read multiple channels. In your channel setup, do something like "Dev1/ai0:2". This will read channels 0 through 2.

  • Does NI-DAQmx base 1.4 support MIO-16XE-50 boards?

    The documentation for NI-DAQmx base 1.4 claims it supports the "E-Series" boards. This is one of the E series boards but the driver does not seem to recognize it. This is under Mac OS X.
    If I force the driver to load with a kextload command, it shows that it loads a personality named
    PCI-MIO-16XE-10 but not the -20 or -50 versions. Is there that much difference between the versions or was it just an obsolete unsupported version?
    The board is certainly there and ioreg shows its presence:
    NATI,pci-mio-16xe-50@13
    but it is matching against the default IOPCIDevice and not the nirlpdrvk (national instruments register level programming driver kit?)

    I have a PCI-MIO16XE-50 board and a PCI-6025E board and a PCI-GPIB board in this system. The ioreg command reccognizes all the boards but only the PCI-GPIB board has a driver loaded. The other boards show a vendor code (1093) and a product code with ioreg but do not show a driver match! The lsdaq shows no boards since the kext did not match the board. If I force a load of the kext (using kextload -v) I get a list of board drivers loaded and it says that the E series driver is loaded.
    Apple system profiler does not show either DAQ board since there is no driver match. Somewhere in the lab I have one system with a -10 board in it. That was not going to be my development system and I will try to track that one down and swap some boards around. In reading all the NI documentation again today there is no list of supported boards other than "E-Series" boards. That seems to be an overstatement.
    Or the driver is completely installed incorrectly.
    But I will bet $$ to donuts that in this case I have 9 unsupported boards and 1 supported board. That is not a great batting average! It would have been nice if the read-me file had a few more specifics. This was obviously a choice in support decisions of supporting old hardware so it was not an accident.

  • Problem with DAQmx BASE

    Hi,
    I'm able to create a task with using NI-Daqmx Base Task Configuration utility. I'm trying to create a DIO task for my application, when i set the output port as 0. The application works. But, when i change the output port as 1,2 and 3. It doens't work. Anyone know why is this happening?
    Thanks.

    Duplicate thread
    http://forums.ni.com/attachments/ni/70/8472/1/movement.vi</msg_body>
    Please only post in one forum thread at a time
    Rob L
    NI Applications Engineer
    UK & Ireland
    It only takes a click to rate this message ;-)

  • Do I need to use DAQmx Base for PDA module or DAQmx will work just fine?

    Hi All,
    Does PDA module work only with DAQmx Base or DAQmx as well?
    hellolv

    Hi hellolv,
    The PDA module currently only works with DAQmx Base.  If you've never used DAQmx Base before, it is actually very similar to DAQmx, and there are lots of examples out there to get you started.  I recommend searching through our Example Code Library.
    Thanks,
    Justin M.
    National Instruments

  • How to recognize s-series daq card in DAQmx Base 2.0

    I installed the "DAQmx BASE 2.0", and then installed 3 PCI DAQ boards.  It can recognize PCI-6024E and PCI-6713, but not PCI-6133.
    I followed exactly the same procedure as in the document called "How do I use NI-DAQmx Base with PCI/PXI Devices on Windows?"
    http://digital.ni.com/public.nsf/websearch/9C4E9FD0C7469BC286256F100074EADC?OpenDocument
    However, there is a web page (the link below) having labview example programs using DAQmx Base for "NI 6110 S Series Multifunction DAQ". So I think probably there is a way to recognize the S-series devices in DAQmx base.
    http://digital.ni.com/public.nsf/allkb/722DDAB4E914073D8625708100773677
    Does anybody know how to recognize S-series device in DAQmx Base 2.0?
    Thanks

    Alan,
    Thank you very much for the quick response.
    The reason I explored DAQmx: I want to do RLP and DAQmx Base has a simpler interface and more examples for RLP.
    The reason I want to go RLP instead of DAQmx is a long story.
    Summary of my applications:
    I need to read 4 input voltage (using PCI-6133) and then generate 12 voltages (using two PCI-6713 each has 8 outputs). Since the 12 generated voltages are related to the 4 input voltages, single sample /N channel AD/DA is required. The speed for the overall control loop has to be >100 kHz.
    Summary of my configurations:
    PIII, 700 MHz CPU, 512 MB RAM
    PCI-6133 and PCI 6713, LabVIEW 7.0, and DAQmx 8.0
    I also have PCI-6110 and PCI-6024E cards for comparison
    Summary for 4 channel single point acquisition (See the table below, AD only)
    1) The difference between P3/700MHz computer and P4/3GHz computer is very small
    2) The S-series performed worse than E- and M- Series
         Spec (kS/s)   Tested by me(700MHz P3)   by NI engineer (3GHz P4)
    6024E   200/4            15.7 kHz                    17.36 kHz
    6040E   250/4                                        18.9 kHz
    6251   1000/4                                        23.0 kHz
    6133   2500/1            13.8 kHz
    Summary for single channel single point acquisition (See the table below, AD only)
    1) The S-series performed much worse than E- and M- Series (simultaneous sampling is worse?)
         Spec (kS/s)    Tested by me (700MHz P3)
    6024E    200/1           54.8 kHz
    6110    5000/1           19.4 kHz
    6133    2500/1           14.5 kHz
    Simulated device          135 kHz
    Summary for single channel single point AO (See the table below, DA only)
    The spec of 6024E is only 10kS/s, but the loop can run at 132 kHz (the output from the port was not correct for sure). Using a simulated device (either 6024E or 6713), the loop rate is ~ 134 kHz (probably due to my low speed computer). This means the latency from 6024E devices is virtually zero. However, the latency from 6713 is way too much.
          Spec (kS/s)   tested by me (700MHz P3)
    6024E    10/1             132 kHz
    6713   1000/1              38 kHz
    Simulated device          134 kHz
    From all the above tests, it seems that s-series device (6133) and AO device (6713) perform much poorly in single point mode compared to E-series device (6024E).  I thought the difference might be due to the driver in DAQmx.  So, I want to try RLP to see whether I can gain up control loop speed to 100 kHz for my applications.
    Your suggestions and advices are appreciated.
    Thanks
    Jin-Xing

  • How to disable daqmx base autorun in wince 6.0

    when i am connecting mini 2440 to pc through active sync automatically daqmx base is running and arm2240 is getting hanged.

    Definitely you need a USB client driver. Again what client class driver is required is depend on the USB touch screen module. Some vendors have a touch screen consist of one touch screen controller and a USB serial controller chip, the touch screen is exposed
    as a USB serial client device though this you will read/configure the touch controller. In this case you need a USB serial driver to access this as a serial port and on the top you have to develop a touch driver as shown on the above link. It is all vendor
    specific. Normally you need a bus to  interface the touch controller. some touch screen controller are interface with I2C or SPI. Similarly here the bus is USB for your touch screen. So you need both driver, one is bus driver to access the touch controller
    and another driver is to implement the touch functionality as shown in the above link.
    First of all find the USB client class for your touch screen driver. you can contact  the vendor or read the datasheet given by them.
    Please mark as answer, if it is correct.
    Please vote,if it is helpful post.
    Vinoth.R
    http://vinoth-vinothblog.blogspot.com
    http://www.e-consystems.com/windowsce.asp

Maybe you are looking for

  • Error When Prompting for Substitution Variable

    Hi - I'm receiving an error when I try to run the following using the substitution variable - but only when I enter a string; when I enter a numeric value it runs fine. DECLARE     l_SCR_Info            VARCHAR2(50) := '''SCR'||&SCR_NUM||'-'||''''; b

  • Assigning roles to users programmatically

    Hi, I want to programmatically create roles, assign roles to users etc. I saw at this thread ADF Security Policy Store the folowing scriptlet by Frank Nimphius try { IdentityStore idstore = JpsCommonUtil.getValidIdStore("idstore.xml.provider").getIdm

  • Upgrading from 10.2g to 11g by incrementals

    Hello, I know it's possible to generate a full rman backup in a 10.2g database, move it to another server containing 11g, restore it there and finally do an upgrade. Since I have to do this to a large database and there are several things involved (a

  • ADF not working in brand new LaserJet Pro MFP M127-M128

    We recently purchased a LasertJet Pro M127-M128.  The ADF does not work consistently.  It automatically prompts to glass feed.  When we change scan feeder and insert the document to the scanner we get an error report "ADF does not contain any pages. 

  • Deleting archives - VSOM 7.2

    Hello, we are in the midst of a long needed upgrade from VSOM 6.3 to 7.2 and soon on to at least 7.5.  We are currently on 7.2.  I have some media servers that I need to make some space on and I'm finding that it isn't as straightforward how to delet