ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question about running the daqmx example

I'm trying to run DAQMX examples I found on find examples (Digital output on DAQMX section)  ( on labview help) on my NI9485. But when I run the Vis ..nothing happens. But when I test my modulator with Daq Assistant it works. What am I doing wrong?

0 Kudos
Message 1 of 8
(3,519 Views)

@Canucks.canucks wrote:

What am I doing wrong?


Please show us what you are doing

0 Kudos
Message 2 of 8
(3,503 Views)

I'll post once I'm on my laptop . I just ran the vi on finding example . Vi is called digital output

0 Kudos
Message 3 of 8
(3,483 Views)

This one. 

0 Kudos
Message 4 of 8
(3,481 Views)

Nothing happens?

 

One thing happens.  You write a True value to the channel which sends it high.  Then it keeps doing that same thing over and over and over, which isn't going to look like anything because you aren't changing the value.

 

What do you expect the VI to do?

Message 5 of 8
(3,468 Views)

When I send true or false with daq assistant,  the resistance on  my device that is attached to my daq goes up and down . This time it didn't 

0 Kudos
Message 6 of 8
(3,445 Views)

But you are never sending a false in your code.  You are only sending a true.

0 Kudos
Message 7 of 8
(3,436 Views)

As mentioned by RavensFan, the code snippet you included is only sending a true value.

 

Are you seeing the same resistance at your device as when you use DAQ assistant to send true? Are you able to probe the output line to ensure it goes high?

 

Regards,

Alex
Hardware Engineer
0 Kudos
Message 8 of 8
(3,395 Views)