Migrate SCAN_Setup Gain List to DAQmx

I am migrating a traditional NI-DAQ application to NI-DAQmx.  I need to program the analog gain of my DSA device.  In traditional NI-DAQ, I used the Gain List parameter of SCAN_Setup.  So now I need to control the gain settings in DAQmx.  DAQmxCreateAOVoltageChan lets me program the Max and Min values.  This might be preferable in many situations, but I need to actually control the discrete gain selection.  Can someone tell me how?
The CVI help offers the heading, "Gain for DSA Devices."  It says, "The gain attributes/properties, AI.Gain and AO.Gain set the amount of gain to apply to the signal. These properties are set in decibels referenced to 10 V."  That sounds good.  But how do I set these attributes/properties in LabWindows/CVI?
It is important for me to have direct control over the discrete gain settings because I am designing a calibration system, and I want to periodically check the card's channel-channel calibration match at each gain setting.

Good afternoon Jmoses,
If you have a look at your NI-DAQmx C Reference Help file, type in "Gain" under search.
You should come across these two functions:
DAQmxSetAIGain
DAQmxSetAOGain
That should get you started, best of luck on your project.
Sincerely,
Minh Tran
Applications Engineering
National Instruments

Similar Messages

  • How to read the gain list of a DAQ card from labview?

    Hi,
    Its known that you can set the gain of an ADC of a DAQ card by setting the high and low values.
    Different cards have got different signal ranges corresponding to different gains.
    My question is ... Is it possible to read the gain list of a DAQ card from labview?
    It is definitely possible to read the signal ranges available for the device. It would be very helpful if some one can tell me the method to read the gains corresponding to the signal ranges.
    (Even the device specification provides only the signal range but not the gain corrsponding to it )
    Thanks
    Message Edited by Vsh on 04-08-2008 03:50 AM

    Hi Vsh,
    It appears that you have found the gains applied for the various ranges (I assume from the user manuals).  So if I understand your question correctly, you are looking to poll the card for the current gain (or the various gains available)
    Because DAQmx selects this for you (unlike Traditional DAQ), there is not a way to poll directly. If you want, you could poll the min/max values and then use this to figure out the range setting (and thus the gain).
    Please refer to this post, it gives more information about the gains/ranges in general.
    I would suggest putting in a product suggestion if you would like this feature.  Those go into the decision making process for our R&D team, meaning they actually do look at them.  If you wish, I can submit a suggestion internally was well for you, that way your suggestion gets 2x the exposure.  Let me know if you want me to do this.
    Neal M.Applications Engineering       National Instruments        www.ni.com/support

  • Error in migrating SharePoint 2010 list fields to Office 365 list [CSOM]

    Hi,
    I am trying to migrate a SharePoint 2010 list to Office 365. I created a new ListCreationInfo for a new list in O365. But when i am to trying add fields from SP2010 list, its giving me an error after list.update()  -
    A duplicate field name "fa564e0f-0c70-4ab9-b863-0177e6ddd247" was found.
    if (!l.Hidden)
    ListCreationInformation creationInfo = new ListCreationInformation();
    creationInfo.Title = l.Title;
    creationInfo.TemplateType = l.BaseTemplate;
    List list = web.Lists.Add(creationInfo);
    //Fields in the list
    ctxOnPrem.Load(l.Fields);
    ctxOnPrem.ExecuteQuery();
    foreach (Field f in l.Fields)
    list.Fields.AddFieldAsXml(f.SchemaXml, true, AddFieldOptions.DefaultValue); list.Update();
    Note- l is the SharePoint 2010 List.

    Answer given on StackExchange -
    http://sharepoint.stackexchange.com/questions/128875/error-in-migrating-sharepoint-2010-list-fields-to-office-365-list-csom/129015#129015
    Thanks,
    Thomas

  • Migrate Hierarchical Task Lists ("Create" Transaction WPSTLH1)

    I am new to Data Migration and I have been creating some LSMWs using IBIP and have working General and Equipment Task List load programs.
    however the requirement is to migrate Hierarchical Task Lists too. 
    there seems to be no standard functions to do this, and the way you activate the screen in the transaction WPSTLH1 makes it not suitable for a screen recording (due to the use of mouse to activate the screen)
    has anyone successfully created this type of migration objects?
    or will i have to write ABAP to do this part?

    found program RWPSTLH_DINP that seems to do the trick!

  • Migrating PM task lists with lsmw

    can someone help?
    we are migration task lists with operations that have long texts:
    the source is the MPLA and MPOS tables, entered in excel sheet and we have STXT as well, with a few lines of text per operation
    when the data is migrated with lsmw, the text comes out weird....strange symbols, no new lines etc etc.
    does anyone have experience with migration PM task lists and can give me an idea of what to do?
    by the way, the end of the lsmw is BI.
    thanks
    Alisa

    I have the same problem....
    Please can somebody help me?

  • Migrating a buddy list

    I have a .mac account that my daughter has been using for IM purposes for about 3 years. I now want to use the IM id for my use and get a new .mac account for her.
    My questions are:
    1. Do I need to get her .mac account for IM purposes or is a there a different/better alternative.
    2. She has a LOT of people in her buddy list and I want to migrate the buddy list to her new name/.mac account. How do I go about doing this migration?
    Thanks in advance for your help.

    Re 1) AIM Screen Names or a Trial @Mac account are both free.
    Re 2) This is where AIM for Mac (4.7) can come in useful as it has an Export and Import Feature
    6:55 PM Saturday; March 1, 2008

  • Upgraded iTunes and Shopping Cart Didn't Migrate to Wish List

    I updated my iTunes software tonight without realizing that they had done away with the Shopping Cart. After figuring out that it was now the Wish List, I went to check to see if my former shopping cart items were now there. Some of the individual songs I had in there migrated, but I know there are a lot missing, plus several albums. Is there any way to recover it all? I had $300+ of songs in it, and now there's only about $30 worth.

    i don't trust MA at all. known to create a lot of problems.
    instead, see the green box in this user tip.

  • Selecting physical channel from list with DAQmx

    I'm trying to write a simple VI for reading and writing digital data. However, when I have a DAQmx physical channel control, the only options it presents to me are the various analog inputs (and doesn't allow me to type in the port I actually want to use). In other examples, e.g., "Write Dig Port.vi", the apparently identical control instead shows me digital port options rather than the analog in channels. As far as I can tell, there is no real difference between the controls as there is nothing in properties that I can really modify.
    How can I get this control to let me choose the channels I want? Or is there some difference in these controls that I am not aware of?

    The channel lists adapts to the type of DAQmx Create Channel that you use. Do you see the text below the DAQmx Create Channel? If your channel is displaying only analog input channels, then the DAQmx Create Channel type is AI Voltage. If you want to use digital input channels, change the type to Digital Input. Click on the little arrow on the right side. This is called a polymorphic VI selector. You can do the same thing by right clicking on the VI and do a Select Type.
    Mark has a good point. If you change the type of DAQmx Create Channel and you already have a physical channel wired, you will have to go to I/O Name Filtering to change the channel types displayed. If you change the DAQmx Create Channel and then create a channel control by selecting Create Control, you'll get the correct type automatically.
    Message Edited by Dennis Knutson on 03-11-2008 12:12 PM

  • How can I migrate my group lists with my address book?

    I have moved from Windows XP to Ubuntu (YEAH!). I was using TB in XP and I was able to successfully move my address book with all of my contacts' information by copying and pasting the abook.mab file. But I seem to have lost (or at least I am currently missing) the group lists that I had created using that address book. Where is that information stored and how do I transfer it to TB in Ubuntu? Is it as simple as copying another certain file or will I have to extract and then import some information from some file(s)? Those group lists were almost as important as the address book itself and I made the assumption (yes, I know!) that the group list info was integral to the address book itself. Any help would be appreciated! Thanks!

    No, I did not export and then import the address book. I just copied the .mab file. Is that what I have to do? Is there another file, or portion thereof, that I can just copy across? I have all those #appdata# files saved, but i do not have Windows running anymore. I have also now noticed that my "Collected Addresses" were not contained in the abook.mab file either. It would be good if I could recover them too.
    Thanks again for any help. Much appreciated!

  • Exchange 2003 to 2010 Migration - Offline / Address List conversion

    I have seen several articles on the above but my question is this:-
    Q/
    Can I carry out the above before I move all the Exchange 2003 mailboxes over, or should this be only done once all the mailboxes have been migrated to the new server?

    Hi,
    It is recommended to migrate mailboxes at first. If your mailboxes have been moved successfully, you can move your offline address book.
    What's more, here is a thread for your reference.
    How to Move offline address book from Exchange 2003 to Exchange 2010
    http://careexchange.in/how-to-move-offline-address-book-from-exchange-2003-to-exchange-2010/
    Note: Microsoft is providing this information as a convenience to you. The site is not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any information found there. Please make sure that
    you completely understand the risk before retrieving any suggestions from the above link.
    Hope this can be helpful to you.
    Best regards,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Amy Wang
    TechNet Community Support

  • Contact list not show after migration Exchange 2007 to 2010

    Hello.
    I have a old infraestructure with exchange 2007 and new organizacion with exchnage 2010
    If I migrate a mailbox from 2007 to 2010 I can open the mailbox on 2010 without problems,
    From owa works correct active sync and outlook work correct, I can send a receive mails but, from outlook client I can not see the Global Address list.
    Step by step:
    User with mailbox over exchange 2007.
    Outlook, owa active sync.. all is working fine and I can see the Global Addres list from owa and from outlook.
    Move mailbox from 2007 to 2010
    Completed ok without errors
    The user mailbox on 2010 working fine, I can access by owa by outlook and active sync and from owa I can see the Global Addres list but from outlook I can not see the GAL.
    I've tried diferents outlook versions: 2003 2007 and 2010 but I can not see the GAL
    If I try to download de GAL from Outlook I see outlook download the correct list and complete ok without erros but not show on outlook.
    I don't know why..
    Exchange 2007 with sp3 and 2010 with sp3 too.
    Any idea how could resolve this problem?
    Thanks in advance¡

    Hi
    Did you migrate your address list or create a new one? Move-OfflineAddressBook "Default Offline Address Book" -Server <your Exchange 2010 server>
    Get-OfflineAddressBook | fl *server*
    Set-OfflineAddressBook "\Default Offline Address Book" -VirtualDirectories "your exchange server\OAB (Default Web Site)"

  • List teamplate (template created on migrated custom list from SP 2010 to 2013) not appearing in Add an app section in SP 2013

    We have migrated from SP 2010 to SP 2013. When we are trying to create list template from the migrated OOB custom list. List template successfully created but it is not appearing in Add an app section in SP 2013.

    Please make sure you have activated "Team Collaboration Lists" feature under Site Features. Also check if the template in the list template gallery is published.

  • Is it possible to create a list of NI-DAQmx tasks used in a VI in LV7.1?

    Hello,
    I was wondering if there is a built in function for Labview 7.1 that would allow me to generate a list of DAQmx tasks or global channels that are being used in the VI.
    Thanks,
    Steve

    Welcome to the Discussion Forums,
    Steve!
    Since I’m a visual person, I wanted
    to make it clear where these properties are found by posting a picture.
    I also wanted to clarify and say
    that these properties show the global channels and tasks saved on your system.
    They do not indicate which are used by a specific VI. This is because global
    channels are not bound to any particular VI. Any indicator you could include in
    your VI would just return the names that are being assigned as inputs. So the
    best way to know what’s being used in your VI is to look at what the inputs
    are.
    I hope this helps. If this isn’t
    exactly what you’re looking for, will you please post again and clarify your
    application?
    Message Edited by Mark E on 11-07-2007 09:29 AM
    Mark E.
    Precision DC Product Support Engineer
    National Instruments
    Digital Multimeters (DMMs) and LCR Meters
    Programmable Power Supplies and Source Measure Units
    Attachments:
    System_node2.JPG ‏106 KB

  • Distribution list migration

    I have successfully migrated all subscribers from unity 7 to unity 8.6 but I am trying to migrate the distribution lists now and don't see where I can do that.  I know the docs say to use cobras but I don't see any option to back up the lists, just the subscribers.  Any info would be greatly appreciated on helping with this matter.
    Thanks

    Hi Colin,
    I don't mean to jump in here, but I thought you may want to see
    this other related info from Lindborg (+5 Jeff)
    https://supportforums.cisco.com/message/3249030#324903
    Cheers!
    Rob
    "What you don't have you don't need it now" 
    - U2

  • ASA Migration Problems

    Hi,
    I'm trying to migrate a configuration of an ASA 5520(Version: ASA 8.0(5)) to an ASA 5585 (Version: 8.4(2)). I keep getting some errors which are included below. I've been struggling with these for some copule of weeks and read the documentation on cisco.com (
    http://www.cisco.com/en/US/docs/security/asa/asa83/upgrading/migrating.html) and also some pages on this forum. Some lines are written in bold of which I wasn't able to find any information about. Any help is appreciated. Thanks.
    INFO: MIGRATION - Saving the startup errors to file 'flash:upgrade_startup_errors_201203062349.log'
    Reading from flash...
    !!!!!!!!!!!!!!!!!!!WARNING:
    MIGRATION: NAT Exempt command is encountered in config.
    Static NATs which overlap with NAT Exempt source are not migrated.
    Please check migrated ACLs for accuracy.
    WARNING: MIGRATION: Failed to create acl element to track during migration
    *** Output from config line 1291, "access-group outside_acc..."
    WARNING:
    MIGRATION: NAT Exempt command is encountered in config.
    Static NATs which overlap with NAT Exempt source are not migrated.
    Please check migrated ACLs for accuracy.
    *** Output from config line 1292, "access-group inside_acce..."
    WARNING:
    MIGRATION: NAT Exempt command is encountered in config.
    Static NATs which overlap with NAT Exempt source are not migrated.
    Please check migrated ACLs for accuracy.
    *** Output from config line 1293, "access-group DMZ_access_..."
    WARNING: MIGRATION: During migration of access-list <XXXXXXX> expanded
    this object-group ACE
        permit object-group DM_INLINE_SERVICE_5 XXX 255.255.255.0 DMZnet 255.255.255.0
    WARNING: MIGRATION: Failed to create acl element to track during migration
    *** Output from config line 1298, "access-group XXXXX..."
    ERROR: MIGRATION: No memory to create migrated service-policy element
    ERROR: Problem with interface 2
    ERROR: MIGRATION: No memory to create migrated service-policy element
    ERROR: Problem with interface 3
    ERROR: MIGRATION: No memory to create migrated service-policy element
    ERROR: Problem with interface 4
    ERROR: MIGRATION: No memory to create migrated service-policy element
    ERROR: Problem with interface 5
    ERROR: MIGRATION: No memory to create migrated service-policy element
    ERROR: Problem with interface 6
    ERROR: MIGRATION: No memory to create migrated service-policy element
    ERROR: Problem with interface 7
    ERROR: MIGRATION: No memory to create migrated service-policy element
    ERROR: Problem with interface 8
    ERROR: MIGRATION: No memory to create migrated service-policy element
    ERROR: Problem with interface 9
    ERROR: MIGRATION: No memory to create migrated service-policy element
    ERROR: Problem with interface 10
    ERROR: MIGRATION: No memory to create migrated service-policy element
    ERROR: Problem with interface 11
    *** Output from config line 1797, "service-policy global-po..."
    NAT migration logs:
    The following 'nat' command didn't have a matching 'global' rule on interface 'dmz' and was not migrated.
    nat (inside) 1 access-list inside_nat_outbound
    WARNING: The following identity NAT was not migrated. If required, an appropriate bypass NAT rule needs to be added.
    global (outside) 10 interface
    nat (inside) 0 logserver 255.255.255.255
    WARNING: The following identity NAT was not migrated. If required, an appropriate bypass NAT rule needs to be added.
    nat (inside) 0 logserver 255.255.255.255
    The following 'nat' command didn't have a matching 'global' rule on interface 'dmz' and was not migrated.
    nat (inside) 1 icnetwork 255.255.0.0
    ERROR: MIGRATION: No memory to create migrated service-policy element
    The following 'nat' command didn't have a matching 'global' rule on interface 'TAV' and was not migrated.
    nat (dmz) 1 access-list dmz_nat_outbound
    INFO: NAT migration completed.
    ERROR: an object-group with the same name (egitim) exist.
    WARNING: Failed to create an object for name 'egitim' in the following ACL:
    access-list DMZ_access_in extended permit tcp host 9.1.1.90 object-group egitim any

    Ummm,
    Did you possibly try the default username/password combination? (cisco/cisco) It should then prompt you to change these settings once you gain access. I'm not familiar with how the migration works, if it transitions the user accounts over or you end up starting from scratch. Give that a try and hopefully it gets you into your new system.

Maybe you are looking for

  • Template Builder add in not visible in word 2007

    I have installed the word plugin 4 months back till now it worked fine but one hour back when tried give sample xml word freezed so i restared the computer now i am unable to see world plugin in word . i tried to reinstall but no solution.. Thanks in

  • How to set up an inspection lot for new movement type

    Hi All,          I would like to know, how to trigger / set up an inspection lot for a new movement type (ex,Z11) ? Regards, PSS

  • CS5 Content Aware Fill

    Demos of the new Photoshop CS5 "content aware fill" feature on the Youtubes -- it looks impressive.  I know " Past performance is not necessarily indicative of  future results", but any guesses on when (or if) this feature would hit the PS Elements c

  • IS Utilities - standard datasources,Infosources and Infocubes

    Hi everybody, I have a requirement of working on IS Utilities with BW 3.5. I have R/3 system 4.7 with IS-U patch 4.72 and BI add-on 3.5.3. Domain is electricity trading and I need to deveIope reports for the same. I require some document which provid

  • Problem deploying JSR168 portlets; Tomcat, Win2003

    Dear All, Am having some problems deploying the JSR168 portlets on Tomcat 4.1 and Win2003. This is on Windows, and I have to manually deploy it per the instructions... So far I__ 1. Exploded the .war and added ptjsr168 to pthome.xml per the sparse in