Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2178

is it possible to use part of Port0 on a 6363 as line controlled and part as digital wave output?

$
0
0

 

I've filled the DIO on Port1 and Port2 of a PCIe and need to use port0 for both line controlled (toggle) and digital waveform output.  I'm using Measurement Studio 14 and C#.  I can make the call:

 

NITask.DOChannels.CreateChannel("MyMIO/port0/line8:11", "myTask",ChannelLineGrouping.OneChannelForAllLines);

 

and run the waveform without issue.  The problem is that the unselected lines are cleared.

 

I can kludge around the problem by maintaining the state of all lines on Port0 and accounting for them in the waveform.  That is kind of a pain, adds code, and I'm lazy.  Is there a way to isolate the wave to only the lines selected when creating the task?

 

Thanks,

 

Derek Hopkins,

Pacific Northwest National Laboratory


Viewing all articles
Browse latest Browse all 2178

Trending Articles



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