I have a vb.net application that needs to catch the readings from a barcode scanner in a TextBox.
As far as I know, the scanners work sending the data as keystrokes, but I dont know if that still applies when it's connected via Ethernet cable
Well, to get to the point, will the scanner send the data automatically to the textbox? or it will be necesary to work with sockets to handle the readings? and in that case, can some please point me in the right direction.
Thanks in advance.
-x-
In case you ask, the scanner is a COGNEX DATAMAN 500QL
Have you tried downloading the software and drivers from their support site?
Related
I have a vb.net application that is able to read gps info from gps connected to usb. This works on about 50-60 different computers and gps devices, however there is one gps device (did try it on several computers aswell) that this will not work on.
I did think there might be something wrong with the gps device, but there are two other applications (Haicom Viewer and a custom application I do not have the source code for) that works with that device without any issues. So there has to be something with my application that is not able to work with that specific device.
Currently I'm using a SerialPort control and when using Read() I get "blank" bytes and ReadLine() times out.
I have tried different BaudRates, Encodings and Hanshakes.
I managed to make it work by setting DtrEnable = True on the SerialPort control. However I do not know why that was the deciding factor. If anyone could explain why only 1 of many GPS devices needed this to be true it would be much appreciated.
I want to stream webcam output over the internet using UDP protocol (RTP to be specific). But I don’t have any ideas how to start to do so.
I have already tried using Microsoft DirectShow to get every frame as a jpeg file. I tried to send it using UDP but it was very slow.
I hope you could point me to the right direction .Also, if there are open source applications in java or c# that does this I will be very happy to work on them.
Thanks in advance
I am pretty sure that VLC (http://www.videolan.org/vlc/index.html) can do RTP.
Media menu
Stream...
Capture device tab
Set up as appropriate
Stream button
Next button
Change the "new destination" drop down to one of the RTP options
after this, I don't know, because I've never used RTP.
Good luck!
At the moment i am being able to see my own webcam in unity3d as a texture using this simple tutorial
http://www.ikriz.nl/2011/12/23/unity-video-remake
Now i want to know that how can i see someone's else webcam in unity 3d?
can any body give me some pointers?
What do you mean under 'someone's else webcam'? Actually you can open socket connection between two computers, stream 'someone's else' webcam via socket and show a picture in your application.
An application for 'someone's else' can be written in any language/framework.
To help any one who would find this helpful in future, i have done this by using a flash client that takes the live stream and send it to a local server which was written in .Net.
and that .net server then sends the stream to our script which was running in unity3D. and that script was placed on any plane in your model , so showing you the received stream.
It was a bit laggy but it was working :)
I found some specs online but It wouldn't work for Play.
I tried
const UInt8 noteOn[] = {0x90, 127}; and it didn't work.
Does anybody know what midi messages to HUI Pro Tools uses for play and stop?
There are 2 main Protocols out there for controlling DAWs, Logic Control and Mackie Control (HUI). Unfortunately both are close protocols. Only recently Apple added support for TouchOSC (iOS application) and the OSC protocol (Open Sound Control) in general for Logic Pro, hopefully Pro Tools to follow (maybe it already did and I'm not updated, you better check it out).
If you want to reverse engineer the record/stop buttons and you own some sort of Mackie Control device, I recommend using Midi Monitor or LC Xmu to monitor what data gets in. Not sure whats there for PC users, on my PC era I used my Pro Soundcard.
If you don't own some sort of controller and looking around the internet for the answer please notice that these protocols have many versions that each manufacture tweak a little bit. On the other hand, there are not that many options, you can try them ALL :)
Anyhow, I program an iOS application that controls Logic Pro without using LC or MC at all. I opened Logic's Key Command and set the Midi Listen button of the Start/Stop on, then sent some Midi Note from my iOS application to calibrate the button. It worked well, but was not intuitive to users so I decided to give up.
You can send a midi machine control message through your virtual server with you virtual server, I had some success after reading this: http://en.wikipedia.org/wiki/MIDI_Machine_Control
Be sure to enable your virtual source as a mmc in your DAW. Also there is a Boolean check in the core midi docs you can use to verify that your program is sending the mmc messages, I believe it is something like kmidimachinecontrolenable, it is a coremidi constant and should not be hard to find.
im trying to read the current position of GPS Device...using N95 from Nokia.
I read tht i will need my device to return the NMEA lines to the serialport and then i will parse/split it to get things I want but all along I dont know what to write to the serialport to make device return the NMEA ?
Like There are other commands of AT for messaging etc...Is there any specific command to send to serialport to get NMEA ???
I found this site site which seems to guide you through everything you need to do.
I am not sure how it works in the N95, but in my HTC phone you cannot send commands to the GPS device to have it behave in a certain manner. Once I am connected to the serial port that the GPS device uses I can read a stream of data coming from it, which happens to be NMEA data. There is no way that I have found to send commands to the device to tell it how to behave.
I haven't used that specific GPS device before, but for mine, I just have to open the port and I start receiving the NMEA data immediately.
I have an N82, and as far as I know it doesn't speak NMEA directly. I use a script from this page - specifically one the titled "# Turn your S60 phone with an internal GPS (eg your N95) into a Bluetooth GPS" - to get NMEA strings.
Ahh oki so I need to run some script.Oki I think i should buy a specific GPS Device for it.
Which device will do my job in cheapest manner ?
I've never worked specifically with the N95, but most GPS devices will just start spitting out NMEA as soon as they're powered up, regardless of whether or not they have a lock. I don't know how the N95 is designed, but I'll bet it probably wasn't designed to give you access to the raw NMEA data from the GPS. You'll probably need some pretty fancy trickery to get it to do that.
If you don't need to use the N95, you might find it easier to just get a GPS module and use that instead. I've always purchased mine from SparkFun. They have some good evaluation boards boards and tutorials to help you get started.
A great way of doing this in Java ME is to use JSR 179: the Location API. Your app needs to create an implementation of LocationListener, then set it on the default LocationProvider. When your listener's locationUpdated method gets called, call:
location.getExtraInfo("application/X-jsr179-location-nmea");
This will provide access to the NMEA sentences.
You can send this over a serial port by using the Java ME commports mechanism (use:
System.getProperty("microedition.commports");
as described here).
Hope this helps,
funkybro