08-09-2006 08:17 AM
08-10-2006 04:57 PM
08-11-2006 02:00 AM
Hello Micaela,
I've found out about the difference of tasks and channels in the meantime. However, thanks a lot for answering. The application is running fine now.
Best Regards,
Greg
06-18-2007 11:40 AM
I have a 6516 card and I'm try to control the eight lines on port 3 individually. I've gone through all the sample code and such. Is this card capable of this? Here's the code that I have write now.
Dim digitalWriteTask As Task = New Task()
digitalWriteTask.DOChannels.CreateChannel("Dev1/port3/line0", "port1", ChannelLineGrouping.OneChannelForAllLines)
Dim writer As DigitalSingleChannelWriter = New DigitalSingleChannelWriter(digitalWriteTask.Stream)
writer.WriteSingleSamplePort(True, 1)
I've tried ChannelLineGrouping.OneChannelForEachLine and DigitalMultiChannelWriter with no luck. I also tried making a task in MAX to control Dev1/port3/line0 and this doesn't work either. I'm starting to think this isn't supported on this card.
Could any shed some light on this for me.
Thanks in advance,
Gary
06-18-2007 12:16 PM