LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I tell LabVIEW to send a logic high to a digital port when an ICTR Control Counter reaches a specific value?

I am using a DAQ-1200 lab card (8253/54) to run a micro-stepping motor for a NASA research project. I need to tell LabVIEW to send a logic high (+5V) to one of the digital ports when my counter (ICTR Control) reaches a specific value. The logic high trips a relay which changes the direction of the motor, but I cannot figure out how to trigger it. Thanks!
0 Kudos
Message 1 of 2
(2,561 Views)
Wire your counter T/F condition to a Case statement, and when T, have the 'Write to Digital Line.VI' output the logic high or low as appropriate. That VI is in the Functions>Data Acquisition>Digital I/O palette. This should work. Good Luck - Doug
0 Kudos
Message 2 of 2
(2,561 Views)