Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

setting a digital output for certain duration

Hello

I am using PCI-6255 and I'm trying to write a python code to generate a digital output for a certain time.

I don't want to use sleep function between turning the port on and off, because I want the program to be able to send other outputs in this time.

 

Thank you

 

0 Kudos
Message 1 of 2
(657 Views)

Dear Nic2507,

 

In that case you can use multithreading. You can use sleep function and still be able to send other signals as well.

 

Best Regards,

National Instruments,
A. Shakhkyan.

0 Kudos
Message 2 of 2
(623 Views)