05-16-2007 01:48 PM
05-17-2007
04:27 PM
- last edited on
02-16-2024
10:38 AM
by
migration-bot
Hi thc23,
What are the errors that you are running into? (Number and description) You can use either the AO or DIO lines. The code will be nearly identical, except for the type of task you are running. Do initialization, and then inside a while or for loop, put the line to high for a period of time and then low for a period. After the loop, stop and clear the task. This will work because of the slow rate you are wanting. Please keep in mind the limitations of the USB-6008, mainly that the analog output is software timed and has a max rate of 150S/s.