NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Use NI Max to generate a port line (i.e. port 1, line0) toggling square wave?

Is there a way to internally set up an NI Max Task to generate a port line toggle (i.e. port1, line0) as a toggling square wave?   

 

I know I can do this manually in NI Max by manually clicking on the port1 line0 output pin.  There must be a way to set this up as a task and have it run.   This doesn't even have to run continuously, just a few seconds toggling at about 1 time per second.

 

Any hints or suggests or an example that might show how to do this would be greatly appreciated 

0 Kudos
Message 1 of 3
(77 Views)

Sounds like a job for a counter. Or you can write a program that controls that line however you need.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(52 Views)

The key request here is "internally":  I want to use NI max alone to have this square wave generated-- while I use NI Max to read other analog inputs and generate other analog outputs.

 

It turns out this would be necessary for troubleshooting other (external to the NI board) circuits as that square wave would enable them.

 

0 Kudos
Message 3 of 3
(11 Views)