PCI-6602 ,interrupt error

  when I init the board,and Init the MITE,and I write 0x0040 to the register G0InterruptEnable (offset 0x092),and  I read the G0Status register(offset 0x004);
the value is also 0, the relevant bit should be 1,right? what is wrong?

I found the problem. I had my VI's priority set to 'highest(time critical)'. If I change the priority setting, everything works great.

Similar Messages

  • Pci-6602 VI can not work on win7

    Hi
    I have a vi output fix frequence through pci6602, it is can be worked on win xp and labview 8.5, but after upgrade to win7/labview 2013/Daqmax 9.7, these SubVis of 6602 are changed, so this Vi can not be worked. is there anyone can kindly help me? thanks
    Best Regards
    Rex
    Solved!
    Go to Solution.

    Hi GerdW
    thanks,
    I have upload a atteched file, but I can not see it too. try again...
    I think I know where is the problem, maybe it caused by TraditionalDAQ not installed.
    but I have tried to rewrite a new vi output frequence through 6602 under DAQMAX, but not successed. do you have any example for me if possible.
    Attachments:
    pci-6602 Vi error.7z ‏1415 KB

  • Error -200141 when doing buffered events with DAQmx and PCI-6602

    When doing buffered events with DAQmx and PCI-6602 I get error 200141 - Data was overwritten before it could be read by the system.
    This error is generated ONLY with random inputs >200/sec.
    My setup is :
    DAQmxCreateCIVCountEdges(taskhandle,"Dev1/ctr3"....
    DAQmxCG+FGSampClkTiming(taskhandle,"/Dev1/FPI35",...
    DAQmxSetCICountEgdesChan(taskhandlem,"", "/Dev1/80MHZTimeBase")
    DAQmxSetChanAttribute(taskhandlw,",",DAQmx_CI_DataXferMech,DAQmx_Val_DMA,0);
    Can somebody help ?

    i'm getting the same Error-200141, while reading semiperiods. (Meas_Buffered semiperiod continous)
    while loop ex.rate seems to be pulsewidth*no.Samples to read. in my case PW=60ms
    Input buffer size measured with Property node= 10000
    why this error happens?? i cant use any mode other than implicit timing for semi-period measurement right??
    more info: all the ai channels are used ~ 16 differencial.
    i found one solution which is _ reinitializing the whole task if an error occur. is this the right way??
    Kudos always welcome for helpful posts
    Attachments:
    Counter_1_Meas Buffered Semi-Period-Continuous_main_lv09.vi ‏34 KB
    SemiPeriod_Reconnect Counter on Error.vi ‏35 KB

  • PCI 6602:How can I use the digital lines of the board and in the same time to generate pulse train using a counter?

    Hello!
    My problem appeared when I tried to update my code from Traditional NI-DAQ Legacy to DAQmx.
    I am using 2 counters (counter 5 and counter 7)  from PCI-6602, to generate pulse train, and also the Digital I/O lines of the port 0 (the lines form 0 to 7). What I do in my application is that I am starting to generate the pulse train on the output of the 2 counters, and after that I am playing with the state of the digital lines.
    In traditional there was no problem using the counters and the digital lines in the same time, everything was going perfectly, but in DAQmx this is not possible.
    What happens: I start to generate pulse train on the output of the counters,  no errors encountered, but when I try to modify the state of one line of the digital port the generation of the pulse train is stopped. This is happening when I start the task associated to the digital port.
    My question is: it is possible to create a channel on the digital lines without altered the channels created for the counters?
    Another thing what I manage to see using the  "Measurement & Automation Explorer" and Test panels for PCI-6602, basically is the same thing, I generate pulse train on the output of the counter 7 and try to start a task on the digital line, but I get one error :
    "Error -200022 occurred at Test Panel
    Possible Reason(s):
    Measurements: Resource requested by this task has already been reserved by a different task.
    Device: Dev4
    Terminal: PFI8"
    Instead if I use the counter 0 or counter 1 to generate pulse train I don't encounter the same problem.
    Which resources are used by the counters 2 to 7 from the PCI-6602 board and the counters 0 and 1 do not use?
    Thank in advance for any replies!
    Ciprian
    Solved!
    Go to Solution.

    Hello Jordan, thank you for your reply.
    I am sorry but I can not see or run your example, I don't use LabView, I use Visual C++ for developing.
    Here is the code for generating the pulse train:
    GeneratePulseTrain(unsigned long ulCount1, unsigned long ulCount2)
        short nStatus = 0;
        nStatus = DAQmxCreateTask("",&m_taskHandle);
        nStatus = DAQmxCreateCOPulseChanTicks (m_taskHandle, "Dev4/count5", "", NULL, DAQmx_Val_Low, 0.0, ulCount1,ulCount2);
        if( bTriggerMode == true) // if hardware trigger is enabled
            nStatus = DAQmxSetTrigAttribute (m_taskHandle, DAQmx_ArmStartTrig_Type, DAQmx_Val_DigEdge);
            nStatus = DAQmxSetTrigAttribute (m_taskHandle, DAQmx_DigEdge_ArmStartTrig_Edge, DAQmx_Val_Rising);
            nStatus = DAQmxSetTrigAttribute (m_taskHandle, DAQmx_DigEdge_ArmStartTrig_Src,"Dev4/PFI17" );
        //set the internal timebase
        nStatus = DAQmxSetCOCtrTimebaseSrc(m_taskHandle,"Dev4/count5","20MHzTimeBase" );
        nStatus = DAQmxStartTask(m_taskHandle);
        return nStatus;
    And the code where I try to set the digital line:
    SetChannelState(short nState)
        short nStatus = 0;
        uInt8 wrtBuf0[1]={0};
        nStatus = DAQmxCreateTask("",&m_taskHandle);
        // Configure line as output 
        nStatus = DAQmxCreateDOChan (m_taskHandle, "Dev4/port0/line0", "", DAQmx_Val_ChanPerLine);
        nStatus = DAQmxStartTask(m_taskHandle);
        wrtBuf0[0] = nState;
        nStatus =DAQmxWriteDigitalLines (m_taskHandle, 1, 0, 0, DAQmx_Val_GroupByScanNumber , wrtBuf0, NULL, NULL);
        nStatus = DAQmxWaitUntilTaskDone(m_taskHandle,10);
        nStatus = DAQmxStopTask(m_taskHandle);
        nStatus = DAQmxClearTask(m_taskHandle);
        m_taskHandle = 0;
        return nStatus;      

  • Maximum number of PCI-6602 cards in 1 computer?

    Is it possible to have 4 PCI-6602 cards in 1 computer?
    Are there any DMA channels or IRQ limitations we need
    to worry about?
    Our computer will have 1 graphics card in the AGP slot,
    possibly a PCI NIC ethernet card and possibly a PCI
    based sound card. It will also have an IDE controller
    with 2 hard drives and 1 CDRW.
    The PCI-6602 manual seems to imply that if you are
    using more than 3 counter channels that you must
    use the slower Interrupt based transfer mode which
    has a maximum transfer rate specified as 2000
    Reading/second. If there are 4 PCI-6602 boards in
    the same computer and all 8 of the channels are
    used on each board does that mean the total
    transfer rate is still 2000 Readings/sec? Or
    wo
    uld the total transfer rate be 8000 Readings/Sec
    since there are 4 PCI-6602's (2000 Readings/Sec
    for each of the 4 PCI-6602's)?

    Hello;
    The only concern you need to have is the number of IRQs available. As far as DMA channels, as the PCI bus itself has only 3 DMA channels available, all the devices that use DMA will share those 3 channels. But, as IRQs can't be shared, the number of counters you will be able to use will be the exact number of available IRQs you still have on your machine.
    As far as transfer rate, the maximum transfer rate will be 2000 Readings/sec, regardless the number of counters you are using.
    Hope this helps.
    Filipe

  • Frequency divide by N doesn't work on Counter-Ti​mer PCI-6602

    Hello everybody,
    I tried to do something basic ( ?) with this Counter-Timer 6602 Board, and it doesn’t work.
    So I hope some people with more experience than me could understand what happens here.
    1) What I need:
    I need to generate 4 synchonised clocks, whose periods will be multiple of 1 ms.
    2) What I have:
    LabVIEW 7.0 and a PCI-6602 Counter-Timer Board in a DELL PC running under XP pro.
    The PCI-6602 Counter-Timer Board has 8 counter timers named CTR 0, CTR 1, ... CTR7.
    3) What I have already done, and that worked:
    - Generate a 1 kHz “Master Clock” signal from CTR 4, configured by “Continuous Pulse Generator Config.vi” (found in “Data Acquisition, Counters...).
    - configure CTR 0 and CTR 1 to work as frequency dividers, by use of “Down Counter or Divider Config.vi”.
    - Apply the output signal of CTR 4 (OUT ) to the SOURCE inputs of CTR 0 and CTR 1 by means of physical wiring in the SCB-68 connection box.
    When I do this, I get two nice secondary clock signals on my oscilloscope screen, ( with periods = 3 ms, or 5 ms or whatever multiples of 1 ms I choose) from CTR 0 and CTR 1 outputs , very clean and perfectly in phase with the 1 kHz Master Clock.
    So far, so good...
    But I still need 2 more secondary clocks...
    One would say: “No problem, do the same trick with two other counters...” Well, not so simple, it seems...
    4) What I tried to do, and that didn’t work:
    When I try to do the same frequency division with any of the remaining counters, (CTR2 to CTR7), the program stops and I get an error “ –10020 : Time base not valid “.
    I can’t figure out what happens here: I thought any counter could be configured to work as a frequency divider, but it seems not to be so, and I am stuck here.
    Has anyone an idea about how to fix this type of problem?
    Attached file: hor_div02New.vi
    Attachments:
    hor_div02New.vi ‏123 KB

    karolik,
    I'm just adding a followup in English. As Marc L. mentioned, the particular vi named "Down Counter or Divider Config" isn't compatible with the 6602. While the 6602 does have the ability to generate 4 synchronized clocks, a different syntax is needed. Here's how I'd do it:
    Traditional NI-DAQ
    1. Configure a continuous pulsetrain on CTR 4. Route its output to, say, RTSI 4. Don't start it yet.
    2. Configure CTR 0,1,2,3 for continuous pulsetrains using RTSI 4 as their "timebase source." Start them.
    3. Start the CTR 4 pulsetrain.
    4. Now CTR's 0-3 should generate separate clocks with synchronized phasing.
    DAQmx
    1. Configure a continuous pulsetrain on CTR 4. Don't start it yet.
    2. Configure CTR 0,1,2,3 for continuous pulsetrains using "Ticks" for units. Use a DAQmx property node (probably Channel property node, but am not 100% sure and don't have a LV PC handy to check) to specify that the "ctr4 internal output" should be used as the timebase. Start them.
    3. Start the CTR 4 pulsetrain.
    4. Now CTR's 0-3 should generate separate clocks with synchronized phasing.
    -Kevin P.

  • Pci 6602 external clock

    Hello I'm a little bit a newb concerning the PCI-6602, and I need somenones help. I have a APD which delivers signals I want to count while an external gate is high. My code so far (this is just pseudo code since I have a wrapper in python): I have connected the signal I want to count to the PFI39 and the Gate to Gate - ctr7
    DAQmxCreateTask('', task)
    DAQmxCreateCIPulseWidthChan( task, "/dev1/ctr7", '', 0, MaxCounts*DutyCycle/f, DAQmx_Val_Ticks, DAQmx_Val_Rising)
    DAQmxSetCIPulseWidthTerm( task, "/dev1/ctr7", "" ) 
    DAQmxSetCICtrTimebaseSrc( task, "/dev1/ctr7", "/Dev1/PFI39" ) )
    DAQmxSetCIDupCountPrevent(task, "/dev1/ctr7", True  )
    DAQmxSetReadRelativeTo(task DAQmx_Val_CurrReadPos) )
    DAQmxCfgImplicitTiming( task, DAQmx_Val_FiniteSamps, 1000)
    DAQmxSetReadOffset(task, 0)
    DAQmxSetReadOverWrite(task, DAQmx_Val_DoNotOverwriteUnreadSamps)
    DAQmxStartTask(task)
    DAQmxReadCounterU32(task
    , 1000
    , 0.008
    , 285099872
    , 1000
    , ctypes.byref(self._CINread), None) 
    DAQmxStopTask(task)
    this is not actual code, this is just copied from a python file - thus not C Synthax, but the functions should be ok.
    If I set the Gate to low however I still get counts, although the Gate is low. Can anyone help me? Did I connect the gate / src to the correct pins?

    The behavior you describe doesn't make sense to me.  Having configured implicit timing, you would only expect a single sample every time the gate signal goes from high to low.  Each buffered sample would indicate the number of source ticks that occurred between sequential rising and falling edges of the gate signal.  Is this the behavior that you intended?  If the gate is just staying low one would expect the read call to timeout since no new samples would be available.
    Does DAQmxSetCIPulseWidthTerm( task, "/dev1/ctr7", "" )  not return an error?  On my simulated 6602 as well as my real PCIe-6351 I get error -200254 indicating that an empty string is not a valid terminal (although I know for a fact that this does work for counter output terminals, I don't think it makes much sense for the input terminal on a pulse width task).  In any case, you should just specify the PFI line to which you have connected your gate signal.
    Best Regards,
    John Passiak

  • How to generate an Interupt for DMA transfer from Counter on NI-PCI-6602

    dear guys:
          how to generate an Interupt for DMA transfer from Counter on NI-PCI-6602,and I have set the DMA and DMA_INT, and also the global interrupt register.
    but there is no Interupt generated in the Interupt callback function.And when I have set the DMA_INT and global interrupt register ,and then read the relevant register,the relevant bit is also 0.
         I suspect there is an Interupt register contral, like the MITE, you must write the value to 0xc4 for opening .
         there is some codes In my enclosure .What can I do?
    Attachments:
    TEST.C ‏21 KB

    dear Steven_T:
            the registers are In my enclosure ,if you have some ideas,please reply me  first time.thank you !
    Attachments:
    PCI6602.pdf ‏818 KB

  • Genral How do I get syncronize​d encoders to work with a PCI-6602

    I am new to the DAQmx and need some general help writting VB code that works.
    I can get some things to work, but others don't work at all and I don't have enough knowledge of these drivers to get up the learnign curve hump.
    I wanted to post this as a follow-up
    to the thread:
    http://forums.ni.com/ni/board/message?board.id=40&​message.id=5430&query.id=215100#M5430
    But I couldn’t figure out how.  
    Anyway, my problem is that I will
    eventually have to do much the same thing as the above thread with two encoders in
    sync.
    I have a pci-6602 card, and my code
    snippet is at the bottom  The 6602 doesn't have the analog in to syncronize to like the thread above
      (yes, it is in Visual basic
    6)
    I can’t figure out the
    DAQmxCfgSampClkTiming.   Why do I want to have a sample clock at all?   (okay,
    when I have two channels synced I do – but this sample I want to get working and
    I don’t see why)?
    Can’t I just get a new counter value
    with each quadrature input change?   (That’s what the DEV/PFI39 is, the same as
    encoder channel A )
    Okay, so hopefully you tell me how
    to get that to work.
    Next question:  What can I use for
    the DAQmxCfgSampClkTiming when I am doing two channels in sync?  Nothing seems
    to work, and I have tried a bunch of things.
    Brynn
    Rogers
    DeltaTech
    Controls
    952-403-7400
    x431
    //// code that doesn't really work.   "Dev1/PFI39" is the channel A encoder input, I just want new data whenever the encoder changes (for now)
        ' DAQmx Configure
    Code
        DAQmxErrChk
    DAQmxCreateTask("count", TaskHandle)
        TaskIsRunning =
    True
        DAQmxErrChk
    DAQmxCreateCIAngEncoderChan(TaskHandle, "Dev1/ctr0", "",
    DAQmx_Val_EncoderType2_X4, 0, 0#, DAQmx_Val_EncoderZIndexPhase1_AHighBHigh,
    DAQmx_Val_AngleUnits2_Ticks, 500, 0#, "")
        DAQmxErrChk
    DAQmxCfgSampClkTiming(TaskHandle, "Dev1/PFI39", 1, DAQmx_Val_Rising,
    DAQmx_Val_AcquisitionType_FiniteSamps, samples)
        'DAQmx Start
    Code
        DAQmxErrChk
    DAQmxStartTask(TaskHandle)
        ' DAQmx Read
    Code
        DAQmxErrChk
    DAQmxReadCounterF64(TaskHandle, -1, 0.05 * samples, data(0), samples, ReadCount,
    ByVal 0&)
        ' All done!
    StopTask
        'DAQmxErrChk
    DAQmxStopTask(TaskHandle)
        'Stop task isn't needed because
    Clear Task also stops task
        DAQmxErrChk
    DAQmxClearTask(TaskHandle)
    Solved!
    Go to Solution.

    Okay,   Here is the working routine to get syncronous data from two encoders, and it seems to work okay.
       I have this working with my two 2000 CPR encoders, we'll see how it works when I get the 500,000 CPR encoders later.
    The three big problems that caused it to not work were:  
    1)   Theduty cycle argument for the createCOpulsechanfreq task needed to be between 0 and 1.  I had '50.0' before, it works when it is '0.5'
    2)   The sample timebase that I used (ctr7) needed to be started before either of my two angle encoder tasks were created
    3)   The "dev/PFI8" string needed to be changed to "/dev/PFI8".   I don't really understand why, but that was what seemed to fix it all.
    So this question has been answered...      Now I have a different problem while reading 8 PWM values at once with the Semiperiodcounter,  which I will post in a new a different thread.
    Thanks!
    ''''''''''''''''''   Working code here
    Public Sub Aquireposition(samples As Long, data0() As Double, data1() As Double)
    Dim BaseTaskHandle    As Long
    Dim encoder0TaskHandle    As Long
    Dim encoder1TaskHandle    As Long
    Dim TaskIsRunning As Boolean
    Dim ReadCount As Long
    Dim strCounterString As String
       On Error GoTo ErrorHandler
        DAQmxErrChk DAQmxCreateTask("base", BaseTaskHandle)
        DAQmxErrChk DAQmxCreateCOPulseChanFreq(BaseTaskHandle, "/Dev1/ctr7", "base", DAQmx_Val_FrequencyUnits2_Hz, DAQmx_Val_Level1_Low, 0#, 200#, 0.5)
    'Specify continuous timing
        DAQmxErrChk DAQmxCfgImplicitTiming(BaseTaskHandle, DAQmx_Val_AcquisitionType_ContSamps, 200)
         'DAQmx Start Code
        DAQmxErrChk DAQmxStartTask(BaseTaskHandle)
    ' DAQmx Configure Code
        DAQmxErrChk DAQmxCreateTask("encoder", encoder0TaskHandle)
        TaskIsRunning = True
        DAQmxErrChk DAQmxCreateCIAngEncoderChan(encoder0TaskHandle, "/Dev1/ctr0", "", DAQmx_Val_EncoderType2_X4, 0, 0#, DAQmx_Val_EncoderZIndexPhase1_AHighBHigh, DAQmx_Val_AngleUnits2_Degrees, 500, 0#, "")
        DAQmxErrChk DAQmxCfgSampClkTiming(encoder0TaskHandle, "/Dev1/PFI8", 1, DAQmx_Val_Rising, DAQmx_Val_AcquisitionType_FiniteSamps, samples)
        ' second encoder
        DAQmxErrChk DAQmxCreateTask("encoder1", encoder1TaskHandle)
        TaskIsRunning = True
        DAQmxErrChk DAQmxCreateCIAngEncoderChan(encoder1TaskHandle, "/Dev1/ctr1", "", DAQmx_Val_EncoderType2_X4, 0, 0#, DAQmx_Val_EncoderZIndexPhase1_AHighBHigh, DAQmx_Val_AngleUnits2_Degrees, 500, 0#, "")
        DAQmxErrChk DAQmxCfgSampClkTiming(encoder1TaskHandle, "/Dev1/PFI8", 1, DAQmx_Val_Rising, DAQmx_Val_AcquisitionType_FiniteSamps, samples)
        'DAQmx Start Code
        DAQmxErrChk DAQmxStartTask(encoder0TaskHandle)
        DAQmxErrChk DAQmxStartTask(encoder1TaskHandle)
        ' DAQmx Read Code
        DAQmxErrChk DAQmxReadCounterF64(encoder0TaskHandle, -1, 0.05 * samples, data0(0), samples, ReadCount, ByVal 0&)
        DAQmxErrChk DAQmxReadCounterF64(encoder1TaskHandle, -1, 0.05 * samples, data1(0), samples, ReadCount, ByVal 0&)
        ' All done! StopTask
        'DAQmxErrChk DAQmxStopTask(TaskHandle)
        'Stop task isn't needed because Clear Task also stops task
        DAQmxErrChk DAQmxClearTask(encoder0TaskHandle)
        DAQmxErrChk DAQmxClearTask(encoder1TaskHandle)
        DAQmxErrChk DAQmxClearTask(BaseTaskHandle)
        Exit Sub
    ErrorHandler:
    '   MsgBox "Error: " & Err.Number & " " & Err.Description, , "Error"
    '    mlngPWM_ErrorCount(lngChannel) = mlngPWM_ErrorCount(lngChannel) + 1
        'MainForm.PWMErrorCount = "Errors(" & lngChannel & "): " & mlngPWM_ErrorCount(lngChannel)
        Resume Next
    End Sub

  • PCI-6602: deux compteurs

    Bonjour,
    J'ai une carte PCI-6602 et j'aimerais utiliser deux compteurs:
    - un compteur 0 dont la source (SRC0: PFI39) est reliée à un détecteur qui m'envoye des fronts montants que je veux compter
    - un compteur 1 dont la sortie (OUT1: PFI32) est reliée à la gate du compteur 0 (GATE0: PFI38).
    En fait, le signal doit être acquis avec la meilleure résolution temporelle possible et je dois convertir ce signal en nombre d'événements par seconde. Je dois donc savoir compter les évenements mais aussi savoir combien il y en a eu par seconde.
    J'ai un vieux code (que quelqu'un a généré au labo y'a 10 ans) que j'utilisait avec les anciens drivers. Je dois refaire un code similaire et du coup, j'aimerais coder ça proprement avec les drivers NIDAQmx.
    J'ai du mal à comprendre comment générer un code pour faire cela. J'ai tenté le VI d'exemple Count Digital Events Pause Trig mais je ne comprends tjs pas comment géré quand je veux le compteur 1 qui décide quand je compte les data du compteur 0.
    Merci pour votre aide.
    Sébastien

    Bonjour,
    Il semblerait que vous ayez oublié de joindre le code.
    D'autre part, quelles sont vos versions de LabVIEW, de DAQmx et de DAQ Trad installé sur vos deux machines?
    Voici plusieurs liens qui pourraient vous être utiles :
    Why Do I Receive Error 10401 When Using Traditional DAQ Compatibility VI's And My Old Program?
    Error -10401 When Running My LabVIEW Program (Unknown Device Error)
    AI Continuous Scan Gives Error 10401 When the Iteration Input is Used
    Cordialement,
    Jérémy C.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • PCI-6602: How do I ensure that it is functioning properly??

    Hi!
    I have installed a PCI-6602 into my system.
    I have ran a "Self-Test" on the board and it says it passed.
    We are trying to generate a pulse through PFI36 cntr0. For some reason, it is not generating the signal from the software we recieved from another company.
    Is it possible that a NI-DAQmx version difference could be driving this problem? We have a 8.8.0f2 and they have 8.7.1f3.
    Are there any other "Self-Tests" we can run on this board to ensure that the NI board is functioning properly?
    What other problems could we be looking at?
    Thanks for your time!

    Hello,
    You can do this:  Set up a slow pulse train for CTR0 (1Hz).  Set up a continuous digital channel read for Port 0 Line 0 on your card.  Hook up CTR0 output (pin 5) to P0.0 (pin 10).  Start your program to do the counter output pulse train and continuous read.  You should see your digital line transition from high to low over time.  The examples you can use to set this up are Gen Dig Pulse Train-Continuous.vi and Cont Read Dig Chan-Int Clk.vi.  For Cont Read Dig Chan-Int Clk.vi, remove the DAQmx Timing VI to make it software timed, and connect the task handle and error wires accordingly. They can be ran from separate VI's as they don't use the same resources. 
    To be exact on the verbage used, you can perform a self-test on the device by right clicking the device in Measurement and Automation Explorer (MAX) and select Self-Test.  As for testing the device manually, go with what I described above. 
    Kyle A.
    National Instruments
    High Speed Digital I/O Product Support Engineer - R&D

  • PCI-6602: Stop counting after roll over

    Hi,
    I'm programming a PCI 6602 Board and want to stop a counter after
    it had a roll over. This option isn't available in the NIDAQ 6.7 I think!
    If you know, how I could manage it, please reply.
    thank you
    Steve Dreger

    Error -10920 is normally caused by speed limitations of your computer. Normally changing from debug to release mode will help fix this. Here are several other KBs that explain this error and how to fix it.
    http://digital.ni.com/public.nsf/websearch/8FB9091CB9BB452B8525642000554799?OpenDocument
    http://digital.ni.com/public.nsf/websearch/5D7774A864C1EE1786256713005D848D?OpenDocument
    http://digital.ni.com/public.nsf/websearch/5d7774a864c1ee1786256713005d848d?OpenDocument
    http://digital.ni.com/public.nsf/websearch/5d7774a864c1ee1786256713005d848d?OpenDocument
    http://digital.ni.com/public.nsf/websearch/1B64310FAE9007C086256A1D006D9BBF?OpenDocument
    If running the ResetDevice command does not work. I suggest opening MAX up and right click on Tradio
    nal NI-DAQ Devices, and then click on Reset driver.
    I hope this helps out.
    Joshua

  • 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

  • PCI-6602 Triggered event counting DAQmx

    Hi
    I'd like to use simple event counting using PCI-6602 (DAQmx) with an internally generated trigger pulse.
    But I don't know how to figure out the error message when I use DAQmx Start Trigger.vi
    Thanks
    Kyu Young
    Attachments:
    EventCountingTrig.vi ‏21 KB

    I'm sorry. I've solved it.

  • PCI 6527/PCI 6602 Hardware resource conflicts

    Hello,
    I'm running into a problem with my motherboard and a comination of NIDAQ cards.  Normally I have all 6 PCI slots filled with various cards, I have narrowed the problem down to some combination of 2-3 cards.  I can install a PCI-6527 card and a Commtech-Fastcomm ESCC-PCI card into various combinations of PCI slot positions, some combinations the OS will but just fine.  Some combinations the OS will come up and show 50%+ cpu utilization in the Idle Process, attribuated to interrupt handling.  When a good combination is found I can then install a PCI-6602 card and the utilzation problem shows back up.  I have not iterated through all the combinations of the 3 cards yet to see if there is some combination that works, but it appears there is a resource conflict.  I have installed NI-DAQ v 7.4T, and have the latest drivers for the Commtech card.  I also have one more ESCC-PCI card that needs to be installed, so this may become more nerve wracking.  I do not have the ability in the BIOS to manually set PCI assignments.  This is on a fresh install of Windows 2000.
    Thanks
    Message Edited by agchino on 09-02-2005 03:03 PM

    If you already have an application that uses the Tradtional NI-DAQ C
    API, you would have to rewrite the code that uses the DAQ function
    calls, as DAQmx function calls are quite different.  I would
    definitely recommend using NI-DAQmx for future applications, however.
    If things seem normal with just National Instruments boards installed
    and the issue arises when you put in the other boards, I would contact
    the vendor of your other boards.  As far as setting IRQs in
    Windows 2000, I believe Windows does it automatically, and ignores what
    the BIOS settings for IRQs are.  See the following Knowledge Base. 
    Aside from this it seems that the boards are working -- interrupts are
    obviously needed to communicate to devices but as far as what may be
    going on at the process level or how the other boards may be affecting
    this is more an operating system issue.
    Doug M
    Applications Engineer
    National Instruments
    For those unfamiliar with NBC's The Office, my icon is NOT a picture of me

Maybe you are looking for

  • Screen size on a flat screen when a MacBook's connected

    I connect my MacBook to my Samsung TV through a DVI-HDMI cable. It works great, but when I set it to mirror diplays, the screen doesn't quite fit on the TV, not allowing me to see the menubar at all or some of the dock. I heard of a program to fix th

  • IPod Touch not recognized in Windows & iTunes won't start unknown error -50

    I have been trying to fix a connectivity issue with my iPod touch for almost 6 hours now. I've read all over the iPod Touch forums and none of the solutions worked for me. I've installed and uninstalled iTunes multiple times and nothing seems to work

  • How to install the struts-el jar and tld file

    How can i install/configure the struts-el jar and struts-logic-el.tld. When I tried with the related sites, i couldn't get any jar files for struts-el tag. I got only 404 status error. From where and how to get the jar file and tld file for the strut

  • [Your Music] Clear items in the 'Recently Played' list permanently

    Would like to have an option to clear items from the Recently Played list permanently. Hidden items reappear as soon as I connect the device to the Internet.

  • Feels like an alpha release

    Looked forward to using safari, unexpected release for windows. One of my main concerns about switching to osx was that some sites might not work with this as majority of sites are developed for IEx only. I like the look and feel of the UI, very eleg