Skip to content

Exposes the listening net address on New TCP Slave #14

@MathieuR-Iolas

Description

@MathieuR-Iolas

Hello,

I'm working on a project in wich I have to emulate several TCP slaves. And I am wondering how to get this using the LabVIEW-Modbus-Library, because I didn't find any way to specify a network interface (or address) when instanciating a new TCP slave.

I just discover that it is possible on TCP Create Listener function to specify a net address. Fine, it should be the way to have independant multiple slaves !

I finally reach this GitHub repo, then the issues, including the #6 mentionning the password applyed when building the package (with a pro version of VIPM). So diving into the code using this password, I reach the diagram of TCP Slave.lvclass:Create Listener.vi

TCP Slave lvclass_Create Listener vi

Nice! So this functionnality is already implemented. The only missing entry point is a way to set the value of listening net address when creating a new TCP slave. I guess it could be an optional terminal on the Create TCP Slave.vi connector:

Create TCP Slave (modified)

I don't have a 2014 LV config at this time. I'll try to find a moment to set up one, in order to implement this (implementation shouldn't be long, compared to to the LV setup time)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions