Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-6501 writing a byte

Hello,

 

i have a USB-6501.

 

i would like to write a sequence of "1's" and "0's" to form a byte

 

so for example i would like the 6501 to write say 1001000 or 11100110 using the digital outputs so "on" "off" "off" etc

 

thanks

 

0 Kudos
Message 1 of 4
(4,142 Views)

@bennyk wrote:

Hello,

 

i have a USB-6501.

 

i would like to write a sequence of "1's" and "0's" to form a byte

 

so for example i would like the 6501 to write say 1001000 or 11100110 using the digital outputs so "on" "off" "off" etc

 

thanks

 


What have you tried so far?

0 Kudos
Message 2 of 4
(4,136 Views)

i have just used the DAQ assistant to manually write "1" and "0" to make the sequence. i literally just recieved the hardware so am very new to it.

 

i have been trying to find exampls but no luck in finding ones that generate bytes

 

so what i would like to have is a combo box that contains say 10 numbers. then when you select one of these numbers it will casue the 6501 to create a specific byte say if i select the number 13.1 then it would create a sequence of 1011 0011 for example

0 Kudos
Message 3 of 4
(4,132 Views)
The DAQ Assistant will write bytes if you configure it for multiple lines. For other examples, use Help> Find Examples> Hardware Input and Output.
0 Kudos
Message 4 of 4
(4,124 Views)