Add a VME device programmat​ically

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

Hi Gregor,
i have NI-VXI 3.9 installed on my PC. And i could also see the VXI/VME settings using the VISA instrument property node.
can i create a new VME device using the VISA functions?
i have created a testVI to check the VXI/VME settings offered.  still haven't checked which properties should ne checked to create a VME device.
also had a look at the System Configuration functions, but with no luck. 
Best Regards
RENN
Kudos always welcome for helpful posts
Attachments:
VXI-VME Settings.vi ‏12 KB

Similar Messages

  • 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 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.

  • Bus Error when accessing A24 space on a VME device with VXI-VISA and VME-MXI-2

    I am trying to access A248 register space on a VME card, but I get a bus error using viIn8 and viOut8 with VXI-VISA on a VXI controller running Win2k across a VXI-MXI-2 <-> VME-MXI-2 link.
    I found the following entry on your site, but I do not if or how it applies to my situation:
    I Cannot Access A24 Space on a VME Bus with a VME-MXI and an AT-MXI-1 on a Windows NT System.
    Product Group: VXI Software
    Product Name: NI-VXI for AT-MXI for Windows NT
    Version/Revision: 1.0
    Problem: With a VME device, bus errors were received when trying to do a VXIin or VXIout to the address in A24 space. The device was successfully edited within the non-VXI device editor portion of VXIedit. Resma
    n acknowledges that the device has a base address of x0000 and has requested 4 MBytes of space in A24 space, but the bus errors were still received.
    Solution: Use VXIedit to insert x4700 into registers A, C, E and 10 of the the VME-MXI. This allows the entire range of VME address spaces (A16, A24 and A32) to be mapped to the MXI bus. You can then access A24 Space.
    Related Links:
    Fixed Version:
    Report Date: 08/01/96
    Last Updated: 07/19/2002
    Document ID: 0O076NGJ

    Hi bnemmers,
    Thank you for contacting National Instruments. First, let me address the KnowledgeBase that you referenced. That KnowledgeBase applies to the VXI-MXI, not the VXI-MXI-2. A similar solution may help, but I will explain that solution last.
    You said that you could not access A24 space on you instrument. Do you have problems accessing A24 space on this particular instrument or on all of your instruments? If you can not access A24 space at all, then there could be a problem with your MXI-2 controller or with its configuration.
    If it is a single instrument that is causing problems, then I suspect there is a problem either with that particular instrument or with the configuration of that particular instrument. If possible, I suggest you test another working instrument in this system. I also suggest you test this instrument in another system that you know is working.
    You mentioned that you are using a VME instrument. If this is the case, then I want to make sure that you have the VME instrument properly configured in Measurement and Automation Explorer. When you add a VME instrument using the "Create new VME Device" option in Measurement and Automation Explorer, you must make sure to add A24 space as a resource in order to communicate in A24 space. When you add this resource, make sure that you select an appropriate range.
    As I mentioned above, it is possible that the MXI-2 interface is not configured properly. It is possible that A24 access is not configured properly and that your device is never even seeing a request to read or write a register. There is a register on the MXI-2 that controls A24 access. This register is called VWR2, Extender A24 Window, and is located at 0xE of the MXI-2's A24/A32 address space. You can read this register using viIn16. If you are using A24 space, then bit 14 should be set to 1 to enable A24 address mapping. Bits 10-8 control the size of the A24 window that is mapped, and bits 7-0 control the base of the A24 window. To make sure that A24 space is enabled and mapped, try writing 0x7800 to this register using viOut16. Assuming that you have opened a VISA session to your VXI-MXI-2 or VME-MXI-2, you would use viOut16(visa session, A24, 0xE, 0x7800). Some of this is explained in the VME-MXI-2 User Manual available at http://digital.ni.com/manuals.nsf/webAdvsearch/68409BFF568BB6118625665F005A0A41?OpenDocument&vid=niwc&node=132100_US.
    I hope this helps. If you are still encountering problems, I suggest you call and talk to an Applications Engineer. Please generate a phone support request at http://www.ni.com/ask. When you do that, you will be given a Service Request Number and a phone number to call. When you call that phone number, you will be routed directly to an Applications Engineer.
    Regards,
    David Shatila
    Applications Engineer
    National Instruments

  • How do I add a new device to my existing email?

    How do I add a new device to my email account?

    You allowed someone that is not a family member to use your email address for their iTunes account?
    If so, what on earth were you thinking? This person can get a free email address at a number of places - AOL, Yahoo, Gmail, Hotmail to name a few.
    You will not be able to use your email address for your iTunes account now that you allowed someone else to use it for their iTunes account.

  • How do I add US holidays to my iCal?

    How do I add US holidays to my iCal?

    From here:
    To add holidays to your calendar:
    On iCal's menu bar, choose Calendar / Find Subscriptions...
    You will be taken to a page on Apple's website that lists shared calendars.
    For US Holidays, click here. For other countries you will have to browse around some in the Alphabetical tab.
    When you have found the calendar you want to add to iCal, click the Download button.
    You will be taken back to iCal. Click Subscribe.
    The next dialog shows options for the calendar. Two of them are important:
    If you have MobileMe and share your calendar with iDevices and/or other Macs, change Location from On My Mac to Calendars. (If this doesn't work, make sure that Calendar sharing is checked on the MobileMe preference pane.)
    Change Auto-refresh to Every week. This will make sure that you have holidays on your calendar for the years ahead.
    Click OK. The holidays will be added to iCal.
    In addition to holiday calendars, you can also subscribe to US sports team schedules, US movie releases, moon phases and several other types of calendar.
    Also check out the iCalShare.com website that claims over 3500 shared calendars in 40 categories

  • How do i add a bluetooth device to my mac? there is no " " button in my bluetooth preferences and turning the devices to discover mode doesn't work

    How do i add a bluetooth device to my mac?  There is no " +" button in my bluetooth preferences and turning the devices to discover mode doesn't work

    The Bluetooth setup assistant should "find" a device in range when that device is turned on. What are you trying to add?
    Wireless input devices: Bluetooth frequently asked questions ( How do I add or remove a wireless device to or from my Mac (pairing or unpairing)?)
    Barry

  • How do I add a new device to my icloud if it was stolen?  I need to track it

    How do I add a new device to my icloud.  My Ipad was stolen and I need to track it

    If you did not configure it for Find My Phone before it was stolen, then it's too late now.

  • How do I add a new device to my cloud????

    How do I add a new device to my cloud?

    Welcome to the Apple community miuzarraga.
    Use your Apple ID to sign in at settings > iCloud.

  • How do you add a new device to itunes?

    How do you add a new device to Itunes?
    Also how do you download the new version of Itunes from the iTunes site?

    Click on the get the latest iTunes (assuming a PC)
    http://www.apple.com/support/itunes/
    The connect the iPod to your computer and it should show in iTunes. If not then
    iOS: Device not recognized in iTunes for Windows
    Then just sync.
    iTunes: Syncing media content to iOS devices and iPod

  • How do I add a mobile device to an already set up wireless printer.

    Hw do I add a mobile device to my all ready set up wireless printer, I have the C410A all in one printer.

    Hi,
    The printer is connected directly (wireless) to other device or thru the Network ?
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How can i add a 6th devices to my itunes account

    how do i add a 6th devices to my itunes account

    ... however you can deauthorize older computers you no longer need to have authorized to your account to make way for a new one. If you have access to specific machines you can deauthorize individually inside iTunes, otherwise you can deauthorize all, then (re)authorize the machines you want.
    See HT1420: iTunes Store: About authorization and deauthorization.
    tt2

  • Can I add a sixth device to my iTunes account?

    I was wonerding if it was possible to add a sixth device to my itunes account?

    It depends on what you're trying to do.
    If you're trying to sync it with an iTunes library, yes.
    If you're trying to associate it with iTunes Match or automatic downloads, yes, if that wouldn't cause you to exceed the limit of 10 devices.
    If you're trying to authorize a computer to use protected iTunes Store content, no; the limit for this is five.
    (10318)

  • TS2972 how do I add a new device to my itunes account

    How do I add a new device (Ipod touch 5th generation) to my itunes account???

    Just use the same account on the iPod. Also see:
    iTunes Store: Associating a device or computer to your Apple ID

  • How can i add a new device

    how can i add a new device to Itunes

    Not sure what your post's title means, but you can only add a device to your iCloud account directly on the device e.g. log into the account in Settings > iCloud
    If your iPad isn't showing in your computer's iTunes when you connect it to your computer then is your iTunes up-to-date ? There is also some troubleshooting for a device not showing on these pages :
    PC : iPhone, iPad, or iPod touch not recognized in iTunes for Windows
    Mac : iOS: Device not recognized in iTunes for OS X - Apple Support

Maybe you are looking for

  • Failed installation: How to rerun Adobe Application Manager updates for Photoshop CS6

    Hi. The installation of  Adobe Extension Manager CS6 failed - while 2 others update for Photoshop CS6 did intall. I was installing Adobe Reader X . That's why I discovered the notication from the application manager about updates for CS6 - and I just

  • AnyConnect 3.1 and Mac OS 10.8

    We are having trouble getting Mac OS10.8 systems to connect via AnyConnect 3.1 clients. We have not tested with anything but the 3.1 client, and when I say trouble I do not mean it cannot connect, it just connects and throws up a cert error in the cl

  • Can't drag and drop in nested Group Container

    I want to drag a component in a Group container which is nested in another Group container, but I found I can't do that. If I remove the parent group, drag operation is ok. And if I replace both Group container to BorderContainer, drag behaviour is n

  • Photos from iPhoto library

    I have several years worth of photos stored in my iPhoto library that is being backed up to my Airport Time Capsule. My wife needs to be able to access these photos from her laptop (not a Mac). We both use the Airport as our wireless router and she i

  • Reset Passcode on Exchange SVR

    User forgot passcode for unlock iPhone4 that enforced from Exchange ActiveSync Policy. How to reset passcode on Exchange SVR for iPhone4?