first sample returned is always the same

I have a very strange problem with my usb-6210.

I have read two channels with 16 bit and I have a constant input signal with values mainly between 2300-2600. now, the first sample read is always exactly 13108 on the second channel. After the first sample, the following is read correctly.

the first string of bed properly from the start.

How can this be?

Thanks for your thoughts.

Hi andreas,

Thanks for your comments! while trying to gather information to answer your question, I found the error.

I'm using wxWidgets and read 16-bit values on daqmx. to store the values in a buffer, I use a table of wxInt16. turn, this table is initialized with values of-13108 for reasons that I can't imagine.

hope this info helps someone...

Thank you once again.

Tags: NI Hardware

Similar Questions

  • The UID of the first layer of a document is always the same?

    I am trying to find a reliable way to identify the default layer in a document; that is, the layer has when the document is created. Experience gives that UID of the layer is always the same for each document:

    169 for CS3 on PC

    170 to CS3 on Mac

    182 for CS4, the two platforms


    Anyone know if this correct?

    Do not make any assumptions about the UID in a document or other data bases.

    Think of a document based on a template. The document template could be created with a previous version of InDesign.

    What do you offer if you are working with a document on the PC that was created on Mac?

    Markus

  • Sometimes a web page is displayed with only text and no picures. It is not always the same site and is not always the case. If I'm going to explore for the same website that always works

    Sometimes a web page is displayed with only text and no picures. It is not always the same site and is not always the case. If I'm going to explore for the same website that always works

    Hello

    Also try a Ctrl + F5 refresh. This allows to bring the content of the page again.

  • indicating no not on the latest version when you upgrade today, I have upgraded a number of times and always the same message

    window 7
    updated several times, always the same question

    Where it says that you are not on the latest version? You can attach a screenshot?

    If http://www.google.com/firefox is the page telling you this, it is not true that Google is not maintain this page. Change your home page about: Welcome to the place.

  • My iPhone 5 s a problem that the accusation itself decreases without using the phone, I changed the battery it is always the same and I put it in airplane mode it's always the same problem how to solve this help please?

    problem iPhone 5s load is reduced to

    My iPhone 5 s a problem that the accusation itself decreases without using the phone, I changed the battery it is always the same and I put it in airplane mode it's always the same problem how to solve this help please?

    Please help me anyone

  • I was using my MacBook today and it crashed and the dock turned silv, I restarted the mac and it was always the same, then I loaded the disk utility and checked the disk and it says disk is fine. It flashes inconsistently gray and the dock turned

    I was using my MacBook today and it crashed and the dock turned silver, I restarted the mac and it was always the same, then I loaded the disk utility and checked the disk and it says disk is fine. It flashes inconsistently gray and the dock has transformed money! I tried to restore Mac OS and then also the same!
    OS El Capitan

    This can help:

    Reboot safe mode (it is a slow process):

    -stop of the mac

    -Start up the mac in shift, press and hold until you see appear it to progress bar, so you can let go

    -When everything started, connect

    -Once connected, stop the mac once again, nothing else is necessary.

    -restart normally.

    Lex

    PS: This clears all system caches.

  • my account is block, I send verification, and always the same why lie to me

    I'm trying to GIS in live Messenger and I see a messege, noticed unusual activity in your account and is temporarily blocks after that I have send Pentecost verafication my cell # and when I recive the code I send back and nothing im try many times nd always the same, after all is word my foult is windows live foult .please OPE it my account I need of

    to talk to my friends please hel me

    Hello

    We cannot help you with responses from vista

    they will help you with your questions/problems Messenger when repost you the link below in the Messenger forums

    http://windowslivehelp.com/product.aspx?ProductID=2

    ____________________________________________________

    For the different Forums for Windows Live Applications, select the link below
     
    Welcome to Windows Live Solution Center
  • Create a single PDF duplex where back is always the same and always changes

    Hi guys, I need to create a single pdf file containing a front and back of the pages where the front is the result of a union of data and the back is always the same (they are badges).

    Now, I have a co-operate with all fronts and indd another with a back. How can I automate the union of the people alternately a front and a back, and so on?

    Thanks for any help!

    D

    When I do something like that I previously print the static side, then reload it into the printer and print the merged.

  • After the third full install of Photoshop here always the same answer after opening provisional "could not initialize Photoshop because of a program error."

    After the third full installation of Photoshop that's always the same answer after provisional opening "Failed to initialize Photoshop because of a program error" someone can tell me what to do flat close all, des-Installer, clean, has chosen already made for the installation of designer Cloud, which begins to... (perhaps regret installing it, 30 days may not hold out of)

    Hi DanielDL,

    Please open the finder, click go and select go to folder and type / library and press ENTER.

    Go to the Application Support/Adobe/color and settings folder and rename it to settings.old

    Then try to run Photoshop and check if the problem persists.

    Thank you

  • moved the file data, but the space used is always the same.

    Hi due to some problems of space I took the offline tablespace, then move the file to a location different and introduced the online storage space after renaming. After all this, the space used for the file system is always the same. How can I get the space freed up?

    Hello

    I'd be willing to bet that a core oracle process holds the lock (e.g. dbwr). use lsof (open list) command on each one and you should get the info or perhaps fuser.

    Paul

  • CFQUERY returns always the same value

    < name cfquery = "qryGetMAXID" datasource = "#Request.DSN #" >

    SELECT

    MAX (FLEET_CON_ID) + 1 as MaxFleetId

    Of

    CONFIGURATION

    < / cfquery >

    < cfset intFLEET_CON_ID = #qryGetMAXID.MaxFleetId #/ >

    < name cfquery = "qryAddOperator" datasource = "" #Request.DSN # "result = 'test' >"

    INSERT INTO

    CONFIGURATION

    (FLEET_CON_ID,

    COL2,

    COL3,

    COL4)

    VALUES

    (#intFLEET_CON_ID #,)

    "ADD OPERATOR."

    "#strCode, #

    ("#strName #")

    < / cfquery >

    the qryGETMAXID query always returns the same value as 18703. I inserted a few values in the database directly. the query should return 18705. When I run the same query in SQL Developer, it returns the correct value. I've not cached the query.

    Please help me.

    Thanks in advance

    Dan and Wolfshade,

    Thanks for the problem.

    I found the problem, then that I insert into the database, I didn't do it. He was thus the same value.

    Sorry...

  • my laptop keeps going to start page.__No regardless of which option to choose, that is to say. safe mode, safe mode, safe mode with command prompt, the last known good configuration, start windows normally, it's always the same

    my laptop keeps going to the start page. No matter which option I choose, IE. safe mode, safe mood with networking, safe mode with command prompt, last known, good configuration start windows normally, it always comes back to the same screen. saw this post before and the invloved boot cd solution. I have not a cd ROM is there another way to solve this problem. Thank you people

    Thank you for taking the time to make this post very informative, excellent. Without the machine test myself that I can't be sure, but based on the age of the computer and what you wrote I suspect for lack of material. It could be something simple like the hard drive or RAM or something more serious like the motherboard. I wouldn't recommend replacing any material on such an old laptop.

    As long as the hard disk has been physically, you can recover your data easily. If the hard drive has failed, then you will need to send the drive to a professional drive savers data recovery company. It is quite expensive ($500-3700), but they can usually recover your data. Some insurance policies cover also, professional data recovery in order to check with yours. But let's be optimistic. ;-)

    IMPORTANT - If there is no question that the drive is at fault - there are noises, for example - and the data is crucial NOTHING else ON THE DISC. Whenever launch you this player you can destroy data. If this is the case, send the drive to a professional data recovery company.

    I'll give you the information on how to test the hard drive to see if it's good physically and how to recover data when you can't in Windows but in doing these things requires a certain level of computer skills. You know yourself the best and that it would be better to take the laptop to a competent local professional. If you do this, do not use a type of BigComputerStore/GeekSquad of the place. Get recommendations from family, friends and colleagues.

    A. test equipment

    Test the hard drive with a diagnostic utility downloaded from site of the disc mftr. or use SeaTools for BACK of Seagate. You create a bootable CD with the files you download. You will need a third party burning software to do as the free ImgBurn, Nero or Roxio. Burn as an image, not in the form of data.

    http://www.ImgBurn.com

    http://www.Seagate.com/www/en-us/support/downloads/SeaTools/seatooldreg
    http://Seagate.custkb.com/Seagate/CRM/selfservice/search.jsp?docid=201271 (how-to)

    Boot with the CD that you have done and do a full test of the reader. You will probably need to change the boot order. Your Dell can give you a temporary boot menu if you press F12 as the computer starts. If so, use your arrow key to select the CD drive. Otherwise, press F2 to enter in Setup (BIOS) and change the order of boot on the CD drive first. If the disk fails all physical tests, it must be replaced. Although readers of the laptop cost around $60, you should really consider if it is to put money in such an old machine. You can replace the disk, but the laptop is definitely at the end of its normal life and something else is doomed to failure.

    There is information about the RAM test and other materials here:

    http://www.elephantboycomputers.com/page2.html#Hardware_Tshoot

    B. retrieve data detach a healthy disk when you are unable to Windows

    1 remove the drive and put it in a box of USB drive or use a USB adapter. Attach it to a computer that is running a working XP/Vista/Windows7 installation. Use the work of Windows Explorer to copy the data to the hard drive of the system to the rescue and burn data on cd or dvd.

    2. you can start the target computer with a Bart PE (if you use XP) or a Linux live CD like Knoppix and retrieve the data in this way. General information about the use of Knoppix for this are:

    You will need a computer with two cd records, which is an engraver of CD/DVD OR a USB stick with a capacity to hold your data OR an external USB hard disk formatted FAT32 (not NTFS) *. Download Knoppix .iso image file and create your bootable CD. If you do this in a previous (XP or Vista) operating system, you will need the third burning like Nero, Roxio or the free ImgBurn software (Windows 7 can burn .isos natively). Burn as an image, not in the form of data. Then boot with the CD that you created, and Knoppix will be able to see the files in Windows. If you use the USB key or an external hard disk, right-click on its icon (on the desktop) to get its properties and uncheck "read only". Then click on it to open it. Note that the mouse action by default in the window manager used by Knoppix (KDE) is a simple click to open instead of double-click traditional MS Windows. If you want to burn CD/DVDs, use the K3b program.

    * My understanding is that you can now write on NTFS from Linux partition. If you wish to do this, Google for instructions on the use of the NTFS driver.

    http://www.Knoppix.NET
    http://www.nu2.nu/pebuilder/ - Bart PE Builder

    C. recovery of activity for the future - http://www.elephantboycomputers.com/page2.html#Backing_Up MS - MVP - Elephant Boy computers - Don ' t Panic!

  • CTRL + left click is not always the same as the Middle-click

    CTRL-click is supposed to open a new tab, but this does not always happen. For example in a YouTube channel, a video in the sidebar (or right-clicking and selecting new tab) Middle-click opens the video in a new tab, but ctrl-click opens in the current tab. Y at - it a fix for this?

    These links are that JavaScript links (according to elegant), which do not respond the same as ordinary hyperlinks.

    I have a userstyle installed in Firefox that adds a 'J' cursor 'hand' on most of the JavaScript links, and tells me that I need to way - click on these links - cause {Ctrl + click} will not work.

    http://userstyles.org/styles/233

  • Change the value of always the same as the previous value register

    Hi all. I was banging my head against the wall for a while on it and hoping that someone can help me.

    I use a USB-6008 DAQ hardware to read a rotary encoder. I pulled the rudiments of the attached VI of the forums, but I modified to work with an encoder with an index. All I'm doing is reset to the "value of the degrees to zero whenever the value of the counter (Encoder index) increases a. I thought I was good at using the shift register, since it must retain the value of the previous iteration (just before the index spent). The problem I have is that two courses to the function values ' lower to "always seem to be the same, so my 'degrees' value never resets. What Miss me?

    Thank you!

    PS - I need to use the meter (instead of just another digital line) because it is essential that the index value is never missed. And I know using a software based counter as this tends to miss a digital input signal here and there.

    Suppose that your encoder runs at 1 rpm = 1 index pulse per second. You are turning your loop to 1000 times per second. It is not clear that the 6008 reads the line of DI and the meter that fast. The software update timed AO rate is 150 Hz, maximum. If it reads fast, get you 999 readings of 0 and a reading of 1. For 1 millisecond the degrees indicator will display 0.  On the next iteration of the loop of the< comparison="" will="" be="" true="" again="" and="" the="" shift="" register="" value="" will="" be="" displayed="" again.=""  what="" you="" need="" to="" do="" is="" to="" reset="" the="" value="" going="" into="" the="" count="" register="" to="" zero,="" not="" the="" display.=""  one="" simple="" wiring="" change="" should="" fix="">

    Lynn

  • First occurrence but not in the same table

    As we know, to search for the first occurrence of a particular record, we go with the MIN function. It is however, if all of your records are in the same table.

    My scenario is a little different. I have 4 tables (maybe more), but keeping this is simple for the exercise. I need to find the first occurrence of a student who appear in a table and this registration Date. The trick is to NOT include this student in the following tables. To do this, I can use SQL or PL/SQL.

    Thanks in advance.

    Scripts for Tables (CREATE TABLE and INSERT scripts)

    create table time_period(id varchar2(1), start_date date, end_date date);
    insert into time_period values('0', to_date('01-DEC-2005', 'DD-MON-YYYY'), to_date('31-MAY-2006','DD-MON-YYYY'));
    insert into time_period values('1', to_date('01-JUN-2006', 'DD-MON-YYYY'), to_date('30-NOV-2006','DD-MON-YYYY'));
    insert into time_period values('2', to_date('01-DEC-2006', 'DD-MON-YYYY'), to_date('31-MAY-2007','DD-MON-YYYY'));
    insert into time_period values('3', to_date('01-JUN-2007', 'DD-MON-YYYY'), to_date('30-NOV-2007','DD-MON-YYYY'));
    insert into time_period values('4', to_date('01-DEC-2007', 'DD-MON-YYYY'), to_date('31-MAY-2008','DD-MON-YYYY'));
    
    create table student_test1(student_id varchar2(4), exam_date date);
    create table student_test2(student_id varchar2(4), exam_date date);
    create table student_test3(student_id varchar2(4), exam_date date);
    create table student_test4(student_id varchar2(4), exam_date date);
    
    insert into student_test1 values('1001',to_date('01-DEC-2005','DD-MON-YYYY');
    insert into student_test1 values('1002',to_date('01-DEC-2005','DD-MON-YYYY');
    insert into student_test2 values('1003',to_date('01-JUN-2006','DD-MON-YYYY');
    insert into student_test3 values('1001',to_date('01-NOV-2007','DD-MON-YYYY');
    insert into student_test3 values('1004',to_date('01-NOV-2007','DD-MON-YYYY');
    insert into student_test4 values('1001',to_date('01-MAY-2008','DD-MON-YYYY');
    insert into student_test4 values('1002',to_date('01-MAY-2008','DD-MON-YYYY');
    insert into student_test4 values('1003',to_date('01-MAY-2008','DD-MON-YYYY');
    insert into student_test4 values('1004',to_date('01-MAY-2008','DD-MON-YYYY');
    

    Desired output should be as follows:

    ID Start Date End Date County

    0 1 December 05 31 May 06 2 - student ID 1001 and 1002

    1 1 June 06 30 November 06 1 - Student ID 1003

    2 1 December 06 31 May 07 0 - no

    3 1st June 07 1st November 07 1 - Student ID 1004 (1001 should not be taken to the top)

    4 1st December 07 to 31 May 08 0 - no. They have all been included in the previous periods

    could be done with a UNION ALL operation student_test-tables (and a join with the time table):

    with

    BaseData as)

    Select * from student_test1

    Union of all the

    Select * from student_test2

    Union of all the

    Select * from student_test3

    Union of all the

    Select * from student_test4

    )

    ,

    min_values like)

    Select student_id, min (exam_date) exam_date

    of basedata

    Student_id group

    )

    Select tp.id

    tp.start_date

    tp.end_date

    count (mv.student_id) student_id

    of time_period tp

    left outer join

    min_values mv

    on (mv.exam_date between tp.start_date and tp.end_date)

    Tp.id group

    tp.start_date

    tp.end_date

    order of tp.id

    ;

    I HAVE START_DA STUDENT_ID END_DATE

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

    01.12.05 0 31.05.06 2

    1 01.06.06 30.11.06 1

    2 01.12.06 31.05.07 0

    3 01.06.07 30.11.07 1

    4 01.12.07 31.05.08 0

    Concerning

    Martin

Maybe you are looking for

  • Windows want to format the iPod, iTunes wants to restore, nothing works...

    Hello I bought an iPod nano 7th generation, I had iTunes already installed on my pc (surface pro 4 Windows 10). If I loaded the iPod with a phone charger, then I plugged into my computer, and two things prompted, 2 first messages from Windows Explore

  • Z5 no longer displays the number of notifications that I have on each app

    Given that I've updated the marshmallow last night, my Z5 no longer displays the number of notifications that I have on each app :-( Does anyone else have this problem? Notifications will still appear in the notifications bar, but not on the applicat

  • Support IBM V5000.

    When will there be IBM storage aid?

  • Adobe Lightroom/CC/PS does not start

    Hi, currently on a PC running Windows 10. All three worked perfectly until today. My computer up to date during the night and now, none of the applications Adobe CC opens, including the application of CC desktop itself. It starts but quits immediatel

  • Why loop will ignore the fields?

    PDF has several pages created from templates. My function is to search all the fields with a given prefix and remove these fields to visually clean the final document and reduce the size of the file. For some reason, the function must be called multi