0

I have been tasked with designing a Visual Basic UI that interacts with a power supply unit, displaying the current and voltage on a RealTime XY Plot.

Any help would be really appreciated. Sorry if my question is vague.

FunThomas
  • 23,043
  • 3
  • 18
  • 34
  • VB6? VBA? VB.Net? – FunThomas Mar 05 '21 at 12:54
  • VB.net, sorry I forgot to mention I am also using HyperTerminal...not sure if that is relevant.....thank you so much! – PhysicsLad Mar 05 '21 at 13:04
  • For .net, a class `SerialPort` exiists, see https://learn.microsoft.com/en-us/dotnet/api/system.io.ports.serialport?view=dotnet-plat-ext-5.0 – FunThomas Mar 05 '21 at 13:06
  • Thank you for the help, unfortunately as I am only a beginner with VB.net the link you provided is only confusing me more. – PhysicsLad Mar 05 '21 at 15:18
  • The example is already as simple as possible (you just need to translate the syntax to VB.Net). You need to create an instance of the SerialPort-class, set the parameter (Port, Baudrate...) and create a Thread that reads the data. – FunThomas Mar 05 '21 at 15:28
  • Thank you, I managed to figure it out from the link you provided. – PhysicsLad Mar 08 '21 at 21:19

0 Answers0