[time-nuts] Prologix, 1 more quick ?
Prologix
support at prologix.biz
Wed Jan 16 22:01:26 EST 2008
Patrick,
There is no semi-colon after Prologix adapter commands (those that start
with ++).
Try:
ser.write("++ver\r\n")
Regards,
Abdul
-----Original Message-----
From: time-nuts-bounces at febo.com [mailto:time-nuts-bounces at febo.com] On
Behalf Of Patrick
Sent: Wednesday, January 16, 2008 6:53 PM
To: Discussion of precise time and frequency measurement
Subject: Re: [time-nuts] Prologix, 1 more quick ?
So sorry guys. I have been pulling my hair out for the last hour. One
more question please.
Abdul sent me over a PySerial script just before I bought this item.
In the script there was line line like this:
ser.write("plot;\r\n")
I have tried ser.write("++ver;\r\n') and many other commands and
carriage returns.
With ser.read(100) I get
'Unrecognized command\r\n'
So at least I have some communication. Could someone help me with the
syntax?
Thanks in advance-Patrick
Patrick wrote:
> Thanks to Chuck, Jeff, Christian and John!
>
> I was trying to do a quick test with a live CD in bash but the general
> message I have gotten is to fix the Ubuntu install. Indeed you were
> right and I was wrong.
>
> I tried this command (thanks Jeff)
>
> sudo tail -f /var/log/messages
>
> I found out that I had a conflict with brltty. I don't remember
> installing a brail terminal!
>
> It's funny it only had a conflict with the prologix device and not a
> usb-serial adapter.
>
> Anyhow I am trying to communicate with the device with PySerial now. I
> am getting error messages back when I read but at least that's something.
>
> Thanks again to all.
>
> -Patrick
>
>
> Chuck Harris wrote:
>
>> You don't have the daemon that automatically loads new USB
>> devices running. I forget its name, but it is easily found
>> by doing a google on linux USB.
>>
>> Or, you can look in Synaptic and search on USB.
>>
>> If I get a chance, I will look it up later on this evening.
>>
>> -Chuck Harris
>>
>>
>>
>> Patrick wrote:
>>
>>
>>> Hi Everyone
>>>
>>> I know that my Prologix device is functioning thanks to Ulrich's EZGPIB.
>>>
>>> I however want to use this device under Linux. My Ubuntu box cannot find
>>> /dev/ttyUSB0 but a Mepis Linux live CD can.
>>>
>>> I have tried the following commands:
>>> echo ++auto 0 CR > /dev/ttyUSB0
>>> echo ++auto 1 CR > /dev/ttyUSB0
>>> echo ++auto 0 \r > /dev/ttyUSB0
>>> echo ++auto 1 \r > /dev/ttyUSB0
>>> echo ++auto 0 \n > /dev/ttyUSB0
>>> echo ++auto 1 \n > /dev/ttyUSB0
>>> echo ++auto 0 \r\n > /dev/ttyUSB0
>>> echo ++auto 1 \r\n > /dev/ttyUSB0
>>>
>>> I have not been able to switch the led on from talk to listen.
>>>
>>> Could someone give me a bash sample of the correct syntax to use?
>>>
>>> Thanks in advance-Patrick
>>>
>>>
>>> _______________________________________________
>>> time-nuts mailing list -- time-nuts at febo.com
>>> To unsubscribe, go to
https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
>>> and follow the instructions there.
>>>
>>>
>>>
>> _______________________________________________
>> time-nuts mailing list -- time-nuts at febo.com
>> To unsubscribe, go to
https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
>> and follow the instructions there.
>>
>>
>>
>
>
> _______________________________________________
> time-nuts mailing list -- time-nuts at febo.com
> To unsubscribe, go to
https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
> and follow the instructions there.
>
>
_______________________________________________
time-nuts mailing list -- time-nuts at febo.com
To unsubscribe, go to
https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.
More information about the time-nuts
mailing list