>Hi Francois!
>
>Sorry for this late reply but I have had some days vaction!
>
>In my software I have this main.prg
>
>DO FORM TS60
>READ EVENTS
>
>In the init event off my form I have the following code:
> WITH THISFORM.TS60
> .CommPort = 1
> .Settings = "9600,N,8,1"
> .InputLen = 1
> .RThreshold = 0
> .PortOpen = .T.
> ENDWITH
>
>In the destroy event off my form I have the following code:
>THISFORM.TS60.PortOpen = .F.
>
>I dont know if this is nesessary but it is working. I compile my app to a exe and it is running ok.
>
>I understand from your mail that there is no problem with the *.ocx itself.
>
>If you have problems other than this, I need to know some more off your code to see what the problem is.
>
>Best regards
>
>Per Simmersholm
My ActiveX (MSCOMM32.OCX) is now ok, what I need is a delay to get the response from the scale. you know some computer is faster, and when he is faster, i lost the response. I put a delay of one second and everything is ok.
I'm sorry for this very late reply.
I don't have a permanent access to the WEB.
Many thank's for your concern!
Francois Durocher
Troppus-DICOM
(MIS)
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement