|
Download CPU-ID. It is a program that can tell you alot about your computer, including motherboard, memory, and memory timings.
The post you got from mustang86 was WAY overkill in how hard it is to find memory upgrades. If it is an older computer, yes is it harder, but umless you are looking for 72-pin SDRAM, you should be fine.
Also, memory upgrades, in my experience (I've done thousands), doesn't cause data corruption issues. The only thing is if you get memory with the wrong timings, your system will be unstable, something I am sure you do not want.
Basically, use CPU-ID to get your motherboard model number, Google that to find max RAM, and memory timing numbers. Then, I would suggest using an online store to find the memory that you find will work.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
Expert Coming wrote:
The post you got from mustang86 was WAY overkill in how hard it is to find memory upgrades.
I figured that out after the second sentence.
Expert Coming wrote: Also, memory upgrades, in my experience (I've done thousands), doesn't cause data corruption issues.
I've never lost data due to inserting bad/wrong memory. At worst, the computer just failed to boot.
The 512MB module that is currently in it is from Kingston so I have all of the important numbers. The key is just to determine if the mobo maxes out at 1 or 2GB. I'll locate the mobo's make/model (hopefully) this evening.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Kingston has a memory configurator on their homepage that will tell you what/how much memory and combinations thereof you can use on your MB.
Your task is to find out make and model...
|
|
|
|
|
Crucial has a Scanner[^] that will examine your system to figure out what sort of memory it can take. Since they guarantee compatibility if you scan and order from them directly I'd think it's more or less universally trustable.
The latest nation. Procrastination.
|
|
|
|
|
Hi everyone.
Am currently tasked with a responsibility of developing a small application to monitor and log all printing jobs in an a Internet cafe.the application should be able to do the following:-
-when a user sends a print command,information such as the number of pages (sent for printing and those successful printed) and document name user intends to print should be captured and stored in a database.
-the name of the computer from which the job is sent should be captured
In case the printer prints less pages as intended by user,the system should be able to get the reason why it printed less pages (maybe printer running out of papers,or process cancel led by user)
The problem is that i don't know where to start from.Any helpful information(ie tutorials and suggestions) is highly appreciated.
THANKS IN ADVANCE.
Pascal
|
|
|
|
|
|
THANKS SO MUCH IT GAVE ME A STARTING POINT.
I TRIED TO RUN IT BUT COULD NOT WORK.
-WHEN SHOULD I RUN THE FORM(WHEN I SEND SOME JOB TO PRINTER OR BEFORE) AND
-SHOULD THIS APPLICATION BE RUN FROM THE COMPUTER WHICH IS PHYSICALLY CONNECTED TO THE PRINTER?
-ARE THERE CHANGES I NEED TO MAKE TO CUSTOMIZE THE APPLICATION IN ORDER TO SUITE MY REQUIREMENTS?
ANY HELP IS APPRECIATED.THANKING YOU IN ADVANCE
|
|
|
|
|
Im not sure if the print-monitor API runs 'across machines' ..
I would build the print monitor into a dll, install it on all the machines with printers attached.
The print monitor itself could connect to a centralised machine with MS-SQL installed on it to write the records of what you've captured, and include what machine wrote the log record with the number of pages etc
Try these for brain food
http://www.codeguru.com/cpp/w-p/printing/article.php/c5893[^]
http://msdn.microsoft.com/en-us/library/ms802185.aspx[^]
oh, here's some to help you get by on this forum .. STOP SHOUTING - drop the all caps replies please
'g'
|
|
|
|
|
In execution, Win32 SDK func RegisterDeviceNotification() returns fail all the way. here i list my code as below.
HidD_GetHidGuid(&m_guidHID);
// 注册设备的GUID,以便响应系统热拔插消息
// 设备的GUID, 不同的设备有不同的GUID,根据实际情况设定
DEV_BROADCAST_DEVICEINTERFACE DevInt;
//memset(&DevInt,0,sizeof(DevInt));
ZeroMemory( &DevInt, sizeof(DevInt) );
DevInt.dbcc_size = sizeof(DEV_BROADCAST_DEVICEINTERFACE);
DevInt.dbcc_devicetype = DBT_DEVTYP_DEVICEINTERFACE;
DevInt.dbcc_classguid = m_guidHID;
HDEVNOTIFY hNotifyDevNode;
//hWnd = TForm->Handle
hNotifyDevNode = RegisterDeviceNotification(hWnd,&DevInt,
DEVICE_NOTIFY_WINDOW_HANDLE);
I prefer C++ Builder as my development environment, and Windows XP2 sp2 SDK. Did i do Something Wrong? Many thanks in advance
|
|
|
|
|
I need to control a set of LEDs from a usb port. Can someone help or relate me to an article on how to do that please? I think I will try to use C# coding to access the usb port. Thanks
|
|
|
|
|
Hi,
1.
depends on how many LEDs. You could easily connect 3 to one serial port (e.g. a USB-to-RS232C cable); and use the SerialPort class to control the output control lines.
2.
you could connect any number using external logic, basically implementing a shift register (needs data, clock, clear as a minimum; without an additional latch, they would flicker when a new data stream gets sent). This needs an external power supply.
3.
you could connect any number supported by it by using a micro-controller. This too needs an external power supply.
4.
yes C# can be used for such things.
5.
have you googled? searched CodeProject articles? there are several.
[EDIT]
Of course you would need at least a series resistor to limit the current and keep things alive. Depending on the LED and the voltages of the serial port, I would go for 1000 to 4700 ohm. Lower = more current = brighter = more dangerous. Don't go anywhere under 470 ohm!
[/EDIT]
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
modified on Friday, August 14, 2009 10:11 AM
|
|
|
|
|
You cannot attach an LED directly to the port and control it. There has to be an interface between the two. You can Google for "control LED USB[^]" for some example projects.
You can also look at Phidgets.com for good interface kits, complete with drivers and an easy to use API.
|
|
|
|
|
Hi.
You asked the same question a year ago:
http://www.codeproject.com/Forums/1649/Csharp.aspx?fid=1649&select=2672552&tid=2672552[^]
My question is why do you want to "flash LEDs"?
I doubt that your real desire is to have your PC light up an LED. So, it then comes down to what do you want to control with your PC, the reason, and so on.
A super simple solution is the following:
I/O Ports Uncensored - 1 - Controlling LEDs (Light Emiting Diodes) with Parallel Port[^]
And an USB to Parallel adapter (~$15).
http://www.amazon.com/Sabrent-SBT-UPPC-Parallel-6-Foot-Printer/dp/B0007UVRVO[^]
But, if it's for something that going to be built and packaged, then that's different. In that case, your best bet could be to go with a USB bridge that has parallel outputs. You can use something like the Silicon Labs CP2103. Or, even the CP2102, and use the RS232 signals.
https://www.silabs.com/products/mcu/Pages/CP2103EK.aspx[^]
It's ~$30 for the test kit, and the chips are easy to get and very cheap.
Also, FTDI makes a number of chips, like the FT245R.
http://www.ftdichip.com/Products/FT245R.htm[^]
I've used the CP2103 a lot. It's awesome for a simple, cheap, small space solution to have an embedded controller or FPGA communicate to a PC. Now, I need something faster than ~1MBit transfer. So, I'm going to use an FTDI chip.
Otherwise, there are other products/boards, like at Phidgets.com, that have relays on the board so that you can drive more current.
_______________
Joe
modified on Saturday, August 15, 2009 7:21 PM
|
|
|
|
|
Hi.
Since it seems like this type of questions comes up every now and then. So, here's a quick list of other resources to look at:
For something to use in the lab, dataq is one of the main companies that businesses go to for low-cost/mid-range solutions. A very cheap whay to get a few I/O pins and have it in a packaged form is:
DI-158 Starter Kit
Low-Cost USB Data Acquisition Device
http://www.dataq.com/products/startkit/di158.htm[^]
* Low-cost, compact, USB data acquisition starter kit.
* Record data with 12 bits of measurement accuracy at rates up to 14,400 samples/second. WinDaq High Speed Acquisition software required for recording rates over 240Hz.
* Convenient USB interface.
* Four ±10V or optional ±64V fixed differential inputs.
* Four digital bits for general purpose I/O.
* Two 0V to 1.25V digital to analog output ports.
Another pre-built board to consider is:
http://www.xdimax.com/sub20/sub20.html[^]
SUB-20 Multi Interface USB Adapter
USB to I2C, SPI, GPIO, RS232, RS485, Ir, LCD
* Full Interface Crosspoint - converts any to any
* USB to I2C Master and I2C Slave, USB to SMBus
* Up to 8MHz USB to SPI Master and SPI Slave
* USB to GPIO - 32 GPIO, PWM Outputs
* USB to ADC - 8 Analog Inputs (A/D Converters)
* USB to RS232, USB to RS485, USB to ModBus
* USB to IR (USB to Infrared) Adapter
* 8x2 LCD, Leds, Push Buttons
* Field upgradable and customizable
* NI LabVIEW Support
If this is for an end product or for a board, and you want to use Ethernet for connectivity, then Lantronix has a number of good solutions:
Good solution for a board:
XChip Direct SoC
http://www.lantronix.com/device-networking/embedded-device-servers/xchip.html[^]
Embedded Device Gateway SoC Co-Processor XChip
* Connects to host microcontroller for serial to Ethernet (LAN) applications
* Robust networking and applications firmware included – no coding required; zero royalty licensing agreement
* Integrated 10-100 MAC/PHY; 256K SRAM; up to 230 Kbps data rate
* Compact 12mm x 12mm 184 BGA package
* 2 PIO (Programmable I/O) pins (software selectable)
Another good solution is the XPort Direct+. The development kit is cheap, and it's through hole. However, for a product, it's more costly and takes up more area.
XPort Direct+ Embedded Device Server
http://www.lantronix.com/device-networking/embedded-device-servers/xport-direct-plus.html[^]
* Powerful and affordable networking for any device with a serial interface on its microcontroller
* Integrated module with RJ45 and dedicated networking SoC
* Web server, TCP/IP protocol stack and Windows deployment software
* Up to 921 Kbps data rate
* Compact low profile (<12 mm)
* 2 x 12 pin, 2 mm headers
* Three GPIO pins (Programmable I/O)
* RS-232/RS-485 ready
* 256-bit AES encryption for secure communications
So, the above should be plenty of info to get someone very well started on having a PC be able to connect to a remote device, to control a few lines, to read analog voltages, or to send out an analog signal (DAC).
Good Luck!
____________
Joe
|
|
|
|
|
In our network 15 computer are inter-connected. Now we are planning to add a storage device that will collect all 15 system data.
But we can't accommodate a separate system for that so that
we are thinking Is any additional device that will work as mass storage device???
If you have any idea please post it.
|
|
|
|
|
I have device running Windows CE 5.0.
I am developing an application for it in C# using a SQL server mobile database.
In order to install the database on the device,I first have to add SQLserverCE.dll.But I don't know why the folder or dll is not available. I tried to install Microsoft SQL Server MObile Developer Tools.but still nothing.
I also reinstalled SQl Server 2005...
|
|
|
|
|
Hi,
I have a raw pdo device which sample code needs administrative rights in order to work, othwerwise fails with an access denied error.
Which SSDL should I use to have it working under user mode code?
I have tried SDDL_DEVOBJ_SYS_ALL but this specifies that the code must run as system.
I'm trying to put the sample code that right now runs on the console, into a control panel applet.
Should the applet run as system?
Some help would be really appreaciatted.
Thanks,
Nuno
|
|
|
|
|
|
Hi,
I made it! I have read the document you passed me and decided to create a more open SDDL which I defined as:
DECLARE_CONST_UNICODE_STRING(
MY_SDDL,
L"D:P(A;;GA;;;SY)(A;;GRGWGX;;;BA)(A;;GA;;;WD)"
);
And gave to the world GA permissions.
My question now is.. what are the implications of having a not so restrictive security options?
What are usually the SDDL for custom devices?
Thanks,
Nuno
|
|
|
|
|
sinosoidal wrote:
And gave to the world GA permissions.
My question now is.. what are the implications of having a not so restrictive security options?
What part about World (Everyone) having ALL access do you not understand? Did you read the articles I gave you in this previous response[^]? More specifically the How safe is your device namespace?[^] article which outlines a possible security hole scenario.
sinosoidal wrote: What are usually the SDDL for custom devices?
Have you tried SDDL_DEVOBJ_SYS_ALL_ADM_RWX_WORLD_R_RES_R?
"D:P(A;;GA;;;SY)(A;;GRGWGX;;;BA)(A;;GR;;;WD)(A;;GR;;;RC)"
Best Wishes,
-David Delaune
|
|
|
|
|
Hey guys .... i bought a new laptop(TOSHIBA AMD Turion Dual-core 3GB RAM) but it even doesnt act like a 256MB RAM ....it is very slow that I cant tell about it ...... my 1GB desktop runs much faster than the new laptop ..... by the way I usualy write C# codes on my laptop and listen musics ....... and it's operating system is VISTA.............. Please help me what to do about it
Thank you
There is no word Impossible in my mind dictionary
|
|
|
|
|
I have a requirement to be able to send a digital signal to a piece of hardware when a certain event happens in my software (and I'm not an electrical engineer by any means). I basically need a TTL pulse to go high for about 50ms and then back to zero. The hardware has a "16 channel digit I/O" that basically looks like a parallel port that I'll need to connect to, but I'm not sure what is the quickest, cheapest and cleanest way to go about generating the signal. It seems that the preferred method used to be to write to the parallel port of the computer, but the laptops we use don't have parallel ports and it is my understanding that writing to the parallel port is complicated in XP and later version of Windows by cutting off direct access and requiring a driver. I've seen USB-parallel adapters, but I have no experience with them.
Another thought I had was to use some like this, which connects to the USB port, comes with drivers and code samples that work in C# and seems very programmer friendly, but it has 8 outputs (when I need only 1) as well as inputs that I don't need (but might be useful for some other project perhaps?).
Does anybody have any ideas or advice they can share with the clueless?
|
|
|
|
|
Hi,
if all you need is one or a few signals (in or out, doesn't matter), the easiest and cheapest way would be through the control pins of a serial port, either a regular one or a USB-to-RS232C cable one.
Use the SerialPort class to open the port, and some of its properties to either read or write the control pins.
remarks:
- RS232C does not use TTL voltage levels; voltages may go anywhere from +15V to -15V so you may have to add resistors and a diode or zener diode.
- a better alternative would use an opto-coupler between your serial port and your target hardware.
- exact timing is not possible under Windows; generating a pulse that typically lasts some 30 milliseconds or more, should not be a problem. On average. When you're unlucky, your app will start the pulse and be kicked out for something more urgent Windows wants to do. You can reduce probability of this happening drastically by temporarily raising thread priority to real-time!
- serial ports based on USB-to-RS232C cable are bound to offer less control on timing, as they have to put their data and events in USB packets first.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Thanks, sounds like a good suggestion. So if I'm understanding it correctly, I should be able to use a USB-serial adapter (we have a bunch of them lying around, so that shouldn't be a problem) and the SerialPort class and I should be able to control the DTR and RTS pins by using the SerialPort.DtrEnable and SerialPort.RtsEnable properties respectively. Is that correct?
Thanks for the heads up on voltage levels. I'll have to confirm exactly what the instrument I'm connecting to is expecting and then put something together to handle it. I have a guy who should be able to help me with that.
|
|
|
|
|
Wjousts wrote: I should be able to control the DTR and RTS pins by using the SerialPort.DtrEnable and SerialPort.RtsEnable properties respectively. Is that correct?
yes, as long as you don't enable hardware handshake on the port (then the driver would take over), so keep Handshake at None.
one more warning: as long as the port is not open, the output control lines will be at their default level, you'd better check that is acceptable for your peripheral device.
and one suggestion: you might consider pulling one input pin high/low at the far end, so your app can check to some extent your device is actually connected.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|