Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read from HW save register on 6601 in VB6 with traditional DAQ

I am working with a NI 6601 counter card, and trying to use the two-signal edge-separation feature to count the time between two signals.  The feature allows you to send an AUX line that will start the counts on an active edge and will stop the acquisition on the next active edge of the GATE line.  The issue I am having is that once the GATE active edge is seen the DAQ process ends and the counter.readcounter method no longer works.  The documentation says that once the GATE line is used the data from the counter is latched into the HW save register, but it doesn't say anything about how to access this register with VB6/Traditional Measurement Studio DAQ.  Can anyone help?  Thanks!
 
-ANM
0 Kudos
Message 1 of 2
(5,774 Views)
Hello ANM,

Have you tried the Two Edge Separation shipping example written in VB6 using Measurement Studio?  I would reccomend taking a look at this example as a starting point.  It should be installed on your computer at the following location:
C:\Program Files\National Instruments\MeasurementStudio\VB\Samples\DAQ\Counter\TIO Edge Separation

Eric
DE For Life!
0 Kudos
Message 2 of 2
(5,765 Views)