How do I read detailed device information in DAQmx?

Hi,
I'm developing an application using the DAQmx C API and the 6602 Counter/Timer.  I would like to know how to read more detailed device information using the C API, i.e. more than just the type, serial number, and whether it's simulated.  I have seen several posts about this topic, but none appeared to give a satisfactory solution.  It has been mentioned that the DAQmxGetSystemInfoAttribute() serves this purpose, but it's not documented in the DAQmx C Reference Help files, so I don't know what attribute values ( DAQmxGetSystemInfoAttribute (int32 attribute, void *value, ...) ) are valid, and therefore am unsure as to what information can be obtained by this function.  To be more specific, I would like to read device information such as pin names and function, number of counters, number and name of digital I/O ports, etc, so that the application could automatically identify and list the available resources (similar to the way MAX does as you go through the task creation procedure).  Is this possible with DAQmxGetSystemInfoAttribute() or any other function?
Thanks,
Jeff 

Hi Serges,
Thanks for your reply.  I'm OK with retrieving the device names, the question is whether there is a way to obtain detailed information once I have the name.  For instance, if I find (via DAQmxGetSysDevNames() and DAQmxGetDevProductType( )) that there is a PCI-6602 board installed, can I then call a function to retrieve details about the PCI-6602 (e.g. physical channel names, DIO port capabilities, etc.) rather than hard coding (yuck!) this stuff into the program.  It seems plausible that there might be a set of files somewhere within DAQmx which provide this sort of device information - if so, how can they be accessed?
Jeff 

Similar Messages

  • HT204023 how to know the detail device that connected to the personal hotspot?

    when i setup a personal hotspot , i can just know how many devices connected to the hotspot, but don't know the detail devices.
    How can i konw? It's a security problem.

    Concurrently (at the same time) if you are using bluetooth its one. If on WiFi, I'm not sure. I've never connected more than one, but it is possible that it can handle multiple devices. Consecutively (not at the same time) there isn't a limit.
    Why is this a security problem? For both WiFi and bluetooth, there is as code required.

  • How Interim Meter Reading before Device Replacement is adjusted in Periodic Billing after Replacement without sending Interim Bill Doc. to Customer

    Dear All,
    At my Project Consumption is calculated as per Status and Notes Taken,i,e if it is "OK" reading MR is taken Directly for Consumption Periodically and Billed, but according to Logic if Customer MR Status and Notes is DL and AB(Door Lock and Abnormal) we Estimate Consumption according to logic written.
    Now i have a problem when ever OK Reading Billing is done before Replacement - consumption of Replacement (Consumption given when Old Device billing related removal) with OK Notes is getting adjusted after replacement, but when estimation billing by DL or AB or Disconnected status Consumption been billed before replacement and after this device is been replaced is not able to adjust Replacement "OK" Reading (Consumption given when Old Device billing related removal) in Next Periodic Billings. So what i found is adjustment is not happening because of Absence of "OK"  MR Billing before Replacement and i asked them to make and Interim Billing so that the consumption should be adjusted before replacement and after replacement there should not be any issue. Now my User is ok with the above idea, but he want Interim Bill Consumption should not be sent to Customer and Interim Bill Consumption should be included in Periodic Billing and Invoice after Replacement is sent to Customer.
    Please can any one give me some idea on above scenario.
    Thanks & Regards,
    Kushal Gupta

    PORT YOUR NUMBER OUT...T MOBILE WILL PAY YOUR ETF IF YOU GIVE THEM YOUR VERIZON PHONES.

  • How to get more detailed error information when calling Java SP

    Hi
    Sorry for reposting this in here but I got no responses in the JVM forum...
    I am calling a Java stored procedure from a PL/SQL stored procedure (Oracle DB 9.2.0.8.0) and I am getting the exception:
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.NullPointerException
    It does not help much though... Is it possible to get the full Java error stack from within PL/SQL so I can log a more informative message?
    Thanks!
    Luis

    Thanks for the replies! However I am not sure if they help...
    I will give some more info about my problem. I have an Oracle job that runs every morning and executes a PL/SQL procedure, which in turn calls that Java SP.
    Sometimes the Java SP fails and the error is logged; however only the message "java.lang.NullPointerException" is reported by the SQLERRM function (apparently the last Java error message in the error stack). I am unable to reproduce the error when calling the Java SP manually as was suggested.
    I need to log a more detailed error message from within PL/SQL to know exactly where the error occurred, when it occurs next time...
    I will take a look to see if I can get some information in some trace file, though ideally I would like to do it programatically.
    Thanks
    Luis

  • Where is LMS 4.0 Detailed Device View ?

    Can someone tell me how to get the Detailed Device View in LMS 4.0 please?
    From what I have been able to find out I should be able to go do Monitor> Fault Settings> Setup> Fault Device Details, select a device, click View and then click the device name link.
    Unfortunatly the device name(s) displayed are not links, just text.
    I need to get the the Detailed Device View so that I can block certain interfaces/events from generating alarms, specifically ISDNB channels when voice calls are made.
    Steve

    I just checked mine and following the navigation you noted above it works for me - I can navigate down to unmanage individual interfaces. See the screenshot below.
    FWIW, I am running LMS 4.2.2 on soft appliance and am logged in as admin.

  • Read ICC profile information of an image

    Dear community,
    for my further implementation I need some information about the ICC profile used for an actual image edited inside Photoshop. How can I read the ICC informations about an image?
    I am implementing an export plug-in and found some ICC component inside the ExportRecord struct, called:
    Handle iCCprofileData; /**< Handle containing the ICC profile for the image. (NULL if none.)
                                                Photoshop allocates the handle using the Photoshop handle suite.
                                                The handle is unlocked while calling the plug-in.
                                                The handle is valid from  \c ExportSelectorStart to \c ExportSelectorFinish
                                                Photoshop frees the handle after \c ExportSelectorFinish. */
    int32 iCCprofileSize; /**< Size of profile. */
    int32 canUseICCProfiles; /**< Non-zero if the host can accept or export ICC profiles .
                                                If this is zero, the plug-in should not set or dereference \c iCCprofileData. */
    What I am not understand:
    How can I read the iCCprofileData and which information will be delivered by the iCCprofileSize?
    For iCCprofileData I got int values like @179952120 or @179952176. They differ for every loaded image. Seems that I just read the memory address. The "Handle" points to an empty char '\0'. I have no idea how to work with the datatype "Handle" correctly ...
    For the iCCprofileSize I got integer values like 544 for the embedded profile Adobe RGB (1998), 3144 for the working color space sRGB IEC61966-2.1 or also 3144 for the embedded profile without color management:
    embedded profile  = Adobe RGB (1998) -> iCCprofileSize = 544 (or sometimes 560)
    working color space = sRGB IEC61966-2.1 -> iCCprofileSize = 3144
    embedded profile = without color management -> iCCprofileSize = 3144
    embedded profile = SWOP2006_Coated3v2 -> iCCprofileSize = 2747952
    working color space = Coated FOGRA39 (ISO 12647-2:2004) -> iCCprofileSize = 654352
    embedded profile = without color management -> iCCprofileSize = 654352
    The variable canUseICCProfiles delivers always the value 1. As well if I selected the embedded profile without color management.
    Can I infer from the iCCprofileSize which profile will be used by each image?
    Does somebody has more experience with these there members (iCCprofileData, iCCprofileSize and canUseICCProfiles) of the struct ExportRecord?
    I would be grateful for some hints.
    King regards,
    Silver

    hai,
    i paste the java source code for getting each pixel value of an image.i think that this code is usefull to you.
    import java.awt.image.PixelGrabber;
    import java.awt.Toolkit;
    import java.awt.Image;
    class getpixel2
    public static void main(String args[]) throws Exception
    Image image = Toolkit.getDefaultToolkit().getImage("D:\\one.jpg");
    if(image==null)
    System.out.println("NO FIle");
    PixelGrabber grabber = new PixelGrabber(image, 0, 0, -1, -1, false);
    if (grabber.grabPixels())
    int width = grabber.getWidth();
    int height = grabber.getHeight();
    if (isGreyscaleImage(grabber))
    byte[] data = (byte[]) grabber.getPixels();
    else
    int[] data = (int[]) grabber.getPixels();
    for(int i=0;i<data.length;i++)
    int r = (data[i] >> 16) & 0xff;
    int g = (data[i] >> 8) & 0xff;
    int b = (data[i] >> 0) & 0xff;
    System.out.println("(R,G,B)=("+r+","+g+","+b+")");
    public static final boolean isGreyscaleImage(PixelGrabber pg)
    return pg.getPixels() instanceof byte[];
    }

  • How do I read teletext info captured by kaffeine?

    Hi,
    I use kaffeine to watch and record tv (dvb). Whenever I demultiplex my recordings to cut commercials, projectx tells me, it found a teletext (private stream).
    So just out of curiosity: How can I read that teletext information?

    Jim,
    Thank you for the reply. I think that I am all set. I am using a "write to binary file" vi to write a "complex waveform" from a niRFSA Fetch IQ vi. After looking at the complex waveform more closely, and documentation on timestamps, and attributes, I wrote some Matlab code that seems to work. It looks something like this (below).
    Thanks again.
    % My undestanding of the Labview complex waveform data is as follows:
    % U64 - Fractional part of seconds since 12:00 am, Friday Jan 1, 1904 UT
    % U64 - Seconds since 12:00 am, Friday Jan 1, 1904 UT
    % float64 - delta t 64 bits
    % int32 - array size (this might be an un-signed?)
    % float64 - Y real (element 1)   % A
    % float64 - Y imag (element 1) % R
    % float64 - Y real (element 2)   % R
    % float64 - Y imag (element 2) % A
    % float64 - Y real (element n)   % Y
    % float64 - Y imag (element n) %
    % uint32 - attributes 4 bytes, handle to an internal labview data struct

  • How can I share my schedule information with my wife on her accounts and devices?

    My wife and I have separate accounts in our MacMini and MacBook.  We each have an iPhone.  She uses GMail.  I use Mac Mail.  How can I share my schedule information with my wife on her accounts and devices?

    It is not advisable to follow the above suggested method. The following will do what you want without complications.
    1. On your Mac, go to http://help.apple.com/icloud/#mm6b1a9479 and follow the instructions to share a calendar privately. If you have more than one calendar you want to share you will have to do each individually. You can choose whether she is able to edit it or whether it should be read-only.
    2. If your wife does not have an iCloud account she will need to obtain one. When you share a calendar and nominate her to access it she will receive and email. All she has to do is to open the email and click 'Join Calendar'. This will add the calendar to her Calendar app on all devices and on icloud.com without affecting any other data. Again, this will have to be done individually if more than one calendar is involved.

  • I have copied over my music file to a new computer and the music shows on itunes but wont play. When I track where the song is located it is reading the wrong information. How do I change this as Edit Preferences has the right location

    I have copied over my music files to a new computer and the music shows on itunes but wont play. When I track where the song is located it is reading the wrong information. How do I change this as Edit>Preferences has the right location?

    Select one of the tracks with a broken link, press ctrl-i to Get Info. Say No when iTunes asks if you would like to locate the track, then look at the Summary tab for the location expects to find the file in.
    Now try to locate the file in question. The two locations should give a clue as to what to do next.
    Here is an example with a file I've deliberately moved from the new layout to the old pre-iTunes 9 layout.
    This means iTunes is expecting to find the file at:
    D:\iTunes\iTunes Media\Music\a-ha\Take On Me\01 Take On Me.mp3
    but it isn't there because I've moved it to:
    D:\iTunes\iTunes Media\a-ha\Take On Me\01 Take On Me.mp3
    which is where it would have lived back in iTunes 8 (though the media folder would have been called iTunes Music back then as well).
    If you can provide the expected and actual locations of a broken track I should be able to suggest the easiest way to resolve things.
    tt2

  • How do I delete an event on ical when there's no edit option, it reads details?

    I'm trying to delete an event in iCal on my iPad but where it usually reads edit it reads details and in details theirs no delete option. How can I delete this event?

    Is it an event that you added?

  • How to get reading list in my all my devices and computer (window 7). i have installed ios 6 on iphone and icloud control panel on both PC's (home and office) but i dont get updated reading list on all my devices.

    how to get reading list in my all my devices and computer (window 7). i have installed ios 6 on iphone and icloud control panel on both PC's (home and office) but i dont get updated reading list on all my devices.

    Hi bluegrandpanash,
    Thanks for visiting Apple Support Communities.
    If you backed up your iPhone to iCloud before updating the software, first try the steps under "Restore from an iCloud backup" in this article to recover your data:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/HT1766
    Best Regards,
    Jeremy

  • How can I recover my account information I lost all the details and only remember my email address

    how can I recover my account information I lost all the details and only remember my email address

    https://getsupport.apple.com/Issues.action

  • How to get the health , performance information and about the services run on devices that have connected to the system center?

    Hi All,
    I want to know how to get the health , performance information and about the services run on devices that have connected to the system center to my c# application. Also I need to know about the information of databases that have connected to system center.
    I will appreciate your feedback
    Thank you

    Hi,
    You can configure service monitor for the required service on the server
    refer below link for how to configure service monitoring
    http://www.bictt.com/blogs/bictt.php/2011/03/17/scom-monitoring-a-service-part3
    You can use SCOM SDK to connect to the scom server using c# and get required information
    http://msdn.microsoft.com/en-us/library/hh329086.aspx
    you can find the database in below registry path on management server
    HKLM:\SOFTWARE\Microsoft\Microsoft Operations Manager\3.0\Setup\DatabaseName
    Regards
    sridhar v

  • How to find the detailes of what information exatcly is extracted?

    I would like to know in detail what information is being extracted (and hence migrated) by iSetup.
    I was able to find the list of objects used in the Selection set. For example, I can choose to migrate profile options, but It does not migrate every single profile, so is there a place were I can see the list of all profiles being collected? (and similar for the other templates/objects ?
    Thanks

    1) Use Offline Transformation capability of Setup Manager which provides spread sheet view of extract data.
    2) Create standard reports on extracted data. The output format can be chosen to pdf, rtf or excel.

  • How do I get my ipod shuffle/nano to play music in my 2009 hyundai elantra's ipod usb port? It reads the device (ipod) and says its "empty"?

    I have a 2009 hyundai elantra with an ipod usb port, when I try to hook up my shuffle with its usb connector to my car, the stereo dashboard says its reading the device and then says the device is empty...therefore no music gets played or heard. What am I doing wrong? Or is there some sort of cable i need to be using with my ipod to get it to play in my car?Any advice and help would be greatly appreciated. Thanks.

    Either you have accidently posted this in the wrong forum (this is the LiveType discussion board), or the fora are screwing up again (if they ever stopped). To answer your question, though, you need some kind of converter that will export only the audio. I'm sure there are many free solutions out there, but not being familiar with Windows, the only one I know off the top of my head is Quicktime Pro ($30).
    Either way, your iPod problems shouldn't be affecting your caps lock key.

Maybe you are looking for