Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66748

Can you create multiple counter outputs?

$
0
0

Hello,

 

I am working with a NI USB-6210 and I am having trouble with the infamous 50103 "specified resource is reserved." What I need to do is create two independent STL pulse trains on two counter output channels. I cannot figure out how to use a single task to complete this task, and obviously running multiple tasks creates the resource error. I need to be able to separately modulate the frequency of the two outputs, and therefore directly reserving/unresering the task (with the control task vi) is infeasible.

 

What will happen is that this vi will be triggered by an event, say a button click for the purposes of simplification. At this event, two separate, high frequency STL pulses need to be created. In the past we only needed a single STL pulse- I am trying to add the second. There is no particular need for synchronization, other than the requirement that both pulses begin at the same time.

 

I don't think including the vi is useful here since I mostly don't understand how to get the basic setup, but I can if that helps.

 

On a perhaps unrelated note, is there some kind of connection between the counter output channels? Whenever I send a pulse to one counter output channel, the other counter output channel switches to logic high (i.e. 5v) from logic low (i.e. 0v) and I can't figure out why. This may be a stupid question, but I haven't been able to find any explanation in the "counter output" information provided by NI.

 

Thanks in advance- any suggestions would be most appreciated.


Viewing all articles
Browse latest Browse all 66748

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>