LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Digital I/O

Hello everyone, I am Trying to Control a LED Using 6008 DAQ.
I tried that simple problem using I/O Digital Pin and it isn't working .. I have tried output analog pin, gave it 5 Volts and the led works.

So i am wondering why the digital pins aren't working

0 Kudos
Message 1 of 4
(2,910 Views)

Hi Awny,

 

did you read the datasheet and specs of the USB6008?

Especially those specs on the DO capabilities of the USB6008 (keywords "open drain", "internal pull-up resistor") might be interesting to you!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(2,908 Views)

Hello El-Awny,

 

The digital outputs on USB-6008 can be configured as open collector or active drive. The selection of configuration depends on how you are going to connect the LED.

If open-collector - you should have external power supply (5V), to drive the LED, while with active drive configuration, it will output 5V to drive the LED. The default configuration is open collector, so if you have connected LED between the digital output and ground, and haven't configured the channel for active drive, it will not work.

 

Thanks,

Arev

 

CTO | RAFA Solutions

 

Certified-LabVIEW-Embedded-Systems-Developer_rgb.jpgCertified-LabVIEW-Architect_rgb.jpg

0 Kudos
Message 3 of 4
(2,880 Views)

Hi arevhamb,

 

wrong.

Only the USB6009 can be set to "active drive"! (It's all in the user manual…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(2,876 Views)