LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Wie kann ich ereignisgesteuerte Stopuhr programmieren?

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.

Regards,
André (CLA, CLED)
0 Kudos
Message 11 of 41
(1,424 Views)

Thanks,

 

I try this and tell you fin taht was for that Problem the solution.

 

Thank you

 

Martin

0 Kudos
Message 12 of 41
(1,420 Views)

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

0 Kudos
Message 13 of 41
(1,419 Views)
Note the Stop button is now set to switched instead of latched, it should be reset before each start of the FPGA code.
 If this doesn't work you can try to catch the DIO on line 1 instead of line 0, on which you output the signal. Wire DIO0 to DIO1.
Message Edited by andre.buurman@carya on 10-16-2008 01:42 PM
Message Edited by andre.buurman@carya on 10-16-2008 01:44 PM
Message Edited by andre.buurman@carya on 10-16-2008 01:44 PM
Message Edited by andre.buurman@carya on 10-16-2008 01:45 PM
Regards,
André (CLA, CLED)
0 Kudos
Message 14 of 41
(1,417 Views)

Ok,

 

i understand you correct. I have tryied this but it didn't done. What can also be wrong?

 

Martin

0 Kudos
Message 15 of 41
(1,411 Views)

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.

Regards,
André (CLA, CLED)
0 Kudos
Message 16 of 41
(1,379 Views)

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

0 Kudos
Message 17 of 41
(1,375 Views)
Yes hardwire DO0 to DI1 on ternimal box. Detect pulses on DI1 in detection loop.
Regards,
André (CLA, CLED)
0 Kudos
Message 18 of 41
(1,359 Views)

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.

0 Kudos
Message 19 of 41
(1,355 Views)

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?

0 Kudos
Message 20 of 41
(1,354 Views)