LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CIN node executes slower in LabVIEW 7.0 then 6.0.2

I have a VI that uses a CIN node to access a digital camera, recieve viewfinder data and return the data. This data is in turn displayed in a picture control, creating a real-time display on the front panel that shows what the camera is seeing. The whole process worked flawlessly in 6.0.2, the frame rate was fine. I recently upgraded to 7.0 and now the same VI runs a lot slower and the frame-rate has significantly slowed down (a drastic drop to about one frame per 5-10 seconds). I have watched the execution of the problem and have narrowed the problem down to the CIN node. I am wondering if anyone else has a solution/is experiencing the same problem. Any help will be greatly appreciated and the giver of such - worshipped
for generations to come.
0 Kudos
Message 1 of 2
(2,573 Views)
Nevermind, found the answer. The CIN node wasn't declared to be "thread-safe" which caused the poor performance. All I had to do was add a snippet of code into my source code and the VI works like new. The code is available in the "Using External Code with LabVIEW" manual.
0 Kudos
Message 2 of 2
(2,573 Views)