Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
diamond2nv opened this issue May 7, 2019 · 0 comments

Comments

@diamond2nv
Copy link

diamond2nv commented May 7, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant