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

Digital input and output with "1 Sample (On Demand)" issue

$
0
0

Hello Dear NI-users,

 

I am developing a labview interface for controlling a brushless dc motor. The motor drive needs a

 

--"enable" signal for the initialization: a digital high/low output and

--"command signal" for the position: a analog output

 

Both signals should be generated in real time in labview, via the "1-Single on demand" option with the DAQ-Assistant, running in a while-loop.

The problem is, that labview treats the signals to/from the "DAQ-Assistant" as arrays, therefore I need to generate an array with just one element, see picture.

 

Is there a more elegant solution to this?

 

 

 


Viewing all articles
Browse latest Browse all 2181

Trending Articles



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