How to find out that the card in a given NIDAQ slot is a DSA card?

In the description of DAQ_Op(...) function in the traditional NIDAQ function reference one reads:
"buffer" is an integer array. "buffer" has a length equal to or greater than count.
When DAQ_Op returns with an error number equal to zero, buffer contains the acquired data.
For DSA devices, buffer should be an array of i32. These devices return the data
in a 32-bit format in which the data bits are in the most significant bits.
Question 1: How to find out programmatically that the card in a given NIDAQ slot is a DSA card?
Question 2: How many MSB carry the information? How do I find out bit-ness of the card (programmatically)?
The obvious solution to create and keep updated the table/fil
e with the data for all existing DAQ cards is unacceptable. This could be maintained by NI itself, but not by 3rd party developpers, like me.

Bryan, thanks for your answer.
I hope that my NIDAQ-wish-list will not only reach NIDAQ developers but some of it will be implemented in the next versions of NIDAQ.
I should say that I am quite pessimistic because I was sending similar requests via German support few YEARS ago and I am still even do not know whether they reached developers or not. Even if yes, the present NIDAQ still does not have these functions and this means that NI takes 2..4 years to react on the feedback.
At the moment I have no choice, and I do maintain self-made info file (nidaq.ini). But beleive me, it is a pain in the @ss to scan help files and manuals of the DAQ cards which I've never seen just to include info in nidaq.ini. And when my customers of a brand new NIDAQ ca
rd call and wonder why the card is not reacognized by my application correctly, I tell to them that this is basically fault of NI. Because NI provides no way to get card info. I am doing my best analysing error codes, but it does not help in all cases. Sorry, guys, but you left no choice to me.
As for NIDAQmx, this is not a solution either. I am not going to rewrite my existing and working rather big application. It could be a good suggestion for those who just starts developing a new applications from the scratch, but not for those who almost finished it. Even for those who begin now, NIDAQmx may not be a good choice, because, as I saw in this forum, it does not support all cards that are supported by NIDAQ. It also looks like that instead of improoving, developing and fixing NIDAQ, NI dicided to change API completely. It is not yet clear to me whether NIDAQmx is supposed to substitute NIDAQ in the future or not. If not, I would concentrate on improoving trad. NIDAQ. If yes, it wou
ld be a disaster for many developers. :-(
Anyway, I hope that the interaction between NIDAQ team and application developpers will be improoved, and we will see some results of this feedback.

Similar Messages

  • How to find out that the database table is empty

    Hello all,
    How to find out in ABAP in the best performant way, that the database table is empty. The table could have several milions of records or be empty. SELECT count( * )  looks to me as not the best way.
    Kind regards
    Radim Benek
    Moderator message: FAQ, please search for previous discussions of similar topics.
    example: "SELECT SINGLE" vs. "SELECT UP TO 1 ROWS"
    Moderator message: Please Read before Posting in the Performance and Tuning Forum
    Edited by: Thomas Zloch on Aug 11, 2011 5:06 PM

    Hi,
    One approach is:
    check lt_mytable is initial.
    This will be true if there are no lines.
    Another:
    describe table lt_mytable lines lv_count
    if lv_count = 0.
    "Empty
    Thanks.
    Anitha a

  • How can we find out that the Z table is adjusted or not???

    Dear Friends,
    How can we find out that the Z table is adjusted or not???
    I have activated it but I need to se that the table is adjusted or not? I know we can do it from SE14 but I don't have an authorization ,
    Thnaks,
    Sridhar

    Hi, Thanks for the reply,
    As per ur suggestion of path direction I have checked the table in production and development both.
    In my Z table, I have 2 key fields and for those 2 key fields the primary indexs are created automaticaly and displayed in Developement but in Production there is no indexs are created for those 2 fields.
    Could you please guide me what could be the reason?
    Thanks in advance.
    Regards
    Sridhar

  • How to find out that particular structure is used in which tables

    Hello Friends,
    Most of the times through techinal information we come to know the table name for a particular field.And in se16 when i give that table name than system says its structure and not the table.So in se11 when i give that structure name in database table field, its shows all the field in that structure, but not the data stored in that field.
    So my question is how to find out that particular structure is used in which tables,so that i can view data stored in that structure?
    Thanking you guys in advance.
    Regards,
    Jitendra

    Dear,
    When you click on the technical information it will give the structure name and field, double click on the structure and it will take you the display structure screen, there you will have the where-used List icon (Ctrl + Shift + F3) at the top , click on that and it will show the options, select Database tables and execute, it will give the tables related to the structure, you can explore the list of tables and find where your required field is stored in them.
    Thanks & Regards,
    Vijaya Bhaskar A

  • How to find out about the SMTP Server

    Hi,
    I have been trying to configure groupware in the portal - in particular I want to enable the sending of emails through the portal. I already have a how-to-guide that that seems to explain the steps quite well. However, it mentions that I need to know the SMTP Server of the email. Can you tell me how to find out about the SMTP Server? Where do I need to look for the name of it?
    Thank you and regards,
    Katharina

    Hi Katharina,
    you need the SMTP server of your company. This means you can't look for it in the portal, but have to ask the responsible person in your company.
    Kind regards,
    dominik

  • How to find out whether the system user is a vendor or a purchaser

    Hi,
    I am working in SRM 5.0. I have a requirement that some fields of Bid invitation can be visible by purchaser but not to bidder.
    How to find out whether the system user (user id though which system logged in) is a vendor or a purchaser. Kindly help me to resolve this issue.
    Sushmita Singh

    check his role.
    is surrogate bidding available for that bidder.
    via surrogate bid , purchaser can submit bid on behalf of the bidder.
    masa is correct
    pposa_bbp - search via user . so he might be  a purchaser.
    maintain business partner -supply your bidder bp number -edit
    go to bidder data .Under bidder data you must flag "PERMIT PROXY BIDDING"
    regards
    Muthu
    br
    muthu

  • What is ilife ?? is it comes with macbook pro 13in ?? how to find out in the system

    what is ilife ?? is it comes with macbook pro 13in ?? how to find out in the system?? I am using OSX 10.8.5

    These are the iLife applications:
    http://www.apple.com/ilife/
    They come with every new Mac.  If they are not in your applications folder, download them from the App store.
    Ciao.

  • How to find out that recovery is sufficient

    HEllo all,
    Lets say I am running recovery of database (no RMAN) and I apply few redologs. How can I find out that recovery done on datafiles so far is sufficient and datafiles are in consistent state so I can open DB w/o problems? I mean , I know that I would get error in case I try to open DB and datafiles need more recovery, but I would like to see some kind of proof on my screen that recovery is not finished (probably some v$ view or something ).
    Or it does not have to be an option that I am running recovery of DB, it can be that my DB is running and there is some failure which will require media recovery . Where can I see expect logs that I need to recover because of this or that does not match (I guess in some v$view for datafiles will be mismatch of some numbers comparing to v$controlfile or v$database view.....or??? )
    I hope you guys got it what I mean :)))if not just let me know I'll try to explain it better
    thx

    You claim to have done an Offline Backup. And yet, Oracle asked for Recovery. Then there might be something wrong with your backup.
    Here I do a normal shutdown of the database and when I MOUNT, I see that the files are NOT Fuzzy :
    ora10204>sqlplus '/ as sysdba'
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Aug 27 23:24:40 2009
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  880803840 bytes
    Fixed Size                  2087992 bytes
    Variable Size             197133256 bytes
    Database Buffers          675282944 bytes
    Redo Buffers                6299648 bytes
    Database mounted.
    Database opened.
    SQL> select file#,fuzzy, checkpoint_change#, to_char(checkpoint_time,'DD-MON HH24:MI:SS') from v$datafile_header order by 1;
         FILE# FUZ CHECKPOINT_CHANGE# TO_CHAR(CHECKPO
             1 YES            2063978 27-AUG 23:24:48
             2 YES            2063978 27-AUG 23:24:48
             3 YES            2063978 27-AUG 23:24:48
             4 YES            2063978 27-AUG 23:24:48
             5 YES            2063978 27-AUG 23:24:48
    SQL> shutdown
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area  880803840 bytes
    Fixed Size                  2087992 bytes
    Variable Size             197133256 bytes
    Database Buffers          675282944 bytes
    Redo Buffers                6299648 bytes
    Database mounted.
    SQL> select file#,fuzzy, checkpoint_change#, to_char(checkpoint_time,'DD-MON HH24:MI:SS') from v$datafile_header order by 1;
         FILE# FUZ CHECKPOINT_CHANGE# TO_CHAR(CHECKPO
             1 NO             2064344 27-AUG 23:25:36
             2 NO             2064344 27-AUG 23:25:36
             3 NO             2064344 27-AUG 23:25:36
             4 NO             2064344 27-AUG 23:25:36
             5 NO             2064344 27-AUG 23:25:36
    SQL> alter database open;
    Database altered.
    SQL> select file#,fuzzy, checkpoint_change#, to_char(checkpoint_time,'DD-MON HH24:MI:SS') from v$datafile_header order by 1;
         FILE# FUZ CHECKPOINT_CHANGE# TO_CHAR(CHECKPO
             1 YES            2064345 27-AUG 23:28:49
             2 YES            2064345 27-AUG 23:28:49
             3 YES            2064345 27-AUG 23:28:49
             4 YES            2064345 27-AUG 23:28:49
             5 YES            2064345 27-AUG 23:28:49
    SQL> The MOUNT after a NORMAL Shutdown that would have been used for an Offline Backup, shows "NO" for Fuzziness of datafiles.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • How to find out that a record is empty or null

    hi
    how can i find out that a record is empty or null.
    in other languages when a object or record is not initialized it will be null.
    after initialization how can i find out its values are null. so far i tried this
    declare
    v_r_emp emp%rowtype := null;
    BEGIN
         if (v_r_emp is null) then
         dbms_output.put_line('record is not initialized');
         end if;
    END;
    it seems in plsql we can assign null but cannot compare it with null clause why? if we are able of assign null we must should about to compare it with null too.
    also how record can be made empty. how can we find out that a record variable is empty
    please help me to understand the concept
    thanks

    You need to check every element in the record.

  • How to find out, that sales invoice is paid

    Hi,
    does anybody some hint, how to easy find out, that sales invoice is paid already (2007). I need to do this check for list of invoices (thousands) - so Im looking for some query.
    I know, how to find it through oinvoice object, from bank payment, internal reconciliation, ..., but I think that there must be some internal view or SP which is in use for SAP for receiving this information (calculating variables). I dont need informations about payment dates, Im looking just for info, that invocie is paid already. Maybe some record in JE linked to invoice?
    thanks

    We need to get the Invoice Paid Amount. Our customer use Bill of exchange frequently , so we are looking into OBOE for payment info, because Invoice Paid Amount (OINV.PaidToDate) does not reflect current payment info when there are Bill of Exchanges.
    Are we wrong?
    Does anybody know an easy way gather this information?
    For more detailed info about the way we are doing this see Field BoeType - OBOE

  • Moving data between tables (how to find out if the 2nd table is empty)

    Hi,
    I have 2 tables, and I'm copying records from one table to another.
    I've followed the Wiki: [https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/movingdatabetween+tables]
    So far, everything works ok.
    Here is my question: how do I get the number of records passed?
    I mean, how do I know the number of rows in the 2nd table? (Remember that this number is variable, because it depends on how many rows I've inserted and deleted on the 2nd table).
    I've tried to achieve that using a data store with a numeric field, but I couldn't find the way to increment/decrement the numeric field on data store, and insert/delete the row on table at the same time .
    All I want is to find out if the 2nd table is empty or not.
    Any ideas to solve this?
    Thanks in advance!
    Help will be point-rewarded.
    Marcelo

    Hi Ahmed
    thanks for your reply, it was very helpful!! (I've assigned points to you)
    However the user can add twice or more times the same row... so the counter doesn't reflect the real number of rows in the 2nd table.
    I've partially solved this also using a data store with a parameter called key_list, where I add (I mean, concatenate) the key field for the selected row.
    So, if I have a table with 4 rows with key fields "key1", "key2", "key3", the parameter key_list would get "key1;key2;key3".
    So far, it's ok. But when I remove a row previosly added.... I can't remove the key from the key_list parameter. (I mean, from 2nd table I choose to remove the "key2" row, but I don't know how also remove the key name from the key_list)
    I hope be clearly enough.
    Any help will be really appreciated and point-rewarded.
    Thanks again.
    Best Regards
    PS: is there any way of "mark" a row that has been added to the 2nd table? I mean, using (for example) a hidden boolean field named "added", that becomes true when the selected row is added to the 2nd table.

  • How to find out what the geniric short forms stand for?

    Hi if you see the ThreadLocal class in jdk1.6 it is written like this in doc. ThreadLocal<T> and if you see the method Class.forName() the return type is Class<?> i am just confused a littele bit. how to find out what this <T> and <?> stands for? I mean how do i know that what to pass in their place?

    [Start from Here|http://java.sun.com/docs/books/tutorial/extra/generics/index.html]

  • JCA: how to find out that import parameter is structure?

    Hello,
    I'm using JCA to obtain import parameter of some function (com.sapportals.connector.metadata.functions.IParameter). Now, I'd like to switch program flow depend on kind of this import parameter (scalar, structure, table). Especially, I'm interested in finding out that import parameter is structure. In API I was only locate getStructure() method in IParameter. I tried to compare with null value, but it didn't solve my problem.
    Best Regards,
    Josef Motl

    I have come along this post so many times that now that I have solved it myself I will have to reply to it, even after 5 years.
    MappedRecord output = (MappedRecord) ix.execute(ixspec, input);
    //Now we want to read the output.
    //If we deal with a structure, we get an IRecord Object
    IRecord addressStructure = (IRecord) output.get("ADDRESS");
    //Otherwise we would get an IRecordSet Object (Field)
    I hope it will help all those searching as well.
    BR
    Sigi

  • How to find out what the latest update is for something from apple's site?

    i've never been able to do this, and has been a recurring problem for many years:
    how can you, using apple's web site -- presumably the support or downloads section -- find out what the latest update for/of a certain product is?
    without going into the details, the software update app is of no use to me.
    for example, i have a airport extreme base station 54 mbps. how do i go about finding out what it's latest software is? do such products not have a web page which has the latest update linked to from it?
    why is it so hard, impossible i find, to find out what the latest software is?
    any pointers much appreciated. (i'm not particularly looking for the answer to "what't the latest update for a airport extreme base station 54 mbps?" but a general method for finding out the latest update for anything using apple's web site)
    thanks very much.

    If you use the Advance Search function:
    http://search.info.apple.com/
    you can filter results to give downloads for the search words airport extreme base station. The return will be in date order from newest to oldest. Yo ucan also designate word pairs of groups to narrow the search.

  • How to find out if the company account for developing windows store apps is verified/approved?

    We have created the account for windows store app. How can I find out if the account was approved (the identity of the company)? 

    Hi,
    There is one more method,i know
    Set the JAVA_HOME and PATH
    then execute the
    $WL_HOME\wlserver_10.3\server\bin>setWLSEnv.cmd
    Go to directory which contains weblogic.jar ($WL_HOME\server\lib) and run below command
    $WL_HOME\wlserver_10.3\server\lib>java -cp weblogic.jar weblogic.version
    WebLogic Server 10.3.4.0 Fri Dec 17 20:47:33 PST 2010 1384255
    Hope this will be helpful,
    Regards
    Fabian

Maybe you are looking for

  • Self registration - automatic login into the product

    Per requirement, after self registration request is complete (last button pushed) the user should be automatically logged in into OIM. Out of the box user is redirected to the login screen. How this could be implemented? Thank you for your help.

  • New dimensions not appearing in erpi

    Hi, I am using erpi version 11.1.2.1 with e-business 12 and Hyperion Planning. We added 2 new dimensions in epma for the planning application and successfully deployed. I have refreshed the metadata within erpi but the new dimensions are not appearin

  • Mac as a file server for windows -- mounting a mac disk at windows startup

    Is there any way to use the Mac as a file server for a windows XP home service pack 1 system? The best I can do is "mount disk at login". However, this fails to use the right username/password, and even then it fails to deal with programs that run ou

  • Accessing certain subclass

    If we have an abstract (super) class and some normal subclasses, is there a way to access a certain subclass without having to reference the abstract class? for example, i wish to get some information from the sub class Programmer since that class ha

  • APrE 9 -- which file format?

    Hi, I have a "Flip" style video camera (Creative Vado HD, specifically), that shoots 720p. I'm working on a project that requires several rendered clips to be composited into another movie. When I try to export the clip in AVI format (for editing in