Join us today!

F_VN_CopyIntoDispla...
 
Notifications
Clear all

[Solved] F_VN_CopyIntoDisplayableImage Function - Unknown Exception Code

4 Posts
2 Users
1 Reactions
491 Views
IOTea
Posts: 28
Topic starter
(@iotea)
Eminent Member
Joined: 2 years ago

Hello everybody,

I am streaming pictures using the File Source, however, I am getting the exception below at line 12. The F_VN_CopyIntoDisplayableImage function is throwing an unknown exception.

I would appreciate if anyone guides me through how to fix this error. Thanks a lot in advance!

exception

 

exception2

 

exception3
Reply
3 Replies
2 Replies
IOTea
(@iotea)
Joined: 2 years ago

Eminent Member
Posts: 28

If I use F_VN_TransformIntoDisplayableImage instead, I don't get an exception until I open the 'ADS Image Watch' window. 

transform

 

adsImageWatch
Reply
IOTea
(@iotea)
Joined: 2 years ago

Eminent Member
Posts: 28

Found the problem!!! 

I was running an older version of TwinCAT 🤯 

That's what I had.

old

From the infosys website, the minimum version should be 4024.17 at least. 

version

After installing the latest version, I was able to get it working! 

newversion

 

adsimagewatch

 

Reply
Posts: 1
(@tsri06)
New Member
Joined: 1 year ago

Hi IOTea, Have you tried using CopyToDisplayableImage too ? 

Reply
Share: