04-28-2006 02:36 AM
1. No! In order to see the diagram at all or make any changes to a VI you need the Development system.
@Mordred wrote:
Hi people, just a couple of questions regarding LabVIEW Run Time Engine this time.
Current situation: VI files were built using LabVIEW 6.0 on Linux. Shared libraries (.so files) were created and compiled with gcc and previously linked to VIs built under LabVIEW 6.0.
Questions:
1. Is it possible to have only LabVIEW Run Time Engine 7.1 installed in order to edit the VIs(not execute them) and be able to update the VIs and save them as under LabVIEW 7.1? After that, are they able to be executed under 7.1 and how do I go about updating the VIs (as in are there any special instructions)?
2. If I want everything to be under 7.1 now, does it mean I need to recompile all shared libraries (.so) involved?
3. Is it possible to just link the shared libraries without recompiling them with only LabVIEW Run Time Engine 7.1 installed and without Run Time Engine 6.0?
4. Since shared libraries were compiled using gcc and g++, does using the correct Run Time Engine version has any effect on whether they can be linked or not (using 'Call Library Function')? Are there any connections?
Would appreciate it if anyone can enlighten me on these issues. Thanks a bunch.
04-28-2006 09:04 PM
04-29-2006 04:41 AM - edited 04-29-2006 04:41 AM
This is just about a hypothetical bug. Nothing specific I would know! But there might be a chance that something got fixed in a newer release that might have caused problems in the past. The (limited) work with the Call Library Node I did in LabVIEW 6.0 and later for Linux did not show any bug.
@Mordred wrote:
Tell me more about this Call Library Node bug. Is there a link I can go which provides this information or any bug fixes?
Message Edited by rolfk on 04-29-2006 11:42 AM
06-29-2006 11:24 AM
06-30-2006 10:31 AM
06-30-2006 01:08 PM
06-30-2006 01:32 PM
08-09-2006 01:33 AM
08-10-2006 04:46 AM
LabVIEW int32 is equivalent to standard C long. As to telling about the reason for the crash this is not possible without seeing the code and possible debugging it in realtime. It definitely has to do with something like overwriting past the end of the string buffer (eg not allocating a long enough buffer in LabVIEW to pass to the shared library). Unfortunately a crash does not always happen exactly at the moment your shared library overwrites illegal memory but it can take a while before LabVIEW does access the corrupted memory. So there can be many points where your shared library just messes up.
@Mordred wrote:
Hi,
I created a vi file which calls another shared library(compiled with C++) to read from the serial port using Call Library Function node.
It starts to read ASCII data from the Linux ttyS0 port but after a maximum of 3-5 minutes, it just shuts down/program closes by itself without any warning message.
In the vi, I passed two long variables (I specified int 32 in LabVIEW 7.0) to the C++ shared library which it calls. Then I specified a string return, which gives me the read ASCII data.
Are there any discrepancies between LabVIEW's length of a long variable and the C++ file?
What seems to be the cause of the crash?
Very much in need of help, would really appreciate anyone's take on this.
Thanking you in advance,
Mordred