main content

digital input and output -凯发k8网页登录

acquire and generate digital data with data acquisition hardware

before you use digital channels, see hardware discovery and setup.

functions

add input channel to device interface
add output channel to device interface
add digital bidirectional channel to device interface
remove channel from device interface
read data acquired by hardware
write output scans to hardware channels
simultaneously read and write device channel data
start dataacquisition background operation
stop background operation
queue scan data for device output
flush dataacquisition input and output buffers
convert decimal value to binary vector
convert binary vector value to decimal value
convert hexadecimal value to binary vector
convert binary vector value to hexadecimal

topics

basic workflow


  • transfer digital or logical values in bits via digital lines.

  • acquire a single scan of digital data from two channels of an ni device.

  • this example shows how to write data to two lines on an ni 6255.

  • share the clock of the analog subsystem on your device for the digital acquisition.
  • acquire digital data using an external clock
    acquire digital data in the foreground using an external scan clock.

more


  • acquire digital data using a counter output channel to generate clock pulses.

  • this example shows how to acquire digital data using four channels on an ni 6255.

  • this example shows how to convert decimal data and output to two lines on an ni 6255.

  • this example shows how to use a bidirectional channel and read and write data using the same two lines on an ni 6255.
  • generate signals on both analog and digital channels
    this example shows how to generate signals when the dataacquisition contains both analog and digital channels.
网站地图