10-16-2008 02:25 AM
Hi,
wie kann ich eine Stoppuhr programmieren, die auf einen externen positiven Spannungssprung am DIO0 reagiert und startet und durch einen Sprung von 5V auf z.B. 3V am Analogeingang AI0 stoppt und die Zeit für eine spätere Auswertung speichert?
Martin
10-16-2008 02:28 AM
Sorry ich habe vergessen zu sagen was für eine Hardware ich genau nutze. Ich nutze die Karte Rio 7833R und die Box SCB 68. Die Zeiten die ich messen möchte liegen typischerweise so um di 200µs.
Martin
10-16-2008 03:30 AM
Seems your hardware has a FPGA.
First thing to do write code that can read DIO0 and detect transitions.
Second thing to do write code to read AI0 and detect voltage jumps
Third thing to do write code to store the time to be measured
Fourth thing to do write code to measure the time between a DIO transition and a voltage jump on the AI0
10-16-2008 03:40 AM
Thanks for the help!
I tried this but it didn't work. Please can you take a look at the vi send_comand.vi from my Project? Please can you maybe correct my code? I try and try but it wouldn't work how I want that it should work.
Martin
10-16-2008 03:42 AM
10-16-2008 03:57 AM
10-16-2008 04:07 AM
Sorry !
That was teh Wrong Version of my work. I work on twice PC one for LabVIEW an other Electonicthings and the other for Internet. So now it should be the right Version. Please can you maybe look on this Version in the VI send_command.vi
Thanks and sorry that I want help and send the wrong Version of code.
Martin!
10-16-2008 04:37 AM
10-16-2008 05:13 AM
Why not?
Isn't there a squenz with the dedection of DIO0?´I could not understand why this is not submitted. I try it again to submit. The last try
thanks
Martin
10-16-2008 05:15 AM