LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does my program run fine in highlight execution, but not normally?

Solved!
Go to solution

Hey everyone,

 

So I created a program which works fine (producing an intensity graph) when I highlight excecution, but then when I run the program without the highlight execution, the output intensity graph does not appear. I have attached a copy of my program for reference. Thanks in advance for the help!

0 Kudos
Message 1 of 3
(2,169 Views)
Solution
Accepted by topic author BoilerUp81

What type of error are you seeing? What is not working?

 

I don't have any of the subVIs that comprise your VI that you posted so it would be difficult to say what is happening but I suspect you are running into some sort of timing issue. When you run with execution highlighting turned on you slow the execution way down. When running normal things may run before the system is ready. Perhaps your camera initialization takes time to complete (on the hardware itself) and when you run in the normal mode you are trying to access it before it is ready.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 3
(2,161 Views)

2nd what Mark said. You probably have a timing/dataflow problem.

PaulG.

LabVIEW versions 5.0 - 2020

“All programmers are optimists”
― Frederick P. Brooks Jr.
0 Kudos
Message 3 of 3
(2,153 Views)