Thank you Marko!
Artisan is now working fine! Your mail got me on the track. The problem
was apparently related to getting a wrong port address from Artisan
scanport + possibly permissions. I'Il explain a little bit in case
somebody else faces this problem later.
1. After scanning ports in Artisan, I had "/dev/cu.usbserial-FTFKDA5O"
in the drop down menu. I selected this port.
2. When clicking 'ON', I got the following message: "Serial Port
Setting: /dev/cu.usbserial-FTFKDA5O, 19200, 8, E, 1, 1"
3. After typing "sudo chmod 666 /dev/cu.usbserial-FTFKDA5O" in the
console I had a message that the device doesn't exist. Apparently the
port name I got from Artisan scanning feature was wrong.
4. In terminal, by listing the content of dev folder, I observed that
entry 'ttyUSB0' appears only if the Amprobe logger plugged in. I assumed
this is the port name to use instead of what Artisan showed.
5. I changed permissions with 'sudo chmod 666 /dev/ttyUSB0'
6. Back in Artisan, after scanning for ports, I selected
'/dev/cu.usbserial-FTFKDA5O' and manually changed it to '/dev/ttyUSB0'.
It worked!!!
I hope this can help. Maybe something related to the first error message
I reported:
"Exception: scanforport(): global name 'base' is not defined @ line 20246"
Best regards.
Pascal Prado.
Le 2013-09-18 02:21, Marko Luther a écrit :
> Might be a permision problem. The account you run Artisan on might not
> be allowed to write to that device.
> See: http://wiki.ultimaker.com/FTDI_Driver_installation (at the end of
> the page).
> Try
> # sudo chmod 666 /dev/cu.usbserial-FTFKDA5O
> Marko
> *Gesendet:* Mittwoch, 18. September 2013 um 04:15 Uhr
> *Von:* "Pascal Prado" <pepelepoisson(a)gmail.com>
> *An:* "Pascal Prado" <pascal.prado(a)polymtl.ca>
> *Cc:* artisan-user(a)lists.einfachkaffee.de
> *Betreff:* [Artisan-user] Help Linux + Artisan 0.6 + Amprobe TMD56:
> Serial exception: Unable to open serial port
> Hello everybody,
>
> In case this additional information can help identifying the problem.
> I installed Artisan 6 on Debian (instead of Ubuntu originally) on the
> same laptop and I get an identical problem with my Amprobe TMD56:
> Serial exception: Unable to open serial port
>
> Questions:
> (1) Is there a log or configuration document that I could post to help
> troubleshooting the problem?
> (2) Is there a terminal tool or command to monitor the in/out traffic
> with Amprobe logger?
> (3) Is there anything I need to do to the TMD logger other than
> setting channel to 0, plugging to usb and turning on???
>
> Thank you for your help.
>
> Best regards.
>
> Pascal Prado.
>
>
> Le 13-09-16 à 18:09, Pascal Prado a écrit :
>
> >> Hi Marko,
> >>
> >> Thanks for your reply. With the Amprobe plugged in and turned on,
> >> if I select FTFKDA5O then click OK the message is:
> >> "Serial Port Setting: /dev/cu.usbserial-FTFKDA5O, 19200, 8, E, 1, 1"
> >> If I click ON then I get the following error message:
> >> "Serial Exception: Unable to open serial port"
> >> Amprobe shows 2 temperatures (in C) but Artisan display shows zero.
> >> Artisan plot graph scale seems to be configured (default) to F but
> >> I don't think this should be an issue anyway. Is there another test
> >> I could do to help figure what the serial port issue is?
> >>
> >> Thanks for your help & best regards from Montreal.
> >>
> >> Pascal.
> >>
> >>
> >> Le 13-09-16 à 03:03, Marko Luther a écrit :
> >>
> >>> Pascal,
> >>>
> >>> you discovered a typo in a very old standard software lib.
> >>> However, that exception should not harm as you FTDI based device
> >>> is correctly added as first entry to your ports list. Select that
> >>> one and ignore the error for now (will be fixed in the next
> >>> version).
> >>>
> >>> So what's now the issue? Does Artisan retrieve temperatures from
> >>> the meter or is there any other error reported?
> >>>
> >>> Marko
> >>>
> >>> Sent from my iPhone
> >>>
> >>> On 16.09.2013, at 04:42, pepelepoisson <pepelepoisson(a)gmail.com>
> >>> wrote:
> >>>
> >>>> Hello everybody,
> >>>>
> >>>> This is my first post to this list. I'm new to Artisan and am
> >>>> experiencing difficulties to configure my Amprobe TMD56 with
> >>>> Ubuntu. I
> >>>> was wondering if somebody has a similar setup and could help???
> >>>>
> >>>> My configuration is: Acer Aspire 5610 + Ubuntu 12.04 LTS +
> >>>> Artisan 0.6
> >>>> French version + Amprobe TMD56 with USB cable. I followed the
> >>>> installation instructions to set the channel and ID to 000 and
> >>>> 000 on
> >>>> the logger. I didn't install the FTDI driver because I red that
> >>>> it is
> >>>> included in the Ubuntu package by default (and I don't know how to
> >>>> install it - do I ned to compile the C code myself????). The driver
> >>>> seems to work anyway because something is detected when I plug the
> >>>> logger to any usb plug and type "dmesg | grep FTDI".
> >>>>
> >>>> In Artisan, I selected Amprobe TMD56. On the configuration page, if
> >>>> the Amprobe is plugged in, I get the following error message when
> >>>> clicking "scan ports": "Exception: scanforport(): global name
> >>>> 'base'
> >>>> is not defined @ line 20246". After that, I have the following two
> >>>> choices in the port drop down menu but none is working:
> >>>> /dev/cu.usbserial-FTKDA5O
> >>>> /dev/ttyS31
> >>>>
> >>>> Is there a problem with the driver or some setting in Artisan that
> >>>> should be changed? I've no clue yet. Could anybody help with
> >>>> this????
> >>>> Thank you very much for your time.
> >>>>
> >>>> Pascal
> >>>> _______________________________________________
> >>>> Artisan-User mailing list
> >>>> Artisan-User(a)lists.einfachkaffee.de
> >>>> https://lists.mokelbu.de/listinfo/artisan-user
> >>
> >
>
> _______________________________________________
> Artisan-User mailing list
> Artisan-User(a)lists.einfachkaffee.de
> https://lists.mokelbu.de/listinfo/artisan-user
Hello everybody,
This is my first post to this list. I'm new to Artisan and am
experiencing difficulties to configure my Amprobe TMD56 with Ubuntu. I
was wondering if somebody has a similar setup and could help???
My configuration is: Acer Aspire 5610 + Ubuntu 12.04 LTS + Artisan 0.6
French version + Amprobe TMD56 with USB cable. I followed the
installation instructions to set the channel and ID to 000 and 000 on
the logger. I didn't install the FTDI driver because I red that it is
included in the Ubuntu package by default (and I don't know how to
install it - do I ned to compile the C code myself????). The driver
seems to work anyway because something is detected when I plug the
logger to any usb plug and type "dmesg | grep FTDI".
In Artisan, I selected Amprobe TMD56. On the configuration page, if
the Amprobe is plugged in, I get the following error message when
clicking "scan ports": "Exception: scanforport(): global name 'base'
is not defined @ line 20246". After that, I have the following two
choices in the port drop down menu but none is working:
/dev/cu.usbserial-FTKDA5O
/dev/ttyS31
Is there a problem with the driver or some setting in Artisan that
should be changed? I've no clue yet. Could anybody help with this????
Thank you very much for your time.
Pascal
Hi Marko,
I really appreciate your help in al of this, I loaded all 3 drivers and still Artisan doesn't see it - but my mac does. I hope this is proper that I inclose a screen shot to help show what is going on.
Thanks,
Blair
Hi Marko,
I go to the Modbus tab of the Serial Configuration Dialog accessible from the Config menu and click on scan for ports and all the choices in the popup list in Comm Port disappear and I can't choose anything. I could take a snapshot of what I have but am not sure it is allowed. Not sure what I am doing wrong.
Blair
I think I am missing something on connecting a myPCLab to a Macbook Pro running 10.6.8. I have gone to the website that shows how to set the configuration for Artisan 6. I start the program and I keep getting the same error:
18:33:56.373 Modbus Error: readSingleRegister() Attempting to use a port that is not open@line 17464
Please help a newbie.
Thanks - Blair
Op 3 sep. 2013, om 00:41 heeft Blair Rieckmann <Tineflc(a)yahoo.com> het volgende geschreven:
> I think I am missing something on connecting a myPCLab to a Macbook Pro running 10.6.8. I have gone to the website that shows how to set the configuration for Artisan 6.
I assume you mean http://artisan-roasterscope.blogspot.nl/2013/03/modbus-rtu.html
My guess is you skipped or misunderstood one of the steps specified there.
I don't know the myPClab device, so I can't personally help you, but if you would provide a detailed report with screen snapshots of what you did, someone with a myPClab device would probably find it easier to come up with suggestions.
Frans