Git Product home page Git Product logo

Comments (6)

engrx2019 avatar engrx2019 commented on August 29, 2024

from cfx.

cmalpure avatar cmalpure commented on August 29, 2024

Hi Imran,

Thank you for your response. I was under the assumption that one could use the CFX dll (that takes care of the CFX) from the SDK and use it in LabVIEW. The dll you created, is it different than the dll that comes with the NuGet Package?

~Chetan

from cfx.

engrx2019 avatar engrx2019 commented on August 29, 2024

from cfx.

cmalpure avatar cmalpure commented on August 29, 2024

Hi,

I have followed the instructions given in the below link to install cfx sdk.
http://www.connectedfactoryexchange.com/CFXDemo/sdk/html/cfb57aac-b696-4c6c-b94b-f034b37daf26.htm

As given in the Getting Started page in the above link, I intended to publish a channel to a CFX broker and send a message to the Demo page by following the steps. The only difference is that I am calling the SDK (.Net library and its objects) from LabVIEW instead of using C# in Visual Studio. However, I have been unsuccessful in achieving the task and I keep getting a "NullReferenceException" error at the AddPublishChannel method.

I have gone through the Reference guide to understand the CFX functions and tasks as best as I could. As I mentioned I am new to the CFX standard. I have attached a screenshot of my LabVIEW code that calls the SDK functions through .Net constructor node.

I would greatly appreciate if anyone can point me to the right direction and let me know what I am missing.

Thanks,
Chetan

Error in CFX Publish Channel in LabVIEW

from cfx.

cmalpure avatar cmalpure commented on August 29, 2024

I am still getting a Null Reference Exception Error at the AddPublishChannel method. In regards to that a follow up question:

In the AmqpCFXEndpoint class, I noticed there are two AddPublishChannel methods:

  1. AddPublishChannel(AmqpChannelAddress, String, X509Certificate)
  2. AddPublishChannel(Uri, String, String, X509Certificate)

Which one of the above two methods are called in the example code given in the "Getting Started with SDK page"? Here is the link to that page file:///C:/Projects/CFX-master/CFX-master/docs/html/cfb57aac-b696-4c6c-b94b-f034b37daf26.htm

What value should go in the argument "String" of each of the above methods?

In LabVIEW, here are the two AddPublishChannel methods as shown in screenshot:

image

I look forward to the responses.

Thanks,
Chetan

from cfx.

HaythemLtifi avatar HaythemLtifi commented on August 29, 2024

Hello , i am too trying to set cfx in labview and i am stuck , can i know what your results are? did you manage to pull it off?
Thank you

from cfx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.