How can I change the polarity of my NiDAQ card with visual C++ ?

Hi,
I'm using VC++ to program a GUI to do data acquisition. I would like to change the polarity of my NIDAQ card through VC++, i.e., without using the measurement and automation software. I connot find anything about this on the internet. Could anyone please help me out?
Thank you,
bart.

While some of the details may change depending upon which card you are using, essentially you will just need to adjust the range for your signal.
You can find the command and how to use it by using the NI-DAQmx C Reference Help (Start > All Programs > National Instruments > NI-DAQ)
You might like these functions:
int32 __CFUNC DAQmxSetAIRngLow/High(TaskHandle taskHandle, const char
channel[], float64 data);
or
int32 __CFUNC DAQmxSetAIGain(TaskHandle taskHandle, const char
channel[], float64 data);
Pick your favorite and go from there.
Regards,
Otis
Training and Certification
Product Support Engineer
National Instruments

Similar Messages

  • How can I change the tuning (pitch) of apple loops with logic?

    how can I change the tuning (pitch) of apple loops with logic? Is it possible at all ??? Cant get a clear information . I´m a user of Logic 9.14

    Thanks.....but... How to change the pitch within a song arrange, lets for example say the loop is in F in original tune and i want him to be played in the song arrange maybe in A.... when i draw it in the arrange window, the tune goes back to the original...

  • How can I change the description of a control Icon with property nodes?

    hi
    I want to change the description of a control Icon and use for this the property nodes, but I don't know how. Who can help me?
    labprog

    If you're referring to the control's name on the screen, you can't change the label while the VI is running because it's part of the control's definition. Instead, make the label invisible and the caption visible and use the property Caption.
    If this doesn't help, elaborate more on what it is you need.
    Try to take over the world!

  • How can we change the default folder location (avoiding problems with Temporary Internet Files)

    (Environment in question: Windows 7 secure desktop (running as user not admin), Office 2010)
    Hello,
      As has been touched on in various forums (such as here: http://forums.adobe.com/thread/797451), when one opens a PDF attachment in Outlook, Acrobat and Reader store the file in the "Temporary Internet Files" folder (f/k/a OLK folder in previous versions of Outlook.  There are two major problems with this:
      First, as Microsoft has documented in http://support.microsoft.com/kb/817878, attachments end up here staying here under certain conditions (go checks your now, you'll find some!), which ends up being a file attachment no man's land, and that can present security risks (e.g. if data we thought was deleted still lives in that folder).
      Secondly, the first time you open an attachment in Acrobat and do a Save As, Acrobat is defaulting to the Temporary Internet Files location.  This folder (as noted in the thread linked above) is ridiculously hard to get to for the average user, so they can end up storing a file and then losing it.
      We've found that if we open Acrobat once, do a save as, and change to the users Documents folder, the change sticks.  But how can we have Acrobat default to Documents instead of that temporary location? 
      Any help is greatly appreciated.

    Have you check to see if Acrobat sets a registry entry or file preference for the first Save As?  That's where I would start looking.  Process Monitor is a good tool for this.

  • How can you change the style of a flash tabnavigator with css

    I'd like to change the colors of a tabnavigator in flash
    form.
    I found an example how to change the layout for a panel but
    it doesn't inherate it to my tabnavigator.
    Here a simple example for a panel that works:
    quote:
    <cfsavecontent variable="contentPanelStyle">
    panelBorderStyle:'roundCorners';
    backgroundColor:#EFF7DF;
    headerColors:#CBEC84, #B0D660;
    </cfsavecontent>
    <cfform name="myform" width="420" format="Flash"
    timeout="100" >
    <!--- skinned --->
    <cfformgroup type="panel" label="With styles"
    style="#contentPanelStyle#" width="400">
    <cfinput type="text" name="someinput" label="your name"
    />
    </cfformgroup>
    </cfform>
    Actually, I just want to colorize my tabnavigator items
    (don't want even a panel around it). How can I do this, as example
    with the same colors like the panel?
    pawel

    Found 1 solution for the active Tab
    quote:
    <cfform name="myform" width="420" format="Flash"
    timeout="100" >
    <cfformgroup type="tabnavigator"
    style="themeColor:##CC0000;">
    <cfformgroup type="page" label="Tab 1">
    <cfinput type="text" name="someinpu1t" label="your name"
    />
    </cfformgroup>
    <cfformgroup type="page" label="Tab 2">
    <cfinput type="text" name="someinput2" label="your name"
    />
    </cfformgroup>
    </cfformgroup>
    </cfform>
    But still, how do I controll the colors of the inactive Tab
    and the highlight Tab (rollover mouse)?
    pawel

  • How can I change the acct I log into MSDN with

    I would like to change the email username I use to log onto MSND from something not Microsoft related to an email address that is Microsoft related.  Something like [email protected] or [email protected]  I have already set up accounts on Outlook and
    Live but I can't figure out how to change from the email address I am currently using.
    Thanks for any help that can be provided.

    Are you asking about your MSDN subscription? If so you can manage here.
    https://msdn.microsoft.com/subscriptions/manage/
    If you're asking about your Microsoft account you can manage it here.
    https://profile.live.com/
    Also something here may help.
    http://www.microsoft.com/en-us/account/faq.aspx
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • How can I change the frame around a title created with the Rectangle Tool?

    In PrE 7, I have been creating titles (e.g.: Title > New Title > Default Still, etc.) for a long time and using the many ways to manipulate the text (type, color, size, animation, etc.). Today, I tried to use the Rectangle Tool (or the Ellipse Tool, or the Line Tool) and they created a beautiful 'frame' (like a picture frame: artistically designed and colored) and I can change the background color within the frame and place any text (also background picture, etc.) in it. However, I couldn't find any way to change the 'frame' or the general style of these title objects. Is there any way to do this, or this is the only design that can be created with these tools? I would greatly appreciate any help (couldn't find any in this u2u site). Thanks, Laci.

    Laci,
    Yes, you can apply Styles to several Rectangles (or other Shapes), to simulate a "frame." The Styles should appear as Text in the Styles Panel. Since you are working with Shapes, but viewing the Styles applied to Text, it is not perfectly intuitive as to what those Styles look like with the Shapes.
    Personally, I find that doing things like "frames" in Photoshop and then Importing the PSD's into PrE is far, far easier. In that case, I would place the PSD on Video Track 1 (unless I wanted it to appear superimposed over my Video (like a PiP), and then do the text in a PrE Title, and place it above the PSD.
    Here is an example:
    This is a simple "picture frame" created in PS. I used a still image, instead of text in this case. These could be "wood-grained," "granite," etc.
    Much more control and tons of Effects and Filters that can be applied.
    Good luck,
    Hunt
    PS - that is from PrPro, so the GUI will look quite different, but things work the same way.

  • How can I change the email my itunes Gift Card was sent to?

    I'm very frustrated.
    I called your support, the gentleman that helped me talked so fast I couldn't understand him. I asked him to repeat it he said it the same speed, couldn't understand him. Anyways, he went on to tell me that anything to do with iTunes gift cards are all automated online, but said he couldn't direct me because he didn't have the website up infront of him at that time. Poor customer support.
    I love apple, but that was disappointing.
    PROBLEM: I sent a giftcard to the wrong email address I mistyped and missed a letter in the address. I need to resend it to the correct email. How can I do this?
    Thanks in advance.

    No. You can see when you buy something in App Store, but not when you loaded a gift card

  • How can I use the Intelligent Instrumentation PCI 20001C card with DIAdem 6

    I need to update my DIAdem Version 4.00 to 6.02. But there is no driver for my measuring card Intelligent Instrumentation PC20001C that i used with DIAdem 4.00.
    What do I need to do?

    I am not sure about version 6.02, but your card seems to be supported in version 8.
    Check here for a list of supported hardware:
    http://www.gfs-ac.de/english/index.htm
    Click on 'Supported hardware" on the left in the 'Products - DIAdem" section and then choose your manufacturer on the right side. For II, it shows support for the PCI 20.001C-1 and -2 in version 8.
    Let me know if you have any additional questions.
    Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • I have both Photoshop 4 and Photoshop 6 on my computer. When I am in Bridge and want to open an image by double clicking, it automatically opens in 6. I see, when I go to "open with" 6 is listed as "default" How can I change the "double click" defult to o

    I have both Photoshop 4 and Photoshop 6 on my computer. When I am in Bridge and want to open an image by double clicking, it automatically opens in 6. I see, when I go to "open with" 6 is listed as "default" How can I change the default to open an image with a double click in 4?

    You can associate files from the Bridge level and the Desktop level.
    In Bridge CS4, go to Preferences > File Type Associations and change it to Photoshop CS4 for the file types you want.
    If you want to open files from the Windows Desktop in CS4, these are the instructions:
    Do this from the Windows Desktop:
    If you want your image file to open in Photoshop and it doesn't, right click on it and choose
    Open with > Choose default program… select Photoshop CS4 or CS6 and checkmark "always use the selected program to open this type of file".

  • How can i change the color of a blinking button?

    Dear all,
    how can i change the color of a blinking button with property nodes, when the button changes from "normal" state to blinking state? I can change the color of the normal state, but how can I change the color when the button is in blinking state?
    thanks

    jus an example
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    Blinking_Indicator_2003.vi ‏27 KB

  • How can I change the display of Inbox in my iPad's mail app- so that it takes up the full screen?

    How can I change the display of Inbox in my iPad's mail app- so that it takes up the whole screen, as opposed to just about one third; the other two thirds display the full text of the selected email?

    You can't change the display in the Mail app, if you are holding the iPad in landscape orientation then the left-hand third will be for navigation, and the right-hand two-thirds will be an email. If you hold the iPad in portrait orientation then the navigation section becomes a drop-down section.

  • How can I change the background of a running webpage on my own. Example Facebook I want to change its backround color from white to black just in my view not for all

    How can I change the background of a running webpage on my own. Example Facebook I want to change its background color from white to black just in my view, not for all. Cause I really hate some site with white background because as I read for an hour it aches my eyes but not on those with darker background color.

    You can use the NoSquint extension to set font sizes (text/page zoom) and text colors on web pages.
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/

  • HT201361 Is it possible to save the screenshot files to a different folder than desktop. How can I change the folder?

    Is it possible to save the screenshot files to a different folder than desktop (that is the default). How can I change the destination folder? Thank you, Sal

    To change the screenshot capture location to a new place on your Mac, first think of a location that would serve you properly. We like to place ours in a "Screenshot" folder located inside of the User's "Pictures" folder. To change the location to this new location, open the Terminal and enter the following command:
    defaults write com.apple.screencapture location /Users/[u]/Pictures/Screenshots/
    Replace "[u]" with the name of the user on your system. Once you have entered this command, let's restart the screen capture utility by restarting the SystemUIServer by entering the following command:
    killall SystemUIServer
    You can optionally log out and back in instead of entering this second command, thus restarting the SystemUIServer. Once restarted, all screen captures taken from here on out will end up in your /Pictures/Screenshots/ folder in the User's home folder on your Mac.

  • How can I change the default apple ID for app store. I bought the macbook from my school when I left and I'm the ID in place of mine is the computer departments one. How can i change it to mine?? Thanks

    How can I change the default apple ID for app store. I bought the macbook from my school when I left and I'm the ID in place of mine is the computer departments one. How can i change it to mine?? Thanks

    http://support.apple.com/kb/ht5621

Maybe you are looking for

  • How to Create the Bills of Materials(BOM) in an Agile Application

    Hi, I need help on how to create a BOM in an Agile Application, after creating this in agile, then where to see this details in an E-Business Suite, and also explain the advantages of an BOM Regards Srini

  • TS1368 Itunes store fail

    Cannot connect to the itunes store on my iphone 4s, no error message just opens app and then closes

  • Status of po

    I implemented the extended classic scenario. In the po print , I need to display if the po is or not approved. I have a customized approval workflow on 2 level. I need to understand if the po is or not approved on all 2 level. Thanks for the help

  • Legacy AuC - Investment Measure

    Dear Experts One of our SAP client is getting merged into another SAP client effective 1st April 2011. I'am not sure regarding the takeover of AuC which are not completely capitalised. I've read several threads and it has been suggested to use TType

  • I am unable to download app from appstore

    I am unable to download app on my iphone the circle comes n just hungs up i have waited for hours but itz still in a same position i am using ios8 kindly help me out in solving my problem