Distributed Control & Automation Framework (DCAF)

취소
다음에 대한 결과 표시 
다음에 대한 검색 
다음을 의미합니까? 

Building DCAF PC Engine GUI into executable

I have a standard engine running on a windows host with the UI module that serves as an operator GUI.

I'm attempting to build an executable application, but so far I've had no luck. The application builds, but at run time, it throws the following error:

load class.vi

<APPEND>UI Reference configuration.lvclass

I've tried placing that class in my includes file and including it explictly in the build, but the error persists.

Anyone have any ideas?

0 포인트
1/13 메시지
15,317 조회수

What was the actual error you saw?  I just see error source in the initial post.

Cheers,

Matt Pollock
National Instruments
0 포인트
2/13 메시지
15,063 조회수

Error code: 538500

load class.vi

<APPEND>UI Reference configuration.lvclass

3/13 메시지
15,063 조회수

Testing now with the DCAF shipping example.  Will post with results shortly.

Cheers,

Matt Pollock
National Instruments
0 포인트
4/13 메시지
15,063 조회수

I was able to build a Windows executable out of the shipping example, and the UI Reference module loaded without issue (and the UI itself loads and updates correctly).

I do notice you're calling the configuration class.  Make sure that your includes file has the runtime class, not just the configuration class.

Have you forked the UI Reference module, or is it the one that installs from LV tools network/VIPM?

In building the EXE for the example, I did have to jump through some additional hoops to get it to work.  I had to manually add in the modules that did not live in vi.lib to the build, and also I had to add in some PL_Serialization dependencies that I did not expect to need.  Did you run into any similar issues with other dependencies?  Did you have to do any odd steps to get your exe to build?

Cheers,

Matt Pollock
National Instruments
0 포인트
5/13 메시지
15,063 조회수

I did the build under LV 2013, with the current released version of DCAF Core that is out on the tools network.

Cheers,

Matt Pollock
National Instruments
0 포인트
6/13 메시지
15,063 조회수

I'm using the VIPM version of the UI reference module.

I didn't have to do any odd steps to get the build to complete.

I did have the UI reference runtime class in my includes file.

0 포인트
7/13 메시지
15,063 조회수

Can you post the project so we can debug the build here?  Does building the sample project on your machine cause the same issue?

Hard for us to get a fix without seeing the problem.

Cheers,

Matt Pollock
National Instruments
0 포인트
8/13 메시지
15,063 조회수

Due to work restrictions, I can't post the project publicly. I'll try to build the example and see what my results are.

0 포인트
9/13 메시지
15,063 조회수

By 'here' I meant in Austin, not necessarily publicly on the forum.  My fault.

If there is a way to send us the project securely that satisfies your policies, we are happy to look at it.

Cheers,

Matt Pollock
National Instruments
0 포인트
10/13 메시지
15,063 조회수