For those new to message boards please try to follow a few simple rules when posting your question.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
I am learning all about low level USB devices and would like to develop "stuff" ( term used is "USB controller") to connect Arduino Due "native" port to webcam. I need to get some idea about how is webcam ( not camera ) hardware implemented. So far all searches returned "how to connect your web cam to PC". So there is an optical part ( no tech term yet) and the hardware which "connects" the optics to USB bus, right? Any info / links etc on HARDWARE will be appreciated, keep in mind this is semi-embedded processor with limited resources - no Windoze API. Thanks for your time Cheers Vaclav
An USB device typically contains an intelligent controller that understands commands send from the host and prepares data from it's own hardware to be send to the host. So there is some kind of protocol that allows the communication between host and device.
The handling on the host side is done by a device specific driver. This may be a common driver for well known USB device types or a specific one provided by the device manufacturer.
If you want to connect USB devices to your Arduino, you must support the corresponding protocol. I don't have used an Arduino so far, but there should be examples for common devices like storages. For other devices you must write your own protocol implementation using the information provided by the device manufacturer or searching the web (Linux drivers are often a good start).
So you might not need information on hardware but on the protocol used by a specific device.
Jochen, thanks for the info. Found this link <a href="http://www.usbmadesimple.co.uk/ums_links.htm">http://www.usbmadesimple.co.uk/ums_links.htm</a>[<a href="http://www.usbmadesimple.co.uk/ums_links.htm" target="_blank" title="New Window">^</a>] Cheers Vaclav
Any chance somebody has a code for this display? I had it working using serial port on AVR (Uno) , but it needs some rebuild to make it work on ARM. Yes, I did check with the nice folks at Noritake and they don't have much for ARM. I'll tackle it myself, but I am not that comfortable coding on registers level.
I have been studying Electrical Engineering for many years, probably about 15 years and I was curious what circuit boards you all use when creating applications for communicating across serial ports, as such USB etc... I use Vero Boards; but what are my options for substitute alternatives? I know Vero boards are not the most common or popular, so what are? I am just seeking some suggestions.
When starting my career I learned to use Veroboards[^] and Perfboards[^] (those boards with single dots rather than strips). I and most of my colleagues preferred the Perfboards because Breadboards often require cutting the stripes which makes later changings more complicated than with Perfboards.
I still use Perfboards using a Wiring Pencil[^]. Because these where quite expensive 30 years ago, I made one myself for private projects at home using a drop action pencil housing with an attached spool from mother's sewing machine.
At work I'm also using Breadboards[^] for simple layouts and when testing different schematics. But final prototypes will be always wired on a Perfboards because the contacts of Breadboards wear out with time resulting in bad electrical connections.
Jochen, thanks for the info, as I've always used Vero boards (the ones with line strips), but Perfboards seem more adaptable to work with since you don't have to drill holes in the vero strips to cut off Electrons from running the full length of that strip. This was rather helpful, thank you.
Hello. I don't know how to choose between these laptops. What makes a laptop faster over the other two from this list.
1 - Intel Core i3 2.5 GHz
2 - Intel Core i5 2.4 GHz
3 - Intel Core i7 2.2 GHz
Again, from the list, if core i7 is faster than core i3 then how? Thanks for any input.
This world is going to explode due to international politics, SOON.
core i7 is faster in some applications which uses all processor/core.
i3 currently supports dual processor both with dual core. This means running 4 2.5GHz clock at the same time. While i7 supports quad processor all with dual core. Means running 8 2.2Ghz clock at the same time.
Again it varies with the application that would be using the processor.
If the application is only using a single thread then the i3 is faster. If it uses multiple threads then i7 is faster.
I have seen asset management systems using motorolla other brands barcode readers. If I am going to develop own system, do you think I can use regular smartphone devices as it all has sensor for barcode reader or it's more professional to have a dedicated barcode readers?
It is more professional to be able to say "we support X because.."; either choice could be defended, or better, deferred.
A dedicated barcode scanner is usually a simple device where one does not have to muck with settings to get it to work. You turn it on and start scanning.
A phone OTOH might require a specific setup, but may also prove to be more flexible.
The ideal way would be to create a generic interface, and build a library for both. That way the user/person buying your software could decide for themselves which of both options would work best for their environment.
There might also be companies that already have the hardware, and are merely looking to replace their software.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
So I was browsing a page and something seemed to go wrong !
after some time I saw there were two APKs files downloaded -from that page-.
their names are Xzone-1409140423366-.apk and Xzone-1409227281662-.apk
whether or not they are malicious is obvious :if they weren't why were they downloaded 'secretly'.
I found a report here[^] and it says something about key logging.well that's scary...and there are not keyscramblers available for android !
after opening the APK with winrar I found -except of the bunch of HTMLs and a few XMLs- some pictures like playbuttons etc- that were not noticed by me while using the phone.
no other strange activity was noticed either !
so in my view the file was not 'executed'.
but I wan't to know for sure !
Is it possible for someone to run an APK file ,bypassing the phone's security measures ?
also,if this thing enabled a stealth program how can I find it ? (I mean something hidden from taskmanager etc )
any advanced tips ?
oh...I scanned the phone with AVG free and it found no threat !
thanks a lot !!!
I believe Android (just like most newer Linux distros) only works in "user" mode, which wouldn't be allowed to install anything without prompting the user for permission. That's generally one of the things that makes Linux more secure than Windows (Windows sort of implemented/copied this behavior in Vista).
You should be safe if you never gave permission to install these packages. If for whatever reason you did give permission though, you'd have to see a list of all running processes to make sure it's not running. In standard linux that would be a quick ps aux call but you would likely need a terminal program in Android since it doesn't have one by default (does have one, just not accessible).
Environment: Windows 7, 64 bit and 32 bit, Visual Studio 2008/2012, C++, multi-threading
My searches to find a definition or description as to what memory operations are atomic have turned up nothing. When I include the search term +atomic most of the pages do not even have the word atomic in them. That is a bit irritating.
Question: What level of memory write is atomic: 8 bit, 16 bit, 32 bit, or maybe even 64 bit? Are there any special conditions? How do you know and how can that be verified?
Bonus point: Google flunks on this task. What search engines are good for this endeavor?
Thanks for your time
Thank you for your time
If you work with telemetry, please check this bulletin board: www.irigbb.com
OK, this is just a guess, but I can't restrain myself: I think the level of memory write that is atomic is the word size of the CPU.
I have nothing to back this up, but I just wanted to throw this out there.
The difficult we do right away...
...the impossible takes slightly longer.
Last Visit: 31-Dec-99 19:00 Last Update: 22-Nov-14 23:54