Saving raw data with PCI-6259

I think registration of raw data because the resolution max of 16-bit card and DAQmx Read gives me a 64-bit (converted to 32-bit) value. It's the waste of hard drive space.

However, I couldn't find any information on the format of the raw data of this card. If it is interlaced?

If you use raw data from the function of reading DAQmx version you get an array of 16-bit data (signed or unsigned (you have your choice) that's exactly what comes A/d.) To convert the data in engineering units, you also have to record the value of the scale you can do the conversion yourself.

If you read several channels, the first element is the channel 1, the second is channel 2, the third is channel 3 and so on.

Mike...

Tags: NI Software

Similar Questions

  • Measurement of temperature using Iex thermistor with PCI-6259

    Hi all

    I have I encounter some difficulties to measure the temperature using MAX with the installation of the thermistor Iex and would like to know if I missed something important. I use external current thermistor excited with 2 ladders and card PCI-6259 with MAX.

    This is a channel that was originally set to measure voltage and MAX approx. 900mV since this channel, OK, the voltage converted temperature is about 30 ° C. Then I added a new channel and configured to measure the temperature directly with default installation MAX Iex thermistor. This is so the problem appears: I'll get a constant-273 C instead of 30 C as expected by operating the canal in MAX. I must have done something wrong here.

    Your help is greatly appreciated!

    Bryan

    We discovered that the problem came from our wiring to thermistor does NOT of installation. If Differencial has been used, the conversion of MAX worked well. If this is not the case, only directly blood pressure will work.  Bryan

  • Bad drift with USB-6259 devices and acquisition of data PCI-6259

    We have both a USB-6259 and PCI-6259 installed on a single computer, linked to a SBC-68, with Matlab and Toolbox of data Acquisiution.

    For the purposes of test base, I wrote a script that generates a sinusoidal signal output based MATLAB, for a single DAC output.  I wired this single DAC output to two channels of ADC of entry.  For each sample output DAC, the script also takes a sample entry of ADC on each channel.

    --> Ideally, if everything works correctly, after you run the script, I see two channels of input ADC vector.  Tracing of each channel should give me a nice sine wave in Matlab.

    --> When I made trace data, here's what I get (see attachment).

    -->, I looked at the DAC output with an oscilloscope, and the DC offset is very close to 0 (this indicates to me that the part of output DAC works very well).

    Why is there this negative DC drift on two entries?

    Forgive my lack of knowledge - I know the difference between the DIFF and CSR connections, but I don't know where is the 'setting' for DIFF/CSR (what is a button/switch on the USB-6259 case?  Is it a software control in the code?)

  • Tiara dac combined with the NI PCIe-6259 does not send the data

    Hello

    I have a card OR PCIe-6259 & DIAdem 11.2.0 (version 2010) on a windows 7 PC.

    Inputs outputs & analog analog + digital are configured in MAX 9.8.0f0. (Global virtual channels)

    When I run a dac, entered analog works perfectly.

    Outputs analog and digital does not work. Only one of the four analog outputs give the value that has been send.

    In the past, I had the same problems with this version of DIAdem in combination with a third party USB card, but this has been resolved by the new firmware & software drivers.

    Someone who has had similar problems?

    Thank you.

    After trying many things, I finally found the solution.

    In the output ==> pilot ==> options pilot "weighting the digital bus" must be verified.

  • Card PCI-6259 is compatible with the Dell Precision 390?

    Hi all

    I need help in answering this question.  I want to buy a better computer for my data PCI-6259 acquisition card.  I tried to search to see if the card is compatible with the PC and there's previous numbers with this set-up before other users.  Do you have a link to the list of the DAQ cards with tested PC configurations?  I want to just make sure that when I buy the computer, everything will work without problem because I only have one shot at this.

    Thanks to all in advance.

    Kind regards

    justdomechanicalengineering

    Hello

    We do not have a link to specific DAQ board/PC pairings, but the specifications for the Dell Precision 360 indicate that she has three ports PCI 5V which must be compatible with your PCI-6259.

    Best,

    Dan Nelson

    Technical sales engineer

  • XQuery and relational queries with the RAW data

    So, I have a table like this setting:
    CREATE TABLE book_frag
    (
      book_id RAW(16),
      xpath_id INT,
      last_modified_ts TIMESTAMP,
      created_date TIMESTAMP,
      book_data XmlType,
      PRIMARY KEY(book_id, xpath_id),
      FOREIGN KEY (book_id) REFERENCES book(book_id),
      FOREIGN KEY (xpath_id) REFERENCES book_xpath(xpath_id)
    );
    
    CREATE TABLE book_xpath
    (
      xpath_id INT,
      book_element_name VARCHAR2(32),
      PRIMARY KEY(xpath_id)
    );
    I am trying a query which will regroup the different XMLTypes book_frag into one. If I use this query, it works, but it is slow and sometimes times out:
    SELECT 
        e.book_id,
        
        e.title_txt,
        e.subj_txt,
        
        e.target_mkt,
        e.target_lcl_mkt,
        
        e.catg,
        e.lang_code,
        e.out_of_stock_reas,
        
        e.sucsr_title,
        e.sucsr_sub_txt,
        
        e.orig_copy_ref,
        e.orig_subj_txt,
        
        XMLQuery(
        'declare namespace invtdata="http://www.mrbook.com/InventoryData";
        
         copy $invtData := $orig/invtdata:inventory
         
         modify
         (
           for $bkRow in fn:collection("oradb:/BOOKSCHEMA/BOOK_FRAG")
           let $bk := $mpfRow/ROW/BOOK_DATA/node()
           where xs:string($bkRow/ROW/ID)=$bookId
           return insert node $bk into $invtData
         ) return $invtData'
         PASSING XmlType('<inventory xmlns="http://www.mrbook.com/InventoryData" />') AS "orig",
         CAST(e.book_id AS VARCHAR2(64)) AS "bookId" RETURNING CONTENT
         ) AS invt_data
    FROM
      entity e
    WHERE e.title_txt = 'Finite Variable Analysis' OR e.subj_txt = 'Finite Mathematics';
    However, if I try this, it works at all.
    SELECT 
        e.book_id,
        
        e.title_txt,
        e.subj_txt,
        
        e.target_mkt,
        e.target_lcl_mkt,
        
        e.catg,
        e.lang_code,
        e.out_of_stock_reas,
        
        e.sucsr_title,
        e.sucsr_sub_txt,
        
        e.orig_copy_ref,
        e.orig_subj_txt,
        
        XMLQuery(
        'declare namespace invtdata="http://www.mrbook.com/InventoryData";
        
         copy $invtData := $orig/invtdata:inventory
         
         modify
         (
           for $bkRow in fn:collection("oradb:/BOOKSCHEMA/BOOK_FRAG")
           let $bk := $mpfRow/ROW/BOOK_DATA/node()
           where $bkRow/ROW/ID=$bookId
           return insert node $bk into $invtData
         ) return $invtData'
         PASSING XmlType('<inventory xmlns="http://www.mrbook.com/InventoryData" />') AS "orig",
         e.id AS "bookId" RETURNING CONTENT
         ) AS invt_data
    FROM
      entity e
    WHERE e.title_txt = 'Finite Variable Analysis' OR e.subj_txt = 'Finite Mathematics';
    The error I get with this query is:
    ORA-00932: inconsistent datatypes: expected - got BINARY
    00932. 00000 -  "inconsistent datatypes: expected %s got %s"
    *Cause:    
    *Action:
    Error at Line: 52 Column: 5
    Is it possible to leave the XQuery to use the RAW data type (16) without casting?

    KnightOfBlueArmor wrote:
    Is it possible to leave the XQuery to use the RAW data type (16) without casting?

    You are overloading the things, no need to XQuery Update in this case.
    As far as I understand it, all you need is XMLAgg:

    SELECT e.book_id
         , e.title_txt
         , e.subj_txt
         , XMLElement("inventory"
           , XMLAttributes('http://www.mrbook.com/InventoryData' as "xmlns")
           , XMLAgg( b.book_data )
           ) as inv_data
    FROM entity e
         LEFT OUTER JOIN book_frag b
                      ON b.book_id = e.book_id
    WHERE e.title_txt = 'Finite Variable Analysis'
       OR e.subj_txt = 'Finite Mathematics'
    GROUP BY e.book_id
           , e.title_txt
           , e.subj_txt
    ;
    

    (the OUTER JOIN may or may not be necessary, depending on the relationship between the two tables)

    Published by: odie_63 on March 27, 2013 23:16

  • configuration of RTSI with PCI-e 6259

    Hello world.

    I just got two cards in the series PCIe-6259 M and a RTSI cable to connect the two.  (Eventually, my application will require that they have somewhere to trigger/timing info.)

    I had the chassis of the PCIe cards without a problem.  I plugged the RTSI cable to connect the two 6259 s together.

    I opened MAX and almost everything seems fine: the cards are recognized, they spend a self-test, managed to calibrate, etc..

    However, I have a small Hang Up set up the cards.  In MAX, when I try to set up one of the devices to the computer/drivers know an I connected the RTSI cable (for example NOR-DAQmxDevices > Dev1 > properties > RTSI Configuration), then I see a drop-down the menu titled "Cable RTSI.  It's the only item in the menu is 'None '.

    So, my questions are:

    (a) actually do I configure my 6259 s for RTSI in this way in MAX?

    (b) If Yes, then how / what could go wrong?

    (c) or am I missing something obvious?

    Thanks a lot for the tips/tricks!


  • DAQmx Base 3.2 on Ubuntu for PCIe 6259

    I'm trying to install the package DAQmx Base 3.2 for card PCIe-6259 on Ubuntu with kernel 2.6.27 - 14-generic. I followed the suggestions of other messages to convert the *.deb packages software packages, install these and rpm install the original rpm on top packages. All this worked fine, and I can update the driver with updateNIDrivers, which prints the message as shown below. But when I try lsdaq, I get the error (as also reported by many others):

    --------------------------------

    Detect of National Instruments DAQ devices

    Find the following materials:

    libnipalu.so, failed to initialize

    Maybe you need to run updateNIDrivers

    / usr/local/bin/lsdaq: line 7: 25859 Aborted/etc/natinst/nidaqmxbase/bin/daqmxbase_listdevices

    --------------------------------

    As a note, I have NOT more than 4 GB of memory installed, and I use the mem = 4096M option at boot of the kernel.

    The logs show:

    Apr 24 00:25:43 xenomai daqmxbase_listdevices: [libnipalu.so.2.3] WARNING: source/lib/linux/linLoadKern.cpp:168 - libKernelDriverLoad: cannot open nipalk, errno: 2

    Apr 24 00:25:43 xenomai daqmxbase_listdevices: [libnipalu.so.2.3] WARNING: source/initcln/initcln.cpp:147 - Posix: Init kInitClnPackage: kernel: failure! status =-50204

    Apr 24 00:25:43 xenomai daqmxbase_listdevices: [libnipalu.so.2.3] WARNING: source/package/posix/ulibEntry.cpp:199 - initialize: unable to load OR-PAL. status =-50204

    For example, libnipalu.so does not load because of problems with nipalk. I added the niSystemReport output in this file.

    How could I continue debugging this issue? Any help would be greatly appreciated!

    -Stefan

    Print updateNIDrivers:

    ------------------------------------

    Configuration for linux kernel version 2.6.27 - 14-generic.

    ********************************* NOTE *********************************

    With the help of the kernel headers found in lib/modules/2.6.27-14-generic/build.

    If this does not match the location of the headers-2.6.27 - 14-generic,.

    Then set KERNELHEADERS in your environment to point to the location

    headers for the kernel to set KERNELTARGET as the version of the

    kernel for which compile and run him again. / configure.

    ********************************* NOTE *********************************

    A-team reparent_to_init(): no

    Number of arguments for do_munmap(): 3

    pte_offset function: pte_offset_kernel()

    Levels in the table on page: 4

    A-team remap_pfn_range: Yes

    Name altsetting USB: cur_altsetting

    A-team usb_get_intf(): Yes

    A-team intf_cache usb_host_config Member: Yes

    A-team members in usb_device ep: Yes

    Export kernel usb_set_configuration(): no

    USB_CTRL_GET_TIMEOUT units: msec

    A-team member owner in usb_driver: no

    A-team put_page_testzero(): Yes

    Kernel mutex method: Yes

    A-team kthread: Yes

    A-team config.h: no

    A-team ioctl32.h: no

    IRQ managers pt_regs: no

    A-team work_struct and delayed_work: Yes

    Core supports the fault method in vm_operations_struct: Yes

    Save the configuration to Makefile.in

    If the recorded values are incorrect, they can be changed before running make.

    Uninstalling OR KAL (nation): fact

    / bin/rm - rf Insertion objects

    Update OR-KAL:

    KAL-NOR up-to-date.

    Update of client modules:

    / usr/local/natinst/nation/SRC

    Updated NiViPciK.ko to date.

    / usr/local/natinst/nation/SRC

    Updated NiViPxiK.ko to date.

    Restart is necessary to ensure that National Instruments drivers

    have been updated.

    After a while of research and trying, I finally found a solution:

    (1) install Ubuntu 9.04

    (2) downgrade to kernel 2.6.24.2 source at http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.2.tar.bz2

    3.2 Basic 3) get NIDAQMX and NIVISA 4.5, convert RPM to deb with alien package, install the deb package, install RPMS on top (make sure that Ubuntu does not use the shell of dashboard (dpkg - reconfigure dash))

    (4) missing patch of symbolic links for additional modules such as in/usr/local/natinst/nation/etc/clientkdb, you will find:

    NICORE/nidimk - unversioned.o-> /usr/local/natinst/.nicore/src/objects/nidimk-unversioned.o

    NICORE/niorbk - unversioned.o-> /usr/local/natinst/.nicore/src/objects/niorbk-unversioned.o

    nipple/nipalk - unversioned.o-> /usr/local/natinst/nipal/src/objects/nipalk-unversioned.o

    nipxi/nipxirmk - unversioned.o-> /usr/local/natinst/nipxi/src/objects/nipxirmk-unversioned.o

    vxipnp/NiViPciK - unversioned.o-> /usr/local/vxipnp/src/objects/NiViPciK-unversioned.o

    (5) then the updateNIDrivers should compile fine and lsdaq works

    (6) as an aside, I could even patching this kernel with xenomai http://download.gna.org/xenomai/stable/xenomai-2.4.2.tar.bz2 , and the driver OR still works.

    A few minor corrections may be needed in this procedure to solve the problems of compiling because of the gcc - 4.3.3, but all errors may be google and trivially fixed by minimal changes in the makefiles or C-files.

  • The GPS data with other analyzed data record

    Hello!

    I am a new user of DASYLab and not very good with coding, so please bear with me! I try to record (timestamp, latitude, longitude) already analysed GPS data with other data (accelerometer, etc.) in the same. DDF file. Right, GPS analysed is now sent through a series of three demultiplexers for each signal and only 1 of 16 channels, reducing the size of the output data. This data is then saved in a. The CAD file. Other data on average, recorded in one. DDF file, then saved another. The CAD file. We used to compare the data from the GPS and other devices by comparing timestamps.

    I would like to save all data to a file, either. DDF of. CSA (.) DDF would be preferable).

    When I try to add more channels in the. DDF save the module after the demultiplexer black box and GPS data to it, I get an error saying "the data to an entry in this module are the wrong type." I also receive this error when trying to send the data GPS to the. CSA Save module. I learned that this means that the size of the files is not the same of this thread. My question is, how can I make sure that the data have the same characteristics of time so I can save to the same file?

    If you need more information I would be happy to provide it, I apologize if I have something important to go.

    Thanks for reading,

    etdiv

    That's what I needed. Your time is the driver. In the RS232 input module, click the Options button.

    Select the measurement of output value, and then click the button on the time Base and select sync/time Base driver.

    That should allow you to write to the DDF file.

  • With a sampling of the data with DAQMX, error-200279 occurs when making 2d array dbl

    Hello

    I did a system of simple analog voltage with DAQMX data acquisition.

    It is made for reading of capacitance, where output capacitance value out of a circuit in the periodic voltage signal.

    What I want is to get data from four capacitors simultaneously through four channels, using samples n n (dbl 2d).

    The structure of my VI is almost similar with examples of continuous sampling of voltage in LabView, with the exception of a few other calculations in the loop.

    And for the synchronization of the trigger, I've corrected the edge of release with the external signal from the capacitance reading circuit.

    Version no. 1 has a channel for data input voltage. Version n ° 2 has four channels for the input data.

    While ver.1 can get accurate reading of four capacitors circuit data each (a single channel at a time),.

    ver.2 acquires four channels of data, with a single thin data channel, all the others were wrong.

    I saw a 200279 error occur in the DAQMX read part 2d dbl, so I tried increasing the buffers by changing the sampling frequency or the number of samples, but it wasn't everything.

    I rose for most of the forums with the 200279 error, but the solution would not work on mine.

    Anyone can find the problem? I will attach my screws it may include a bit of Korean language, but most of them are in English, shouldn't be too hard to recognize. Sorry for the inconvenience.

    Oh I forgot, my DAQ is NI USB-6259, and it works in Win XP sp3 and LabView 8.6.

    Thank you.

    Hello Azurenight,

    The 6259 is a DAQ card of the M Series Multiplexed, which means that it is not possible to sample each signal at the same instant, rather the channels are all sent through the ADC even and must be sampled in order. More information on this can be found here:

    LabVIEW Help: Multiplexing compared with simultaneous sampling

    http://zone.NI.com/reference/en-XX/help/370466W-01/mxcncpts/multisimulsamp/

    It may still be possible to get the data you need with the card you have - could you give more information about the maximum eligible period between samples on different channels?

    If you require * real * simultaneous sampling, you will probably need different hardware.

    Kind regards

  • What is this on my PCI DAQ connector? (PCI 6259, M-Series)

    I'm building a new rig which includes a PCI-6259, am confused by this connector:

    What this is, and which mates with it? This is the place where I expect the power connector PCI-E to the power of the system, or the 'hard drive connector"that the M series is supposed to have. But this has about four times as many pins I guess than to have. It is not schematized or mentioned in any job I can find online.

    Yes, version PCIe card has the supply and on the back of the card connector.  The PCI version does not work.  I think it's because PCIe is a lot of current as long as PCI, so the extra power is needed.

    Both versions have if the RTSI connector.

  • Noise thermocouple with PCI-6230

    What level of noise should be expected for a K type thermocouple used with an acquisition of data PCI-6230 and a map derivation CB-37F-HVD? I read the data with LabVIEW and Daq Assist module on the setting of the thermocouple and the noise see of +/-1 ° C. For a type thermocouple K 41uV / ° C is 3 times the 6230 noise expected (13 uVrms) runs around 0.2 full scale. I think it should be more stable measures or is this a normal behavior?

    http://sine.NI.com/DS/app/doc/p/ID/DS-31/lang/en

    Thank you

    Dan

    This level of noise is expected. To improve, you can use a card with a noise filter. A dedicated thermocouple module would also work, but this includes a noise filter as well.

  • Saving binary Image with overlay?

    Hello

    I'm having some trouble in saving an image with overlay information. I use IMAQ find circles to measure the rays of the holes in a binary image. Hole data is then used with oval Overlay IMAQ, draw on ovals to highlight detected circles. Works very well and the image is displayed as expected in the output of the image on the screen, the palette has the binary value. (See the second image of 3, below)

    When I try and save the image in PNG I just get a blank image (black). If I use the overlay IMAQ merge tool, I just get the green circles on the black (see the last picture of 3 below). Is there something I'm missing with pallets/fusion? Any help much appreciated. Snapshot of the (messy) code attached.

    The problem is that the binary image is all zeros and ones.  A normal image goes up to 255, so the value 1 appears black.

    One solution is to multiply the binary image of 255, which makes the image black and white.

    Bruce

  • increase the counter timebase pcie 6259

    Hello

    Im trying to perform 2 two edge measures 2 TTL signals separation using pcie 6259. I get an error msg 200140 ' 2 active edges consecutive input signals occurred without an edge timebase counter. " Use a faster counter time base. Ive tried to change the basis of counter time through the DAQmx channel nodes but my card is limited to a mx of 80 Mhz.

    Are there ways around that?

    concerning

    Don

    Hi the polar bear,

    Ive tried steve's idea to generate the PWM and it feeds my ctr and it works fine. If the problem was with my coupled signal with voltage comparator... you think you genius!

    Thanks heaps for your help.

    Don

  • Acquire analog data with 16-bit accuracy

    I use PCI 6259 DAQ, which only supports 16 - bit ADC. Analog 2D NChan DBL NSamp vi gives an output of 64-bit double data. Since I lose most of the bits and memory, is possible to get the number to decimal floating get a 16 bit? Otherwise, what about 32-bit single-point accuracy? I know that you can convert numbers between data types but to convert a series of data in a loop in real time will probably cause a decrease in performance of the system.

    Typo, sorry should read polymorphic.

Maybe you are looking for