Different behavior of movewindow with different windows is (xp or windows 7)

we have a windows wpf stand alone application which must be integrated within a windows form 2.0 stand alone application. given to the particular implementation of the windows form application we decided to use a light integration trying to change the parent
handle of the wpf main window setting  as parent the handle of a windows of the windows form 2.0 application.
in order to reposition the wpf windows on top of the parent windows form window, we have a thread which keeps doing two operations: (1) invoke getwindowsrect on the parent windows form windows to get the parent absolute position and (2) invoke movewindow
on the wpf main window handle to reposition the window.
when we move the windows form window, the wpf windows follows the parent remaining in the correct position. we tested this solution with windows xp, windows 7, windows 8 in our office. when we went to the customer to complete the installation, both on a
windows xp and on a windows 7 the behavior was different. the size of the wpf window was much bigger than the size of the windows form parent window. back in office we found the same strange behavior in windows xp wirtual machine. in order to fix the problem
(at least partially) we had to change the operation sequence within our code as follows in the monitoring thread: (0) get parent windows position with getwindowrect (1) set the parent of the wpf main window to (null) 0 invoking setparent, (2) invoke the movewindow,
(3) re set the parent handler of the wpf main window to the handler of the windows form window.
with last solution it works but clearly there are more flikering when the window is moving or resizing respect to initial implementation.
any idea about this different behavior of movewindow function? any suggestion?
thanks
Paolo

Hi Paolo,
You'll need to post it in the dedicated WPF or Windows Forms forum for more efficient responses, where you can contact the experts.
http://social.msdn.microsoft.com/Forums/en-US/home?forum=wpf WPF forum
http://social.msdn.microsoft.com/Forums/windows/en-US/home?forum=winforms  Windows Forms forum
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • In Apple Configurator, can I set up different sets of iPads with different apps loaded? Or will all iPads synced with Configurator be required to have the same build?

    In Apple Configurator, can I set up different sets of iPads with different apps loaded? Or will all iPads synced with Configurator be required to have the same build?

    Hi jshira86,
    You can definitely have different sets of iPads with different apps loaded. When you "supervise" your iPads, you will see that on the left side of the Configurator window there is a "+" sign in the lower left corner. Click it to create a new device group. With this new device group you can choose what apps and configuration profiles you want to install on that group of iPads. Create as many groups as you want to customize the apps and profiles you want on them.
    Hope this answers your question!
    ~Joe

  • Can different music be used with different set of photos in a slide show?

    Can different music be used with different set of photos in a slide show?

    Yes. The basic idea is that you make a playlist of songs and choose that to use with the slideshow, rather than any particular song. In iPhoto 11 you can do this in iPhoto. In earlier versions you do this in iTunes.
    There is a limitation. Each song will play the full way through, you can't croassfade from one to another and so on.
    Alternatives to iPhoto's slideshow include:
    iMovie, on every Mac sold.
    Others, in order of price: PhotoPresenter  $29
    PhotoToMovie  $49.95
    PulpMotion  $129
    FotoMagico $29 (Home version) ($149 Pro version, which includes PhotoPresenter)
    Final Cut Express  $199
    It's difficult to compare these apps. They have differences in capability - some are driven off templates. some aren't. Some have a wider variety of transitions. Others will have excellent audio controls. It's worth checking them out to see what meets your needs. However, there is no doubt that Final Cut Express is the most capable app of them all. You get what you pay for.

  • Different number of parses with different providers

    I tried to figure out
    how could I control number of parsing from MS ADO app.
    To my surprise it seems that there is no general way to do it.
    The behaviour is heavily dependent on underlying OLEDB provider,
    and for some of the providers (Oracle's own including)
    I did not manage to reduce number of parses.
    I wrote a simple vbs script that:
    1. Opens the connection for the given provider
    2. Executes ALTER SESSION SET session_cached_cursors=100
    3. Creates ADO command with 'SELECT ... FROM USER_TABLES..'
         and with one parameter
    4. Opens ADO recordset with this command, reads from and closes it
    Here is the script:
    'TestADOCommandParsing.vbs
    Dim stConnectString
    Dim stUID
    Dim stPWD
    Dim stTestTag
    Dim stServer
    Dim cn
    Dim cmdALTER_SESSION
    Dim cmdUserTables
    Dim rsUserTables
    Dim param
    Dim nRows
    Dim I
    Const c_stProvider = "Ora" '"MS" '"ODBC" '
    Const adVarChar = 200
    Const adParamInput = 1
    Const adUseServer = 2
    Const adOpenStatic = 3
    Const adLockReadOnly = 1
    stUID = "..."
    stPWD = "..."
    stServer = "..."
    stTestTag = "TestParsesADO_" & c_stProvider & "_1"
    If c_stProvider = "MS" Then
    stConnectString = "Provider=MSDAORA;" & _
    "User ID=" & stUID & ";Password=" & stPWD & ";Data Source=" & stServer & ";"
    ElseIf c_stProvider = "Ora" Then
    'Oracle provider.
    'The PLSQLRSet attribute [=1] specifies whether OraOLEDB needs to parse the PL/SQL
    'stored procedures to determine if a PL/SQL stored procedure returns a rowset:
    stConnectString = "Provider=OraOLEDB.Oracle;PLSQLRSet=0;" & _
    "User ID=" & stUID & ";Password=" & stPWD & ";Data Source=" & stServer & ";"
    ElseIf c_stProvider = "ODBC" Then
    stConnectString = "Provider=MSDASQL.1;Extended Properties=" & _
    """DRIVER={Microsoft ODBC for Oracle};" & _
    "UID=" & stUID & ";PWD=" & stPWD & ";SERVER=" & stServer & ";"""
    End If
    wscript.echo "Provider = " & c_stProvider
    wscript.echo "stConnectString = " & stConnectString
         Set cn = CreateObject("ADODB.connection")
         cn.Open stConnectString
         Set cmdALTER_SESSION = CreateObject("ADODB.Command")
    With cmdALTER_SESSION
    .CommandType = 1 'adCmdText
    .Prepared = False
    .CommandText = _
    "BEGIN EXECUTE IMMEDIATE 'ALTER SESSION SET session_cached_cursors=100'; END;"
    Set .ActiveConnection = cn
    End With
    cmdALTER_SESSION.Execute
         Set cmdALTER_SESSION = Nothing
         Set cmdUserTables = CreateObject("ADODB.Command")
    With cmdUserTables
    Set .ActiveConnection = cn
    .CommandType = 1 'adCmdText
    'The Recordset parameters
    'CursorLocation, CursorType, LockType
    'seem to be irrelevant for reparsing of Oracle cursor.
    'Oracle session_cached_cursors parameter also has no effect.
    'Command.Prepared setting affects it, but only for ODBC-based provider:
    'False: N parses, N executions
    'True: 1 parse, N executions
    .Prepared = True
    .CommandText = _
    "SELECT TABLE_NAME FROM USER_TABLES " & _
    stTestTag & " " & _
    "WHERE TABLE_NAME LIKE ? " & _
    "ORDER BY TABLE_NAME"
    Set param = .CreateParameter("TABLE_NAME_Pattern", adVarChar, adParamInput, 30, "%")
    .Parameters.Append param
    End With
         Set rsUserTables = CreateObject("ADODB.Recordset")
    For I = 1 To 10
    cmdUserTables.Parameters("TABLE_NAME_Pattern").Value = "QU_%"
    With rsUserTables
    'The Recordset parameters:
    'CursorLocation, CursorType, LockType
    'seem to be irrelevant for reparsing of Oracle cursor:
    '.CacheSize = 100 'Irrelevant
    '.CursorLocation = adUseServer 'adUseClient 'Irrelevant
    '.CursorType = adOpenStatic 'adOpenForwardOnly 'Irrelevant
    '.LockType = adLockReadOnly 'Irrelevant
    .Open cmdUserTables
    While Not .EOF
    nRows = nRows + 1
    .MoveNext
    Wend
    wscript.echo CStr(I) & ". nRows = " & CStr(nRows)
    .Close
    End With
    Next
    Before running tests:
    VARIABLE SQLTextPattern VARCHAR2(100);
    COLUMN HASH_VALUE FORMAT 9999999999
    COLUMN SQL_TEXT FORMAT A40
    COLUMN "Invalids" FORMAT 9999999
    COLUMN "Parses" FORMAT 9999999
    COLUMN "Execs" FORMAT 9999999
    COLUMN "Parses/Execs" FORMAT 9999.99
    COLUMN CH# FORMAT 999
    COLUMN ROWS# FORMAT 9999
    I ran TestADOCommandParsing1.vbs script 3 times with
    different providers and table aliases to distinguish
    SQL from different tests:
    host cscript.exe TestADOCommandParsing1.vbs
    After each run I changed table alias var:
    EXEC :SQLTextPattern:='%TestParsesADO_Ora_1%';
    or
    EXEC :SQLTextPattern:='%TestParsesADO_ODBC_1%';
    or
    EXEC :SQLTextPattern:='%TestParsesADO_MS_1%';
    and queried V$SQL, V$SYSSTAT.
    Before running the tests:
    SYSTEM@ADAS> SELECT NAME, VALUE
    2 FROM V$SYSSTAT
    3 WHERE NAME = 'session cursor cache hits'
    4 ;
    NAME VALUE
    session cursor cache hits 91051
    Test with Oracle OLEDB provider:
    SELECT
              SUBSTR(SQL_TEXT,1,200) SQL_TEXT
              ,PARSE_CALLS PARSES
              ,EXECUTIONS EXECS
              ,CHILD_NUMBER CH#
              ,FIRST_LOAD_TIME
              ,ROWS_PROCESSED ROWS#
         FROM V$SQL
         WHERE SQL_TEXT NOT LIKE '%SQL_TEXT%'
              AND SQL_TEXT NOT LIKE '%SQLTextPattern%'
              AND SQL_TEXT LIKE :SQLTextPattern
         ORDER BY CH#
    SQL_TEXT PARSES EXECS CH# ROWS#
    SELECT TABLE_NAME FROM USER_TABLES TestP 21 0 0 0
    arsesADO_Ora_1 WHERE TABLE_NAME LIKE :1
    ORDER BY TABLE_NAME
    SELECT TABLE_NAME FROM USER_TABLES TestP 0 10 1 230
    arsesADO_Ora_1 WHERE TABLE_NAME LIKE :1
    ORDER BY TABLE_NAME
    SELECT NAME, VALUE FROM V$SYSSTAT...
    NAME VALUE
    session cursor cache hits 91062
    Test with ODBC OLEDB provider:
    SELECT ... FROM V$SQL ...
    SQL_TEXT PARSES EXECS CH# ROWS#
    SELECT TABLE_NAME FROM USER_TABLES TestP 1 0 0 0
    arsesADO_ODBC_1 WHERE TABLE_NAME LIKE :V
    001 ORDER BY TABLE_NAME
    SELECT TABLE_NAME FROM USER_TABLES TestP 0 10 1 230
    arsesADO_ODBC_1 WHERE TABLE_NAME LIKE :V
    001 ORDER BY TABLE_NAME
    SELECT NAME, VALUE FROM V$SYSSTAT...
    NAME VALUE
    session cursor cache hits 91062
    Test MS OLEDB provider for Oracle:
    SELECT ... FROM V$SQL ...
    SQL_TEXT PARSES EXECS CH# ROWS#
    SELECT TABLE_NAME FROM USER_TABLES TestP 11 0 0 0
    arsesADO_MS_1 WHERE TABLE_NAME LIKE :V00
    001 ORDER BY TABLE_NAME
    SELECT TABLE_NAME FROM USER_TABLES TestP 0 10 1 230
    arsesADO_MS_1 WHERE TABLE_NAME LIKE :V00
    001 ORDER BY TABLE_NAME
    SELECT NAME, VALUE FROM V$SYSSTAT...
    NAME VALUE
    session cursor cache hits 91062
    As you see the number of parses (both soft and hard) differ from
    provider to provider.
    Provider Hard parses Soft parses Executions
    ODBC 1 0 10     
    MS for Oracle 11 0 10     
    Oracle 11 10 10     
    It looks like there is no way to control this 'bad' behaviour of
    OLEDB providers, at least from ADO level. I looked through the docs on
    Oracle provider for 8.1.6, but found nothing.
    There is a temptation to drop all this stuff in favour of SQL
    incapsulated in PL/SQL procedures...
    Any comments?

    D.Bender wrote:
    Hello,
    What's very confusing is that it doesn't always return the same number of readings. Sometimes it is 5, then 7 and afterwards 6 without changing anything. Since it is the first program for the Keithleys at work nobody can help me. I already tried highlighting execution and retain wire values. This way I saw that the VISA write command should give the correct command but the VISA read does not return the right number of readings. In addition to that I don't get any readings on the second iteration, so I can only see some on the first. The Keithley also does not show any new measurements (at least it does not show any numbers, only the typical "----").
    I can't view your file but I have experience with the Keithley 2400 so here is my opinion.  
    This is a common problem for new users working with buffers.  The most likely cause is that you are reading the buffer BEFORE it is full.  If you initiate the second measurement immediately, you will likely see a Keithley error caused by trying to set the buffer values while a measurement is in progress.  The keithley will immediately return the buffer contents when asked to.  You, as the programmer, must set up your LabVIEW code to wait for the buffer to fill, then read the values.  While a fixed delay before reading could work, here is a better solution.
    I posted my code for a I-V sweep (set voltage, measure current over a linear range) here http://forums.ni.com/t5/LabVIEW/Error-code-110-in-​keithley-2400/m-p/2680579#M797618.  (sorry I don't have access to the files right now to upload them here.  The idea is first set the registers to watch for the buffer to become full.  When full, the SRQ bit will be set to 1.  After starting the measurement, i probe the SRQ value in a while loop.  Once it's set to 1, read the buffer and reset registers.  This method is outlined in the Keithley 24xx SMU manual (I can't remember which page).

  • Different PO through SOCO with different delivery address

    Hi,
    We are facing issue with sourcing cockpit. While creating purchase
    order for multiple shopping carts through Sourcing cockpit, If multiple
    line item have different shipping location it is creating different
    Purchase orders.
    We have requirement to create one PO with same vendor for multiple line
    items. For above problem we are keeping same vendor even though it
    creates two seperate POs.
    Kindly advise.
    Thank you
    Ritesh

    Hi Ritesh,
    Please check the answers in this thread :
    PO split  in  sourcing cockpit   ?      :-(
    BADI BBP_SC_TRANSFER_BE
    Method GROUP_PO
    Kind regards,
    Yann
    Message was edited by: Yann Bouillut

  • Different qmaster segments compressed with different settings

    I'm trying to compress video for a DVD using a render cluster. This splits it into segments.
    I want it to be 30 frames progressive (that is, blend two 720P frames into one, and then split that frame into the two fields for the DVD).
    After playing with the settings, I got it the way I want. But, when I watch the final DVD, it will occasionally have a few minutes (which I'm assuming is a Qmaster segment) which is 60 frames interlaced, which looks lousy for playback on a computer screen.
    It's always different segments, sometimes more than one, and sometimes none.
    I can't change the specified framerate, it's set to "Automatic" and grayed out, which clicking on the gear to the right of it won't unlock. I'm using a modified version of the 120-minute double-pass DVD preset.
    I suppose I could compress it without Qmaster, but this would take an inordinate amount of time, since I'm producing about twenty 2-hour DVD's for an educational program, and I don't want to wait for 7 hours for each one to compress.
    Before anyone asks, I completely uninstalled the entire final cut suite and re-installed it, and I have all of the newest updates for everything, including the OS and the Final Cut suite.
    Why is compressor / qmaster doing this, and how do I get it to stop?

    I want it to be 30 frames progressive (that is, blend two 720P frames into one, and then split that frame into the two fields for the DVD).
    This statement makes no sense. If the original material is Progressive, there are no fields to be blended.
    If you start with progressive material, you do not need to generate an interlaced file for the DVD. Most DVD players are perfectly capable playing back progressive material. If you are playing to a HDTV, you'll get a progressive feed. If a CRT device, you'll get an interlaced output.
    x

  • Exporting different images to jpg (with different names)

    Dear Scripters,
    I KNOW I can script all this, but I need your help to find my way home…
    I have a doc made of 15 pages, each of these contains three or four instances of the same image, in different dimensions (iPhone, iPad, Android, Web, etc.).
    I prepared the pages assigning a different ScriptLabel to each instance, like:
    Page 1
    p1_HW
    p1_HMT
    p1_HNMT
    p1_lightbox
    Page 2
    p2_HW
    p2_HMT
    p2_HNMT
    p2_lightbox
    and so on.
    I'd like to export automatically each instance as a jpg, naming it by its ScriptLabel.
    BTW, is it possible to filter processing of the instances depending on what's AFTER the first underscore of the ScriptLabel?
    Just, if you can, give me some rough directions on what's the best way to approach the script, then I'll try to figure out myself…
    g

    Have a look at the JpgCropExporter:
    http://www.indesignscript.de/indesign-skripte.html?&tx_abdownloads_pi1[action]=getviewdeta ilsfordownload&tx_abdownloads_…
    Maybe it can be modified for your needs.
    Cheers Stefan

  • I have 2 iPhones, from different carries and different numbers. Both with different apple ids and somehow I can still texts sent from both phones to other iPhones and I don't know how to fix it.

    I had an iPhone from Verizon, and i got another iPhone from us cellular. I'm giving my old iPhone to my friend, and somehow we can both see each other's messages sent to other iPhones. Both have different apple ids and numbers. How do I fix this?

    You probably activated the new phone will the old phone was still active. That would have linked the two numbers to iMessage. Go into iMessage and turn them off on each phone. Then turn iMessage on for your phone. When it activates, go into Settings>Messages>Send and Receive and see what numbers/email addresses are linked there. It should just be the current phone number and if desired, your Apple ID email address.
    Then have the other person turn their iMessage back on and when it activates see if it now only brings their current phone number and again if desired Apple ID email address.

  • Different behavior for index

    Hi.
      I have the table inl_allocations with following index:
    CREATE INDEX inl_allocations_n1 ON inl_allocations
      ( ship_header_id                  ASC,
        adjustment_num                  ASC,
        ship_line_id                    ASC )
    When running query below, we have different behaviors for indexes in different DB:
    SELECT *
      FROM INL_ALLOCATIONS CA, INL_SHIP_LINES_ALL CC
      WHERE CC.SHIP_LINE_ID = CA.SHIP_LINE_ID
      AND CC.SHIP_HEADER_ID = CA.SHIP_HEADER_ID
    1- For DB 1 (11.2.0.1.0) the explain plan for query:
                    (3)  INDEX INDEX FULL SCAN INL.INL_ALLOCATIONS_N1  [Analyzed]
                        Est. Rows: 33  Cost: 1
    2- For DB2 (11.2.0.3.0) the explain plan for query does not use the index INL_ALLOCATIONS_N1, and we have a FULL in table.
               (3)  TABLE TABLE ACCESS FULL INL.INL_ALLOCATIONS  [Analyzed]
               (3)   Blocks: 13 Est. Rows: 167 of 269  Cost: 5
    We would like to know the reason why there are differences between both environments.
    Thanks and Regards.

    many years ago Oracle used to optimize queries with a set of rules that ranked the potential access paths and finally chosed the possible operation with the highest rank. So for two systems with the same DDL Oracle would have generated the same plan. This was the rule based optimizer (RBO) and its shady ghost still dwells somewhere deep in the Oracle code. Since at least Oracle 8i (> 10 years ago) the standard optimization engine is the cost based optimizer (CBO) which uses statistics to generate execution plans: and if the data of your systems is different (or even if the data is identic but its physical order is different and changes the index clustering factor) the CBO can and will generate different plans and use or not use existing indexes.
    Regards
    Martin

  • Cube with different reports data

    Hi
    We have 3 different Reports based on a Multi which has only one Infocube.
    We have new design policy that any New different report that needs to be created should be based only on this Multi and all data should be loaded only into this only infocube on which this Multi is based.
    So for the existing 3 reports,we have three different database views in source database.Fullload will be done from source every weekend(previous week's request will be deleted every week) of snapshot data into three different DSOs from these three different datasources.(Its new policy that every report should have its own DSO ).All these 3 DSOs should be connected to only one cube on which our reporting Multiprovider is based.So from these 3 DSOs,data will be loaded into cube in fullload every weekend(previous week's request will be deleted)
    Now my question is:
    1.when all the data is going to cube from three different views and DSOs(with different keyfigures but some same characteristics in 3 DSOs),how can our 3 different reports pick data that is relevant for it when all data is pooled together in one big cube?Doesnot aggregation happens?
    (When a report is run,does OLAP processor goes into cube and picks only those keyfigures and characteristics in cube thats relevant for that report and by that way,avoids other data??)
    2.I need to create one new report.For this I need to create one new view and one new DSO.So,data will be loaded from view to DSO and this DSO will be connected to existing cube(new dataflow until cube from source view).But our cube doesnot contain one keyfigure.It contains all other characteristics and keyfigures from DSO.
           a)How can I add this new keyfigure from new DSO to cube without disturbing existing data in cube.I donot need to load historical data for this new keyfigure and new report.
          b)I am going to transport this from development.So what care do I need to take while transporting changes to Production cube which contains lots of data and many reports running on it?
    Thanks.

    *1.when all the data is going to cube from three different views and DSOs(with different keyfigures but some same characteristics in 3 DSOs),how can our 3 different reports pick data that is relevant for it when all data is pooled together in one big cube?Doesnot aggregation happens?
    (When a report is run,does OLAP processor goes into cube and picks only those keyfigures and characteristics in cube thats relevant for that report and by that way,avoids other data??)*
    It will depend on what Key Figures you are displaying in your report. If a KF is coming from only 2 DSOs, data from those 2 DSOs will be displayed.  And you are right in saying that OLAP processor will pick only releavnt KFs and Characteristics but it will not filter based on characteristic value e.g. if a characteristis is coming only from DSO 1 and not from DSO2, but KF is coming from both, so for the data in DSO 2 that characteristic will be displayed as #. If you want to filter data, you can put filters in the report.
    Another good option can be to store the DSO name as a characeteristic in your cube, it might be helpful if you want to make a reprot based on data from a particular DSO, then you can put the filter based on DSO name.
    *2.I need to create one new report.For this I need to create one new view and one new DSO.So,data will be loaded from view to DSO and this DSO will be connected to existing cube(new dataflow until cube from source view).But our cube doesnot contain one keyfigure.It contains all other characteristics and keyfigures from DSO.
    a)How can I add this new keyfigure from new DSO to cube without disturbing existing data in cube.I donot need to load historical data for this new keyfigure and new report.
    b)I am going to transport this from development.So what care do I need to take while transporting changes to Production cube which contains lots of data and many reports running on it?*
    You are adding a new KF which is coming only from new DSO, so you do not need to worry about a lot of things, you can move your changes to procudtion and load data from this new DSO. Data which is already there in the cube will not be impacted.
    Regards,
    Gaurav

  • How to generate and output 3 TTL square waveforms with different pulse widths using counters of NI 6034E

    Hello
    I just have a few questions.
     I am using the NI 6034E DAQ board in order to
    generate simultaneouly 3 different TTL digital signals, with different
    pulse width, and output these TTL signals to an external circuit that I
    am using for this application.
    The following pattern of the TTL pulses will look like this:
    01010101 01010101
    00110011 00110011
    00001111 00001111
    From
    what I understand,  I have to use the 2 counters, Ctr0 and Ctr1, to
    generate the TTL pulses that I desire, because the DIO lines are
    software timed only and I will not be able to produce a deterministic
    output period using these DIO lines.  Am I correct?    Also, do I have
    to use a separate counter to generate a separate TTL digital pulse.  I
    need 3 different TTL pulses and there are only 2 counters for this DAQ
    device.  The three generated TTL signals will be feed to an external
    circuit.  Concerning the hardware connections for my application, I
    assume that the generated TTL signals will be output from
    GPCTR0_OUT(pin 2)  for counter 0 and GPCTR1_OUT(pin 40) for counter 1
    of the NI 6034E. Is this correct?  Is there any way that these TTL
    signals can be output from three DIO lines(DIO0...2). 
    Here is some code that I plan to use in order to do this:
     #include <NIDAQmx.h>
    static TaskHandle gTaskHandle = 0;
    DAQmxCreateTask ("", &gTaskHandle);
    DAQmxCreateCOPulseChanTime (gTaskHandle, "Dev1/ctr0", "", DAQmx_Val_Seconds, DAQmx_Val_Low, 1.0, 2.0, 2.0);
    DAQmxCreateCOPulseChanTime (gTaskHandle, "Dev1/ctr1", "", DAQmx_Val_Seconds, DAQmx_Val_Low, 3.0, 4.0, 4.0);
    DAQmxCreateCOPulseChanTime (gTaskHandle, "?????", "", DAQmx_Val_Seconds, DAQmx_Val_Low, 7.0, 8.0, 8.0);
    DAQmxCfgImplicitTiming (gTaskHandle, DAQmx_Val_FiniteSamps, 5);
    DAQmxStartTask (gTaskHandle);
    DAQmxWaitUntilTaskDone(gTaskHandle)
    DAQmxErrChk DAQmxStopTask(gTaskHandle)
    DAQmxErrChk DAQmxClearTask(gTaskHandle)
    I believe this code should generate the 3 TTL square waveforms that I want for my application.
    Please provide me with some feedback.  It would greatly be appreciated.
    Thank You

     Hi,
    The NI 6034E is a multifuntion DAQ device, this means you have:
      (2) counters
      (8) DIO lines (software timed)
      (16) AI, single ended
      (0) Analog Output
     You have a couple choices here:
       1. Software timed digital output of all three signals, max 1khz loop rate, non-deterministic.
       2. Hardware timed digital output of 2 signals, max 20Mhz.
       3. Hardware timed digital output of 2 signals and software timed digital output of 1 signal.
       4. Find another NI MIO board such as the NI 6251. This board will do 10Mhz pattern generation for (8) DIO lines.
    For the hardware connection, you are correct, the output for the counters will be taken from pin 2 & pin 40.  Here's the pinout for the NI 6034E for reference:
    The output of the Counters can be routed to some of the PFI's or to the RTSI connector. You can see this in MAX
    Message Edited by Matthew W on 11-19-2007 01:24 PM
    Attachments:
    2007-11-19_131609.jpg ‏61 KB
    2007-11-19_132435.jpg ‏86 KB

  • Page Footer : utilisation different page footers with different dimension

    In my document I use different page u2013footers sections, I know that CR takes as reserved space the minimum space of the greatest page-footer section, is there a possibility to have different page footer sections with different dimensions

    hi,
    "Clamp Page Footer" option can be used to remove extra space at the bottom of the report. This option can be used such that  each page  height varies.
    Regards,
    Vamsee

  • Assigning different behaviors to instances of a symbol

    Hello all ,I want to assign different behavior (action
    script) to different instances of (a) symbole ,what should I do?I
    appreciate you .Sincerely Mohsena

    yes it works ,thank you very much for your attention!
    sincerely yours Mohsena

  • New windows open with different toolbars (and missing URL bar)

    When I select the "New Window" button or "Open in New Window" from the context menu, a new Firefox window opens - however, the toolbars are completely different from the original open window. Specifically, the URL location bar is missing.
    I can add it back, but the change then modifies my original toolbar setup.
    More bad behavior: Even if I modify the new window back to the way I wanted it, new windows opened from that window revert back to the modified version, with no location toolbar.

    You can try:
    * http://kb.mozillazine.org/Prevent_websites_from_disabling_new_window_features
    * http://kb.mozillazine.org/JavaScript#Advanced_JavaScript_settings
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • My iphone 4s (ios 7) is not recognized by my laptop with windows 7 home basic. It says device not recognized. I tried with different cables. Any suggestion??

    my iphone is not recognised by my pc with windows 7 . ive tried with different cables.  i tunes installed..  any suggestion?

    Use this article:
    support.apple.com/kb/ts1538

Maybe you are looking for

  • Can't change primary e-mail address, no access to ...

    Alright here's the issue I signed up for my microsoft account through my brothers account and got Skype on my 360. Now I upgraded to my xboxone and I relize that my brother's e-mail is still located as the Primary. I had already changed my microsoft

  • IMac G5 PPC screen flicker/shimmer

    This is a new machine, it was delivered yesterday. It's way overkill for my desk but the price was right. I set the resolution to 1344 x 840 and reduced the brightness 20% and shortly after noticed the screen occasionally shimmer. It seemed to happen

  • Pdf image good in preview but distorted when printing without preview

    Hi all, I have added a graphic to my adobe form and it looks good when I view the pdf. It also prints fine when I open the pdf and then print it. The problem is when the pdf is sent directly to the printer without previewing it, the image will print

  • Large jump in my BB usage in October 2010 - is it ...

    I use the basic BB service with 10Gb per month allowance. I typically use between 9 and 14Gb per month. In October, this jumped to 35GB so I am being charged £25 for the privilege when nothing has changed wrt my usage pattern. Two questions for every

  • Aperture 3 and iMovie... help..

    I just installed Aperture 3. When I launch iMovie, it automatically scans Aperture library for movies and crashes every time. Do i need to remove the movies from Aperture ? Help, please ? I want to be able to use both applications.