Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2147

Reading a digital data in labview

$
0
0

Hi,

 

I am making a program to trigger various components like servo, encoder etc. and the I am planning to generate the trigger from a motion control system. In the motion control system, the signals are being generated to drive a stepper motor. In the motion system, there is a digital output signal which I am using to trigger other components. However, before I moved to trigger it, I wanted to see if LabVIEW is able to acquire the digital signal. I connected the digital output from the motion controller to the digital input port of NI USB-6218. However, when the digital data was received, I didn't see the digital data. So, I took the signal to the oscilloscope. From there I observed that when the digital data is received at the probe, the voltage increased, which means the digital data is being correctly sent from the output channel.

 

So, I don't understand why is the program not showing the digital input when it is received. The program is attached with the mail. Any help with the program to get the digital data might be helpful.

 

Thank you

 

Abbishek


Viewing all articles
Browse latest Browse all 2147

Trending Articles