The connection of matlab with vivid scanner through port

2 次查看(过去 30 天)
Hai , i want to make application that can connect the matlab to vivid laser scanner using the port . It is possible to doing this? Thank

采纳的回答

Walter Roberson
Walter Roberson 2011-11-23
It depends which "port" you mean, and it probably depends on which model you want to use.
For example the Vivid 910 has no serial ports, but it does have a SCSI II port, and it probably arrives with device drivers that allow programs to communicate with the scanner.
I have designed direct SCSI device drivers in the past, and they have not been hard to program, especially if you are comfortable building table-driven state-machine type software. Though, just as is the case for any kind of device one might build a driver for, devices with SCSI interfaces might mis-handle particular interface commands, or might have bugs in the device, so some level of trail-and-error and reprogramming is to be expected if you write a device driver for a SCSI device.
Note: you pretty much need to write in C or equivalent to program a device driver yourself. MATLAB does not offer any SCSI interface toolkit.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Language Fundamentals 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by