BS2 bidirectional communications
Dirty Howi
Posts: 20
Is it possible to send a command from a pc to a BS2 to have it turn on one/many LED lights? we are skonking something here at the office.
basically we scan a item barcode, look up the item, and based on attributes send a string of numbers "1,4,7" to the BS2 from the PC and have it turn on outputs 1,4,7 which have lights on it.
still awaiting the manuals and kit so thought i'd ask
thanks ya'll.
basically we scan a item barcode, look up the item, and based on attributes send a string of numbers "1,4,7" to the BS2 from the PC and have it turn on outputs 1,4,7 which have lights on it.
still awaiting the manuals and kit so thought i'd ask
thanks ya'll.
Comments
If your PC program can send serial data, then yes absolutely. You can even simplify your example by sending the ON/OFF pattern as a binary number. So up to eight LEDs could be controlled per data BYTE that you send.
Welcome to the forums!
The BS2 can accept serial input via the SERIN command. On a standard BS2 , this is usually limited to 9600 BAUD.
Are you going to use Visual Basic on the PC side, or a custom program?
EDIT: Beau types faster than me.
so something like
1..scan barcode
2..hit service, get lights needed
3..send data to BS2 rig
4..Light up lights
so there will be a test client software, a WCF service to interface to the database, then the BS2 rig to do the actual work