Hi,I'm facing an issue while trying to control the USB-CTR08 using LabVIEW. My goal is to generate 20 periodic pulses on TMR0 and TMR1 with the following parameters: a pulse period of 300ms, a high level duration of 100ms, and a low level duration of 200ms. Additionally, I would like the pulses on TMR1 to start 200ms after the first pulse on TMR0 is generated. However, I have encountered difficulties while attempting to implement this process.
1. I have consulted the ULx LabVIEW CHM documentation, but it does not provide any method to delay the output of periodic pulses. The "ULx Create Virtual Channel - CO Pulse Frequency" subVI only allows setting the pulse frequency and duty cycle. Could anyone please guide me on how to specify a delay for the output pulses in LabVIEW?
2. I'm also curious if it is possible to use the "Sample Clock - samples per channel" to generate 20 pulses on TMR0 and TMR1 instead of continuous output?
Question
zhangguangya
Hi,I'm facing an issue while trying to control the USB-CTR08 using LabVIEW. My goal is to generate 20 periodic pulses on TMR0 and TMR1 with the following parameters: a pulse period of 300ms, a high level duration of 100ms, and a low level duration of 200ms. Additionally, I would like the pulses on TMR1 to start 200ms after the first pulse on TMR0 is generated. However, I have encountered difficulties while attempting to implement this process.
1. I have consulted the ULx LabVIEW CHM documentation, but it does not provide any method to delay the output of periodic pulses. The "ULx Create Virtual Channel - CO Pulse Frequency" subVI only allows setting the pulse frequency and duty cycle. Could anyone please guide me on how to specify a delay for the output pulses in LabVIEW?
2. I'm also curious if it is possible to use the "Sample Clock - samples per channel" to generate 20 pulses on TMR0 and TMR1 instead of continuous output?
Please suggest a solution
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now