03-20-2008 03:21 AM
03-21-2008 12:34 PM
Hi Vinod,
The USB-6008 does not have hardware timed digital outputs, so the only way to accomplish what you are trying to do will be through software timing. Since it looks like you are doing synchronous serial this could work. You will have a manually control each line in software to create the timing you are looking for. A good example of software timed digital output can be found in the NI Example Finder. This can be found by going to the Help menu and selecting Find Examples.... Once the NI Example Finder is open select Hardware Input and Output » DAQmx » Digital Generation » Write Dig Port.vi.
Also here is a forum post that talks about implementing software timed SPI communication. Since SPI is a type of synchronous serial this may help also. Let me know if you have any questions. Take care.
Thanks,
03-26-2008 01:26 PM
Hello Nathan
Thanks for yr suggestion. In this application timing is not critical , it just requires data to be first available at the shift register input & then making a Low-High change at clock input . Someone has
also suggested using an array & then outputting on DO lines. I would come back if any help
required.
Thanks Vinod