I am new with CE and NBasic but I have program in VB6 since time ago. I have a program wrtten in VB6 and I must to translate it to NBasic to work on a CE device. I found some differences but I have too much hurry and thats I write to forum, to get help.
The CE device will control a E/S device trougth RS232. The device works as: \To know the state of the device: I must send chr(6) and wait same answer chr(6) \To read Dig.Input I must send chr(1) and wait answer as number with value needed \ To write in Device I must send chr(3) + chr(Number) and I receive an answer as chr(Number) I try using the MSCEComm control as Sample with the NBasic but I can not control the answer from the device I modify the code as: Sub Read_click() Comm.Output = Chr(1) dim sRead sRead=comm.input msgbox sRead killfocus end Sub And obviously I receive an Error. Can someone help me??. Thanks -- You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en.
