取消
显示结果 
搜索替代 
您的意思是: 

XControl in Linux

Hi,


Does anyone know if XControls are supported under Linux?


I'm using one in Linux (created in Windows), and it is working just fine. But under Linux, you can't actually create one. Also when the XControl is in an executable, the executable disappears when the XControl is on a dynamic vi and the vi is closed.


Are these bugs, or did I take "OS compatible" too literally?


Regards,


Wiebe.
0 项奖励
1 条消息(共 16 条)
3,837 次查看

Hi Wiebe,

XControl is only supported in LabVIEW 8.x professional development system for Linux but not the full development. So you will not be able to create Xcontrol with full development.

Can you provide more information on the executable behavior with xcontrol including the operating system?

Tunde.

0 项奖励
2 条消息(共 16 条)
3,811 次查看
Hi,


We decided to by the Full Development, with a seperate Application Builder. (To save a few bucks, turned out nice). So that explains why I can't make new XControls.


The behaviour is quite simple...


In my application, I open vi references, and start the vi's when required. The vi itself opens a reference to itself to prevent it from being removed from memory. When done the dynamic vi's close their panels and their references. This works fine, except when the dynamic VI has an XControl on it's panel.


When the dynamic vi has an XControl on it's panel, the development version works fine. When we build an executable, the entire executable disapears when the panel with XControl is closed.


If we don't close the panel from the program (the vi will simply terminate, and we can close the panel manually) the exe doesn't crash. But we can't live with this. It's a fancy MMI, and that's just not fancy...


Btw. the XControl itself works as long as it's panel is open. I haven't tried other XControls, but the one I'm using is nothing special. I also didn't test if the exe crashes with any panel that is closed, or just with dynamic vi's.


I use the XControl to display a string with highlighted characters. For now, I can do this with a normal string indicator and some property nodes. This is actually almost the same as the XControl. But I had other things in mind with XControls, that aren't possible in "normal" LabVIEW. Guess I have to improvise, unless someone has a workaround.


Regards,


Wiebe.
0 项奖励
3 条消息(共 16 条)
3,805 次查看
Btw.

LabVIEW 8.2 Full Development
CentOS (100% Red Hat binary compatible)

Regards,

Wiebe.
0 项奖励
4 条消息(共 16 条)
3,805 次查看
Well, this is a shock.

Under windows the executable crashes as well. Would it help if I automatically send the report?

Regards,

Wiebe.
0 项奖励
5 条消息(共 16 条)
3,803 次查看
And also:

LabVIEW 8.2 Professional
Windows XP Professional

(And also: Windows XP Embedded, but that not supported 😉

Regards,

Wiebe.
0 项奖励
6 条消息(共 16 条)
3,806 次查看

HI Wiebe,

Based on the information provided, I modified an Xcontrol shipping example project (attached) below for Windows XP. The project has a VI ("Run Dual Mode Thermo XControl.vi") that uses an Xcontrol. The VI also opens reference to itself (using "Vi server reference") in order to set the (FP.Center) invoke node. The "Call Dynamic VI (Run Dual Thermo).vi" calls this VI dynamically (and closes afterward).

I created an executable (xcontrol executable.exe) for the ("Call Dynamic VI Run Dual Thermo.vi") and was able to run the executable without any error message.

I will suggest you attach a small section of your application that reproduces issue perhaps I might be doing something different.

You can also send in the error report using the automated email system for further investigation.

Tunde

0 项奖励
7 条消息(共 16 条)
3,794 次查看
But, do you start the VI "Run Dual Mode Thermo XControl.vi" dynamically? And then, before you close the reference in "Run Dual Mode Thermo XControl.vi", have it close it's panel.


I'll see if I can make a small project...


Regards,


Wiebe.
0 项奖励
8 条消息(共 16 条)
3,767 次查看
Hi,
 
Here is an example of the crash. Under development env. everything is fine. When an exe is build, it crashes under Linux and Windows. The XControl doesn't do anything, I just put a numeric control on it's facade.
 
If you can find a workaround (to use XControl with dynamic panels), I'd appeaciate if you let me know.
 
Regards,
 
Wiebe.
0 项奖励
9 条消息(共 16 条)
3,741 次查看
Tunde,
 
I just tried out your code, and it also crashes.
 
I simply start the executable, and click the STOP button. Then I have to send a report... The application is crashed.
Perhaps this it is something you didn't try? Or are you using 8.2.1? If that helps I'll upgate without wasting a moment.
 
Regards,
 
Wiebe.
0 项奖励
10 条消息(共 16 条)
3,740 次查看