How do I locate the base addresses of the 2 PC-DIO-24pnp boards I've installed?

I've tried using CVI/LabWindows to ask for the base address, but it gives me an extremely long hex number. When I define it as my base address in my program, I can't toggle my output port.The code is pretty straight forward. I think I'm not using the proper address. I can toggle the ports when I use the DAQ software that came with the boards.

If you make a call to the Get_DAQ_Device_Info function querying for the ND_BASE_ADDRESS infoType, you should be able to derive the base address of a board by device number (specified in MAX). Further documentation and use of this function can be found in the NI-DAQ help file.

Similar Messages

  • How to find the base address of a pci device in register programming?

    Hello Everyone
     I am making a register program to pci-7344.
     At this link http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/15f094f65a17e3af8625660d0018a20a?O... I find a method that finds the correct address in the register programming a pci device,but I am confused with some details.
    It says BAR0 is assigned to the miniMITE ASIC,while BAR1 is used to program the PCI device itself.So the address mapped from BAR0 is
    supposed to be the base-address of the registers on the miniMITE,but why 0x300 is added to the base-address? What 0x300 means?
    I wonder if the address mapped from the BAR1 is not the valid baseadress for the pci board and a initial offset should be added to
    it.If so what is the initial offset?
    Thank you!!

    Thank you for your reply !!
     I am developing pci-7344`s driver under venturecom`s rtx,now I have found the baseadresses[0] and baseadresses[1] . baseaddresses[0] is the base-address of the miniMITE and I can get the vendor ID, device ID by directly reading from baseaddresses[0] +offset,but  baseaddresses[1]  does not like to be the base address of the 7344 registers,because I can not get the correct status information when I read from the csr(baseaddresses[1]+0x04)(all the value read back is 1).According to your advice I add the following codes to the program.
     window_data_value = ( (0xffffff00 & (ULONG)BAR1.LowPart) | (0x00000080) );
            *((PLONG)(vMemAddr[0]+0xc0)) = window_data_value;
      vMemAddr[0] is the virtual address that is mapped from BAR0 into the user`s program ,which gives us access to physical memory locations on the system.
      After adding these codes I still can read the correct information from BAR0,but I still can not read back the correct value from BAR1(all the value read back is 0).
     It says in ddk that the csr(a read-only register) is located at cardlogicaddress+4(8byte offset),so I wonder what  the cardlogicaddress is . What is relationship between baseaddresses[1] and cardlogicaddress?
    Thank you!!!!!

  • When I am NOT private browsing Firefox will not allow me to delete or change the website address in the location bar. My only remedy is to open a new window and search in google then click the link to that site through google. How can I resolve this?

    Question
    When I am NOT private browsing Firefox will not allow me to delete or change the website address in the location bar. My only remedy is to open a new window and search in google then click the link to that site through google. When I swap to private browsing firefox allows me to anter the website address directly into the location bar - but this is a slow [prcess to swap back and forth - also by dint of using private browsing I loose my website information.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • I want to remove the emphasis "feature" in the address bar so I can see the entire address with the same boldness, like it was before. How?

    I really cannot stand the new feature in Firefox 6 that places emphasis on the main address in the address bar making it difficult to see the entire address. I want to see the entire address. How do I change it?

    You can set the pref <b>browser.urlbar.formatting.enabled</b> to <i>false</i> on the <b>about:config</b> page.
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold(user set).
    *Preferences can be reset to the default or changed via the right-click context menu.

  • Error "Extend the destination address using the location input help"

    Hi experts,
    I got warning while creating travel expense from existing travel request.
    the warning appear like this "Extend the destination address using the location input help"
    I don't want user to enter detail of address trip destination.
    how to avoid this?
    thanks
    Edited by: nzworld on Apr 29, 2011 5:42 AM

    Hi,
    If you are using ESS and you get the warning message when you enter details for a particular expense type. Please follow the config and hide the location details. Then you will not get this error message.
    SAP Customizing Implementation Guide > Financial Accounting (New) > Travel Management > Travel Expenses > Dialog and Travel Expenses Control > Dialog Control > Field Control for Additional Receipt Information.
    Enter your trip provision variant, select the expense type for which you dont want to enter the location details and then select details. Search for the variable location, select hide radio button and save.
    Please let me know if you have further clarifications.
    Regards,
    Raj

  • I cant get a photo project to email the moblile me address to someone else.  I know how, but it has stopped working for some reason.  Instead of pulling up the web address on the email form, it puts an error message?  Any ideas?

    I cant get a photo project to email the moblile me address to someone else.  I know how, but it has stopped working for some reason.  Instead of pulling up the web address on the email form, it puts an error message?  Any ideas?

    Michael,
    The link for the word 'HERE' directs to a Evergreen School District page, which outside of Mobile Me and/or Aperture. Your school district network might be intercepting the request from Aperture and displaying the 'network authentication page' that you see, instead of the email. I would get with the IT department to see if they can help you get around this.
    Have you also tried using the 'Tell a Friend' feature from another network location, like starbucks or your home?
    Cheers,
    Owen.

  • How can I change my apple address from the US to the Philippines to make my credit card work?

    How can I change my apple address from the US to the Philippines to make my credit card work?

    Change App Store
    1. Tap "Settings"
    2. Tap "iTunes & App Stores"
    3.Tap "View Apple ID"
    4. Enter your user name and password.
    5. Tap "Country/Region."
    6. Tap "Change Country/Region"
    7. Select the region where you will be located.
    8. Tap "Done".

  • How can I remove a mailbox address from the "From" drop down box in a new e-mail my old e-mail address continue to populate as the sender address

    How can I remove a mailbox address from the "From" drop down box in a new e-mail my old e-mail address continue to populate as the sender address

    Hello,
    Try Mail>Preferences>Accounts icon>Account Information tab>Click on the Outgoing SMTP server drop down, choose edit Server list, highlight the old one & click Remove.
    (Such convolution is worthy of Windows® in my estimation)

  • How do I delete an email address from the dropdown that appears after I type the first letter of the recipiants address in the To: bar.

    When I open compose and type the first letter of the recipients address in the To: bar a dropdown appears with a listing of the email addresses I have sent messages to in the past as well as addresses of my contacts list.
    How do I delete an address from this dropdown?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • How can I remove my email address from the lock screen?

    How do I remove my email address from the lock screen? My dad bought me a new laptop after mine was stolen from my house on New Year's Eve. I'm a little tighter on my security now and when I turn on my laptop the lock screen shows me my name and my email
    address. If my laptop gets stolen again, I don't want my email address to be displayed for someone to use or sell as I'm extremely picky about what I'm giving out my email for. If there isn't a way to hide my email address, I'm going to demand a "downgrade"
    from this Windows 8 s**t and back to the more user-friendly and less confusing Windows 7. (And for the record, I hate Windows 8. With a passion.)

    Hello,
    The TechNet Wiki Forum is a place for the TechNet Wiki Community to engage, question, organize, debate, help, influence and foster the TechNet Wiki content, platform and Community.
    Please note that this forum exists to discuss TechNet Wiki as a technology/application.
    As it's off-topic here, I am moving the question to the
    Where is the forum for... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?&lt;=\G.{2})'|%{if($_){[char][int]&quot;0x$_&quot;}})

  • Hi! How can I change the shipping address for the program of replacement of the 1 generation ipod nano? I've already received the empty box and now I should send back the old ipod but I'd like to receive the new one to another address. Thank you.

    Hi! How can I change the shipping address for the program of replacement of the 1 generation ipod nano? I've already received the empty box and now I should send back the old ipod but I'd like to receive the new one to another address. Thank you.

    I would contact Apple directly and have them work with to get the iPod shipped to a new/different address.
    http://www.apple.com/contact/
    B-rock

  • How do I change the base color  in the recolor Artwork settings?

    How do I change the base color  in the recolor Artwork settings? I know this seems like a silly thing but I really need to figure this out and I have read and gone through the manual and the help forum to no avail. Please help.

    If I have understood you correctly, you want to exclude a certain color from getting affected. You can click on a color row and it becomes highlighted with a border around it - in your artwork, let's say you want the orange color not to get affected. Right-click on it and choose 'Exclude Colors'. When you do that, you will see that the orange color moves to the bottom of the list and there is no arrow in front of it. Like this:

  • How to get the MAC address of the additional 10G NIC with ILO command line

    how to get the MAC address of the additional 10G NIC with ILO command line?
    thanks.
    This question was solved.
    View Solution.

    Hi Bruce,
    Out from what I can find on this network card is it not possible to get the mac address without a OS. I would recommend you to get/burn a Linux/Ubuntu live CD/DVD and run a Ifconfig in there.
    Hope it helps you.
    Best regards
    Zincas
    I work on behalf of HP

  • I need to reset my security questions.  However, the email address in the hypertext link is wrong.  How do I change it?

    I need to reset my security questions.  However, the email address in the hypertext link is wrong, so I never receive the "reset" email from Apple.  How do I change it?

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a rescue email address or a Security Questions issue, then see:
             If you forgot the answers to your Apple ID security questions - Apple Support.
             Manage your Apple ID primary, rescue, alternate, and notification email addresses - Apple Support
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
         4. Account security issues almost always require you to speak directly to an
             Apple representative to securely establish your identity as the account holder.
             You can set it up so that Apple calls you, either immediately or at a time
             convenient to you.
                1. Go to www.apple.com/support.
                2. Choose Contact Support and click Contact Us.
                3. Choose Other Apple ID Topics and choose the appropriate topic for
                    your issue.
                4. Follow the onscreen instructions.
             Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                            Apple ID- All about Apple ID security questions.

  • How to setup default gateway in a DHCP client. The default gateway will be the Ip address of the server that has RRAS installed, hence routing cabalities.

    How to setup default gateway in a DHCP client. The default gateway will be the Ip address of the server that has RRAS installed, hence routing cabalities.

    Hi Bill,
    Thank you for replying back...Yes, I was actually asking how do you set the default gateway address on the DHCP server?,
    I believe I got the answer below:
    To configure the DHCP default gateway option Click Start, point to Administrative Tools and then click DHCP. In the console tree, expand the applicable DHCP server, expand IPv4, and then right-click Scope Options Click Configure Options, check 003
    Router, type the applicable Server name and IP address, and then click OK.
    Thank you

Maybe you are looking for