Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Communication with COM1
Message
 
À
26/07/1997 20:05:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00038834
Message ID:
00047226
Vues:
48
>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
Fil
Voir

Click here to load this message in the networking platform