Page 1 of 1

how to connect to different node's trough tcp ip

Posted: Thu Jun 10, 2021 2:28 pm
by ruben123
HI ,

I'm trying to control my power supply's trough tcp/ip
power_suply_V_A_P_with_feedback_minderbelasting_TCPIP_keymapping.fcsx
one power supply
(51.14 KiB) Downloaded 155 times
I worked it out to control 1 power supply .That program works great . but when I'm trying to connected the other one it all goes wrong .
what i tryed so far:
-every powersuply has it's unique ip adress and its on port .
-do i have to close the port every time i connect to another power supply?

I'm totally new in al the internet things

thanks in advantage for your help guys .

Re: how to connect to different node's trough tcp ip

Posted: Thu Jun 17, 2021 11:30 am
by BenR
Hello,

Thanks for posting that looks great. Have you tried using a second network comms component to establish the communications with the second device?

Re: how to connect to different node's trough tcp ip

Posted: Thu Jun 17, 2021 2:04 pm
by ruben123
Hello BenR

I used another tcp_Ip component but no connection with the load at al . I think this would work if i had multiple network cards in my PC but unfortunately I don't have .

Re: how to connect to different node's trough tcp ip

Posted: Wed Jul 07, 2021 7:11 am
by ruben123
hi all

I finaly figuered 8-) it out how to connect to different node's trough tcp/ip and make it look "realtime" i start from scratch again .
now every node has +/- 750ms to speak to the main PC that controls everything .

A question to the developers : when i use the timer interupt the given info about the frequentie isn't right ? i had to go on my feeling wich frequentie works for me becaus the highlighte frequentie doesn't match the real frequentie.

Re: how to connect to different node's trough tcp ip

Posted: Wed Jul 07, 2021 12:46 pm
by BenR
Hello,

Yes we are aware the simulated timer interrupt rate may be a bit off and one of our major goals for the next version is to try and improve this.

Well done on getting it working though and many thanks for sharing with us.

Re: how to connect to different node's trough tcp ip

Posted: Wed Jul 14, 2021 1:44 pm
by ruben123
hi everybody

I encountered next probleme when running the flowchart in simulation my 2ddashboard ended up beining white
the only thing i can do then is close everything en start everything up again

thx again for your help guys

Greetings Ruben

Re: how to connect to different node's trough tcp ip

Posted: Wed Jul 14, 2021 2:43 pm
by Steve-Matrix
Hi.

I've tried simulating your program, but I've not been able to replicate the problem. Were you doing something particular when the error occurred or was there any error message reported?