Click here to Skip to main content
15,896,726 members

Comments by Henry Z. (Top 10 by date)

Henry Z. 5-Feb-21 23:38pm View    
Please try posting some code for us to review. It's impossible to know what's not working when no code is given, that being said make sure all the dll's in the debug folder are also in the release folder. I use Aforge web camera capture and it's rock solid and works in debug as well as release.
Henry Z. 9-Jan-21 14:14pm View    
Ralf, you really need to try to understand the code instead of just copying it from the internet. The code you posted is very poor, for example serialport, serialport1 and serial1 are all mentioned in your code which is implying three different serial ports. Your code as it stands here will do nothing since the code never mentions .open for serialport1 which is in your serialport1_datareceived event and the serialport1_datareceived will never be ran because you never assign the datareceived event to the sub routine... My suggestion to you is to open up hyperterminal and see if your scale is configured correctly for outputting the weight to the serial port.
Henry Z. 8-Jan-21 16:31pm View    
Welcome and thanks for asking a question. What is the make and model of the scale controller you are trying to connect to? Most scale controllers have two modes which are "Demand" and or "Continuous". Demand will send the weight after a command is sent to the scale controller through a serial port whereas "Continuous" will output the weight continuously without any user interaction. You can usually configure your scale controller for either mode but for that you will most definitely need either a manual or you have to contact the manufacturer of the scale controller.
Henry Z. 8-Jan-21 16:28pm View    
Deleted
Welcome and thanks for asking a question. What is the make and model of the scale controller you are trying to connect to? Most scale controllers have two modes which are "Demand" and or "Continuous". Demand will send the weight after a command is sent to the scale controller through a serial port whereas "Continuous" will output the weight continuously without any user interaction. You can usually configure your scale controller for either mode but for that you will most definitely need either a manual or you have to contact the manufacturer of the scale controller.
Henry Z. 23-Nov-20 1:55am View    
It's hard to help out when you don't provide the Make and Model of the device you are trying to connect to...