List of devices

Hello

Can I get a list of devices using DAQmx and ANSI C? How can I do? What function can I use? I was looking for a solution in the internet, but I couldn't find that for c#: http://zone.ni.com/devzone/cda/epd/p/id/5818 . Is it possible in ANSI C too?

Thanks for the reply

Hi adam,.

It is possible with the API of the CVI system configuration. here a code snippet shows you the basic architecture:

#include "nisyscfg.h"
#include 
static NISysCfgEnumExpertHandle cfgHandle;
static char hardwareName[255];
static NISysCfgResourceHandle hHardware;
static NISysCfgEnumResourceHandle enumHardware;
static NISysCfgSessionHandle sHandle;

void main (void)
{
    NISysCfgInitializeSession ("localhost", NULL, NULL, NISysCfgLocaleDefault, NISysCfgBoolTrue, 10000, &cfgHandle, &sHandle);
    NISysCfgFindHardware (sHandle, NISysCfgFilterModeMatchValuesAll, NULL, NULL, &enumHardware);
    NISysCfgNextResource (sHandle, enumHardware, &hHardware);
    NISysCfgGetResourceProperty (hHardware, NISysCfgResourcePropertyProductName, &hardwareName);
    printf ("name: %s", hardwareName);
    getchar();
}

With NISysCfgNextResource , you can browse the resources and NISysCfgGetResourceProperty allows you to get a wide range of properties, m, including the device of the kind, serial number... etc.

Let me know if you have any other questions

See you soon

Tags: NI Software

Similar Questions

  • How to export the list of devices in the Profile Manager?

    Hello

    is there a way to export the list of devices in the Profile Manager on a mini mac running OS Server 5.3?

    Thank you

    How to export data from device in the Profile Manager

    How to export a list of devices and their info?

  • My MBP is showing a "Remote Disc" in the list of devices. It's not a hard drive.

    My MBP is showing a "Remote Disc" in the list of devices. It's not a hard drive. So where did it come from? I 'get info' on this subject, but it doesn't tell me a thing.  He sees the disk drives elsewhere in my house? It's to see my iPhone as a remote disc? The photo with him is a DVD or CD gold. It drives me crazy.  I am running OSX Sierra.

    This has been on the Mac for a while now... Here is a link that can better describe it.

    Use the CD or DVD drive from another computer with your Mac - Apple Support

  • My iPad is not listed under devices connected with the Apple ID

    My iPad is not listed under devices signed Apple ID I do not know how to add this new iPad

    Where are you seeing this? iCloud.com or on the link below...? Are you connected to iCloud with your Apple ID?

    Apple ID - manage

  • I want to add my laptop to my list of devices to find my Iphone

    I want to add my windows laptop to my list of devices so I can find my IPhone and or IPad, but the instructions do not cover a windows based pc.

    The computer must be running Windows 10 and later > check the list of devices in your Apple ID to see where you are connected - Apple Support

  • Downloaded new itunes now iPod not recognized. Uninstalled and reinstalled. No sign of the driver on the list of devices iPod win 10. Tried the other fixes - what do I do now?

    With the help of Windows 10. Downloaded latest version of iTunes (should have been better). Now iPod Nano not recognized. Tried to uninstall and reinstall iTunes without result. Check the list of device driver - no sign of the iPod device driver. Read various tips listed here, but nothing seems to work. How can I get the driver?

    Douglas

    The 'driver' is here.  It is part of the installation of iTunes.  When you connect it, the iPod screen indicates it is connected, by showing 'do not disconnect' or 'Connected' or another indication that there is a data connection with the computer?  If it shows that the battery symbol, there may be another problem that requires no software and 'drivers '.

    If the iPod has a data connection (but he does not appear in iTunes), you can use the procedure to completely uninstall iTunes and associated software components.  Can you only uninstall iTunes.  It's the Apple procedure, listing the components uninstall and uninstall specific order

    Remove and reinstall iTunes and software for Windows 7 and later versions - Apple Support components

    After you have uninstalled all parts of the installation of iTunes, download and reinstall the latest version available

    https://www.Apple.com/iTunes/

  • Tecra 9100: sound card is not listed in Device Manager

    Hello
    I have a toshiba laptop 9100 that does not show me the sound card in Device Manager.

    I recently changed the laptop bobdy and uses a disk hard work that work very well with my old laptop which also has the same model and the sound used to work properly with this one. but since I changed my laptop, the sound just does not.

    I also tried to install all the latest drivers that I am running windows xp sp2, and there are drivers available who have a difficulty for this os. But when I try and install the drivers it always ends with a message warning "drivers are not installed.

    I tried to see if there is another way in which I can configure my sound, but it simply doesn't.

    Help, please!

    thanx

    Peppy

    [Edited by: admin August 6 05 08:52]

    Hello peppy

    If the sound card is not listed in Device Manager, the explanation is very simple. The card its doesn't exist for the operating system. Either card defective or not connected properly.

    Contact the Service partner and let check the device. Sorry, but in this case I put t see another solution.

    BR

  • Satellite L300-19Y - wireless LAN is not in the list of devices

    Hi I need to throw this one out there incase I throw my pc a bridge...

    I have a Toshiba Satellite L300-19Y which recently gubbed the HD, so I replaced and am trying to install XP SP3.

    However, even with what i belive to be the correct drivers I can't seem to access my wireless LAN.
    I installed most of the pilots involved, and have access to the Internet via the NIC with a connecting cable.
    It was a struggle to get even, even if I really need a wireless...

    At the moment the wireless device does not appear in the list of devices, although I can see my network card.
    I have some thoughts on how to activate the wireless, I tried to install the driver manually wireless but didn't get any wherever I get a code 10 XP Shutdown response.

    I've updated the BIOS, I have the latest drivers 8187b, I installed the kernel, the chipset, the display and audio drivers... etc.
    I installed a new copy of XP but you have not installed all the drivers until I know that the correct procedure...

    Any ideas would be appreciated...

    Arghh!

    Andy

    Hello

    You should try to activate the WLAN using the hardware on the laptop switch (must be defined on and with the combination of keys FN + F8.
    Did you do that?

    In addition, you can get all the drivers for your laptop on the Toshiba site:
    http://EU.computers.Toshiba-Europe.com-online decision-making supported Downloads & => Download drivers

    I assume that you have installed your laptop with a disc of Microsoft, so you should try it with the Toshiba recovery disc. It contains an image of the settings from the factory with all the drivers and tools. After that, everything should work fine on your laptop.

    Check it!

  • How to list the devices and the format of the command line?

    Hello

    Is there a guide reference CLI or procedure to the list of devices and devices from the command line format but also create volumes? I get failures from the GUI without specific error or log messages, said just that the volume creation failed.

    The Setup is as follows

    Flex-Raid RAID5 3x160GB Bay 1-3 devices with an SSD shore in Bay 4, I want to create a new volume on the SSD drive. I should be able to do this with Flex-RAID as I understand.

    I could solve this problem. I ended up restarting the NAS and the volume was recognized and usable.

  • Satellite A660 webcam not in the list of devices

    A660 PSAW3A-07R00R had for a few years, but cannot use the Webcam because it is not in the list of devices. I downloaded the webcam application several times, with the last V1.1.1.15, but does nothing after extraction.

    >.. .but does nothing after extraction
    It means that start software install doesn t or what?

  • I deleted by mistake my mini iPad on my list of devices. How do I restore it?

    I have deleted my mini iPad on my list of devices and may not know how to restore. It is up to date.

    Hello

    Go to main page at the bottom of the page Apple ID itunes settings

    Sign out and then sign back in.

    See you soon

    Brian

  • HP 8600 Pro Premium: 8600 Pro Premium connected to the cable network shows as not connected on the list of devices

    My printer/Premium Pro 8600 is wire connected to my network and works very well (exception below) but shows as not connected on the list of devices on my desktop computer Win 10.  What gives?  Private network.

    I also can not connect to my laptop which is connected wireless to the network.

    Hello and welcome to the community of HP @Pickles2011,

    I understand that you are having problems with your HP Officejet Pro 8600 Premium connection. I'll be happy to help you.

    Here are some links to documents that provide solutions for troubleshooting connection problems. Try the steps and let me know the results.

    HP printers - Printer not found during setup of the network (Windows) driver

    Wireless printing Center - Troubleshooting

    If it helps, will testify of my answer by pressing the 'thumbs up' below, or click on the button "Accept as Solution" if I helped you reach a solution.

    I hope this helps and have a nice day.

  • get to see the list of device only simulated pxi card

    Hello

    I use the nodes property of the system and peripheral DAQmx to get the logical name two card PXI, PXI-5441 and PXI-5610.

    When I ran the vi, nothing came.

    I then added a device simulated, the logical and physical name named were recovered.

    No idea why my vi does not return the two actual cards info?

    Thank you

    Olivier

    Hello Olivier,.

    The reason why your module PXI-5441 and PXI-5610 do not appear in the list of devices is because they are not DAQmx devices. You can get the same information using the niModInst get attributes of polymorphic VI installed device.  Of course, you also need to use the public meeting of the installed devices niModInst and niModInst screws of Session of installed devices close as well.

    Kind regards

    Wallace F.

  • CP1525: a printer is missing in the list of device - eprint

    I have 4 printers in a single erpint account, now it is only 3 printers listed there, we went - and it's funny, the eprint that still work printer - if I send emails to its eprint e-mail address - it still prints. someone has an idea? Thanks, really appreciate for any help;

    HP should offer a paid option for eprint and his service to improve quickly. HP Saviez scanner industry had been destroyed by smartphone?

    Hey @RobinJiao,

    Welcome to the Forums of HP Support!

    I understand that your Laserjet Pro CP1525nw printer has disappeared from the list of devices in your connected HP account. I can help with that.

    To start, make sure that the printer is plugged directly into a wall outlet, not a surge protector. Once done:

    1. Connect the printer via a USB on Windows PC or Mac and download the latest firmware by clicking on this link.
    2. Turn the printer off.
    3. While the printer is turned off, disconnect the power cable from the back of the router for a minute.
    4. When the lights come back on the router, turn on the printer.
    5. On the printer press right until you see Network Config and press OK.
    6. Press right until you see the IP address and press OK.
    7. Note the IP address.
    8. In the address bar of the web browser on any computer, type the IP address as it appears on the printer and press ENTER to open the web page integrated printer.
    9. Click the Web Services tab.
    10. If you click on one of the options on the left side, you should see an option to print an information sheet. A click on it.

    Now, If you see a code of request on the sheet of paper then in your connected HP account click on the devices tab, the device to add and enter the code for the printer application.

    If you do not request a code on the web page of the printer and then on delete Web Services and then activate. Now in your connected HP account click the devices tab, the device to add and enter the code for the printer application.

    Please let me know if this allows you to add the printer to your connected HP account. If so, please click on accept solution. If you appreciate my help, please click on the thumbs up icon. The two icons are below this post.

  • NIC is not in the list of devices Win

    Hi all

    I have a Pavillion Elite 9300 Z running Win 7 (64). It is now about 2 1/2 years. I only rarely use it now since I built a more recent/fast PC last year. When I turned on the Pavilion this morning, I discovered that my internet was not
    work. He had been in the past & I have not changed anything.

    Later, after having checked my connections, I found that my NETWORK card is not in the list of devices Win. At this point, I didn't know what to do. So, I tried to 'Add' a new feature, but way of Win 7 wouldn't let me add a device directly, rather it wanted to 'look' for the devices 'detectable '. After more than 15 minutes of searching without results, I abandoned it.

    I decided to install a driver from HP site. Since this is a .exe file, I thought, it will probably work. But, he didn't, even after reboot, still no NETWORK card in Device Manager.

    Can someone help me solve this problem?

    Hi PieLam. If your NETWORK adapter is not displayed in Device Manager, it has very probably been disabled in the BIOS.
    Here is a link showing how to enter the BIOS. Take a look at the screen shot under 'Advanced menu settings' and note the Onboard LAN option. If you have integrated NETWORK interface, then you need to set the "Enabled".
    http://support.HP.com/us-en/document/c01997718

Maybe you are looking for