LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Machine Vision ROI Error Issue

Solved!
Go to solution

Hello everyone, when I was using the ROI tool on the image control, the ROI data property node of the image control couldn't be read and reported an error. I don't know why. If anyone knows the reason, I would be very grateful. Thank you!

1.png

1.png

 
0 Kudos
Message 1 of 5
(160 Views)

Happened probably because you on RT Target.

Using Property Nodes in Real-Time Applications.

Unfortunately haven't RT in my hands (on desktop it works without any problem).

 

Message 2 of 5
(135 Views)

Oh, thank you for your reply, Andrey Dmitriev! What you said does make sense, and I have indeed encountered issues with property nodes on RT targets before. But what's really exhausting is that I spent a whole day researching it, then tried formatting my IC-3173 and reinstalling the software, and then it "miraculously" worked.😅

0 Kudos
Message 3 of 5
(89 Views)

Oh, I discovered that this has nothing to do with reinstalling the system. It's because of the "Enable Embedded UI" option. In the NI MAX software, under the startup settings section of the IC-3173 system settings interface, there is an option called "Enable Embedded UI." When you turn this option off, the ROI property node of the image control works normally without errors, but you cannot use the Event Structure for static events properly. On the other hand, when you turn this option on, the opposite happens: the ROI property node of the image control cannot be used normally and reports an error, but the Event Structure for static events can be used. I don't know if this is a bug, causing me to have to make a trade-off.😅
For more details, please refer to this page.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019UiySAE&l

0 Kudos
Message 4 of 5
(70 Views)
Solution
Accepted by topic author ddddd212

I have solved this problem and hope it can help people who want to develop machine vision projects on RT. The solution is to create ROI information by reading the image ROI information from the image control.

0 Kudos
Message 5 of 5
(30 Views)