No. 612 | Re: Re: ezVSP scripting | 2011-04-30 | ||
---|---|---|---|---|
Hi, Thank you for your answer. The first part of the answer is ok and the script is that I need. The second part, multiple COM ports, is quite different. I have a software that uses COM3 to communicate with the controlled device. Using ezVSP and serial to Ethernet converters, I can control several devices geographically distributed at differente times. However, the software uses only COM3, so I have several scripts, one for each location that needs to be loaded by VSP to allow the connection to the remote site. I need an automatic method to load the script other than using the coniguration screen of ezVSP in order to create a friendly interface to my customer avoiding several steps configuring services. I hope the explanation is better than the first one and Sollae System have an answer to that. Regards, Hector > SollaeSystems wrote: > ------------------------------------ > This is technical support team of Sollae Systems. > > There is a script fuction of ezVSP (upper version 3.x) > > I understand your question means "How can I create several virtual ports by script?" > > Am I right? > > You can create a virtual port by using a txt file like bleow example.(test.ini) > > * test.ini > ================================== > [COM10] > Comment=sensor #1 > Network=0 > HostAddr=172.16.0.1 > HostPort=1471 > LocalPort= > SSL=1 > RFC2217=0 > Sync=1 > Log=1 > > [COM11] > Comment=sensor #2 > Network=1 > HostAddr= > HostPort= > LocalPort=1470 > SSL=1 > RFC2217=0 > Sync=1 > Log=1 > > [COM12] > Comment=sensor #3 > Network=0 > HostAddr=172.16.0.2 > HostPort=1471 > LocalPort= > SSL=1 > RFC2217=0 > Sync=1 > Log=1 > ================================== > > And then If you use this script, click the button(File -> Open script) and select the file you saved(test.ini) on ezVSP. > > You can create any number of the virtual port easily. > > If you have any other question, please contact us. > > Have a nice day. > > Thank you. > > > Hector wrote: > > ------------------------------------ > > Hi, > > > > I'd like to know if there is a method to load a new ezVSP configuration stored in a script automatically using an API. The reason of this request is because we have several locations to control using the same PC. > > Regards, Hector |
Writer | Hector | Company | WT Ingenieria |
|
|||