-
I am running NV ensemble ODMR with a photodiode where one of the AI channel is used to measure the voltage ouput of the photodiode. While an error report occured with the AI Instream. The used NI card is USB-6343. Endeavours so far:
How to reproduce this bug: |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
If the streamer and the odmr is using the same ai source, I got the error code: Status Code: -50103 |
Beta Was this translation helpful? Give feedback.
-
Additional instruction, this is the error report, when running ODMR after start the Instreamer. Status Code: -50103 |
Beta Was this translation helpful? Give feedback.
-
A new test with Instreamer and confocal scan. Since the scanner logic and odmrlogic are sharing the same scanning functions in the nicard6343 hardware file, this also suggests that the AnalogIn daqtask in the hardware file possibly have some problems. |
Beta Was this translation helpful? Give feedback.
-
I contacted an engineer from NI. However, it is possible to do it in software. For example, when odmr or confocal is running with one ai channel, the counter logic or instream logic can calculate an coefficient between the streaming clock and scanner clock, and then stream the ai values with the accordingly. Even the streamed ai values are not directly from the ni card, but it would still be helpful to users. Additionally, we can also use a checkbox for users to choose the prefered data source, accutual measured intensities or revised data from scanners. |
Beta Was this translation helpful? Give feedback.
-
I got an idea of how to produce AI counts for both InStream and the Scanner at the same time. Run AI counting always with the highest sample rate (500kSample/s), and then averaging the AI values by the counting period of InStream and the Scanner respectively (trigger start of the data handling by software). |
Beta Was this translation helpful? Give feedback.
I contacted an engineer from NI.
I was told that, all AnalogIn channels in one single NI card only supports one sample rate.
I guess this is the answer...
However, it is possible to do it in software. For example, when odmr or confocal is running with one ai channel, the counter logic or instream logic can calculate an coefficient between the streaming clock and scanner clock, and then stream the ai values with the accordingly. Even the streamed ai values are not directly from the ni card, but it would still be helpful to users. Additionally, we can also use a checkbox for users to choose the prefered data source, accutual measured intensities or revised data from scanners.