Long story short, I haven’t had any luck finding information about how to set up the serial port options (e.g. Baud Rate, Parity, etc.) of a serial module (SNAP SCM-232) through vb.net.
I downloaded the “PAC Serial Module” vb example, and sometimes it communicates and sometimes it doesn’t. The devices I am trying to communicate with have different communications settings than the standard settings of the opto module. I have to set up the port options through the Pac Manager (9.6) software before I connect via the PAC Serial Module vb project every time I turn off the opto rack, as they keep returning to their defaults. For the system I’m setting up, this needs to be able to happen in the background through the vb.net program. The operators of the system can’t be required to reconfigure the module through the Pac Manager software.
Can anybody provide example code or a link to some? Or let me know which documentation might contain the answers I’m looking for? I tried to look in a few of the manuals, but was not able to locate the proper information.
Not sure if the Forums is the most appropriate place for this, but here’s hoping it helps somebody else in the future with my same question.