LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

digital out ni 9472

Hello 

 

How do i output a series of high and low in NI9472 . i.e I want to output eg (10101010)-basically through one line ONLY not all lines in port . When i try to send that data in array it gives error 200524. I understand what the error is saying but i am only trying to supply data to line 0 not all lines. I want to supply a constant array of the binary data then let the DAQ output it as if i was turning on and off a switch. Thank you.

0 Kudos
Message 1 of 5
(3,115 Views)

I updated the program as shown, trying to build array of 8 elements 

 

Thank you

0 Kudos
Message 2 of 5
(3,114 Views)

Hi Jamma,

 

try it without express VI's, there are examples in the example finder

 

i try it myself but only with a simulation in NI-MAX, no error's, see attached

 

 

0 Kudos
Message 3 of 5
(3,072 Views)

Thank you for your reply. I have labview 2010 and it gives an error opening your file, is it possible for you to convert the attachment so labview 2010 can open it ? Thanks again

0 Kudos
Message 4 of 5
(3,055 Views)

Hello Jamma,

 

The 9472 isn't capable of buffered output- you'll need to output one sample at a time at the rate that you want the channel to toggle high/low.

 

For reference:

 

NI Community Example: Digital - SW-Timed Output

https://decibel.ni.com/content/docs/DOC-25288

 

Regards,

Tom L.
0 Kudos
Message 5 of 5
(3,049 Views)