10-27-2015 05:11 AM
I have written a program for generating a ramp signal with start/end value and given rate. There are around 80 digital inputs to be monitored when the program is running.
Since ramp generation samples are generated in milliseconds and the digital inputs emergency routine is running in parallel, there is a jerk in sample generation.
How do I solve this issue?
10-27-2015 10:19 AM
Any code? (I can see <=2011 or snippet)
What is your hardware?
Is on board regeneration mode for analog output on? Example in Help -> Find examples. There will be no jerk in sample generation.
It is also possible (depending on hardware) to do triggered start of generation and digital acquisition
10-27-2015 10:34 PM
I am using digital input card PCI 6511 and for generating analog output PCI 6255.
10-27-2015 10:39 PM
Sorry, for analog output I am using PCI 6733.
10-27-2015 11:19 PM
10-28-2015 09:21 AM
There will be jitter in digital inputs reading, but not in generation.
To sync them... it depends on the application. You can use one of the 6255 DIOs as an output - to trigger its regeneration and simultaneously (programmatic control) start DIO. With this hardware DIO and AO sync can be only programmatic,
We need more information on sync requirements to be more specific.
PS. Technically if you use 6255 only (80 AI channels + 24 DIO, all with hardware timing) instead of 6511, you can sync tasks on hardware level. But 80 voltage dividers...