08-18-2014 05:29 AM
Does the PXI-6230 support hardware analog triggering?? I guess that would be a PFI...input. If not, is there any scheme I could do using one of the other analog in channels?? I generate a pulse on an analog out channel then read it back on an in. I think the code is too fast and the signal occurs after I've taken the reading.
08-18-2014 08:10 AM
This is the code I'm using. PXI8101 LV2012
08-19-2014 04:49 PM
08-20-2014 04:39 AM
In the Read_Write vi enclosed, is there a way to tell how much time elapses between the actual write then the read of the data??
Thanks..
08-21-2014 02:42 PM
Hi,
You could increase the amount of finite samples you are acquiring on the DAQmx Read side, or simply do "Continuous Samples" for testing. From your acquisition graph, you will be able to backcalculate how long it took for the software calls to be made. This will not be deterministic though - the exact time difference might change on every run.
You could also use tick counts to implement basic software timer functionality (see this helpful KnowledgeBase: http://digital.ni.com/public.nsf/allkb/6F6B9F4E149C80578625652800784764)
Hope this helps!
08-22-2014 04:55 AM
Thanks..I'll give that a try. I like the tick count better. That is what i think my issue is.. Differences in processor speeds or code execution.