Is it possible to execute Single Channel read of AI channel too quickly?

When executing single channel read of volts on 16XE50 in VB6 it seems to return an errornous result if too fast. Increase the time between reads and the result is correct. I need to scan single channel quickly for short period to check a trip point and stop some motion. Any clues?

Check the Zout of your signal source. Any stored charge on the amp inputs needs to be bled off trough your source. If it is higher thatn 1kohm, the settling time of the amp is higher than that guaranteed for maximum accuracy.
NI recommends 10kohm or less, with 1kohm for guaranteed accuracy. You may have to buffer the output of your signal.

Similar Messages

  • Any possiblity to use single Inbound Service Interface with multiple Receiver Agreements

    Hi All,
    Scenario: PROXY to FILE.
    Requirement is to receive to two locations.
    Is it possible to use single Inbound interface with multiple Receiver Agreements. I tried using two operation in the Inbound Service Interface, and Operation Specific in Determination. But couldnt proceed further. Do I need to use seperate Service Interface for two receiver locations?
    Please suggest some solution.

    Hi Naveen,
    There is a possibility but in the case in the same server location with dynamic configuration: Placing file in two different directories using single receiver communication Channel
    With different location you would need to develop a new adapter module as Amit Srivastava explains and develops here Send File to Two Different Locations using Adapter Module
    Regards.

  • How to Read from multiple channels

    Dear Sir
    I am acquiring data using FP-RTD-122 using OPC Client software. I ahve made one socket for that and i am using command
    CWDataSocket1.AccessMode = cwdsReadAutoUpdate
    CWDataSocket1.URL = "opc://localhost/National Instruments.OPCFieldPoint/FP Res\FP-RTD-122 @1\Channel 0"
    CWDataSocket1.Connect
    v = CWDataSocket1.Data.Value
    where v is a variant type.But this is 8-channel RTD so how can i read values from all channels using single socket connection Because at presnt i have to use 8 sockets for all eight channels.

    At least as of FieldPoint 4.0 and earlier (I do not know about 4.0.1 or later), the OPC Server did not support multiple channel analog items. Thus to read all eight channels of a FP-RTD-122 module, you would need 8 separate socket connections. For discrete modules (boolean), the "All" tag, is treated as a single 8 or 16 bit number.
    Regards,
    Aaron

  • Is it possible to exclude single contacts from the mute? For example: I want to hear when I recieve an SMS alert even if I mute my iPhone 4.

    Is it possible to exclude single contacts from the mute? For example: I want to hear when I recieve an SMS alert even if I mute my iPhone 4 (I am a fireman).

    No iPhone apps have access to the necessary API's to do so...they're all sandboxed.

  • Using Adobe Acrobat - Is it possible to execute JavaScript to report to LMS to track pdf was viewed?

    Question:  Using Adobe Acrobat - Is it possible to execute JavaScript to report to LMS to track pdf was viewed?
    What I would like to do is to create a pdf with an Acknowledgement button that when click will report (via JavaScript) to the LMS (Learning Management System) that the end user viewed/acknowledged the pdf.
    Can this be down with JavaScript in this fashion?

    Thanks, (My fault, as I should have specified this.) Due to legacy reasons I need to use ie, and so I can't use the PrintPdf firefox plugin. So from reading the rest of that thread, the best method does seem to be to get hold of a copy of acrobat, and add a Print() script in each file, and open it in a new tab.
    At least it gives me somethigin to try anyway :-)

  • Is it possible to execute a transaction by calling a irpt page?

    Hi,
    Is it possible to execute a transaction by calling a irpt page?
    If possible, is there a sample code (.irpt code) for MII 12.1?
    Thanks.

    You can use a SERVLET Tag in your irpt to execute an xacute query.
    Here is the help file from 11.5 but this works in all the versions.
    [http://help.sap.com/saphelp_xmii115/helpdata/en/Advanced_Topics/Report_Generation.htm|http://help.sap.com/saphelp_xmii115/helpdata/en/Advanced_Topics/Report_Generation.htm]

  • Possible to execute custom SQL query?

    Is it possible to execute a custom SQL query and get back a collection of
    objects with Kodo JDO? Query expression languages like JDOQL are all very
    well (I actually think JDOQL is pretty messy), but sometimes when you've
    got a complex query (and you know you're using a RDBMS) it is best
    accomplished in a SQL statement. I see Kodo has extended JDOQL, which is
    good, but developing custom extensions seems to be limited to implementing
    kodo.jdbc.query.JDBCFilterListener where you can customise the where
    clause. What I want to be able to do is to specify the entire SQL string.
    I am looking into using Kodo JDO for my organisation, and being able to
    use custom SQL is something i would expect (and something we can do with
    our current O/R mapping product (TopLink)).
    Regards,
    Alex

    Patrick Linskey wrote:
    On Tue, 30 Sep 2003 10:57:13 +0000, Alex wrote:
    being able to use custom SQL is something i would expect
    We absolutely agree. Take a look at the samples/customSQL example in the
    Kodo distribution.
    -Patrick
    Patrick Linskey
    SolarMetric Inc.Hi Patrick,
    I have downloaded kodo-jdo-3.0.0RC1 for windows for evaluation, but there
    is no samples/customSQL directory.
    Alex.

  • Is it possible to execute OS level commands through Oracle APEX?

    Hi,
    I would like to know if it is possible to execute OS level commands, say executing any command in command prompt using Oracle APEX.
    Thanks!

    Welcome to Oracle Forums!
    Please acquaint yourself with the FAQ and forum etiquette if you haven't already done so.
    Always state
    <ul>
    <li>Apex Version</li>
    <li>DB Version and edition</li>
    <li>Web server used.I.e. EPG, OHS, ApexListner Standalone or with J2EE container</li>
    <li>When asking about forms always state tabular form if it is a tabular form</li>
    <li>When asking about reports always state Classic / IR</li>
    <li>Always post code snippets enclosed in a pair of &#123;code&#125; tags as explained in FAQ</li>
    </ul>
    I would like to know if it is possible to execute OS level commands, say executing any command in command prompt using Oracle APEX.If by OS you are referring to the client side, then NO.
    Cheers,

  • Is it possible to execute a program under a generic userid?

    Hi,
    I created a program that calls transaction SPAD and adds/deletes printers from SAP (via BDC calls).  We want the help desk to execute this new program when adding/deleting printers from SAP (instead of using SPAD). 
    Since we don't want to give the users access to transaction SPAD, would be possible to execute this new program under a generic ID that would have write-access in SPAD.
    Thanks in advance,
    Jen

    Might be possible via RFC. Try creating an RFC-enabled wrapper function module around your SPAD call, maintain an RFC connection to the same box with a technical user and password maintained, call the function in your program with addition STARTING NEW TASK (see ABAP help).
    Make sure the technical user has authorization only for SPAD and related as well as RFC calls to the function group where your function module resides.
    Thomas
    P.S. Marcin, authorization for tcode SPAD will not be enough, there is plenty of auth checks inside that transaction for the S_ADMI_FCD object.

  • Is it possible to execute same eCATT  script in different SAP versions

    is it possible to execute same eCATT  script in different SAP versions?
    Regards,
    Sunil sankar B.
    [email protected]

    Yes. In the ecatt script you have the option under ATTRIBUTES --> VERISONING DATA you can restrict it to different software components and different releases.

  • Is it possible to execute .bat file located in package ?

    Hi,
    in my application i execute a print.bat file using Runtime.exec(), i'd like to place this .bat in package, let's say com.me.testpackage. How is it possible to execute the batch file from that location?
    thanks

    jschell wrote:
    sabre150 wrote:
    jschell wrote:
    >Simple 'for' loops seem to work OK but still more research needed.
    There is escaping in the for loops which is necessary in a bat file and not needed at the command line.
    It seem to be that any command spanning more than one line fails. Fail? The example that gave shouldn't fail. It should simply run both echos.As I understand it, the command sequence
    @echo off
    goto XXX
    echo out
    :XXX
    echo last
    should just output 'last' and not 'out so if it prints both 'out' and 'last' then in my view it 'fails'. Am I missing something?
    >
    >>
    Makes me even more pleased that I work mainly with Linux.Looking up syntax - what about getopts (bourne and korn)? You can also create 'functions', which can be defined later (if I recall correctly) in the script and called multiple times. I don't know how that would work streaming it in.I don't know about consequences of the streaming approach forward definitions in 'bourne' and 'korn' though I was not aware that 'bourne' allowed them. For 'bash' where forward definitions do not seem to be allowed (could I be mistaken in this?) then using        Process process = Runtime.getRuntime().exec("bash", null, new File(System.getProperty("user.home")));the following very simple 'bash' script (which contains loops, if statements and functions but no goto or forward definitions) can be executed without problems - # Simple bash script
    function sayHello {
        echo "Hello" $1
    sayHello "World" ;
    for i in $( ls /tmp ); do
        echo file - $i
    done
    for i in `seq 1 10`;
    do
        echo "seq" $i
    done
    i=0
    while [  $i -lt 6 ]; do
    if [ $i -eq 4 ]; then
        echo "then" $i
    else
        echo "else" $i
    fi
        let i=i+1
    done
    i=12
    until [  $i -lt 10 ]; do
    echo "until" $i
    let i-=1
    doneIn the past, I have also published examples of how to run Perl scripts using the same basic approach. The heart of the examples is         final String perlScript = "#!/bin/perl\n" +
                "print \"PID $$\\n\";\n" +
                "print \"UID $<\\n\";\n" +
                "print \"EUID $>\\n\";\n" +
                "print \"GID $(\\n\";\n" +
                "print \"\\nProcessing the command line arguments\\n\";\n" +
                "foreach (@ARGV) {\n" +
                "    $n = factorial($_);\n" +
                "    print \"    $_! = $n\\n\";\n" +
                "}\n" +
                "print \"\\n\".'@INC'.\"\\n\";\n" +
                "foreach (@INC) {\n" +
                "    print \"    $_\\n\";\n" +
                "}\n" +
                "print \"\\n\".'%ENV'.\"\\n\";\n" +
                "foreach (keys %ENV) {\n" +
                "    print \"    $_==$ENV{$_}\\n\";\n" +
                "}\n" +
                "$x = theAnswerToTheUltimateQuestion();\n" +
                "print \"\\nThe answer to the ultimate question is ... '$x'\\n\";\n" +
                "sub theAnswerToTheUltimateQuestion()\n" +
                "{\n" +
                "    return 3*2*7;\n" +
                "}\n" +
                "sub factorial()\n" +
                "{\n" +
                "    my ($n) = @_;\n" +
                "    return ($n > 1) ? $n * factorial($n-1) : 1;\n" +
                "}\n";
            System.out.println(perlScript);
             * The perl source can be from any InputStream. Here I use a
             * ByteArrayInputStream just as a demonstration.
            final InputStream perlSource = new ByteArrayInputStream(perlScript.getBytes());
             * The '-' indicates that the Perl script comes from stdin. The "a","b","c" etc
             * are the command line arguments passed to the Perl script.
            final String[] command =
                "perl", "-", "5", "6", "7", "8", "9", "10"
            final Process process = Runtime.getRuntime().exec(command);piping the 'perlSource' stream to the process stdin.
    This runs as expected on both Linux (FC9 and Ubuntu 8.04) and on Windows using Active Perl.
    Please don't take my use of a String to hold the Perl script to mean that I in any way endorse this approach - I just wanted a simple means to create a self-contained example.
    >
    And the c shell has a goto also.One day I might find some time and investigate 'c' shell goto in this context - since I have not used csh for at least 8 years I am very rusty.
    I can't say that the 'streaming' approach will work with all Linux shells but I can say that on Linux I have had no problem with Perl and Bash. If anyone needs to use the 'streaming' approach with another shell then it takes just a few minutes to setup a test harness. If any problems are found then people can always resort to the 'Plan B' approach.
    I am still pleased I work mainly with Linux and Unix.

  • Is it possible to execute dual open about Audition CS6?

    is it possible to execute dual open about Audition CS6?
    i want to use seperately audio driver.
    1. Computer reference audio driver.
    2. Bluetooth audio driver.
    it is operation same time in My computer. I think that support this option(?) at Cool edit

    It may work but you will have to try it and see. Are you on a PC or a Mac. you may be able to use two different audio devices with only one copy of Audition open. It will be easier on a Mac since you can make an aggregate device from several different audio interfaces. On a PC it will probably be harder but you may be able to do it if you use ASIO4All as your audio driver and then select the two sets of audio device from within ASIO4All's setup software.

  • OGG-00665  OCI Error executing single row select (status = 4060-ORA-04060:

    Unable to start Replica. Is it Oracle user permission issue ?
    ERROR OGG-00665 OCI Error executing single row select (status = 4060-ORA-04060: insufficient privileges to execute DBMS_STREAMS.SET_TAG
    ORA-06512: at "SYS.DBMS_STREAMS", line 16
    ORA-06512: at line 1), SQL<BEGIN dbms_streams.set_tag(:1); END;>.
    ERROR OGG-01668 PROCESS ABENDING.

    Operating System Version:
    Linux
    Version #1 SMP Sat Feb 25 16:26:29 EST 2012, Release 2.6.18-308.0.0.0.1.el5xen
    Node:
    Machine: x86_64
    soft limit hard limit
    Address Space Size : unlimited unlimited
    Heap Size : unlimited unlimited
    File Size : unlimited unlimited
    CPU Time : unlimited unlimited
    23,0-1 Top
    Process id: 7662
    Description:
    ** Running with the following parameters **
    2013-05-01 10:06:13 INFO OGG-03059 Operating system character set identified as UTF-8.
    2013-05-01 10:06:13 INFO OGG-02695 ANSI SQL parameter syntax is used for parameter parsing.
    replicat robey
    userid test12, password ********
    Source Context :
    SourceModule : [ggdb.ora.sess]
    SourceID : [*/aime1/adestore/views/aime1_*/oggcore/OpenSys/src/gglib/ggdbora/ocisess.c]
    SourceFunction : [oci_try]
    SourceLine : [790]
    ThreadBacktrace : [18] elements
    : [*/*/OGGCOREMAINBACKTEST/libgglog.so(CMessageContext::AddThreadContext()+0x26) [0x2af5c09b67f6]]
    : [*/*/OGGCOREMAINBACKTEST/libgglog.so(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...)+0x28f) [0x2af5c09ae90f]]
    : [/*/*/OGGCOREMAINBACKTEST/libgglog.so(_MSG_ERR_ORACLE_OCI_ERROR_WITH_DESC_SQL(CSourceContext*, int, char const*, char const*, char const*,
    CMessageFactory::MessageDisposition)+0x64) [0x2af5c09787d4]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(OCISESS_context_def::oci_try(int, char const*, ...)+0x3ee) [0x788aae]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(query_handle::exec_stmt(bool, int)+0x19a) [0x79664a]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(OCISESS_context_def::setTag(ggs::gglib::ggunicode::UString const&, bool)+0x25a) [0x787d5a]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(OCISESS_context_def::init_context(int, int)+0x410) [0x78f230]]
    : [/*/*/OGGCOREMAINBACKTEST/replicat(DBOCI_init_connection_logon(ggs::gglib::ggapp::CLoginName const&, ggs::gglib::ggapp::CDBObjName<(DBObjType)12>
    const&, char const*, int, int, int, char*)+0x136) [0x76c566]]
    : [*/*/OGGCOREMAINBACKTEST/replicat [0x740479]]
    : [*/*/OGGCOREMAINBACKTEST/replicat [0x746f91]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(odbc_param(char*, char*)+0x364) [0x74a5f4]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(get_infile_params(time_elt_def*, time_elt_def*, char**)+0x959f) [0x57af1f]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(replicat_main(int, char**)+0x152) [0x5de8c2]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(ggs::gglib::MultiThreading::MainThread::ExecMain()+0x6f) [0x7249af]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(ggs::gglib::MultiThreading::MainThread::Run(int, char**)+0x127) [0x724d57]]
    : [*/*/OGGCOREMAINBACKTEST/replicat(main+0x4a) [0x5dafba]]
    : [lib64/libc.so.6(__libc_start_main+0xf4) [0x3f4da1d994]]
    : [*/*/OGGCOREMAINBACKTEST/replicat [0x4c70a9]]
    2013-05-01 10:06:13 ERROR OGG-00665 OCI Error executing single row select (status = 439-ORA-00439: feature not enabled: Streams Capture
    ORA-06512: at "SYS.DBMS_STREAMS", line 7
    ORA-06512: at line 1), SQL<BEGIN dbms_streams.set_tag(:1); END;>.
    2013-05-01 10:06:13 ERROR OGG-01668 PROCESS ABENDING.

  • How to do register-level programming for NI6025E when I want to acquire single scan incuding multiple input channels?

    How to do register-level programming for NI6025E when I want to acquire single scan incuding multiple input channels?

    Thanks, Alan, I think I indeed need to combine aiex1.cpp and aiex2.cpp. I made a change to Configure_Board of aiex1.cpp  as follows:
    //Call this function to configure board options.
    void Configure_Board(tSTC *theSTC,tESeries *board)
     //Clear configuration memory
     theSTC->Write_Strobe_0.writeRegister(0x0001);
     //Clear ADC FIFO
     theSTC->Write_Strobe_1.writeRegister(0x0001);
     //Writing to Config_Memory_High_Register for channel 1 settings
     board->ConfigFifoHigh.setChannel(0);
     board->ConfigFifoHigh.setBank(0);
     board->ConfigFifoHigh.setChannelType(board->ConfigFifoHigh.kChannelTypeRSE);
     board->ConfigFifoHigh.flush();
     //Writing to Config_Memory_Low_Register for following channel 1 settings
     board->ConfigFifoLow.setLastChannel(0);
     board->ConfigFifoLow.setGeneralTrigger(0);
     board->ConfigFifoLow.setGain(board->ConfigFifoLow.kGain001_0);
     board->ConfigFifoLow.setPolarity(board->ConfigFifoLow.kPolarityBipolar);
     board->ConfigFifoLow.setDither(0);
     board->ConfigFifoLow.flush();
     //Writing to Config_Memory_High_Register for following channel 0 settings
     board->ConfigFifoHigh.setChannel(1);
     board->ConfigFifoHigh.setBank(0);
     board->ConfigFifoHigh.setChannelType(board->ConfigFifoHigh.kChannelTypeRSE);//RSE mode
     board->ConfigFifoHigh.flush();
     //Writing to Config_Memory_Low_Register for following channel 0 settings
     board->ConfigFifoLow.setLastChannel(1);
     board->ConfigFifoLow.setGeneralTrigger(0);
     board->ConfigFifoLow.setGain(board->ConfigFifoLow.kGain001_0);
     board->ConfigFifoLow.setPolarity(board->ConfigFifoLow.kPolarityBipolar);//BIPOLAR
     board->ConfigFifoLow.setDither(0);
     board->ConfigFifoLow.flush(); 
     return;
     and a change to test(iBus *bus):
    do
      uStatus = theSTC->AI_Status_1.readRegister();
      if (!((uStatus & 0x1000) == 0x1000))
        uValue[i] = board->AIFifoData.readRegister();
       i++;
     } while(i<1);
     printf("Value %d is %6.2f\n",0,FindADDouble(uValue[0]));
     printf("Value %d is %6.2f\n",1,FindADDouble(uValue[1]));
    but it doesn't work, why?
    How shoud I do?

  • Possible to paint single pixel?

    The Graphics class has methods to paint different object eg.:
    drawOval(int x, int y, int width, int height)
    but is it possible to paint just one pixel?

    fillRect() can be used for that.Although it should be noted that drawLine() is faster. Of course, knowing that is only useful if you're drawing lots of single pixels.

Maybe you are looking for

  • New User Question:  How do I enable comments in Reader when this option is greyed out on my menu?

    I cannot figure out what I am missing here.  I have a PDF Portfolio completed and now want to E-Mail for Review.  But this option is greyed out on my Comment Menu dropdown list.  What to do?  Thanks!

  • Mitigation Control Description export

    Hi all, I am working on upgrade from Virsa to GRC 5.3 upgrade. I am trying to upload the mitigating controls into GRC-RAR after exporting from Virsa. I am not able to get the descriptions of the Mitigation control in complete on my export. Only the f

  • Weblogic server is not getting started.

    Hi We are getting problem in starting weblogic server 10.2 . We have two machine they switch each other by cluster. On one machine , Weblogic server does not start when cluster switch to this machine. When server starts , it hangs. We get following e

  • Push Buttons in the custom Container

    Hi I have created one container using cl_gui_custom_container. Now I have splitted the container into two parts as left and right using cl_gui_splitter_container. Is there any way to create push buttons in the left container. Regards Vijay

  • Retrieving data from the database

    Hi, I am using jdbc to connect to oracle database. While executing the sql query I get the Exhausted resultSet error. How can I handle this or avoid this? Thanks.