05-14-2013 02:48 PM
What you need to do is separate the input process with the output.
To do that you can use variables and sync them with the respective sample rate.
The only issue you will have is that there will be a block delay from the trigger moment to the reaction. In your case 100 samples or 20 ms or the sample rate your are going to use for the output.
Use the Driver time base to define the digital output rate.
05-14-2013 03:02 PM
Now is the time to disconnect the inputs from the output.
What you are going to want to do is to delete the wires to the Digital Output.
Now create a Control-Write Variable module with two channels -- it defaults to variable 1 and 2 - if you aren't using variables, leave it that way.
Connect the wires that used to go to the Digital Output to the Write Variable module.
Create a Read Variable module. Configure it with two channels, and change the time base to DASYLab. That should be 10s/sec, block size 1.
Connect the Read variable module to the Digital output. It's now going to work with a 100 ms update rate.
Note - if you didn't use variables 1 and 2, ensure that both the read and write variable modules match.
05-15-2013 07:38 AM
Thank you to CJ ,Jeff ,Tom and any others I forgot ,for all for your patience and knowledge.
Program is running great. Kent.