qudi icon indicating copy to clipboard operation
qudi copied to clipboard

Request NI DAQ c function "DAQmxCreateCITwoEdgeSepChan" for super-resolution confocal imaging with a sync-PZT nano stage.

Open diamond2nv opened this issue 5 years ago • 0 comments

What is affected by this bug?

When does this occur?

Where on the platform does it happen?

How do we replicate the issue?

Expected behavior (i.e. solution)

  • OmniScan feature ideas

  • Would be used like a Time Tagger, not for fluorescence lifetime imaging(FLM), but for super-resolution confocal imaging with a sync-PZT nano stage.

    • "sync-PZT nano stage": when stage moved to the new set position, stage controller digital out would send a TTL signal, meaning on-target. (Such as PI E-727, ..., E-516)
# Time Tagger
CountBetweenMarkers::CountBetweenMarkers (
TimeTagger * tagger,
channel_t click_channel,
channel_t begin_channel,
channel_t end_channel = CHANNEL_UNUSED,
int n_values = 1000 )

constructor of CountBetweenMarkers

Parameters

- tagger reference to a TimeTagger
- click_channel channel that increases the count
- begin_channel channel that triggers beginning of counting and stepping to the next value
- end_channel channel that triggers end of counting
- n_values the number of counter values to be stored

Other Comments

  • DAQmxCreateCITwoEdgeSepChan
DAQmxCreateCITwoEdgeSepChan
DAQmxCreateCITwoEdgeSepChan (TaskHandle taskHandle, const char counter[], const char nameToAssignToChannel[], float64 minVal, float64 maxVal, int32 units, int32 firstEdge, int32 secondEdge, const char customScaleName[]);

Purpose: Creates a channel that measures the amount of time between the rising or falling edge of one digital signal and the rising or falling edge of another digital signal. With the exception of devices that support multi-counter tasks, you can create only one counter input channel at a time with this function because a task can contain only one counter input channel. To read from multiple counters simultaneously, use a separate task for each counter. Connect the input signals to the default input terminals of the counter unless you select different input terminals.

  • branch: v0.10.0 using "DAQmxCreateCIsemiPeriodChan" for confocal-scanner-photon-counter
DAQmxCreateCISemiPeriodChan
int32 DAQmxCreateCISemiPeriodChan (TaskHandle taskHandle, const char counter[], const char nameToAssignToChannel[], float64 minVal, float64 maxVal, int32 units, const char customScaleName[]);

Purpose: Creates a channel to measure the time between state transitions of a digital signal and adds the channel to the task you specify with taskHandle. With the exception of devices that support multi-counter tasks, you can create only one counter input channel at a time with this function because a task can contain only one counter input channel. To read from multiple counters simultaneously, use a separate task for each counter. Connect the input signal to the default input terminal of the counter unless you select a different input terminal.

diamond2nv avatar May 07 '19 06:05 diamond2nv