gustav Posted February 22, 2007 Report Posted February 22, 2007 I'm running a counter task for pulse generation, using an external signal as a source for ticks. I'm wondering if it's possible to switch the input terminal for the ticks while the task is running? This means I would have two sources of pulses connected to two different pins on my NI6602 card, and while the pulse generation task is running I want to be able to switch from which pin it gets the ticks. When I try to do this I get an error, so it appears to me it is not possible. However I thought I should check with the expert before ruling out the possibility, or perhaps someone could tell me another way to accomplish what I need . Any answers would be apreciated. /Gustav Quote
Neville D Posted February 22, 2007 Report Posted February 22, 2007 QUOTE(gustav @ Feb 21 2007, 06:50 AM) I'm running a counter task for pulse generation, using an external signal as a source for ticks. I'm wondering if it's possible to switch the input terminal for the ticks while the task is running?This means I would have two sources of pulses connected to two different pins on my NI6602 card, and while the pulse generation task is running I want to be able to switch from which pin it gets the ticks. When I try to do this I get an error, so it appears to me it is not possible. However I thought I should check with the expert before ruling out the possibility, or perhaps someone could tell me another way to accomplish what I need . Any answers would be apreciated. /Gustav Your right.. once the task is started, you can't switch pins mid-stride. Neville. Quote
gustav Posted February 23, 2007 Author Report Posted February 23, 2007 QUOTE(Neville D @ Feb 21 2007, 06:34 PM) Your right.. once the task is started, you can't switch pins mid-stride.Neville. Thanks for confirming my suspicisons ! Will have to think of another solution then. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.