Control IP device
Slavik
Posts: 18
How I write module for IP device with duet , server or clilent?
Have I to use java.net packages or Duet already have packeges
for IP NetLinx programming?
Thank you.
Have I to use java.net packages or Duet already have packeges
for IP NetLinx programming?
Thank you.
0
Comments
- Chip
Foundation profile (both JSRs) has .net package. Version 1.1 (JSR 219) has even Secure Sockets support. As to specific AMX network packages you better ask AMX support. In any case may I ask you to post us with your findings - the issue sounds interesting?
Hello All,
I tried to write classes for IP device control and it works. Please find this classes in the attachment below.
During of programming I encountered with couple of problems.
1. The method getDPS of class netlinx device not working at all.This method is needed for binding local device of NetLinx with specific socket and event on socket.
2. The package sun.io not working either . This package help to convert char to byte and visa . I handle data stream as chars, sometime I need to handle data as bytes.
3. I handle data in fixed array and I wish to handle data with dynamic array size.
Who have suggestions for improving or changing this classes ,please advice.
I doubt they included sun.io, can you try java.io instead?
if (true)
{
giveSuggestions(IPControl)
}