LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in synchronization between a Task and a timed loop

This is the second time that I post this message because I realized my question landed on the wrong side of the forum and no one has answered.
So I try for a second last time:
 
Hi everybody,
 
As usual I need help. I have attached my .vi to let you understanding the source of my first problem.
Sorry for the German names of the Vis.
I have a PCI 6289 installed on a  PC Desktop real time target.
I want to have the smaller jitter possible between Input and output. Since for the moment I have a jitter of 0.1 ms at 40 KHz sampling rate I thought that the cause of this random delay could have been the asynchronization between the While timed loop clock and the Hardware timing clock.
So I tried to synchronize them with the use of a Timing source.
Unfortunately the result is not the expected one.
When I press the execution arrow  all is happening is a millisecond or less of execution and then the program stops automatically without any error message,
Why the Vi is not working? Someone has an Idea?
Many thanks.
 
Principiant
0 Kudos
Message 1 of 3
(2,453 Views)
My first thought would be... you want less than 1mS resolution on a PC target? ... Running Windows?
To get a better feel for the error, monitor the error output of the timed loop itself.
Richard






0 Kudos
Message 2 of 3
(2,411 Views)

Hi thans for your answer,

The discussion and the problems are already advanced in another thread.

If you want to follow the discussion see here:

 http://forums.ni.com/ni/board/message?board.id=170&message.id=345956#M345956

Bye

Principiant

0 Kudos
Message 3 of 3
(2,398 Views)