yeah, mainly I am using my latptop with has windows vista, I am using a usb -> rs232 converter (com4) to convert to to rs232, then to rs485 when I get to the device,
ive also used a desktop with windows XP sp2, using an actual rs232 port (com1)
but the issue occurs even when I am...
Here's the packet I'm sending
Dim TX(12) As Byte
TX(0) = CURRENT_CPU ' ADDRESS OF THE CPU
TX(1) = 9 ' NUMBER OF BYTES TO FOLLOW
TX(2) = PURGE_BARS
TX(3) = PURGE_CONTROL_BYTE ' DETERMINES...
Hello,
I've been writing a program to communicate with an embedded system via rs485
The protocol in use utilizes stick parity, where stick parity is defined as the first byte (which corresponds to the address of the device) having its parity bit set to 1, and the rest of a packet have its...
so, I've been looking into some uC projects as an extra hobby. no specific ideas yet besides a generic lil autonomous robot. but i am having dificulty deciding on what type of uC to use, and that's why I have come here :)
my thoughts:
i have experience with basic stamp, pic, and...
Hello,
I have a camera I am using to monitor some items, and the shield for it is exposed to a lot of mist (oil-based ink). An issue I am having is that this guard is quickly becoming covered, rendering the camera useless. It is dificult to access the camera, so cleaning it by hand becomes...
Hello,
I have never used SQL before and I have a .mdf & a .ldf file and I need to change some parameters. Is there a way to view them like an Access Database?
I have Microsoft SQL Server 2005, but to my knowledge there is no utility included to access these files.
Thanks
I don't know,
My last year of undergrad, I stopped buying textbooks, and would just pick up older versions or with the same subject at the library for free. Sometimes the text I used was from to 60's o.O
Hello,
I am trying to decrease the time it takes for a 24V solenoid valve to open. This can be accomplished by increasing the voltage on the coil, but I only have a 24V supply to work with, and cannot replace the coils with lower wattage versions.
Is it possible to somehow boost the...
hmm, I don't see anything I don't already have, but what exactly is an API function?
I don't have a problem setting up rs232 communication, its just using this strange parity scheme. if the parity was any of the standard values it would be npnp
Hello all,
Im trying to communicate with a RS232 device utilizing stick parity. This is defined as the first byte of a packet having its parity bit set to one, while all proceeding bytes have their parity bit set to 0. This was meant to be used to determine the start of a new packet...
is there a function available that will perform 2's complement on a byte?
or a way to convert a byte or char to binary so I can do the operation myself?
thanks,
ioll