By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,620 Members | 1,512 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,620 IT Pros & Developers. It's quick & easy.

keyence bt-w250 serialport problem IO Exception

P: 2
when i run this code at device MC3090 handheld that no problem . device will pop out bluetooth UI(UI from handheld) to let me connect.

dim Comport as new serialport
dim port as string () =serialport.getportnames
for i as integer = 0 to port.length
with
with Comport
.portname=port(i)
.open
end with
writeInPrinter() 'send command to printer by using Comport .write("Something")


but when i run in device keyence BT-W250GM it will cause ioexception(the status have the problem i think the status have open by handheld. but if handheld have connect to device . then how can i send command to printer and let printer write it out...what instance should i call for instead my comport.write... ).i have debug and this happening while open the comport. i have no any idea. anyone have kind of experience for solve this kind of model handheld? pls help me
Feb 16 '19 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.