10-29-2009 10:34 AM - edited 10-29-2009 10:35 AM
Hello,
Im trying to change record length withou affecting the sample rate. the reason is TClk documantation syas that if you dont change the clokcing than the synchronizatio nwill remain and i will not have to do TClk process again.
And i need to change the record length without touching the clocks. but when i do it in propery nodes i see that it affect the sample rate (it want to conserve the Record Time duration...)
10-30-2009 01:27 PM
Hi,
You are correct in that you do not need to call the niTCLK Synchronize.vi if you are just changing the record length. However, if you make any changes to the sample rate, trigger, reference position, and so on, you need to call the Synchronize VI again. A good example of this is the niScope EX Multi-Device Configured Acquisition (TClk) example program (NI Example Finder). With this example you can change the record length for each acquisition without affecting the sample rate. You can change the record length with the Configure Horizontal Timing VI (the property node should work also).
I would like to get some more information from you to verify this behavior you are currently seeing if the above does not help out. Do you have a piece of code that I could review to learn more about your application? Also, why is it needed to change the record length for each acquisition?
10-31-2009 03:24 PM
The problem is that after i change the record length, i see that the sample rate is also changing. its like that it want to save the record time length constant.
11-03-2009 07:26 AM