Quantcast
Channel: Measurement Studio for VB6 topics
Viewing all articles
Browse latest Browse all 323

Creating a Non-stop Continuous Digital Output

$
0
0

Hi all,

 

I'm trying to make a continuous digital signal that does not stop when the sub procedure that creates it ends.

 

I'm able to create a continuous analog signal that doesn't stop when its procedure ends by loading the necessary analog output task as soon as I pull up the .xls file, then writing values to a buffer, then stopping the analog output task, then using the WriteBinaryI16 command.

 

That code looks something like this.

 

publicStatus = DAQmxStopTask(publicAnalogOutTaskHandle)
publicStatus = DAQmxWriteBinaryI16(publicAnalogOutTaskHandle, DACwaveFormSize, True, 5, DAQmx_Val_GroupByScanNumber, buffer(0, 0), publicSampsPerChanWritten, ByVal 0&)

 

Can I use much the same procedure to output a nonstop continuous digital signal? For what it's worth, I'm using an PCI-6259 DAQ card that is connected to an SCB-68 connector block.

 

Thank you,

 

Armando83

 


Viewing all articles
Browse latest Browse all 323

Trending Articles



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