LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Event case: number of runs of a single event ?

Solved!
Go to solution

Hi everybody,

 

I'm working on a CCD acquire system, and I developed the control software using an event structure.

Every event controls a setting function for my system, and placed in timeout event fucnctions to get the status of my detector.

 

Data acquisition is one of the control events. Now I need perform multiple acquisition and save acquired datas to a spreadsheet file, wich must be called with the number of the iteration.

For example for 10 acquisition, the acquisition event will run 10 times, and save 10 files named: 1.csv, 2.csv ...

 

How can be built a counter wich gives the number of iterations of a single event (in example the number of runs of the "acquire data" event) ?

 

Thanks in advance

Eugenio

 

LabVIEW 2011

0 Kudos
Message 1 of 3
(2,370 Views)
Solution
Accepted by topic author uge026

Hi Eugenio,

 

Jus make a comparison for 10 times iteration. Use the value signaling property to active the acquisition event. Try this and tell.

0 Kudos
Message 2 of 3
(2,354 Views)

Thanks, value signaling vas the right choice. I've wired the increment function to a shift register function of the while loop wich contains the event structure.

Placed an indicator inside and works fine. 

0 Kudos
Message 3 of 3
(2,328 Views)