Jump to content

BDeV

Newbies
  • Posts

    1
  • Joined

  • Last visited

Everything posted by BDeV

  1. We have FM tied in to our department notification systems. We are attempting to use an industrial PLC to trigger one of these notifications. We have written an in-house application to connect with the PLC in C#, now we are attempting to get that C# application to run a script on the FM server. Any thoughts? We have attempted to use the FMdotNet__DataAPI, that however, is not working because of an SSL issue, namely we are running the default certificate. Here are some code snippets for the integration of FMdotNet__DataAPI: var fmserver = new FMS18(server, testAccount, testPassword); // server is the IP address, however we can change that to <computername>.local fmserver.SetFile(testFile); // the DB file on the server token = await fmserver.Authenticate(); // after the above line, token is "Error - Object reference not set to an instance of an object." If there is an easier way to communicate with the server, i will happily accept suggestions. Like i said before, we only need to run a single script (all vanilla FM script steps).
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.