12-07-2007 06:20 PM
I forgot to add this vi:
Frank
12-07-2007 06:22 PM
12-10-2007 11:21 AM
Dennis,
I tried this vi in place of the one used on ch2, I left ch1 with the original. I still get inconsistent data. Also the "Find all Trigger Locations for 1 Channel.vi" provides an array instead of a single number of LV 8.5 version.
If is not possible to get consistent data with these vis, is there a way to analyze the data coming from the scope and find the "low" and "high" levels as I am dealing with a digital signal 0 to 5V? Specifically I need to know the time that takes for the second waveform (ch2) to go high (including any bouncing of the signal). Once I have this info a could send a command to the scope to set cursors at the beginning of the trigger and at end of 2nd waveform (ch2), then get delta value of these cursors location. Thanks,
Frank
12-10-2007 02:48 PM
Dennis,
I have created a custom waveform using a PIC micro and I was able to check the accuracy of "Find all Trigger Locations for 1 Channel.vi," which it is accurate and consistent everytime. But still can not get the total delay time including bouncing time. I have made changes you recommended previously but still no luck:
"Yes you can. One way is to modify the trigger detection function so that it returns an array of points that meet the trigger condition. On the block diagram, you'll see a control called 'Max number of trigger points'. This control is hiddent so you'll first want this to be visible. You can then set this to some high number. The call library function node is already set to return an array of locations. Instead of indexing out element 0, just convert the entire array to relative times."
Could you please let me know what I am doing wrong or how to correct this issue. Please see attached vis and picture. Thanks again,
Frank
12-10-2007 03:44 PM
12-10-2007 04:38 PM
Lynn,
Thanks very much for your susggestion and it works!
Also, the suggestion proposed by Dennis works now (I made a mistake in selecting time vs index).
Thanks very much to both of you for your suggestions in this matter! ![]()
Frank
01-29-2008 12:20 PM
01-29-2008 12:29 PM
01-29-2008 02:46 PM
01-30-2008 10:06 AM
Lynn,
I made the following changes but is not working. I need to detect relay's switching time as well as DC level when no relay is present. Any suggestions? Thanks,
Frank