From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Set line to logic high on USB-6501

Hopefully this is an easy one.

 

I am trying to write a VI to set a line high and leave it there (port 1 line 6 in my case).

 

How can I do that? TIA.

 

0 Kudos
Message 1 of 5
(2,392 Views)

What do you have so far? Presumably you're using DAQmx?

0 Kudos
Message 2 of 5
(2,373 Views)

I have the attached file. Just running it doesn't work. But opening the DAQ assistant, clicking run, and then 'OK' and closing the VI does set the line high.

snip.pngrun.png

 

0 Kudos
Message 3 of 5
(2,366 Views)

Hello,

When you run a code your getting any errors? If NO then use multi meter to check the physical voltage in the port 1 line 6 you should get 5v as output when line is high.You can also use MAX test panel to verify.(MAX-->Devices and interfaces-->USB-6501-->Test panels) in that select port 1 line 6 and make it high then check in multi meter weather you are getting voltage or not.

Expand.Evolve.Influence
0 Kudos
Message 4 of 5
(2,347 Views)

with inputwith input

 

It seems like I needed an input to run the containing VI, which I didn't need when I ran from within the express VI.

0 Kudos
Message 5 of 5
(2,334 Views)