Results 1 to 9 of 9
  1. #1
    mejia.j88 is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Nov 2011
    Location
    california
    Posts
    228

    Question Can access communicate with hardware?

    I have created a database that records the quantity in and quantity out, of our part numbers. this is a really tough estimate because we have thousands of pieces per part, and it's too time consuming to actually sit an count.

    my company has purchased a high readability analytic scale with a rs-232c port and im wondering if access has the ability to communicate with the scale.

    what i want to do is simply: weigh the part on the scale, send that number to access, reweigh the part after rejects are taken out, and also send that number to access, where i will have a code that will determine how many pieces are left.

    is this a possibility with access?

    thanks,


    Jorge

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    the "communication" that you speak of, my friend, happens because of software. I doubt that scales have software in them.

    software = anything written in a computer language and/or signals transmitted via radio waves/other waves.

  3. #3
    mejia.j88 is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Nov 2011
    Location
    california
    Posts
    228
    that's funny, because we've done something similar with labview, just not with access; pal.

  4. #4
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    Quote Originally Posted by mejia.j88 View Post
    that's funny, because we've done something similar with labview, just not with access; pal.
    OK, so the labview thing must be more than a piece of hardware, eh PAL? if this is it: http://www.ni.com/labview/

    looks to me like it's SOFTWARE. ???

  5. #5
    John_G is offline VIP
    Windows XP Access 2003
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    ajetrumpet - why don't you be a little less condescending, and a little more helpful? Attitudes like yours we can do without.

    meija - I suggest that you first consult the user guide that came with the scale to determine what it expects from and puts out to the rs232 port. Since the scale is a peripheral device (same as printer, for example), it should have a device driver that you install on the PC to enable programs to communicate with that device.

    See if you can find this out and post back.

    John.

  6. #6
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272

  7. #7
    AdventureBob is offline Novice
    Windows Vista Access 2007
    Join Date
    Nov 2011
    Location
    kabul
    Posts
    13
    We read bar codes into access and/or sql backends. The BC scanner is an input device just like the keyboard. The thing that makes it work is the driver from the device. For our scanners there was nothing done to our DBs. Conversly if your in the wrong field on the form, it will stick the number in that field when you scan. The numbers are linked to the products tbl and it then populates the form with the product data.

  8. #8
    hertfordkc is offline 18 year novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    481

    How many input devices are you concerned with?

    Apologies. Misguided. Ignore.


    Quote Originally Posted by AdventureBob View Post
    We read bar codes into access and/or sql backends. The BC scanner is an input device just like the keyboard. The thing that makes it work is the driver from the device. For our scanners there was nothing done to our DBs. Conversly if your in the wrong field on the form, it will stick the number in that field when you scan. The numbers are linked to the products tbl and it then populates the form with the product data.
    -------------------------------------------------------------------------------------------------------------------------------
    In your original post, a scale was mentioned. The last post suggests several devices. In either case, my first thought was "How is everything synchronized?" In other words, does the device(s) trigger a "sample", is the sampling on a timer, or does the user push a button? It seems that you may need a buffer routine which collects the data, and then presents the buffer to Access by triggering an event.
    Alternatively, Access could sample the buffer on a set cycle and store all of the data to be grouped somehow. As long as each device had a particular slot in the buffer and table, a record could be populated with a single device reading.

    Not on point.
    Last edited by hertfordkc; 11-16-2011 at 07:29 AM. Reason: Misread thread, addressed wrong issue.

  9. #9
    AdventureBob is offline Novice
    Windows Vista Access 2007
    Join Date
    Nov 2011
    Location
    kabul
    Posts
    13
    hertfordkc
    You kinda missed...Im not the OP.
    I was posting an example of an external device feeding a DB.
    I think he only cares about the scale.

    The question I have for him is: are there any two parts that weigh the same? Are there any combinations of parts that weigh the same as a single part? Are there any groups of parts that could weigh the same as another different group of parts? Is there enough variance on the weights that any of these two conditions could be possible? If the answer to any of these is yes then your method wont be accurate. Weighing things usually works with homogenous objects like money, bullets, meat.

Please reply to this thread with any new information or opinions.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums