11-04-2005 03:43 PM
11-07-2005 11:10 AM
Hello JJ,
I would recommend using the NI-DAQmx API instead of Traditional DAQ (Legacy) if you are just getting started with your application and you are using LabVIEW 7 or above. NI-DAQmx supports the hardware that you are using. If you would like to read about NI-DAQmx you can do so in the following tutorials: Advantages of NI-DAQmx, Learn 10 functions in NI-DAQmx, and NI-DAQmx FAQs.
You may have seen this thread about photon counting with NI-DAQmx already, but I want to draw your attention to it if you have not. It lists two examples,
11-07-2005 03:35 PM
11-09-2005 07:23 AM
11-09-2005 07:54 AM
DAQmx provides a property called 'Duplicate Count Prevention' to help handle this case more cleanly. Under traditional NI-DAQ, there's a mode called 'synchronous counting' or something like that to try to handle such a case. Check the manual and/or online help.
11-10-2005 10:03 AM
11-11-2005 11:19 AM
11-11-2005 02:38 PM
Hello JJ,
If your acquisition using MATLAB uses a separate DAQ device than the one doing your photon measurement, you will be able to use NI-DAQmx for your photon measurements. However, as Kevin says above you need to use the same driver if you have only one device.
Unfortunately, I am not very familiar with file functions in MATLAB. Also, if you would like to move your other data acquisition program over to LabVIEW, there are hundreds of users that monitor these forums that are happy to help.
Regards,
Laura
11-11-2005 02:47 PM
11-16-2005 09:09 AM
One thing still puzzles me though, since both the pulse measurement and period measurement vi lack duplicate prevention, how come one is okay while the other is not under the same conditions?