How to configure a VME device within the software?

I've got a VME-MXI-2 interface cobnnected to a VME crate. I'm using the ni-vxi driver to access the VME cards in the crate. I can't configure the VME configuration manually using the tools for variuos reasons. So I tried to do it directly in the software using CreateDevInfo and SetDevInfo functions. But although GetDevInfo shows me the same information about the device as it does when I do a manual configuration, I can't access the device. (bus error, but it doesn't access the VME bus at all) Is it possible at all to configure a VME device only from the software and not doing it manually? If yes, what else do I have to do apart from creating the device with CreateDevInfo and SetDevInfo?

Frank,
Unfortunately, the CreateDevInfo and SetDevInfo commands do not function as you were expecting. These change the device information for that program only.
Resources (such as Memory Addresses) have to be mapped across the MXI-2 interface, and Resman performs the mapping based on the configuration information. The reason you get a bus error when trying to then access the device is because the memory mapping across the MXI-2 has not been done for the address ranges configured by SetDevInfo because resman has not run.
After setting the information programmatically, you would have to close that program to run resman. Since the settings are localized to the program you just closed, resman would not map the device information.
If you used an embedded controller, you could read and write directly to the address on the device. You would not have to configure the devices at all (manually or programmatically) because you have direct access to the VME backplane.
There is not a way to programmatically configure VME devices. However, there are options in MAX to enable and disable the various VME device profiles. So you could create all of the different VME devices you will be using, and then enable/disable according to the current configuration. Also, NI-VXI 3.2 includes tools so that you can import and export VME device information in to and out of MAX.

Similar Messages

  • How to create a new folder within the video folder in media

    Hi, I'm trying to figure out how to create a new folder within the video folder in media. I can easily create new folders within the pictures folder but not in videos.....Why??? Thanks in advance for your help.
    Message Edited by dany_s on 06-25-2009 03:58 PM
    Solved!
    Go to Solution.

    Hello,
    I think you can try two things : the soft reboot, and if it does not work, the hard reboot. Don't worry, you can't lose data with these two reboots.
    Soft reboot :
    1) Hit the three following keys at the same time :
    - Alt
    - Right Shift
    - Delete
    2) wait 2 minutes for the Blackberry to wake up.
    Hard reboot :
    1) your Blackberry device is on
    2) remove the battery and wait for a minute
    3) Put the battery back
    4) wait 5 minutes for the device to wake up.
    Please tell us if it works for you.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • How do I manage multiple devices on the iCloud

    How do I manage multiple devices on the icloud.  We have 2 ipods, 2 iphones, ipad and a mac and right now the icloud thinks my son has my phone.

    Try going to Settings>Mail,Contacts,Calendars>My Info (in the Contacts section), then select your contact from the list.

  • Very urgent :how I order by my report within the report option not change i

    Hi master
    Sir I design the report but I need my report order by cheq_no now my report order by voucher no but If I change in query then my format must be change that very problem for me I again design
    Is any option in report through which I order by my report as per my require column I is if I need on cheq_no , voucher_no or date
    Please give me idea how I order by my report within the report option not change in report query
    Thanking you
    aamir

    Use a lexical parameter (see online help):
    select ...
    order by &sort_parameter

  • How do I remove a device from the list?

    I had an old Bluetooth device that I no longer own. Its name still appears in my Bluetooth list. How do I remove it? The Troubleshooting manual says:
    8. How do I remove a device from the device list?
    Using the Bluetooth preferences, select the device you want to remove to highlight it, then click the minus sign. It is recommended that you remove a device from this list while the device is connected.
    This does not work. There is no minus sign anywhere. I tried clicking the minus sign on my keyboard, but that is not it. Any suggestions?

    Its name still appears in my Bluetooth list.
    What Bluetooth list? You've completely neglected to tell us what mobile device or computer running what operating system you are referring to.
    I'll make a guess that you're using a Mac. If I'm right, the minus sign is here:

  • How to configura multiple ldap server to the sun access manager

    Hi,
    please help how to configure multiple ldap server to the sun access manager, for example access manager does't find the user in ldap1 then it should search in ldap2.
    Thanks
    Mouli

    There�s no need for deleting the default amSDK based datastore because it�s needed for some default accounts.
    You may try to create the datastore using the commandline (amadmin)
    Have a look /etc/opt/SUNWam/config/xml/idRepoService.xml
    You may also try to create amadmin account in the external ldap directory.
    (Un)fortunately i�ve never tried to remove the default datastore.
    -Bernhard

  • How to create Default Schema from within the application

    Hi friends
    I am creating users using the following within my application using this syntax
    BEGIN
    APEX_UTIL.CREATE_USER
    (:P124_USER_ID, :P124_USER_NAME,:P124_USER_FIRST_NAME,:P124_USER_LAST_NAME,' ',:P124_USER_EMAIL_ID,'xxxx');
    END;
    The default workspace for the user is set as blanks. I would like to set it to be the default workspace as per the current logged in user.
    Can you help me with the syntax for this
    thank you in advance
    Laxmi

    Laxmi,
    The subject of the post is "How to create Default Schema from within the application".
    But your question asks how to set the "default workspace" for a newly created user.
    Those are different questions and not the ones I think you need answered.
    Let me answer this question "How can you set the default schema for an account when creating the account and set it to the same value used for the default schema attribute of the administrator account used to authenticate to the currently running application?".
    In the apex_util.create_user call use named parameter notation and fetch the information about the currently logged-in user first, e.g.,declare
      l_workspace               varchar2(256);
      l_user_name               varchar2(256);
      l_first_name              varchar2(256);
      l_last_name               varchar2(256);
      l_web_password            varchar2(256);
      l_email_address           varchar2(256);
      l_start_date              varchar2(256);
      l_end_date                varchar2(256);
      l_employee_id             varchar2(256);
      l_allow_access_to_schemas varchar2(256);
      l_person_type             varchar2(256);
      l_default_schema          varchar2(256);
      l_groups                  varchar2(256);
      l_developer_role          varchar2(256);
      l_description             varchar2(256);
    begin
    apex_util.fetch_user (
      p_user_id                  => apex_util.get_current_user_id,
      p_workspace                => l_workspace,
      p_user_name                => l_user_name,
      p_first_name               => l_first_name,
      p_last_name                => l_last_name,
      p_web_password             => l_web_password,
      p_email_address            => l_email_address,
      p_start_date               => l_start_date,
      p_end_date                 => l_end_date,
      p_employee_id              => l_employee_id,
      p_allow_access_to_schemas  => l_allow_access_to_schemas,
      p_person_type              => l_person_type,
      p_default_schema           => l_default_schema,
      p_groups                   => l_groups,
      p_developer_role           => l_developer_role,
      p_description              => l_description);
    apex_util.create_user(
      p_user_id        => :P124_USER_ID,
      p_user_name      => :P124_USER_NAME,
      p_first_name     => :P124_USER_FIRST_NAME,
      p_last_name      => :P124_USER_LAST_NAME,
      p_email_address  => :P124_USER_EMAIL_ID,
      p_web_password   => 'xxxx',
      p_default_schema => l_default_schema);
    end;Scott

  • HT4859 how do i remove a device from the cloud?

    How do I remove a device from the cloud?

    Sign out of iCloud in the accounts section of your unidentified device.

  • How do I use GarageBand as a amp/speaker to listen to my Electronic Drum set? I have a MIDI-USB cord already but I can't figure out how to listen to my set through the software using my computer speakers?

    How do I use GarageBand as a amp/speaker to listen to my Electronic Drum set? I have a MIDI-USB cord already but I can't figure out how to listen to my set through the software using my computer speakers?

    If you want to listen to the sounds of your drum set, you should use an audio cable and connect it to the computer's line-in, then create a real instrument track.
    If you use a Midi/USB interface, you'll have to create a software instrument track and select one of GB's drumsets as the instrument. Hopefully your drumset's midi notes are mapped to the right sounds in GB.

  • Within moments of subscribing I discovered interference with my REckon Elite Tax and Ledger software.  I can no longer produce a PDF within the software and this is inpeding my work flow.

    Within moments of subscribing I discovered interference with my REckon Elite Tax and Ledger software.  I can no longer produce a PDF within the software and this is inpeding my work flow.

    Hi elizabethc8523575,
    Elizabeth Christodoulou wrote:
    Within moments of subscribing I discovered interference with my REckon Elite Tax and Ledger software.  I can no longer produce a PDF within the software and this is inpeding my work flow.
    Please elaborate your issue. What kind of interference have you observed?
    Regards,
    Rahul

  • How do i burn a copy of the software I just bought  by download, so I have a backup copy on file?

    How do I burn a copy of the software I just purchaded by download so I will have a copy of the product on a DVD

    Simply copy the files or use any software that you use to burn data on to a DVD.
    Thanks
    Nikhil

  • How to add a VME device programatically

    Hi all,
    is there any possibility to add a new VME device programatically. 
    using NI-MAX its possible using a wizard as shown.
    just curious
    thanks & regards
    RENN
    Kudos always welcome for helpful posts

    You might have better luck posting to the VXI and VME board - http://forums.ni.com/t5/VXI-and-VME/bd-p/350
    You can try the system configuration functions but I wouldn't be surprised if this isn't supported since VXI and VME are not widely supported any more.

  • How many replacements can you get within the apple care plan

    how many phone replacements can you get within the apple care plan?

    As many as you can afford...
    You can load protected content on up to five computers. Those computers can load content onto any device. You can select up to ten computers and iOS devices to recieve automatic downloads of your purchases.
    tt2

  • How can I reset a device that the previous owner refuses to unlock?

    I WORK FOR A COMPANY THAT SEIZES PROPERTY COLLECTED FROM BEING ON LEIN. WE HOLD THE PROPERTY AND IF THE COLLATERAL ISN'T PAID FOR OR NEGOTIATED TO STANDARDS, IT'S HELD FOR 30 DAYS (WE USUALLY HOLD UP TO 90 DAYS IN MOST CASES) AND THEN THAT PROPERTY BECOMES THE OWNER OF THE LEIN COMPANY TO DO OR SELL TO RECOVER COSTS RELATED TO COLLATERAL DEBT.
    THAT ALL BEING SAID... THAT IS WHY MY QUESTION IS, HOW WOULD THE NEW OWNER OF ANY APPLE DEVICE IPAD, IPOD, IPHONE ETC....BE ABLE TO GAIN ACCESS TO A DEVICE IF THE PREVIOUS OWNER IS NOT AVAILABLE TO RESET OR ASK FOR ICLOUD INFO??
    IS THERE A WAY I CAN PROVIDE DOCUMENTATION AS TO PROVE DEFAULT AND SEIZE OF THE DEVICE SO IT CAN BE FACTORY RESET?

    Demo wrote:
    Forgive me for hijacking this thread. My apologies to 6xfulrepo.
    FoxFifth, I'm not sure that this is accessible to you yet but if it isn't, it should be within the next 24 hours.
    FoxFifth has leveled!
    In the meantime,Congratulations on achieving level 6.
    It shows "Unauthorized" -- I'll check it again later. Thanks!

  • How can i use connection pool within the sqlj?

    hello
    i am a beginner to sqlj,i find all of the sample code from the oracle DON'T use connectionpool,they only write the database url to "connection.properties" file,but i think in the production environment we should use the connectionpool to optimise the querying,i usually use the weblogic connection pool.
    how can i use the connection pool within the sqlj?
    thank you very much!

    Im not sure if I understand. :)
    English is not my best language...
    Looking up the connection again? Do you mean I have to create new DataSource object and bind it again to ServletContext?

Maybe you are looking for

  • Firefox on Android Jellybean 4.2.2 is soooo slow?

    I am a long time user of Firefox on my PC. Could not do without it anymore :) So ofcourse I did install it right away when I got my Samsung Galaxy Tab 3 WiFi with Android Jellybean 4.2.2. And it is like a total other world: it is sooooo slow. It take

  • Reg: 4.7 SR1 Runtime error

    Hi All, We have installed 4.7SR1 on SunSolaries, the installation was finished successfully. When I execute the transaction SICK it thrown an error saying that OS release SunOS 5.10 Generic_137111-01 sun4v is not supported with this kernel (620) Plea

  • Automatic insert of xmlns:xsl during XSLT transformation

    I am using the xmlparserv2.jar of dated "12/10/00" to perform a XSLT transformation. I need to insert a xml:space="preserve" attribute to a generated tag. However, there is an addition attribute added : xmlns:xml="http://www.w3/org/XML/1998/namespace

  • 4.0 won't work with my computer, how can I redownload the older version

    4.0 won't work with my computer, how can I redownload the older version?

  • Where do downloads go on my iPad?

    I have a new iPad. Tonight, I downloaded some music from an artist's site, but I can't find it!  Where is it?