Hi,
Please, I need a help to solve this problem : (see the diagramm attached)
> We have an modern factory who use weightBridges and weight paletts
> I want to transfert the weight mention on the displayer directly into a database and make differents treatement.
Thank you in advance for your help.
Simon
Data acquisition from a Serial port
Data acquisition from a Serial port
- Attachments
-
- Weight Diagramm.jpg (69.14 KiB) Viewed 16054 times
Re: Data acquisition from a Serial port
Hi, Simon.
You have a set of serial port functions available in the Xbase-Tools-library (part of the prof. subscription, otherwise available as an add-on). All you need in addition are the communication parameters (baudrate, handshake a.s.o.) and the data format transmitted, which should be documented in the data sheets of the scales. Serial communication is quite simple. You need to open the port and permanently ask for new data coming in, receive the data and transform them as needed.
You have a set of serial port functions available in the Xbase-Tools-library (part of the prof. subscription, otherwise available as an add-on). All you need in addition are the communication parameters (baudrate, handshake a.s.o.) and the data format transmitted, which should be documented in the data sheets of the scales. Serial communication is quite simple. You need to open the port and permanently ask for new data coming in, receive the data and transform them as needed.
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Re: Data acquisition from a Serial port
Thanks Tom
I will check the procedure, collete the informations and I will be back very soon.
Simon
I will check the procedure, collete the informations and I will be back very soon.
Simon
Re: Data acquisition from a Serial port
Hi Tom,
I've collected informations about my project (I hope )
1 - xBTolls Serial set
- I have identified in this order
. Com_Open()
. Com_init()
. Com_read()
. Com_close()
- what are the syntaxe and real order ? Can I have a piece of code ?
2 - INDICATORS
- We ha 2 models of indicators ( BCIN-100M from www.epel-ind.com and IDé400 from www.masterk.com)
. BCIN - 100M (see attached data format_BCIN_0)
. Data format 1 + 8 octets
. Transmission 9600, parity NONE, Bits 8
. IDé 400 (see attached data_format_ide400_0 and data_format_ide400_1
How to proceed ?
I think that thoses informations will help you to help me.
N.B If necessary, I can send the technical documentation in my possession.
Regards
Simon
I've collected informations about my project (I hope )
1 - xBTolls Serial set
- I have identified in this order
. Com_Open()
. Com_init()
. Com_read()
. Com_close()
- what are the syntaxe and real order ? Can I have a piece of code ?
2 - INDICATORS
- We ha 2 models of indicators ( BCIN-100M from www.epel-ind.com and IDé400 from www.masterk.com)
. BCIN - 100M (see attached data format_BCIN_0)
. Data format 1 + 8 octets
. Transmission 9600, parity NONE, Bits 8
. IDé 400 (see attached data_format_ide400_0 and data_format_ide400_1
How to proceed ?
I think that thoses informations will help you to help me.
N.B If necessary, I can send the technical documentation in my possession.
Regards
Simon
- Attachments
-
- data_format_ide400_1.jpg (159.41 KiB) Viewed 16004 times
-
- data_format_ide400_0.jpg (126.71 KiB) Viewed 16004 times
-
- data format_BCIN_0.jpg (136.92 KiB) Viewed 16004 times
Re: Data acquisition from a Serial port
hello ngningha
I did something similar with a mark Magellan 8100 Scanner Scanners Retail using Standard RS232 port, the port
serial COM1, COM2, etc.
works great, tell me what your problem to see if I can help.
Nolberto Paulino
Regards
hola ngningha
Yo hice algo parecido con un SCANNER marca Magellan 8100 Retail Scanners que usa puerto Standard RS232, que el puerto
serial COM1,COM2, etc.
funciona muy bien, digame cual es su problema para ver si puedo ayudarle.
Nolberto Paulino
Un cordial saludo
I did something similar with a mark Magellan 8100 Scanner Scanners Retail using Standard RS232 port, the port
serial COM1, COM2, etc.
works great, tell me what your problem to see if I can help.
Nolberto Paulino
Regards
hola ngningha
Yo hice algo parecido con un SCANNER marca Magellan 8100 Retail Scanners que usa puerto Standard RS232, que el puerto
serial COM1,COM2, etc.
funciona muy bien, digame cual es su problema para ver si puedo ayudarle.
Nolberto Paulino
Un cordial saludo
Nolberto Paulino
Regards
Regards
Re: Data acquisition from a Serial port
Hi Paulino,
My problem :
> I want to acquire data directely from an indicator of a weightBridge through a Serial port into a databases
(please see the attached diagram in the 1st Topic)
Regards
Simon
My problem :
> I want to acquire data directely from an indicator of a weightBridge through a Serial port into a databases
(please see the attached diagram in the 1st Topic)
Regards
Simon
Re: Data acquisition from a Serial port
Simon
You can get a connection with TeamViewer_Setup for me to connect to the PC which is connected weightBridge
Try to do a very a small program that I designed to test the door and see what you sent me.
Nolberto Paulino
Regards
You can get a connection with TeamViewer_Setup for me to connect to the PC which is connected weightBridge
Try to do a very a small program that I designed to test the door and see what you sent me.
Nolberto Paulino
Regards
- Attachments
-
- COM_READ.ZIP
- Example
- (18.32 KiB) Downloaded 907 times
Nolberto Paulino
Regards
Regards
Re: Data acquisition from a Serial port
Norberto,
I don't know anythink about "TeamViewer_Setup". How to get the file ? How to implement it ?
we are not on top in technology in Africa.
Simon
I don't know anythink about "TeamViewer_Setup". How to get the file ? How to implement it ?
we are not on top in technology in Africa.
Simon
Re: Data acquisition from a Serial port
Ok
Add me to your MSN to talk, in this way and that way pondeme speak directly and I can explain
digitsoft26@hotmail.com
Add me to your MSN to talk, in this way and that way pondeme speak directly and I can explain
digitsoft26@hotmail.com
Nolberto Paulino
Regards
Regards