~vbursian/research-assistant/intervers

« back to all changes in this revision

Viewing changes to RAPlugins/NIDAQmxDrivers/Counters_NIDAQ.cpp

  • Committer: Viktor Bursian
  • Date: 2013-06-06 15:10:08 UTC
  • Revision ID: vbursian@gmail.com-20130606151008-6641eh62f0lgx8jt
Tags: version_0.3.0
versionĀ 0.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
550
550
    }
551
551
}
552
552
 
553
 
int32  CVICALLBACK sCounters_NIDAQ::OnReadyToReadC (TaskHandle theHandle
554
 
                         ,int32 eventType
555
 
                         ,uInt32 nSamples
556
 
                         ,void *DataPtr)
 
553
int32  CVICALLBACK sCounters_NIDAQ::OnReadyToReadC (TaskHandle /*theHandle*/
 
554
                                                   ,int32      /*eventType*/
 
555
                                                   ,uInt32     /*nSamples*/
 
556
                                                   ,void *     DataPtr)
557
557
{
558
558
  sCounters_NIDAQ* obj = static_cast<sCounters_NIDAQ*>(DataPtr);
559
559
  QMetaObject::invokeMethod(obj, "ReadCounterSampling",Qt::QueuedConnection);
560
560
  return 0;
561
561
}
562
562
 
563
 
int32  CVICALLBACK sCounters_NIDAQ::OnReadyToReadK (TaskHandle theHandle
564
 
                         ,int32 OK
565
 
                         ,void *DataPtr)
 
563
int32  CVICALLBACK sCounters_NIDAQ::OnReadyToReadK (TaskHandle /*theHandle*/
 
564
                                                   ,int32      /*OK*/
 
565
                                                   ,void *     DataPtr)
566
566
{
567
567
  sCounters_NIDAQ* obj = static_cast<sCounters_NIDAQ*>(DataPtr);
568
568
  QMetaObject::invokeMethod(obj, "ReadKineticsSampling", Qt::QueuedConnection);
570
570
  return 0;
571
571
}
572
572
 
573
 
int32  CVICALLBACK sCounters_NIDAQ::OnReadyToReadSS (TaskHandle theHandle
574
 
                         ,int32 OK
575
 
                         ,void *DataPtr)
 
573
int32  CVICALLBACK sCounters_NIDAQ::OnReadyToReadSS (TaskHandle /*theHandle*/
 
574
                                                    ,int32      /*OK*/
 
575
                                                    ,void *     DataPtr)
576
576
{
577
577
  sCounters_NIDAQ* obj = static_cast<sCounters_NIDAQ*>(DataPtr);
578
578
  QMetaObject::invokeMethod(obj, "ReadStartStopSampling", Qt::QueuedConnection);