Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Communications with Serial & USB Ports
Message
De
07/08/2006 14:12:53
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
À
07/08/2006 13:31:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Divers
Thread ID:
01143504
Message ID:
01143530
Vues:
32
Dear Robert,
I sent a sample for you in your email.please check them.
I must say this to you that jimtest form is from my dear friend Jim Livermore Member #010843
He help me till i can read weight from scale .
Another form i found from google search. perhaps in unvirsalthread! its good form.


>James,
>
>Thanks ... this looks exactly like what I'm looking for ... I've only used ActiveX controls a few times so the code examples will help a lot.
>
>Thanks again,
>Robert Wright
>
>>MSCOMM is an activex controls that comes with foxpro. Go to tools->options->controls and select ActiveX controls. You need to then check the Microsoft >Communications Control. Now you can drop that control onto a form.
>
>>Looks like your application will have to be looking for data all the time. >There are events on the control that checks for data.
>
>>Re: MSComm Documentation Message #705364
>
>>James,
>>
>>Each PC will has an electronic scale attached to either the serial port or USB port. When a package is placed on the scale, the scale then sends the communication via the ports to the PC. This is a setup used by UPS for sending weights to their software program. However, we need to make some changes in our database based on the weights of the pacakages before the UPS software creates the shipping label so I'd like to do it using a FoxPro application.
>>
>>What's MSCOMM?
>>
>>Thanks
>>Robert
>>
>>>You can use mscomm to do that using a serial port. Are you going to have to >request the data or is it going to be a steady feed?
>>
>>>I've just been asked to develop an application that will need to pull weights from a scale via a serial port and/or USB port. Can someone tell me were I can find some info how to read data through serial & USB ports using VFP?
>>>
>>>Thanks,
>>>Robert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform