06-02-2011 09:01 AM
Hey
I have board set up and connected. the board consists of 8 digital output 2 analoge 2 pwm outputs these outputs are switched that toogle on and of and have a led to display there state. i currentlly have it set up so i can turn the on and of with a boolean switch. what i want to do is pulse one of the boolen switches on and of at a ms rate prob about every 3ms how do i set up this on the current wiring i have. file attached
06-02-2011 09:16 AM
I believe the sampling rate for the k8055 is around 100 Hz, so you'll struggle to get better than a 10ms rate.
If you still want to proceed, a state machine with some timing added is a way forward. This will allow you to have different states for digital out, analog out etc so that you can perform the right actions in the right order in a sensible fashion. Ditching the stacked sequence in the Velleman demo code that you posted would be a good move!
Ian
06-02-2011 09:19 AM
Have you even checked with the vendor if the device supports hardware timed digital output? I don't see any function in the the dll that would suggest it. With software timed output, you will be subject to windows timing limitations and a great deal of jitter. Experiment with a timed loop.
06-02-2011 09:33 AM
Basicly i would like to have either a analog or gigital output to run a coil ignitor at 5v
06-02-2011 09:49 AM
i am happy with 10ms even 30ms but this labview is new to me and not sure what a state machine is can you post a good example of what i would need please
06-21-2011 09:32 AM
state machine question moved to here: http://forums.ni.com/t5/LabVIEW/center-return-slide-labview-8/m-p/1607182