|
Have you looked into WMI[^]? MSAcpi_ThermalZoneTemperature seems to do something like this, but I haven't tried it myself...
This[^] allows you to play with various parts of WMI
|
|
|
|
|
I have just acquired a handed down mini-tower PC claiming to be a Fujitsu-Siemens Scaleo J (on the case). The only text I could find on the motherboard is p4m800-pro-M.
I have reached a point installing Windows Server 2003 (SBS, via MSDN) where a NIC is required, yet Windows does not recognise the installed NIC. The cable seems fine, green lights are on on both sides, i.e. my DSL router and the PC.
I can't find any working links for drivers for the Scaleo J, yet lots for various guises of p4m800-pro. The first I tried has had no effect on the OS recognising and dealing with the NIC. Any advice will be most welcome, especially low level dirties to help me interrogate the BIOS/NIC. NIC is enabled in BIOS.
moved on Monday, December 7, 2009 2:12 PM
|
|
|
|
|
Brady Kelly wrote: yet Windows does not recognise the installed NIC
Does it pop up in the Device Manager or just not at all?
I doubt it. If it isn't intuitive then we need to fix it. - Chris Maunder
|
|
|
|
|
Here's something I just don't get. I have a USB device that enumerates as a virtual COM port (CDC device), so I can use the .NET SerialPort class to communicate with it. For the most part, this works fine. However, sometimes the device just gets disconnected or resets and I need to re-open the COM port (this isn't my actual problem right now, I just need to be able to handle it). I should be able to do this:
try
{
}
catch(IOException)
{
port.Close();
Thread.Sleep(5000);
port.Open();
}
I get a "Port COM 3 does not exist", but if I look in Device Manager, COM 3 clearly exists. I cannot re-open the port until I power off my device AND close my program, then bring them both back up. This happens on XP, Vista, and Win7.
NOTE: This is not just a problem with my program - this also happens with HyperTerminal!
My colleagues and I suspect it's a problem with the driver, so I've been looking to see if I can find an alternative one.
What is the best way to handle this? I have to run some unattended tests that can last 12 or more hours, so if the device resets I can't really automatically close and re-open my program (well, I suppose I could, but I suspect that's more work than I have time to do, and I'd rather not have to keep track of the entire program state and restore it).
Thanks,
Dybs
The shout of progress is not "Eureka!" it's "Strange... that's not what i expected". - peterchen
|
|
|
|
|
Hi,
I recently read a Microsoft web page claiming closing-opening a serial port is likely to fail for unknown reasons, the serial port needs an undetermined delay between close and open, even when nothing went wrong. Unfortunately I didn't save the link.
So the only advice I have is: keep the port open and try and make sure nothing ever goes wrong!
OTOH I'm not surprised Device Manager, the SerialPort class and/or the serial driver(s) do not always agree on the availability or health status of a port.
|
|
|
|
|
Luc Pattyn wrote: So the only advice I have is: keep the port open and try and make sure nothing ever goes wrong!
If only it was that simple! Unfortunately, the device can reset for reasons beyond my control (temperature, voltage drop/spike), and even if I keep my port open, I still get an IOException when I try to talk to it once the device is available (I think the error is "port not open"), and I have to reset the connection as I described above. But thanks for the info, I'll see if I can find that link.
Dybs
The shout of progress is not "Eureka!" it's "Strange... that's not what i expected". - peterchen
|
|
|
|
|
Register for plug and play events in the app. When you get a removal notice then close the handle. If you dont then the device willenumerate badly on reset rssulting in either an additional com port or none at all.
Morality is indistinguishable from social proscription
|
|
|
|
|
use DDK, build resource file (only a ICO file) , but sys file( or res file ) contain "c:\sample\resouce\sample.ico", why ? how to remove it? thanks.
|
|
|
|
|
HOW WHAT wrote: use DDK, build resource file (only a ICO file) , but sys file( or res file ) contain "c:\sample\resouce\sample.ico", why ? how to remove it? thanks.
Did you check your resource script (.rc file)?
|
|
|
|
|
Is Anyone Know how to run PL/M-86 code without old physical system.
My meaning is there is any emulator or simulator by which I can run PL/M-86 code on windows platform.
Previously I had downloaded one but it requires only assembly code to run and PL/M-86 is high level language.
|
|
|
|
|
srbohra wrote: Previously I had downloaded one but it requires only assembly code to run and PL/M-86 is high level language.
Same as all systems. What you need is a converter that will convert your PL/M to C/C++ or VB which you can then compile into a usable Windows application. Alternatively you need a PL/M compiler that generates x86 code for Windows. Try searching Google for any possibilities.
|
|
|
|
|
Is this x86 code is assembly code?
I have a PL/M-86 complier [DOS 5.0 (038-N) PL/M-86 V3.1]. ***This generates assembly code***.
But to run this assembly code i required some tool which i don't have till now. If you have any exprience in PL/M code run or debug then please share with me.
Someone told me that to run plm code sequece is
[code]-----compile--->>[.obj file]-------link---->>[.lnk file]-----locate--->>[Locatable file which can burn on rom]
+ + +
[.lst file] [.mp1 file] [.mp2 file]
(1) (2) (3) (4)
***At step (2) I got some part of assembly code which i stated above.***
This is whole stituation. Now say what can i do for debugging or run my PL/M code.
(Please answer in detail form that i can understand)
Thanks
modified on Friday, November 27, 2009 7:16 AM
|
|
|
|
|
Sorry, but I have not used this myself. If your assembly code is output in source form then you could possibly pass it through the MASM assembler to create an executable file.
Other than that I can only suggest you try Google for further suggestions.
|
|
|
|
|
Hi,
I have used PL/M once, some 30 years ago, and haven't seen any of it ever since. I consider it dead and buried. My suggestion is you move away from it, towards a recent language. Getting PL/M alive again is probably a bigger and less rewarding effort than rewriting some existing code once.
If the target environment is a modern PC, I suggest one of the .NET languages, such as C#.
If the target is some embedded system, I would stick to C or maybe C++.
Luc Pattyn [Forum Guidelines] [My Articles]
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
|
|
|
|
|
I have to use PL/M (boundation).
How u run ur PL/M code 30 year before.
After that any new IDE or at least any emulator is desinged for developers or not U Know any thing about it.
---------------------------------------------------------------------------------
I m updating my previous reply pls see this also.U got better understanding about what I require actually.
Thanks for reply....
|
|
|
|
|
Hi,
I want to make USB as a CDFS format. Any idea will help.
Thanks
SNI
|
|
|
|
|
Hi, one of my colleague just purchase Canon FS100[^]. He recored many move in it and he could play all of that file which run continous between each other without pause period. He could run like this in the camcorder and in TV.
But in PCs, he could not do that. He could only play one file and after finish he need to double click the other file. He do not want to do that, he want to play all of it like he play in the tv or camcorder.
The CD came with this camcorder is Canon Digital Video solution disk and ImageMixer 3 SE for SD. I also try in both of the software in this CD but i could not find the play all option.
Does anyone know is it possible for me to play all of the movie in the camcorder? If it is possible, how could i do that...?
Thank in advance!!!
|
|
|
|
|
What type of files are they? If they are viewed through Windows Media Player then they can all be added to the playlist and then enable the repeat. It would then loop the videos.
Reading the information about the specific camera, the video format is a MOD is that correct? If this is the case then Windows Media Player Classic might need to be used and if I am not mistaken you can still create a playlist with that. Might want to try VLC
|
|
|
|
|
Hi, does anyone know about intel atom? does it fast as the other intel cpu or not?
Thank in advance!!!
|
|
|
|
|
It's slower than any other current intel processors because it was designed for low power and low cost. A mobile atom has a 5W TDP, vs 35 for a normal laptop chip (25 or 10W for the more expensive low power models). The desktop chip runs at 10W vs 35 for a celeron or 65+ for a normal desktop CPU.
It's fast enough to surf the web; but don't plan on gaming or doing video encoding type work on it.
3x12=36
2x12=24
1x12=12
0x12=18
|
|
|
|
|
Many people have found it difficult to rip DVD to iPod Touch/Classic/Nano, Convert Video to iPod Touch/Classic/Nano, Convert Protected Videos/Music to iPod Touch/Classic/ Nano. This guide will solve these problems.
It include two parts:
Part 1: How to Convert DVD to iPod Touch/Classic/Nano
Part 2: How to Convert Video to iPod Touch/Classic/Nano
Part 1: How to Convert DVD to iPod Touch/Classic/Nano
Step 1. Download the Cucusoft DVD to iPod + iPod Video Converter Suiteinstall and run it.
http://www.5idownload.com/img/guide-cu-ipod-video-converter-suite1.jpg
Step 2.Click DVD to ipod Converter component, you will see the UI.
http://www.5idownload.com/img/guide-cu-dvd-ipod1.gif
Step 3. Open Cucusoft DVD to iPod Converter. Choose the profile (output format), encode speed, and set the output folder.
You need to set the output folder to your hard disk.
Step 4.Insert DVD to DVD-ROM
Click "Open DVD" button on the skin or choose "menu>file->open dvd "
Step 5. Set the Basic Input setting Audio track, Subtitle on the menu of the preview screen. Move the start to the position you expected.
Play the title you want to record, it will pop up the following window, choose "record from movie start point" and output file size
http://www.5idownload.com/img/guide-cu-dvd-ipod2.gif
Step 6.If you have not start recording the dvd at step3, you also can click "record" button to record when the movie playing to the place you expected
Part 2: How to Convert Video to iPod Touch/Classic/Nano
Step 1. Download the Cucusoft DVD to iPod + iPod Video Converter Suite, install and run it.
http://www.5idownload.com/img/guide-cu-ipod-video-converter-suite2.jpg
Step 2. Run [url=http://www.5idownload.com/cu-Video-iPod.html]iPod Video converter [/url]component. And load the video files you'd like to convert by clicking 'Open file' button.
http://www.5idownload.com/img/guide-cu-ipod-video-converter-suite3.jpg
Click 'Output' and choose the pathname where you want to save your video files. Click 'Convert' to start converting video to iPod MP4 or H264 files.
http://www.5idownload.com/img/guide-cu-ipod-video-converter-suite4.jpg
Step 3. After converting, you can open the output folder to check and play the iPod video files (.mp4 or .mov) using Quicktime Player (Freeware, Quicktime Player+iTunes downloading address Apple - QuickTime - Download ).
Step 4. Transfer the iPod videos to iTunes by draging or clicking "File -> Add File to Library".
|
|
|
|
|
Do not post advertising in these forums.
|
|
|
|
|
I have been working on an electronics project, and I want to post it somewhere in a format similar to the articles here at Code Project. The project essentially shows how to design memory circuits for the Motorola 6800 series of CPU (6809, 6502, etc.)
My work used a Heathkit ET-3400, which is a rudimentary computer that exposes its key circuits on a breadboard. This thing is almost 30 years old, but it still fairly widespread on e-Bay, at colleges, etc. I got mine off e-Bay for about $70 quite recently.
My educational background is in Computer Science, and in writing the article I would assume that same educational background in my readers. I also have some software-related articles involving the 6800 and the ET-3400 which I could post as a sequel. So, I initially considered posting this memory project here.
However, in searching article categories, I get the sense that Code Project articles as a whole reside at a very high level of abstraction. Even in the "Systems" categories, I don't find much machine language, assembly language, or even C.
This high-level focus would, I think, make my article seem out-of-place here. So, does anyone know of a similar site for computer / electronics engineering?
Also, I was a bit surprised at the results of my article searching. This is a "code" site, to be sure, but must that mean user-mode, auto-garbage-collected software only? Is there not a "code" a site where one might see analogous articles for C and assembly language? If not, why isn't anyone at all interested in doing this sort of thing on a not-for-profit basis?
It seems that there is a profusion of high-level application software being coded in the public domain, and I feel that the worlds of system programming and computer engineering ought to have something similar.
|
|
|
|
|
Hi,
I don't know of any electronics or low-level software site, similar to CodeProject. I guess nobody would mind you publishing such articles around here, however the audience probably would be very limited.
I have been using 6800, 6502, and many more, myself; one of my first achievements was upgrading a Motorola 6800 demo board to a 6809 (it had 256 bytes of RAM, not MB or GB!); I also implemented a simple Basic interpreter for another 6809 board (with a whopping 64KB), and much more. All of this is indeed 30 years ago, I wasn't aware those chips still are of interest to anyone. I have since developed a fully automated model railroad track (with 2 Macs, several Microchips, and C; I should port it to PC and .NET as those Macs are getting really old by now); I also have developed dozens of microprocessor cross-assemblers and simulators, some in Fortran, a lot in C, and the latest ones in C#. So I probably would be reading (and commenting on) the articles you might write, if and when I see them.
Cheers.
Luc Pattyn [Forum Guidelines] [My Articles]
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
|
|
|
|
|
I may still post my project here. It does eventually lead to a compiler and an associated app framework. The language is a purely functional, applicative-order language like Scheme, and the framework supports half- and single-precision real-number data types. Most of this - including the master copy of the framework- is written in C. For the framework, this is "if-then-goto" type C which is designed to be hand-assembled onto any platform and emitted by the compilers. Parts of this have been ported to the ET-3400, Microchip PICKits, and the Tandy Color Computer II.
Also: Do you mean that you used Microchip "PIC" chips in your railroad project? Those have been another big area-of-interest for me. It is very easy and cheap to program a PIC chip these days. And I was surprised at how well my language and library worked with the PIC (which is not considered very compiler-friendly). For example, for the 16-series PIC, the stack is limited to seven return addresses. But in a compiler with tail recursion optimization, it is possible to calculate things like 33 factorial, which conceptually have well more than 7 nested function calls. I like this!
Also, if anyone thinks that all of this is a colossal waste of time, then please let me know. I did not realize that people were doing basically the same thing 30+ years ago. Maybe that should be a wake-up call...?
|
|
|
|
|