Programming The DS Dig. In?

Okay so I’ve been bashing my head here for about half an hour. So I need help. Can anyone explain how I can program the DS Digital In to read a switch to turn on a relay in LabVIEW?

Help Appreciated, Thanks,

Big Kid - Sophomore programmer (Team 816)

Here’s how to get DS Digital in:

Don’t forget that you have to use all three pins. signal to 5V when on, signal to 0V when off.

okay thank you now anyone know how to program the relay using that method?