Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

"Event case" can't used in "while-case structure" in touch panel module?

I write a UI state machine VI much like JKI state machine, and used it in touch panel module. 

Event Case In while-case.png

When building, labview prompt error "missing VI or C file ". But this VI is so simple!

I suspect it is because I use "event case " in "case structure".

I have search the ni website, and test the AMC library , and the AMC library works!

In touch panel module, Is there something like JKI statemachine? 

0 Kudos
Message 1 of 6
(5,384 Views)

Hi superlvjf,

 

I did not get any errors running your code, although I do not have the character sets installed so it did not work correctly. When you get an error about a missing VI, does the error include an error number or the name of the missing file?

 

Regards,

0 Kudos
Message 2 of 6
(5,350 Views)

I retried, the building error dialog is ....
111111111111.png

I use labview 2009 , run-time engine 2009 SP1.

0 Kudos
Message 3 of 6
(5,324 Views)

I found some more information on the errors you are getting. There was another forum very similar to this where the solution was to remove any shared variables being used although that does not seem to be related to your program. There is also a knowledge base article here about how a conflict with the mobile module can cause this error. It also looks like there is a second thread you created here. According to that thread your error goes away when you replace the enum with an integer?

 

Regards,

0 Kudos
Message 4 of 6
(5,320 Views)

If you are developing this for a touch panel, which touch panel are you using? Also, if you are doing this in a project, can you post the project?

 

Thanks,

0 Kudos
Message 5 of 6
(5,319 Views)

This VI is just for test. I attached the test project.

It's a simple project, only contains the EventStructError.vi, and builded for windows CE 5.0 ....

0 Kudos
Message 6 of 6
(5,311 Views)