Skip to Navigation

Programming (UD)

Comments

#1

This may seem left field, but I am working on a custom application.  I have need to access a Com Port resource that is registered in Windows as an COM asset.  Ex. the program talks to UUT through COM1.  What I would like to do is talk to UUT through ethernet as "COMX" asset, X being 3-16.  Is there "canned" installer to do such?  This would would be awesome, if not no problem I will write it myself.  The UE9 is a great little product .

#2

Are you saying you want to use Windows COM port drivers (serial port) to communicate with a UE9?  That would require a special virtual com port driver.  We have not developed one or used one, but there might be one available that work work.

#3

Yes, that is the jist.  I am accessing an executable that creates a "server" to the COM ports and using the Window com drivers would allow me seemless access through this software.  The end goal is to have a DAC and serial port on the ethernet bus, without having to and maintain a PC.  Its been done in industrial applications for sure, not sure if its been done like using this method.

#4

I believe from the way Windows handles ethernet devices, as long as you can get that COM port to list itself under windows as a valid ethernet connection with valid TCP settings.  I know this is commonly done with USB -> ethernet devices, so it is possible.  I'm not aware of an existing method of doing this for a COM port but it wouldn't surprise me if there is one out there.

#5

How about Perl support for the UE9 ?  UE9 has a serial port-- could I run RS-232 to it and retrieve via ethernet ?

My environment is Debian Linux.  We love Perl as a test language. Python not so much.

Is LJFuse up and running for this project ?

 

Thanks.

#6

To provide more information on serial communication low-level functions, refer to the sections 5.3.17 - 5.3.19 in the UE9 User's Guide.

#7

At the moment we do not provide any Perl wrappers or interfaces for the UD devices, though I can look into that.  Currently if you want to get working in Perl you can look into using the low-level function or Modbus protocols and communicating through ethernet.  There is also the option of using LJFuse or LJSocket (both support Linux and Mac OS X), which provide a file IO or TCP socket interface which should be accessible through Perl.