LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

OPC Client running on windows embedded

I try to use the exemple OPC CLIENT on windows embedded and i receive this message "data member not found".
0 Kudos
Message 1 of 5
(4,149 Views)
Hi plabarre,

What is the exact name of the OPC example that you are trying?  There are a few different OPC Client examples that are provided by NI.  Is this one of the examples that ships with LabVIEW or is it one from ni.com?  Also, what kind of embedded device are you deploying to?

Where exactly are you receiving this error message?  Is it showing up as an error popup or is it showing in an error box on the front panel?  Are you able to use LabVIEW Trace Execution in order to determine at what point in the example the error is being encountered?  Do you receive a numeric error code?

If you can provide the answers to the questions above, I should be able to help determine what the problem is.
0 Kudos
Message 2 of 5
(4,123 Views)
I use labwindows CVI, i try with the examples that ships with CVI.
 
I use Wyse V90L with Windows XPe (computer www.wyse.com) ), if i use the same example on winows XP it's work.
 
The error is in a popup panel with out error code.
 
Thanks
 
 
0 Kudos
Message 3 of 5
(4,105 Views)
Hi plabarre,

There are a number of things that might be causing this issue.  First, you will need to verify that your DCOM settings are correct on the Windows XPe device as well as that the OPC server is setup to allow the XPe device to have access to it.

Additionally, this may or may not work, depending on how Wyse has configured this device.  As Windows XPe is a componentized version of the Professional edition of Windows XP, the original equipment manufacturer is free to choose only the components needed.  If they have removed any of the many components used by this example, this could also be causing the problem.

My suggestion would be to start by verifying that the DCOM settings are correct on the device.  Additionally, are you able to run other CVI programs (non-OPC) on the device?  You will also need to narrow down what section of the code is throwing this error.  Does this happen when you click Start? Select Source? etc...
0 Kudos
Message 4 of 5
(4,073 Views)

Hi Jonathan,

I have check in DCOM and everything seem to be ok. I have test an application without OPC and it working.

Do you know what "OPCCLIENT" need to run ? I have test OPC Quick Client from Rockwell Software and he work normaly. I have made a connection to "National Instruments.OPCDemo:SINE:0.0..." with "OPC Quick Client" and it's work. So the problem is in "OPCCLIENT"

The program bug at this line :

hr = DS_GetDataType (dsHandle, &type, NULL, NULL); 

the message is : Member not found

Thanks

Philippe

 

 

0 Kudos
Message 5 of 5
(4,054 Views)