Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Communicating with external device
Message
 
 
À
24/09/1998 14:10:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00140498
Message ID:
00140758
Vues:
31
>Hi : I just got a time attendant clock and I am trying to communicate with it. The manual says for example if I want to activate the buzzer,
>I have to send the following command trough the serial port ( I know how to do that). Unit Id (1) in Integer format, the word BZZR in ASCII format. Does anyone knows what integer format means. The output information has to be sended in alphanumeric so if i do something like : thisform.comm1.output=1, produces an error. Any suggestions, thanks

Integer is a four-byte number. So your integer should look like this:
first three bytes should contain zeros, the last byte should contain 1 (chr(1))
A moment of silence is our cosmic reset button.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform