移动数据终端条码扫描仪如何集成到系统中?

发布于 2024-10-07 02:14:38 字数 776 浏览 1 评论 0原文

我们公司正在考虑使用手持式条形码扫描仪作为库存管理流程的一部分,我对它们如何与现有系统实际集成有一些技术问题。为了澄清起见,我所说的是带有屏幕和键盘的手持式无线条形码扫描仪,它们实际上是微型计算机。通过 802.11g 连接到网络并与数据库实时交互。

我知道这是一个广泛的问题,在某种程度上取决于设备,但互联网似乎缺乏有关该主题的技术详细信息的良好来源。软件开发人员在购买这些设备之前想要了解的信息,以确保它能够在特定情况下实际工作。

我找到了销售它们的地方和基本的销售表,但我正在寻找的是这些设备如何实际编程以及它们如何与后端应用程序通信的详细描述。

具体来说,您是否使用广泛使用的语言(例如 C)对它们进行编程?或者他们使用一些晦涩的专有语言?它是脚本化的还是编译的?

您是否需要在台式电脑上安装特殊软件才能将应用程序加载到扫描仪上?

他们中的许多人表示他们正在运行 Windows Mobile 或 Windows CE。这是否意味着您需要一台 Windows 台式机来对它们进行编程?与他们互动?或者它们可以从 Linux 桌面进行编程并与 Linux 服务器交互吗?

他们实际上如何与后端应用程序对话?例如,它是否通过 HTTP 发送 XML?

我有 Web 开发背景,想象着这把枪运行着一个类似于 javascript 的“瘦客户端”软件,它通过 http(通过 wifi)向服务器发出类似 AJAX 的调用。他们真的或者可以这样工作吗?

我真正想要的是一个名为“编程你的第一个条形码扫描仪”的指南,它教你一步一步创建一个“hello world”程序。这样的事存在吗?

提前致谢!

Our company is considering using hand-held bar code scanners as a part of our inventory management process and I have some technical questions about how they actually integrate with an existing system. To clarify, I'm talking about the hand-held wireless bar code scanners with screens and keypads on them that are actually mini-computers. The ones that connect to a network over 802.11g and interact with a database in real time.

I know this is a broad question which is somewhat dependant on device, but the Internet seems to be lacking a good source of technically detailed information on the subject. The kind of information a software developer would want to know before buying one of these devices to be sure it will actually work in a specific situation.

I've found places selling them and basic sales sheets, but what I'm looking for is a detailed description of how these devices are actually programmed and how they talk to a back-end application.

Specifically, do you program them with a widely used language like C? Or do they use some obscure proprietary language? Is it scripted or compiled?

Do you need to install special software on a desktop PC to load your application onto the scanner?

A lot of them say they're running Windows Mobile or Windows CE. Does that mean you need a Windows desktop machine to program them? To interact with them? Or can they be programmed from a Linux desktop and interact with Linux servers?

How do they actually talk to the back-end application? Does it send XML over HTTP, for example?

Coming from a web development background, I'm imagining the gun running a "thin client" software sort of like javascript, which makes AJAX-like calls over http (through wifi) to the server. Do they or can they work like that?

What I'd really like is a guide called, "programming your first bar code scanner" that teaches you to create a "hello world" program step by step. Does such a thing exist?

Thanks in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一袭水袖舞倾城 2024-10-14 02:14:38

我使用过的所有移动数据终端条码扫描仪设备都预先配置了操作系统。我使用过的所有操作系统都是 Windows Mobile 或 Windows CE。您真正拥有的是一台 Windows Mobile PDA,它恰好具有用于扫描条形码的专用硬件。

因此,“对您的第一个条形码扫描仪进行编程”指南实际上应该称为“Windows Mobile 编程”。有各种网站可以帮助您学习 Windows Mobile 编程,包括 Microsoft 自己的网站 站点。但是,一般来说,您只能在 Microsoft 定义的范式中进行开发。这很大程度上取决于编写使用 Windows CE Platform API,或编写访问 .NET Compact Framework 的 .NET 代码。这也意味着您可能最终会使用某种风格的 Microsoft Visual Studio 进行开发。幸运的是,Visual Studio 还附带 Windows Mobile 模拟功能,因此您无需实际使用物理设备即可进行测试。

编写完基本应用程序后,您可以添加硬件供应商的特定库以访问条形码扫描硬件。测试这个部分需要您实际上拥有一个物理设备。

至于通信技术、协议等,那就取决于你了。如果您从头开始一切,您也必须从头开始构建通信协议。否则,您将必须进行一些研究,以确定是否存在某种您可以购买/使用的预构建通信协议组件。

All of the mobile computer barcode scanner devices that I have ever worked with have come pre-configured with an operating system. And on all of them that I have worked with, that operating system has been Windows Mobile or Windows CE. What you really have is a Windows Mobile PDA that happens to have specialized hardware for scanning barcodes.

So, the guide "programming your first bar code scanner" should really be called "programming for Windows Mobile." There are all kinds of sites that can help you learn to program Windows Mobile, including Microsoft's own sites. But, in general, you are locked into developing in the paradigms defined by Microsoft. This pretty much comes down to writing C/C++ that uses the Windows CE Platform API, or writing .NET code that accesses the .NET Compact Framework. That also means that you're probably going to end up using some flavor of Microsoft Visual Studio for development. Fortunately, Visual Studio also comes with Windows Mobile emulation so you can do testing without actually having a physical device to play with.

Once you've got your basic application written, you can then add in the hardware vendor's specific library for accessing the barcode scanning hardware. Testing this piece will require that you actually have a physical device.

As for communication techniques, protocols, etc., that is all going to be up to you. If you're rolling everything from scratch, you will have to build the communications protocol from scratch as well. Otherwise, you will have to do some research to find out if some kind of pre-built communications protocol components exist that you might be able to purchase/use.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文