Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How make a DigitalSingleChannelWriter work ?

Solved!
Go to solution

 I create a DigitalSingleChannelWriter instance using "digitalWriteTask.DOChannels.CreateChannel(sLine,"TimeOutWhite",ChannelLineGrouping.OneChannelForEachLine);"

 

What the differences between the methods below? 

 

WriteSingleSampleSingleLine(
true, false);

WriteSingleSamplePort(true, 0);

 

Regards,

 

Alexandre A.

0 Kudos
Message 1 of 2
(3,528 Views)
Solution
Accepted by topic author Aalbuquerque

Portuguese:

 

Olá,

 

A diferença entre esses dois comandos é que o comando "WriteSingleSampleSingleLine(true, false);" escreve uma úniva amostra em uma única linha digital. O comando WriteSingleSamplePort(true, 0); escreve uma única amostra em uma porta digital, que por sua vez tem 8 linhas digitais.

 

English:

 

The difference between these two commands is that the "WriteSingleSampleSingleLine(true, false);" command writes a single sample in a single digital line. The "WriteSingleSamplePort(true, 0);" writes a single sample in a digital port, that has 8 digital lines.

 

Atenciosamente,

 

Luciano Borges

National Instruments Brazil

Luciano Borges
Test Development Engineer
0 Kudos
Message 2 of 2
(3,507 Views)