All AI channels have the same value - NI PCI-6221 and NI PCI-6229

Hello,
I use the example aiex1.cpp for a multichannel AI read with the mseries devices 6221 and 6229.
This example works for one channel, but the other channels have the same value (+- 0.001 Volt difference).
For example: I set 5Volt on the first channel and then the other channel have 5Volt too.
What should I consider in the configuration?
Please, can someone help me?
Best regards,
Heiko
Solved!
Go to Solution.

Hi Heiko,
Like Moritz, I'm curious what signals you have connected to your AI channels. What voltage do you expect to read on each channel?
Tom gave me your initialization code and it looks like you've modified aiex1.cpp. Does the example work without any changes?
I have some more questions that will help me determine where the problem could be coming from, but these two are the easiest. We'll keep getting more and more specific as we remove possible causes.
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

  • All AI channels have the same value

    I use the example aiex2.cpp for a multichannel AI read with the mseries devices NI6280.
    This example works for one channel, but the other channels have the same value
    For example: I set 5Volt on the first channel and then the other channel have 5Volt too.
    What should I consider in the configuration?
    beilei
    Solved!
    Go to Solution.

    Hello Beilei,
    I think that you are running into the AI ghosting issue.  Are the other channels you are using connected to ground when you connect the first channel to 5V?  If the other channels are floating, they will read the same value as the first channel...5V.
    Steven T.

  • Can i make it so that all my clients have the same wallpaper Leopard Server 10.5.8

    hi i am running leopard server 10.5.8 and i was wonderg if i can make it so that all my clients have the same wallpaper
    that they can not change

    com.apple.desktop
    i think that the name of the file as least

  • I have two itunes accounts on two different computers, can i merge the accounts so i can then have the same music on both ipod and iphone?

    i have two itunes accounts one for each of my two computers, can i merge them so that i can have the same music on my ipod and iphone,
    it is all so confusing i need help!!!

    You can't currently merge accounts and the content will remain tied to the account that originally bought/downloaded it, though you can have more than one account authorised on the same computer's iTunes via Store > Authorise This Computer. As only one account can be actually logged in at a time (Store > Sign In / Sign Out) for purchasing or re-downloading/viewing past purchases, you may want to use just the one account for future purchases.

  • Is it possible to have the same sim in my phone and iPad

    I have just brought an I pad3 . How do I have the same sim in my phone and the same on my I pad or is this not possible ?in which case do I have to have a completely different sim in my iPad with a different number to my phone??

    SIM cards are unique, there is no such thing as a duplicate. Talk to your provider to see if they'll allow you to share plans over multiple SIMs. My telco will give me as many SIMs as I'd like and group their usage together in one plan.

  • YTD and accumul. depreciation have the same value when dpis is 2 years ago

    Hi all
    I am using FA and i have some problems. I have just setup this module and now i want to migrate assets in the system. The customer gave me an excel with the following fields that want to be in the system like: asset cost, accumulated depreciation, date placed in service, ytd accumulation and so on.
    the problems are:
    1) when i want to enter new asset manually the ytd depreciation and accumulated depreciation are required to be equal. ok so far, i register new asset on test environment and when i enter the date placed in service for example two years ago (because that is the real date placed in service of the asset) and run depreciation, the system has calculated correctly the accumulated depreciation, but has calculated the same value even for YTD depreciation which is not true, because in this case accumulated depreciation and ytd depreciation are completely different. how to solve this problem? How can i put correct values in this fields?
    2) when i enter these assets directly in the fa_mass_additions table according to the fixed assets user guide, i have the following errors: when i put "ON HOLD" on queue name, and open these assets on the system, the on hold field has no value (is empty)
    When i try to run post mass additions, the report is not finding the parameter (book) because the system is giving en error message telling me that there is no value in this list of values
    please help to solve this problems because i am not being able to migrate assets for the company.
    Thank you and best regards

    gaskins,
    You may have different Color Settings, and if you use Pantone you should be aware that the whole interpretation has changed (a number of times, most radically recently).
    If you say more, more can be said.

  • How do I resolve inconsistent color definition message even if all my files have the same definition

    All of the files in my book have the same exact color definiti
    ons: New Color1. Yet I keep getting the inconsistent color definition messag
    es every time I go to print or regenerate my toc. I still get results but It's annoying!

    Does EACH document have the SAME definition of NewColor1? Having the same name does not imply that they are the same definition.
    Try opening the first document in the book. Then select all the documents in the book file and import the color definitions from the opened file. This will make all the documents have the same definitions as in the first document.

  • TS2972 What is the point of Home Share if all devices must have the same Apple ID?  Three family members in this home would like to use the facility but all have different Apple IDs.

    Three family members use ITunes and would like to use Home Share but the HOme Share set-up guidance states that all devices must use the same Apple  ID.
    Is there a workaround for this impasse?

    Three family members use ITunes and would like to use Home Share but the HOme Share set-up guidance states that all devices must use the same Apple  ID.
    Is there a workaround for this impasse?

  • What happens to Game Center if I have the same game on my iPad and my iPhone?

    I have an iPhone and an iPad on the same Apple ID. I have a few games on my iPhone that I would like to play on my iPad too. I would like some information on what will happen to my Game Center profile if I download these games to my iPad too.
    Will the game progression, achievements, and leaderboard position on my iPhone be synced with my iPad (so I could continue from where I left off on my iPhone)?
    If the the answer to the question above is no:
    Will the games recognize what achievements I have earned already?
    Will the games recognize my leaderboard positions?
    Will the progression on my iPhone be deleted and moved to my iPad?

    This link is for profile settings I have a iPad and iPhone with the same Apple ID, but on Game Center I have used the same id for both devices and they are two different profiles and I was wondering how to have one of the accounts on both devices.
    I couldn't find anything else using google.
    You may need to just test out one app and see what happens.

  • Do I need to have the same Apple id on iPod and computer to sync?

    I want to sync music from my husbands computer to my nano ipod.  Do I have to change my Apple ID to his on my iPod so both have the same I'd?

    Find my phone app is related to the Apple Id not the device,
    The device is then linked to the Apple ID as well.
    So If you have an different AppleID on each, you would have two Find my phones

  • Automation plugin: how to select a spot channel when 2 channels have the same name?

    I have a CMYK document opened in photoshop. In "CHANNELS" panel, I just added 2 spot colors with the same name "Sport Color 1".
    As I click any of the spot channel to select it, the "Listener" plugin will output some c++ code like below:
    SPErr PlayeventSelect(/*your parameters go here*/void)
         PIActionDescriptor result = NULL;
         DescriptorTypeID runtimeKeyID;
         DescriptorTypeID runtimeTypeID;
         DescriptorTypeID runtimeObjID;
         DescriptorTypeID runtimeEnumID;
         DescriptorTypeID runtimeClassID;
         DescriptorTypeID runtimePropID;
         DescriptorTypeID runtimeUnitID;
         SPErr error = kSPNoError;
         // Move this to the top of the routine!
         PIActionDescriptor desc0000000000003980 = NULL;
         error = sPSActionDescriptor->Make(&desc0000000000003980);
         if (error) goto returnError;
              // Move this to the top of the routine!
              PIActionReference ref0000000000001A48 = NULL;
              error = sPSActionReference->Make(&ref0000000000001A48);
              if (error) goto returnError;
              error = sPSActionReference->PutName(ref0000000000001A48, classChannel, "Spot Color 1");
              if (error) goto returnError;
         error = sPSActionDescriptor->PutReference(desc0000000000003980, keyNull, ref0000000000001A48);
         if (error) goto returnError;
         error = sPSActionControl->Play(&result, eventSelect, desc0000000000003980, plugInDialogSilent);
         if (error) goto returnError;
    returnError:
         if (result != NULL) sPSActionDescriptor->Free(result);
         if (desc0000000000003980 != NULL) sPSActionDescriptor->Free(desc0000000000003980);
         if (ref0000000000001A48 != NULL) sPSActionReference->Free(ref0000000000001A48);
         return error;
    You can see "PutName" add the channel name "Spot Color 1" to reference, and I think it will not work correctly if I add such code to my project since PS cannot differentiate the 2 channels only by name. Can anyone tell me if there's any other method for selecting spot channel? Thanks in advance.

    Hi
    Here is the something from docs tht you may find usefull.
    Tryusing index instead of name:
    SPAPI OSErr(*
    PutIndex )(PIActionReference ref, DescriptorClassIDdesiredClass, uint32 value)
    Puts an index into a reference (formIndex) along with the desired class for the reference.
    Unfortunately I dont have C++ here to try i just used definition from docs.
    Hope that this help.
    Regards,
    Momir Zecevic
    Ars Media
    www.arsmedia.tv

  • All my contacts have the same birthday... how to remove them?

    HI all,
    I have had this issue for a few years... in fact, since the very DAY I switched from Windows to MAC! All my contacts have that date entered as their birthday as well as their aniversary. Sounds funny perhaps but.... is not, really.
    How can I just deletes all birthdays and anniversaries in bulk or (even better) only do that for those ocntacts that have that specific date entered as thier birthday/anniversary (as I do have some contacts with correcth birthday which Iñd love to conserve). Thanks.

    Thanks Bro. I have backup. and I did the same thing twice but only 26 contacts appear on the device. Now again yesterday after your suggestion again I restored the device but the result was same. Then I thought a new thing. I restored the device one more time but after restoring I didn't configure the icloud account. Surprisingly all my old contacts are there in the device but those 26 contacts are not there. Now I will tell you how this must have happened? I had 3gs earlier. that was stolen 3 months ago. I put the device in lost mode. I purchased new iphone4. I restored with itune. All my data came back. After that I saved these 26 new contacts to my device which also saved in icloud but when I tried to backup on my pc it was not happening. the messege coming device disconnected. 2 days back my stolen device came online. Lost mode was activated by icloud. But what I think in between that time the other fellow must have deleted the phone contacts. And as per icloud also deleted the same. Only the 26 contacts which I saved in these 3 months remained in icloud. Now bro can u help me out? What I should do? I have 26 contacts in icloud and < 500 in my device. I don't understand when all other Co's mobile you can import contacts from any backup file iphone can not. This is the DRAWBACK OF IPHONE.

  • Counting Numnber of Cells in a Table that Have the Same Value

    Is there a way/formula to do this, other than they way I'm doing it now, which is by using COUNTIF? In a table with 1000 rows for instance, let's say the values in the A column are what I'm keying off. I would like a count of all the cells in the A column that have the word "example" as their value. Right now for each unique value in a cell in the A column I am manually creating a COUNTIF(A1:A1000,"<value i'm matching against>) but if there are many unique values in the A column, it's quite laborious. Ideally I'd like to just have a table generated that gives me the top 5 or top 10 most occurring cell values in the A column in the table. What's the best way to do this?

    So for instance, for a column like this:
    1
    1
    1
    2
    2
    4
    5
    I want a way to get back the number of times 1 appears in the list (3), the number of times 2 appears in the list (2), 4 (1), 5 (1), and so on. If I do a COUNTIF and there are thousands of rows, I have to manually put the matching string in each one.

  • HT2693 What is wrong with the new iOS 6 software on the iPhone 4 and 4s it's made all apps, messaging, calling etc very glitchy and slow!? Myself and a few of my mates have the 4 or 4s and all seem to have the same problem. If its apples software, are the

    WWhy's the new iOS 6 so slow and glitchy?

    Im having problems since the new update also!! ALL my apps crash! This is getting old! No help from apple! Very frustrated!!! I dont know what to do!!!help please!!

  • User Logon Name (pre-Windows 2000) and Domain Name Don't have the same Value

    Hi
    is it possible to have User Logon Name (pre-Windows 2000) and Domain Name with different value?
    Exemple:
    domain name domain1.com
    and User Logon Name (pre-Windows 2000) Domain2\user

    If you have trust in place, then also you can use trusted domain name to login from trustee domain. Also, UPN suffix can be added.
    http://technet.microsoft.com/en-us/library/cc773178%28v=ws.10%29.aspx
    Awinish Vishwakarma - MVP
    My Blog: awinish.wordpress.com
    Disclaimer This posting is provided AS-IS with no warranties/guarantees and confers no rights.

Maybe you are looking for