LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice datatable labview

He usado la herramienta Labview para importar un web service y accesar a un

servicio, este servicio me retorna un dataSet (objeto de .net) con el
formato System.Data.DataSet. EL VI en el block diagram esta retornandome una
referencia a una clase de .NET, pero esta no esta asociada a los metodos y propiedades
esperados para un DataSet. Los unicos metodos disponibles son Equals(Object obj), GetHashCode(), GetType() and ToString(). Las unicas propiedades
disponibles son Any, Any1, namespace and tableTypeName.

Es posible manipular objetos DataSet desde Labview? Como?

Muchas Gracias!
0 Kudos
Message 1 of 2
(2,858 Views)

Que tal Luis,
 
En otro post te comentaba la forma de llamar web services desde LabVIEW. 
http://digital.ni.com/public.nsf/allkb/DC2D2A5D64A485F686256D3F005EFB6E?OpenDocument
 
 Veo que estas utilizando la versión 8.2 de LabVIEW por lo cual ya tienes disponible el asistente o wizard para importar web services. Supongo entonces que esta es la manera en la que lo haces.
Hay un paso en el asistente en el cual se debe escoger los métodos que se van a utilizar. Los métodos se importan como VIs.  
Al final pego información contenida en el Help de LabVIEW que indica el procedimiento del asistente.
 
Si ya seguiste estas indicaciones y aún así no tienes disponibles los métodos esperados pudieras intentar la otra forma de llamar al web service sin utilizar el wizard.
 
Espero que esta información te sea de utilidad. Que tengas un excelente día y estamos en contacto.
 
 
 
 
***sección del Help de LabVIEW*** 
 
Import Web Service Wizard
Select Tools»Import»Web Service to display this wizard.
 
Use this wizard to create wrapper VIs based on the methods in a Web service that you specify. You must provide a valid URL to the WSDL for the Web service you want to import.
 
 Note  You must have the .NET Framework, version 1.1 or later, installed to use the Import Web Service wizard. 
 
This wizard includes the following pages and components:
 
- Input the location of a WSDL Contains the following component:
   * Web Service Description URL The URL of the WSDL (Web Service Description Language) for the Web service you want to import.
 
- Input project library information and destination directory Contains the following components:
   *Name (.lvlib) The name of the project library (.lvlib) file you want to create.
   *Destination  (more...)

.. Directory The location to which you want to save the project library (.lvlib) file. You also can browse to navigate to and select a folder.
 
- Select the methods to import Contains the following components:
   *Select Methods to Import Lists the methods you can import as VIs to be included in the final project library file.
   *Check Selected Click this button to add a checkmark for the methods you have selected in the Select Methods to Import listbox.
   *Uncheck Selected Click this button to remove the checkmark from each method you have selected in the Select Methods to Import listbox.
   *Check all Click this button to add a checkmark for all the methods in the Select Methods to Import listbox.
   *Uncheck All Click this button to remove the checkmark from each method in the Select Methods to Import listbox.
 
- Summary Use this page to review the Web service information you have specified before LabVIEW creates the wrapper VIs. You can use the Back button to make any changes. Click the Generate button when you are ready to import the Web service methods and generate wrapper VIs for them. The Completed page appears when generation is complete.
   *Completed Contains the following components:
   *Open Imported Project Library Place a checkmark in this checkbox to open the imported project library (.lvlib) file when the wizard completes.
   *View Report Place a checkmark in this checkbox to view the generated report when the wizard completes.
 

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