LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Processing in Time Loop with microseconds.

Solved!
Go to solution

Hello,

 

I am make one application in Labview where I capture the frame of one camera and I processing the image. The camera is communicate with the board NI PCIe 1433 in the PC with camera link. This camera can work with one frame rate of 2000 fps. For processing every frame in the pc I need one time loop that work with microseconds. The problem is that this time loop only work with millisecond in Windows. If I use the module Real Time, Can I configure this time loop with microsecond or are there other solution?

 

Thanks

0 Kudos
Message 1 of 5
(4,112 Views)
Solution
Accepted by topic author xisco

Hi xisco,

 

with LabVIEW Realtime you could create loop with wait states in the microsecond range.

 

BUT:

Why do you think you need such wait states? What is the purpose of these waits?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(4,106 Views)

Thanks,


The purpose of this is controller the application. In this timeloop I obtain the frame and I the processer. If I configure the timeloop with 1 ms I lose frames and if I configure the application with one normal loop I can obteain several time the same frame. The frame rate can change and with this change I configure the timeloop for controller all the time the captures, not lose any and not obtain replay.

 

0 Kudos
Message 3 of 5
(4,073 Views)

Hi xisco,

 

usually there is an option to request the latest sample from a DAQ device. Is this possible with your camera too?

Then the loop would be synchronized to the frame rate of your device…

 

Also: Using a Windows PC to run loops at 2000 Hz reliable (!) is a no-go…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(4,069 Views)

 

In the samples I don´t see any opcion like this. In this moment only I have the samples, I'm waiting the camera. When arrive the camera I will start to test and I realise if it is possible.

 

Thank GerdW

0 Kudos
Message 5 of 5
(4,037 Views)