Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Create Driver through adapter

So I have a bike that can be controlled through the companies main software which sucks. A cable comes out of the back that results in a 3.5 mm jack, which I put a serial adapter onto and finally put that through a serial to usb converting cable. I was wondering then how to make this bike impliment with Labview. I imagine the communication to the bike is fairly simple being that it is all through a 3.5 mm jack cable.

0 Kudos
Message 1 of 16
(4,988 Views)

I suppose there is a manual or other program that can be monitored while sending commands

greetings from the Netherlands
0 Kudos
Message 2 of 16
(4,986 Views)

But how do I watch how the data across the cable looks like and how can I implement it into labview?

0 Kudos
Message 3 of 16
(4,985 Views)

What is the communication protocol? You said you put a serial adapter on it. It is actually RS-232? If so, you can use a serial port monitoring program, such as PortMon if you're on Windows. This will let you see what the company's software is doing in terms of communication.

0 Kudos
Message 4 of 16
(4,980 Views)

So, this is what I've been getting from watching the port.

 

ÿHÿÿçÿÿIþÿçÿÿIþÿIþÿHÿÿçÿÿHÿÿæþÿæþÿIþÿIþÿçÿÿ

 

Just non-stop data like this.

 

ÿIþÿHÿÿIþÿæþÿçÿÿçþÿæþÿIþÿçÿÿIþÿçÿÿHÿÿçÿÿIþÿæþÿIþÿIþÿIþÿIþÿIþ?<HT>ÿIþÿHÿÿçÿÿIþÿIþÿçÿÿIþÿIþ?<HT>¯çþÿçÿÿIþÿIþÿçÿÿIþÿHÿÿIþÿIþÿçÿÿçÿÿHÿÿIþÿIþÿæþÿIþ?§ÿÿæþÿHÿÿIþÿIÿÿçÿÿæþÿIþÿIþ?¦ÿIþÿIþÿIÿÿIþÿæþÿIþÿçÿÿHÿ?§ÿÿIþÿIÿÿçÿÿçÿÿçÿÿIþ?¦ÿIþÿIþÿIþÿIþÿæþÿIþ?§ÿÿæþÿIþÿIþÿIþÿIþÿIþÿIþ?§ÿÿIþÿIþÿçÿ?¦ŸœþÿIþ?<BS>ÿÿIþÿIþÿIþÿHÿÿIÿÿçÿÿçÿÿIþÿIþÿIþÿçÿÿIþÿHþÿIþÿIþÿIþÿIþÿæþÿIþÿHÿÿçÿÿIþÿçÿÿIþÿIþÿçÿÿçÿÿIþÿIþÿIþÿIþÿIþÿIþÿçÿÿçÿÿIþÿHþÿIþÿçÿ?§ÿÿIþÿIþÿIþÿIþÿIÿÿçÿÿIþÿçÿÿIþÿçÿÿIþÿIþÿIþÿçÿÿIþÿæþÿIþÿçÿÿçÿÿIþÿIþÿIþÿçÿÿçÿÿçÿÿçÿÿçÿÿçÿÿçÿÿIþÿçÿÿIþÿIþÿçÿÿIþÿçÿÿIÿÿIþÿIþÿHÿÿIþÿçÿÿIþÿIþÿIþÿIþÿæþÿæþÿçÿ?§ÿÿIþÿçÿÿIþÿçÿÿçÿÿHÿÿIþÿHÿÿçÿÿIþÿIÿÿçÿ?§ÿÿHÿÿIþÿçÿÿçÿÿIþÿIþÿIþÿIþÿHþÿçÿÿHÿÿIþÿIþÿIÿÿçÿÿIþÿHÿÿIþÿçÿÿIþÿçÿÿIÿÿçÿÿIþÿHÿÿIþÿçÿÿçÿÿIþÿIÿÿIþÿIþÿHÿÿIþÿçÿÿIþÿIþÿIÿÿçÿÿIþÿHÿÿIþÿIþÿçÿÿçÿÿçþ?§ÿÿIþÿHÿÿçÿÿçÿÿçÿÿIþÿIþÿIþÿIþÿHÿÿIþÿçÿÿIþÿIþÿIþÿçÿÿIþÿæþÿçÿÿçÿÿIþÿIþÿHþÿçÿÿçÿÿæþÿçÿ?§ÿÿIþ?<HT>_IþÿIþÿIþÿHÿÿIþÿçÿÿçÿÿIþÿHÿÿHÿÿIþÿIþ?<HT>BIÿÿIþÿIþÿIþÿIþÿIþÿIþÿIþÿçÿÿIþÿIþÿIþÿHÿÿIþÿHÿÿçÿÿçþÿIþÿçÿÿIþÿIþÿHÿÿçÿÿIþÿIþÿIþÿIþÿIþÿIþÿæþÿHÿÿçÿÿIþÿIþÿIþÿIþÿIþÿçÿÿIþÿçÿÿæþÿçÿÿIþÿHþÿçÿ?§ÿ?<BS>ÿÿIþÿIþ?<HT>

0 Kudos
Message 5 of 16
(4,978 Views)

try to decode in hex or try to find more documentation

greetings from the Netherlands
0 Kudos
Message 6 of 16
(4,976 Views)

I'm not going to be able to find much documentation I think. How will turning it into Hex make it easier.

0 Kudos
Message 7 of 16
(4,975 Views)

better readable for humans

greetings from the Netherlands
0 Kudos
Message 8 of 16
(4,973 Views)

Well, it's pretty obvious the information is in hex. The fact that it's nonstop indicates that either the application is continuously querying for status or the bike is continuously spitting out information. The former is more likely. Without a manual or something you're going to have a HARD time decoding that. You'd basically need to keep things static, change one thing, and see what gets generated. Then change something else and see what gets generated. Do this for a while and you might be able to figure out the protocol.

0 Kudos
Message 9 of 16
(4,968 Views)

So, I should just run the program that the hardware normally works with and see what the program puts out and try to work from that? There's no way to clean up the data coming out so that it makes sense instead of just being indiscriminate?

0 Kudos
Message 10 of 16
(4,966 Views)