10-16-2008 05:37 AM
I have the one with the sequence now, so I can see what you've done.
You need to put the detection sequence in a separate while loop. The code is executed once and then waits for the burst loop to exit before it can execute again.
10-16-2008 06:28 AM
Thanks,
I try this and tell you fin taht was for that Problem the solution.
Thank you
Martin
10-16-2008 06:31 AM
It seems that it doesn't work. Please kann you send a Printscree or the vi? It is maybe possible that I didn't understand you rightly.
Martin
10-16-2008 06:42 AM - edited 10-16-2008 06:45 AM
10-16-2008 06:49 AM
Ok,
i understand you correct. I have tryied this but it didn't done. What can also be wrong?
Martin
10-16-2008 06:52 AM
Did you also try to option with DIO0 and DIO1?
Could have something to do with simultaiouly reading and writing to the same DIO from multiple loops. The DIO has to be put in a read state or write state and they need to be interlocked. Maybe try a different DIO port instead of
DIO1. Configure port 0 as ouput and port 1 as input.
10-16-2008 07:00 AM
Sorry I can't understand the las tipp. Can you explain more? Should I wire with a hardware wire from DO0 to DO1? please send me your vi screen and tell me how could I try to solve my Problem!
Martin
10-16-2008 07:20 AM
10-16-2008 07:53 AM
Hi,
this variation is better. The numericdisplay tdon is changing the value during the signal is send out on DO0. Now the Problem isn't solved, because the tdon is alway to long on my scope the tim is roundabout 200µs an in the vi displays thousends of µs. What is wrong? how musst I measure the time in the vi? I think I measure the time howlong the sequenz take and not the tdon of the signal!
Martin
Thanks for the helpful tipps.
10-16-2008 08:00 AM
I want top the meassure if the voltage on the AIO is from 5V gone to on 3V. For this I set the theshold on 8200 is this correct? With this settings the tdon time is 4 µs this is to short. The scope displays c.a. 200µs.
What can I try?