How do I select the 80 Mhz internal source for the PCI-6602?

The user manual says the PCI-6602 counter/timer has
an internal 80Mhz as well as 20Mhz source. I'm trying
to select the 80Mhz source using the ni-daq function
GPCTR_Change_Parameter() in Visual C++, the header
file nidaqcns.h supports 20Mhz but not 80Mhz.

Hi, this is a simple program in C as requested that measures the time between two pulses (buffered).
I'm working with the PC-6602, and it doesn't work with an internal 80Mhz source.
The errormessage is "C:\Frederik\gecord\oscillator\bufferperiodtest.cpp(87) : error C2065: 'ND_INTERNAL_80_MHZ' : undeclared identifier
Error executing cl.exe." after compiling. When I use "ND_INTERNAL_MAX_TIMEBASE" it does work, but on 20 MHz, not on 80.
Does anyone know what i have to do?
Thanks
(Ps: working together with "mtytgat")
Attachments:
bufferperiodtest.cpp ‏2 KB

Similar Messages

  • How to assign select-option values to internal table

    hi all,
    how to assign select-option values to internal table
    thanks in advance.

    Hi,
    You just need to loop at your select-option field and take the values from low and high fields.
    for. e.g
    loop at s_werks .
    move:s_werks-low to <your itab>
    if not s_werks-high is initial .
    move: s_werks-high to <youritab>
    endif .
    append <your itab>
    endloop .
    OR use select statement.
    regards,
    Omkar.
    Message was edited by:
            Omkaram Yanamala
    Message was edited by:
            Omkaram Yanamala

  • How do I select the entire text when the focus is moved to one TextBox?

    How do I select the entire text when the focus is moved to one TextBox?
    There are three TextBoxes.  I use <TextBox TabIndex="1"/> to set the order they are selected.  When I enter one specific TextBox, I would like to have the entire text selected ... one key stroke removes all of the text in that TextBox.
    bhs67

    I do it the following way:
    1.  Override the OnStartup for the application.  Use the following code: (VB.NET)
    EventManager.RegisterClassHandler(GetType(TextBox), TextBox.GotFocusEvent, New RoutedEventHandler(AddressOf TextBox_GotFocus))
    2.  In the event handler use this code (again VB.NET)
    Private Sub TextBox_GotFocus(ByVal sender As Object, ByVal e As RoutedEventArgs)
    _theTextBox = CType(sender, TextBox)
    If setFocusTimer IsNot Nothing Then
    RemoveHandler setFocusTimer.Tick, AddressOf setFocusTimer_Tick
    End If
    setFocusTimer = New DispatcherTimer
    setFocusTimer.Interval = TimeSpan.FromMilliseconds(10)
    AddHandler setFocusTimer.Tick, AddressOf setFocusTimer_Tick
    setFocusTimer.Start()
    End Sub
    Private Sub setFocusTimer_Tick(ByVal sender As Object, ByVal e As System.EventArgs)
    setFocusTimer.Stop()
    _theTextBox.SelectAll()
    End Sub
    What this does is register a handler for every textbox in your application.  This will execute when the GotFocus event is raised and will allow you to do whatever (in this case select all) you want.  A great way of handling things at the application
    level.
    Lloyd Sheen

  • I'm trying to install an update to itunes that downloaded but can't complete installation as its trying to install onto D: drive. I don't have a D drive and i'm not given option of selecting the drive to install on. How can i select the drive that i want

    I'm trying to install itunes but can't complete installation as its trying to install onto F: drive. I don't have a F drive and I'm not given option of selecting the drive to install on. How can I select the drive that i want to install on?

    Hi,
    How do you connect the printer to the XP machine ? If USB, you need to make that machine as a Print server. Please try this:
       http://techtips.salon.com/make-windows-computer-pr​int-server-11914.html
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • I'm trying to print from a full size 30x42 pdf of an AutoCAD file.  I only want to print an 8 1/2 x 11 portion, in scale.  How do I select the window and print in scale on my 8 1/2 x 11 printer?

    I'm trying to print from a full-size, 30x42 pdf of an AutoCAD file.  I only want to print an 8 1/2 x 11 portion, in scale.  How do I select the window and print in scale on my 8 1/2 x 11 printer (Brother MFC-9340CDW)?

    You might be better off contacting an AutoCAD support group.

  • How can i select the next column instead of next row when press enter key

    I need to know how can i select the next column instead of next row when i press the enter key.By default ,when i press enter key the next row is selected and the column remain unchanged but I wants opposite that is the row should remain unchanged but column index will changed.
    Thanks to all.

    Well, the right arrow key will already move you to the next column, so the easiest way to do this is to modify the InputMap to have the Enter key invoke the same Action as the right arrow key.
    You can search the forum for my "Table Actions" (without the space) example that will show you how to do this.

  • How to insert select columns from one internal table to another

    Hi,
    How to insert select columns from one internal table to another based on condition as we do from a standart table to internal table.
    regards,
    Sriram

    Hi,
    If your question is for copying data from 1 int table to other ;
    we can use
    APPEND LINES OF it_1 TO it_2.
    or if they have different columns then:
    loop at it_1 into wa_it1.
    move wa_it1-data to wa_it2-d1.
    apped wa_it2 to it_2.
    clear wa_it2.
    endloop.
    thnxz

  • How can I select the existing worksheet while using OLE2 to open the template workboo

    Source:
    application:=ole2.create_obj('Excel.Application');
    workbooks:=ole2.get_obj_property(application,'Workbooks');
    args := ole2.create_arglist;
    ole2.add_arg(args, 'c:\RptTemplate.xlt');
    workbook:=ole2.invoke_obj(workbooks,'Open',args);
    ole2.destroy_arglist(args);
    worksheets:=ole2.get_obj_property(application,'Worksheets');
    args := ole2.create_arglist;
    ole2.add_arg(args, 'Sheet1');      
    worksheet     :=ole2.invoke_obj(worksheets,'Select',args);
    ole2.destroy_arglist(args);
    Problem:
    1. While executing the above code, error -305500 occurs after executing "worksheet := ole2.invoke_obj(worksheets','Select',args)". How can I select the sheet i wanted in the template ??
    2. As I refer to the forms on-line document, it stated that the ole2 programmers documentation can provide all object types and methods that can be used with the OLE2. Does any link can provided to download the specified documentation ??

    The error is probably that your Worksheets variable is actually empty. Looking at your code I think the problem is that you try and get the value of the worksheets collection from the application then you should try and get it from the Workbooks object.

  • I have an 8500a how, once I select the apps I want and add to the printer. How do i get them to wor

    I have an 8500a how, once I select the apps I want and add to the printer.  How do i get them to work? And is it always this slow....

    Hey jmknights!
    While I can't speak to how quickly the apps will work, I may be able to help you with how they work. Once you have the apps added to the printer you would select the app you want to print from on the printer's front panel. Once inside the app, select what you want to print and if all goes as it should, the printer should begin printing the requested information within a few seconds.
    Hope this helps!
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • How do I select the type of paper I want to use in iphoto11 on an Epson 2200?

    How do I select the type of paper I want to use in iphoto11 on an Epson 2200?

    You should have something like this:
    Click to view full size
    So if you don't see any of those printer specific settings you should reinstall the print driver for your printer as Larry suggested.
    OT

  • How do i select the "submit" after i enter my wireless passwork on the tv screen for apple tv setup?

    how do i select the "submit" from the remote after i enter my wireless password on the tv screen for apple tv set up?

    The 5 digit code is every time different. That does not matter. Just integrate every device into your network.
    You can connect many computers to Apple TV but syncronisation works exactly with one computer. That's why I use "streaming". But you can sync one computer, then another, and so on. The content on your Apple TV is the content from your computer that has synced last. But you can not mix it.
    The new Apple TV has no syncronisation. Everything is streamed,
    Regards,
    Torsten,
    Germany

  • CS3 - Place Word document: How can I select the current preset?

    Hi
    In my Plugin I like to place a word document into a text frame. To do this I want select a defined preset before.
    How can I do that?
    How can I select the current preset for the placement (import)?
    Thanks for the support
    Hans

    Hi,
    I had posted a similar query few days back to place excel file in text frame. And I found out that, it is not possible to specify formatting option for any of microsoft document when using Indesign SDK.
    But we can do this by running script.
    If you are able to specify the formatting option through script, write code to get script object & execute this script through Indesign SDK.
    I was able to specify formatting option, sheet number, range etc through this.
    Hope this helps.
    Rajani

  • How do I select the items based on their adjacent equality?

    In the below table,
        DECLARE @t1 TABLE(id INT,NAME VARCHAR(MAX))
        INSERT INTO @t1 VALUES(1,'test')
        INSERT INTO @t1 VALUES(2,'test')
        INSERT INTO @t1 VALUES(3,'best')
        INSERT INTO @t1 VALUES(4,'rest')
        INSERT INTO @t1 VALUES(5,'rest')
    how can I select the records that have equals values coming adjacently? That is I am running an SQL job. It should take the adjacent equal value  count for its processing. In the below table, first time the job is running it should take count as 2 the
    2nd time job is running it should be 1. Third time it should be 2. What is the query that will fetch the cont of equal records for name column? In case no equal columns it should be 1. Please help
    mayooran99

    Hi
    Try the following code.
    DECLARE @t1 TABLE(id INT,NAME VARCHAR(MAX))
    INSERT INTO @t1 VALUES(1,'test')
    INSERT INTO @t1 VALUES(2,'test')
    INSERT INTO @t1 VALUES(3,'best')
    INSERT INTO @t1 VALUES(4,'rest')
    INSERT INTO @t1 VALUES(5,'rest')
    INSERT INTO @t1 VALUES(6,'test')
    INSERT INTO @t1 VALUES(7,'best')
    INSERT INTO @t1 VALUES(8,'best')
    INSERT INTO @t1 VALUES(9,'vest')
    --ranking adjacent names, running total
    SELECT rs.id, rs.NAME, ROW_NUMBER() over (partition by name, nxt_id order by id) RankingCount
    FROM (
    SELECT nxt.id, nxt.NAME,(SELECT min(s.id)
    FROM @t1 s
    WHERE s.name <> nxt.name
    AND s.id > nxt.id
    ) as nxt_id
    FROM @t1 nxt) rs
    ORDER BY rs.id;
    --code to just return the totals
    with cteTotals
    as
    SELECT rs.id, rs.NAME, ROW_NUMBER() over (partition by name, nxt_id order by id) RankingCount, nxt_id, ROW_NUMBER() over (partition by name, nxt_id order by id desc) Ranking
    FROM (
    SELECT nxt.id, nxt.NAME,(SELECT min(s.id)
    FROM @t1 s
    WHERE s.name <> nxt.name
    AND s.id > nxt.id
    ) as nxt_id
    FROM @t1 nxt) rs
    select Name, RankingCount
    from cteTotals
    WHERE Ranking=1
    order by id
    The first query keeps a running total of adjacent names, the second one just reports the totals

  • How do I select the correct ram for upgrade to iMac 8,1?

    How do I select the correct ram for upgrade on my iMac 8,1? When I look up information online, I believe that I have SO-DIMM ram. Do I need to purchase SO DiMM? I want to upgrade to Maverick and I think I was told that I need DDR2 or SDRAM. My model # is A1224, if that helps.

    Welcome to Apple Support Communities
    OS X Mavericks requires 2 GB of RAM at least, but I recommend at least 4 GB of RAM.
    You have got an Early 2008 iMac. You can buy more RAM at OWC or Crucial. Your Mac supports 6 GB of RAM

  • In Iproc : The system could not determine the internal source for item

    We faced the following error in the Iprocurement
    The system could not determine the internal source for item.
    kindly note that the item is :
    - customer ordered
    - customer ordered Enabled
    - Shippable
    -Internal Ordered
    -internal ordered enabled
    - OE Transactable
    - assigned to a valid organisation
    -assigned to mapped category
    - Assignment Set is Created  +Profile option
    -profile options for internally sourced is set to yes
    If there is any missing or set please let me know
    , best regards
    Tareq

    hi Kartik
    Please check whether your company is opted for " business area financial statments" in financial account- global setting of company code. If yes and you want to continue please maintain business area for the plant and material dvision combination under the transaction cde OVF0.
    Hope this will solve your problem.

Maybe you are looking for

  • How old a mac will CS6 work with

    I have a 2006 mac with os 10.6.8, will cs6 work with this os?

  • HT3275 Time Machine deleting all previous backups?

    While restoring my hard drive that I recently replaced the data on time capsule seems to have been erased after a back up of the new hard drive was attempted, how can I verify that these are deleted? My current amount of data on my new hard drive exc

  • Essbase Excel Add-in

    After installing the most recent microsoft patches, users on Office 2000/ Windows 2000 are unable to use the Essbase/ Options menu while connected to a database.They receive an excel.exe error message and are booted out of excel.Has anyone seen this

  • Using video effects in quicktime pro

    how can i access the video effects in quicktime pro every time i try and use the filters i cant apply them to the movie can any one help ie fade dissolve etc any threaaaaaaad would help can not find anything in the manuals have been looking for hours

  • Font issue in iCal

    Apologies for posting this as I'm sure it's been answered before but it seems the Search function is missing on the Apple Discussions site?! The display of my Helvetica type font in iCal is incorrect and seems to be positioning the text at the top of