|
4
|
General Category / Computer Softwares / Re: Where do I put my Java ".jar" files?
|
on: September 14, 2006, 04:01:44 AM
|
|
Started by G Herzog | Last post by G Herzog
|
Thanks, I'll check to see what the path variable says. I am assuming this is in the DOS PATH command.
I already did a search for *.jar and found a Java related directory that seems somewhat appropriate.
I do realize that I could do this several ways in a batch file, so I will just fiddle with it until I get what I want.
|
|
|
6
|
General Category / Computer Softwares / Re: Where do I put my Java ".jar" files?
|
on: September 12, 2006, 09:02:45 AM
|
|
Started by G Herzog | Last post by logictechs
|
Hi Mr. Herzog,
Here is info about doing this taken from Maxim's iButton website:
Installing OneWireViewer If clicking on the OneWireViewer JNLP file fails to start the application, right-click on the URL and save the file to your desktop. Then double-click on the file to launch Java Web Start. Now you can delete the *.jnlp file from your desktop. You can then launch the OneWireViewer, first by loading Java Web Start and then by selecting the OneWireViewer. You can run the OneWireViewer from the command-line (without Java Web Start) like a standard Java application, but the jar files must be downloaded manually. First, install the drivers appropriate for your platform. Then, get OneWireViewer.jar and OneWireAPI.jar and use the following command line:
java -cp "OneWireViewer.jar;OneWireAPI.jar" OneWireViewer
From this info, depending on how your path variable is setup, you should be able to run it from any directory. If your path variable doesn't include where your java execution program is then you would need to write a simple batch file to run the file in the other directory if you don't want the onewireviewer java file in your java execution program directory.
Let me know if this helps or not.
|
|
|
7
|
General Category / Computer Softwares / Where do I put my Java ".jar" files?
|
on: September 12, 2006, 12:51:01 AM
|
|
Started by G Herzog | Last post by G Herzog
|
I have been using the One-Wire Viewer for a few days, but dislike having to download the software from the internet everytime I want to use it. So I downloaded the .jar files that are suppose to let me use the application without loging on to the net.
My dilemma is that I don't know which directory I should place them it so that the command line will see them and properly start up. I am trying to set up a 'no brainer' startup for a potential client/new user.
G. Herzog
|
|
|
8
|
General Category / 1-Wire Devices / Parallax PBasic for the Thermochron using a BS2px
|
on: September 12, 2006, 12:44:31 AM
|
|
Started by G Herzog | Last post by G Herzog
|
I recently downloaded a short Parallax PBasic program for the Thermochron but haven't had time to evaluate it. Mainly I am pleased that they support the 1-wire iButton as it is quite easy to adapt the Thermochron selectively as a Real Time Clock or a Temperature guage or both.
I happen to already have a Demo board from them with a 1-wire socket and an LCD. And it can support the Blue Dot dongle too.
|
|
|
9
|
General Category / General Discussion / Re: Looking forward to getting my sample
|
on: September 12, 2006, 12:38:09 AM
|
|
Started by G Herzog | Last post by G Herzog
|
My Thermochron arrived and I am very pleased with it lives up to all my expectations. I have a presentation scheduled of its usefulness on Thursday with orchid exporters as they are using refrigerated air freight and ocean freight.
Have already done a couple of test runs and printed out charts with specific dates. It was interesting to find out the temperature range of my air-conditioned apartment as it really did not jive with what I thought. My air conditioner says a steady 27, but the range varies from 30 to 24.5 centigrade diurnally.
Have also verified that the data cannot be manipulated. Either it is all there or the iButton is wiped clean.
Still trying to determine the usefulness of the added goodies - like the clock alarm and the bit of extra memory for general use.
|
|
|
10
|
General Category / 1-Wire Devices / DS1904 to BasicAtom program example...
|
on: September 03, 2006, 04:11:17 PM
|
|
Started by logictechs | Last post by logictechs
|
Here is a code example using the DS1904 RTC attached to a BasicAtom device:
' Display hex value of current time from a DS1904 1-wire real time clock ' If the RTC needs to be started, uncomment the lines indicated below doing this function. ' If the RTC needs to be stopped, uncomment the lines indicated below doing this function.
time var byte(5) bytectr var word timepos var word startrtc var byte(5) startrtc(1)=$fc startrtc(2)=0 startrtc(3)=0 startrtc(4)=0 startrtc(5)=0 stoprtc var byte(5) stoprtc(1)=0 stoprtc(2)=0 stoprtc(3)=0 stoprtc(4)=0 stoprtc(5)=0
Main:
' Start RTC if needed ' owout P3,1,Main,[$cc,$99] ' for bytectr = 1 to 5 ' owout P3,0,Main,[startrtc(bytectr)] ' next
' Stop RTC if needed ' owout P3,1,Main,[$cc,$99] ' for bytectr = 1 to 5 ' owout P3,0,Main,[stoprtc(bytectr)] ' next loop ' Get seconds from RTC owout P3,1,Main,[$cc,$66] for bytectr = 1 to 5 time(bytectr)=0 owin P3,0,[time(bytectr)] next
' Display it to serial port serout s_out,i9600,["Time Bytes= "] timepos =5 for bytectr = 1 to 4 serout s_out,i9600,[hex2 time(timepos)\2] 'output hex values as 2 digits timepos = timepos - 1 next serout s_out,i9600,[" RTC Control Byte= ",hex2 time(1)\2,13] 'output hex value as 2 digits pause 1000 goto loop end
|
|
Return to the board index.
|