10-28-2009 09:01 AM
Alright here is another question from the novice:
First what I want to do:
1) Get Timestamps from a PXI-6682
2) Synchronize those time stamps with Analog inputs
Now here is what I did so far:
NI-Sync:
1) Create a clock that generate 1 rising edge per second on NISYNC_VAL_PXITRIG0
2) Link that clock to create timestamps on rising edges
NI-Daqmx:
1) Create Task
2) Create a channel
3) Link channel start trigger to "PXITrign" <--fails...weird that I shouldn't use NISYNC_VAL_PXITRIG0 ="PXI_Trig0"
Now I need to do this because I want to have a timestamp exactly when I start fetching samples.....because my preliminary tests created abuffer overflow because my timestamp was never available (so every time I got samples I would wait 1 second before getting them)
What am I doing wrong?
Solved! Go to Solution.
10-29-2009 12:55 PM
It sounds like to me you are looking to get time stamps from the 6682 of all of the analog input samples. In my opinion a good starting point might be the following community example that combines a DAQ task with an NI-Sync timestamping task.
http://decibel.ni.com/content/docs/DOC-3362
I found the link above from going to NI.com/community and searching for: DAQmx time stamp
Let me know if you have any other questions..
10-29-2009 01:15 PM
First of all thank you for your reply.
Yes I did stumble on this piece of information, although sadly I do not use LabView but C++...
Furthermore,
I solved my compiling issue by using NISYNC_VAL_PXITRIG0 afterall (Seems the name was a bit misexplained in the Daqmx library
But now I got more issues popping up, but those are on other threads.
So I guess I will close this one and let my other threads give me more answers 🙂
Thank you though,
Seb