LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1032 accessing Front panel reference on 6.1 EXE from 7.1.1f2

I am installing a Data Acquisition system developed in 7.1.1f2 (.net 2.0 patched).  The system has 4 device drivers reading data from different components (SCXI DAQ, OPC/DSTP, DLL Library, and a Labview 6.1 executable)  When I got on site, I modified the 6.1 EXE's INI file to allow TCP access to * and export * on a specified port.  The driver accessing the 6.1 EXE was reading the digital values correctly but I also needed to read XY Graphs along with the plot configurations and coloration.  I then wrote a simple debug VI that Connects to the 6.1 EXE's Win 2000 Machine the Application reference succeeded, I open a reference to the exported main vi and seem to access all the properties and methods of the VI except the Front Panel calls.  Some of the calls return invalid data (read this is the default result if an error is encountered)and when I try to get the Front panel reference I get error 1032.  I need to get this working in order to get the control references of the waveform graphs, in order to get the plot information. 
 
Things I tried:
 
1 - I have tried accessing the FP reference from a different machine running LV 7.1 but still get the same error.
2 - The 6.1 EXE belongs to our client and we cannot modify it, but I have reinstalled it from the backups with no change.
 
I don't have any idea how to proceed..
 
What else can I verify on the remote VI server,  Is there another way to read the plot data from a graph?  (VI ref --> Get control value mostly works untill the fill color changes on the plots)
 
Any Help / guidance would be appreciated.
 
Darcy
0 Kudos
Message 1 of 2
(2,942 Views)
Hello Darcy-

It sounds like you are running into a common problem when trying to access a front panel on a remote executabel. The following KB gve a  bit more clarification on teh nature of the problem adn a possible workaround. The workaround will require modification of the EXE you wish to control, and it sounds like that may not be an option for you.

http://digital.ni.com/public.nsf/websearch/B36BCCBFEBECF4F486256C69005D49C3?OpenDocument

If the Vi you wish to communicate with is not written to share its data in any way, it is going to be difficult/impossible to read the the waveform vales from that VI.

Xaq

Message Edited by Xaq on 11-21-2006 03:29 PM

0 Kudos
Message 2 of 2
(2,924 Views)