LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

k8055 Need help making boolean pulse at ms rate

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

0 Kudos
Message 1 of 6
(2,652 Views)

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

0 Kudos
Message 2 of 6
(2,647 Views)

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.

0 Kudos
Message 3 of 6
(2,646 Views)

Basicly i would like to have either a analog or gigital output to run a coil ignitor at 5v

0 Kudos
Message 4 of 6
(2,638 Views)

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

 

0 Kudos
Message 5 of 6
(2,634 Views)
0 Kudos
Message 6 of 6
(2,614 Views)