Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Can a digital output be use as part of an edge separation measurment

I learn a bit more with each example. I did not know you could specify specific pins of a port in the front panel dialog.

The previous version (the one I modified)  has a strange behavior. It works fine under labview, but when it is called from a TestStand step,
the counter portion always times out and only then are the digital edges toggled. An NI TestStand tech is looking into why this is so. In the
meantime I'll try your new example to see if it behaves properly under TestStand.
0 Kudos
Message 11 of 15
(1,851 Views)
This version also works under Labview but mis-behaves under TestStand. A closer look shows only the first digital write occurs when it should. I  wanted to see this clearly so I wait a few ms, set the pin low, wait a few ms, set the pin high. The second write does not happen until the counter times out. I have implemented this part a few different ways but no go.

I do have TestStand steps which generate a freq fine, steps which measure a freq fine, and count digital edges fine. This two-edge sep vi is not all that different so it is puzzling.
 
0 Kudos
Message 12 of 15
(1,846 Views)

Hi tadk,

I see the same behavior.  I will look into this and get back with you.

Regards,

Laura

0 Kudos
Message 13 of 15
(1,813 Views)

Hello,

It looks like the solution is found in this KB.

Hope this helps!

Laura

0 Kudos
Message 14 of 15
(1,807 Views)
Thanks, this was the problem for some of my VIs.

I am finding it is better to avoid purely parallel execution if possible. I found I could sometimes re-wire the error cluster to pass thru all the subvi in the different tasks. This forces some synchronization to occur.


0 Kudos
Message 15 of 15
(1,801 Views)