Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Communications with Serial & USB Ports
Message
 
To
18/12/2006 09:20:39
Reza Meamar
Homa Programming Group
Shiraz, Iran
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Miscellaneous
Thread ID:
01143504
Message ID:
01178730
Views:
30
>>>OK
>>>i will send the form for you .
>>>please wait
>>>
>>>>Reza,
>>>>
>>>>I replied to Robert's email at first accidentally...
>>>>
>>>>I am struggling with the same thing that Robert was corresponding with you about and wonder if I might ask for your assistance to in the form of some sample code.
>>>>
>>>>
>>>>
>>>>>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 very much

Colin
>>>>>>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
>>
>>Reza
>>
>>Any chance you could send a copy of the form to me at colin@colin-northway.com?
>>
>>Thanks very much
>>
>>Colin
>
>i send anythig i have!
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Previous
Reply
Map
View

Click here to load this message in the networking platform