LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to reset counters after daq is done without closing Labview

HI,
I have to use a computer boards card and their universal library with
Labview 6.1 for data acquisition.
Basically a d/a pulser while collecting a/d data.
The daq block is a question mark since installing the universal library,
hence there is no reset block which I hear would normally take care of this.
Both d/a and a/d run in background, using AinScBg, GetStatus, StopBg for
a/d, and then AOutScBg, GetStatus, and StopBg for the d/a.
The acq is timed to stop at 30seconds.
After saving, the current count is at the last number, and the pulses keep
going.
Anyone know how I am supposed to reset this? Limited info from
computerboards.
Thanks,
Steve
0 Kudos
Message 1 of 3
(2,927 Views)
Hi Steve,
I hope I understood your question right. I guess your counter is shown on your frontpanel. If so you can insert a condition in your diagramm. if "saving"= true then "value" must be set to zero (using create a constant). The "value" of the frontpanel-element can be set to zero by selecting >create >property-node> value.
(then right mouseclick> create constant)

Kathrine
Message 2 of 3
(2,927 Views)
Thanks Kathrine,
I'll try that.
I still don't know how to get the background pulses to reset though, I'm
using the StopBg block like they say to..
Getting out of labview at least starts the pulses at the same point for the
next data, so the data lines up. Maybe I have to do similar here as well
somehow.

Steve

"kathrine" wrote in message
news:506500000005000000577C0000-1021771306000@exchange.ni.com...
> Hi Steve,
> I hope I understood your question right. I guess your counter is shown
> on your frontpanel. If so you can insert a condition in your diagramm.
> if "saving"= true then "value" must be set to zero (using create a
> constant). The "value" of the frontpanel-element can be set to zero by
> selecting >create >property-node> valu
e.
> (then right mouseclick> create constant)
>
> Kathrine
0 Kudos
Message 3 of 3
(2,927 Views)