Programmatically determine the PCI device ID

Hello again all you lovers forum useful!

I am writing an application for exit to and read entry from ARINC PCI card, specifically the ICAN-530 of GE Intelligent Platforms.  Now their LabVIEW drivers and the documentation is pretty good, but one of the things that I have a problem with is how to determine the ID of the Board of Directors.

The documentation on this Board ID is marked "for PCI devices, this Council number must match the device ID assigned when the installation of the API and the corresponding device has been installed."  I'm sure that I have discovered this using MAX, but what I really want is to determine if the laptop running my application has this card special in it ARINC and if so what is its device ID, by any program without the user to select or install MAX, etc.

I hope it's doable, but I failed to find the right screw looking through this forum and in the pallets of LabVIEW.  If someone could point me in the right direction (or definitely state that it can be done programmatically), I would be very grateful.  :-)

Thanks in advance!

-Joe

Just in case where someone else finds this useful thread in the future, I got the following response from GE Intelligent Platforms (who I bought the card), that indicates there will be a relatively simple way to reach my goal by using the LabVIEW drivers.  I have not tried so I can't guarantee its effectiveness, but it sounds good.  :-)

If the only GE avionics installed is the ICAN-530, he would have no problem invoking AR_Board_Init until you encounter a status of passage; However, if there are other cards installed AND the distribution of the CIS - x 30 - SW is installed on this host, there is a mechanism to check room types.

The AR_Query_Device of VI VI provided in CIS - LV Version 4.10 (latest version and probably the one would have received you if purchased with the ICAN-530), can be used in the following sequence to check such allocation device number on your system without actually opening a session and during the initialization of the Council.

(1) call AR_LoadDLL.vi with the set control system Type to be 'CIS - x 30'.

(2) call AR_Query_Device.vi in a loop (BoardIDIn control incrementing from 0 to 15) until the indicator of Type of card is returned in 26 (type for ICAN-530) AND the errorOut.code '1 '.  The BoardIDOut indicator will be the Deviceid for the ICAN-530.  Council for the VI types are described in the online documentation and printed for CIS - LV live.

(3) If you will be running your application, you can just go forward on the basis of the VI AR_LoadSlv and waive AR_Board_Init (as AR_Board_Init is just a combination of AR_LoadDLL and AR_LoadSlv).

(4) If you plan on using it to work with any other type of Council other than a CIS - x 30 Board, you must call AR_UnloadDll.vi to remove the library API CIS - x 30 memory.

Tags: NI Software

Similar Questions

  • Dell Optiplex PC 390: the driver for the PCI device is not installed

    In "Devices and printers" my desktop unit shows a yellow triangle with an exclamation point.

    When I click on "help" I get the message "PCI device driver is not installed. When I try 'apply this correction', nothing happens, it retains only the search.

    I've read to go to "Control Panel > Device Manager" and click on the part of the problem, then click on "Details > hardware ID" and I get the following:

    PCI\VEN_1FD4 & DEV_1999 & SUBSYS_01011FD4 & REV_00

    PCI\VEN_1FD4 & DEV_1999 & SUBSYS_01011FD4

    PCI\VEN_1FD4 & DEV_1999 & CC_070800

    PCI\VEN_1FD4 & DEV_1999 & CC_0708

    I don't know where to take from here. Can anyone help?

    Thank you

    Kathy

    Hi, Kathy:

    Here is the link for the driver you need...

    http://www.Dell.com/support/home/us/en/04/drivers/DriversDetails?driverId=DMD90&FILEID=2967023673&osCode=W764&ProductCode=OptiPlex-390&LanguageCode=en&CategoryID=cm

    For later use, there is a Support Forum of community Dell for Dell desktop PC.

    http://en.community.Dell.com/support-forums/desktop/

  • How do I programmatically determine the version OMIVV

    How can I programmatically retrieve the version of OMIVV (OpenManage for VMware vCenter integration)?

    That's how I do it manually
    1. connect to https://
    2. in the left menu, select the DEVICE MANAGEMENT
    3 version is displayed under the DEVICE UPDATE

    There is no url in the hyperlink for the management of the unit. This is a javascript action.
    I prefer not to have to hack all the javascript and html to find the source of the information, as this could easily change in a future version, this hack of rendering obsolete.

    There is no SNMP agent
    You can't SSH to the IMO

    I would like to write a script to collect this information on a regular basis as part of the State of my management of environment report.

    Hello

    There is not a way to side plugin to collect the version. You may be able to use other methods of Vcenter for version. PowerCLI should be able to get a list or the specific version of the plugin with the Get-vCenterPlugin command

    https://my.VMware.com/Web/VMware/details?downloadGroup=PCLI550&ProductID=352

  • 2000-2d19wm HP: I need drivers for the PCI device and SM Bus controller

    I have a Hp 2000-2d19wm and I have downgraded to win8 to win7. Now I am trying to install the drivers and I can't find it on the HP website. Please help me.

    Hello:

    You need this driver for smbus controller...

    http://h20566.www2.HP.com/hpsc/SWD/public/detail?swItemId=cp_118001_1

    You need this driver for the PCI Dev:

    Realtek card reader driver

    File name: sp64801.exe

  • Programmatically determine the version of LabVIEW for a VI/control

    Hi all

    Given the path to control of VI / I want to get the version in which it is the last record. Is it possible to do? I do this to identify all of its dependencies - programmatically by adding to a project and getting his list of dependencies by using nodes of property & methods. Thank you for your help & time.

    Thank you

    George S

    You can use the method to get the VI Version of the Application class to get the registered version of a VI file on the disk, without loading the VI in the memory.

  • Is there a way to programmatically determine the use of the 64-bit computer?

    I need to work with files in the path C:\Program Files\ [...].  However, when I run my LV application on a 64-bit machine, the path is C:\Program Files (x 86)-[...].  Is there a way to automatically determine if the application is running on a 64 bit system?  I use LV v.2012 SP2.

    Thank you

    DJ

    dj143 wrote:

    I need to work with files in the path C:\Program Files\ [...].  However, when I run my LV application on a 64-bit machine, the path is C:\Program Files (x 86)-[...].  Is there a way to automatically determine if the application is running on a 64 bit system?  I use LV v.2012 SP2.

    If you want the correct folder, the number of bit OS will not really help you. What to do if windows is installed to X:\Program files id... » ??

    Take a look at "get system directory". In particular, use the entry "application files. See if it meets your needs.

  • Programmatically determine the default value of control

    Hello

    I'm trying to understand a reasonably sustainable method to detect if the sub VI input is wired.

    I use the approach to the definition of an absurd default for the control, and then by comparing the current value of the control to a constant of this value. If they are not equal, so I pass the value of the control in my registry to offset. If they are equal, I hold that any value has been previously in the shift register. In this case, I created a driving force that allows me to update the status bar.

    It works because my progress meter is a U8 I'll never write 0-100, so I can set my default to something outside this range (in this case, 255) for my comparison. Something similar should be relatively simple to understand and reuse in the future.

    However, there is a dependency on a person if the default value for the control and the update of the constant comparison to match. My question: is there a method to check the default value for a control programmatically in order to remove the coupling? I realize that any method would be invariably slower with regard to execution, but it's simply out of curiosity.

    I think that this method is reasonably justifiable if you document correctly and it works for me. Other developers do not tend to change the default values of the controls without reason.

    That said, the Control class has a default property, but I think it's private and it may not work when you generate an EXE file.

    If you want something that is more explicit, you can build a polymorphous VI - have one version of the VI with the entrance and the other without. The main problem is that users may not know that the entrance is there for them to wire without looking at instances of the polyVI, so I still prefer the method of the invalid value.

  • How can I programmatically determine the super-type of RepositoryItem

    I have a bunch of point-descriptors that share a common supertype of 'product' as below...

    < name point-descriptor = "visualmedia" super-type 'product' = display-name = 'Visual Media' sub-sub-type-value = "visualmedia" >
    < name point-descriptor = 'application' supertype 'product' = display-name = "Application" sub-sub-type-value = "application" >

    .

    In my code, it is pretty easy to get kind of a RepostitoryItem as...

    String itemType = item.getItemDescriptor () .getItemDescriptorName ();
    gives "visualmedia" or "application".

    .. .but what I really need, is the RepositoryItem super-type value of 'product '. Does anyone know how to do this?

    Bob

    It is always better to write code using the repository API, if possible, rather than dive into implementation of the particular repository as the GSA. The atg.repository.RepositoryUtils class is your friend. He takes care of some instanceof checks and casts are needed. It probably has the methods you need. Here are some options related to your question.

    RepositoryItemDescriptor getBaseItemDescriptor(RepositoryItemDescriptor pItemDesc) - if pItemDesc is not a GSAItemDescriptor, it will be returned to you. If it's a GSAItemDescriptor, you will get back GSAItemDescriptor.getBaseItemDescriptor. The base is the root of a multilevel inheritance tree. If the input parameter has no supertypes, it will be returned. In other words, you won't get back to a null value.

    RepositoryItemDescriptor getParentItemDescriptor(RepositoryItemDescriptor pItemDesc) - This returns an immediate supertype or null if the input type without a supertype.

    Boolean isTypeOfItemDesc (RepositoryItem, RepositoryItemDescriptor pSuper pItem) - returns true if pItem is a pSuper or pSuper anywhere in its supertype tree. This is analogous to java instanceof. There is an overloaded version of this method where you can spend in a RepositoryItemDescriptor for the first parameter, if this happens to be most convenient for you. If you start with a RepositoryItem, there is no need to get his ItemDescriptor your own.

    The code in GSAItemDescriptor.getSuperTypeDescriptor isin was exactly the same as getParentItemDescriptor, and I'm not enough to know if they would give you different answers, an expert of GSA. I doubt it. My guess is that isTypeOfItemDesc is what you really want.

  • Pavilion G6 required 2225TU driver for the PCI device


    Realtek card reader:

    http://ftp.HP.com/pub/SoftPaq/sp56001-56500/sp56467.exe

  • Yellow brand - PCI Device' and 'Network controller' on the Satellite A100-787

    There is a yellow question mark in Device Manager for a pilot called "PCI Device" and also for "Network controller" even if the network (LAN) connection is working well and all the other computer functions seem to work well.

    What are these devices?

    The second device appears to be a LAN or WLan card. You should check if one of these cards were not installed under network adapters.
    The PCI device can be a card reader. Check this box too.

    But I really don't understand why these yellow exclamation points appear in Device Manager. I assume that you have installed all the drivers available. Did you?
    Please check if some drivers were not installed.
    If so, then download and install!

  • 2000z-400 HP PCIe device driver not found on the HP site

    HI -.

    Equipment:

    HP 2000z-400, S/N: [redacted], P/N: A1L49AV. Clean install of Windows 7 Home Premium 64 - BIT.

    All THE Windows updates done.

    Go to: manage devices. See: "other devices" / PCI device = not installed.

    Go to the HP site for this model/download and install all available software for this machine. No change.

    WebCam of thought software would do it. WRONG again, Patrick... :-(

    What could be this device and where is the darn for him, please?

    Thanks for any advice or suggestions... :-)

    Hello:

    The PCI device is the Realtek card reader that needs a driver.

    If the HP Web site did not work, then try one directly from Realtek on the link below.

    DL and install the driver first on the list.

    http://www.Realtek.com.tw/downloads/downloadsView.aspx?langid=1&PNid=15&PFID=25&level=4&Conn=3&DownTypeID=3&GETDOWN=false

  • HP laptop 15 15-g024ne: the drivers for PCI devices

    I need PcI device & drivers PCI encryption/decryption controller

    I can't find them

    You are the very welcome.

    This driver should work for the PCI device:

    http://h20564.www2.HP.com/hpsc/SWD/public/detail?sp4ts.Oid=6943835&swItemId=ob_133237_1&swEnvOid=4058

    The unknown device is no doubt this, but without knowing the ID of the material for her, I can only guess.

    http://h20564.www2.HP.com/hpsc/SWD/public/detail?sp4ts.Oid=6943835&swItemId=ob_132986_1&swEnvOid=4058

  • Windows PCIe device driver problem. Windows hangs on the reception of the PCIe interface data.

    I am writing a the PCIe device driver. With the PCIe, I have a connected storage device. I assigned a buffer in memory using malloc() which I use to transmit data to and receive my material. In my hardware, I have a DMA which uses physical addresses for data transmission. The transmission of data to the storage device works fine, it's all data that I have in the buffer are correctly transmitted to the material, but as soon as I try to receive all data from my material in this memory buffer (in memory of the host), windows crashes! I tested it on Windows Vista and Windows 7, but both crashed on playback. I think that windows is not let PCIe write on his memory. If that is the question, can you suggest anything to fix this problem? Or if you think that there is nothing else that is causing this problem, please let me know.

    Any help is appreciated.

    You'd better post in MSDN forum here instead.

    http://social.msdn.Microsoft.com/forums/en-us/categories

    MS - MVP - Elephant Boy computers - don't panic!

  • vSphere "There is no device for the PCI Passthrough on the host"

    Hey all,.

    I use a trial version of VMware vSphere 5.1 on a server Dell T - 410 Quad Core - w - 32 GB of RAM.  I'm not under vCenter.  I installed this after attending a class on VMware vSphere there and now I'm just using it because I need to study the materials of many moons.  I left 40 days on the assessment.

    I'm trying to add support for a PCIe card in VMware vSphere for a Linux CentOS client.  (Note that all customers react in the same way).

    When I click on the Client and then 'change settings' > I see the dialog window 'Properties of the Virtual Machine' and the Add button.

    When I click on ADD, I see the following:

    "PCI Device (not available)".

    By clicking on the PCI device in gray reveals that:

    This device cannot be added to this virtual Macine because:

    There is no device for the PCI Passthrough on the host

    ---------------------------------

    I have looked in a number of places but haven't seen any clear information about how to ADD a PCIe or PCI peripheral Passthough.

    Can you tell me messages of the Forum or Documentation for this operation?

    I run a vCenter evaluation copy to pull this off?  (And there are copies of assessment of vCenter even?)

    Thank you

    Tommy

    Select the host, and then you will see the configuration tab.   Advanced settings is at the bottom left.

    OK just see your message... good luck!

  • Determine the number of traditional DAQ hardware using Labview.

    Hello

    Anyone can answer the question:

    Regarding materials traditional DAQ, for example the DMM OR-4060, how

    can I programmatically determine the number of device which can be seen in MAX?

    With the help of Labview 8.5, I looked into the following function libraries:

    NOR-DMM

    VISA

    NOR-ModInst

    None of the libraries above seem to provide access the number of traditional DAQ hardware

    property, which is automatically assigned.

    Background:

    I have a 18 PXI chassis containing 2 DMM, in housing 3 and 14.

    The DMM may be a mixture of type OR-4060 or NOR-4070.

    The system is controlled by a Teststand sequence employing IVI - DMM

    steps.

    When you set the IVI logical name step, I am referring to IVI device defined Sessions

    Max - rutime determined.

    Labview VISA functions using I can determine the model, i.e. 4060 or 4070.

    Because the DMM just locate into the slots 3 or 14, then the devices NOR-4070

    are accessible using the following descriptors of resources: PXI1Slot3 or

    PXISlot14.

    (The 4070 is compatible DAQmX.)

    So for devices OR-4070, I can predefine 2 Sessions of IVI device, knowing

    It will be sufficient for all occasions, when I run my Teststand sequence, which will be

    determine what device session to use at run time.

    But I'm stuck for the NOR-4060.

    At the Session of the device, I have to give a descriptor of resource the following

    format: DAQ::x (where x is the device number)

    I could create device 18 sessions each reference to a different DAQ::x, but to select

    the good pair during execution, I would need to programmatically determine the device

    number, i.e. the value of x.

    Where my question.

    The closest I came to a solution was an entry of the Knowledge Base that said that the

    Assigned device number would be the same as the slot number, providing the

    Number of the device had not previously configured manually.

    Unfortunately, our device numbers have been changed manually and maybe in the future.

    All popular solutions.

    Gary.

    Hi Gary,.

    Good afternoon and I hope that your well today.

    Thanks for your post and I want to help you solve your problems.

    I don't think there is just a function that you can use to identify and collect information on all cards with your. For traditional DAQ devices in particular I suggest using the Information.vi of DAQ devices get.

    If you look at this link,

    SAL posted an example VI entitled, find dev trad.vi.

    You can get information such as serial number, Dev name and the Base address.

    The assistance of the respective drivers to collect information you could generate an array of strings with the information that you need all the slots.

    Please let me know if this is useful at all,

Maybe you are looking for