Sergio,

If you don’t see your serial port in the System.SerialPort enumeration then 
it’s a problem with the USB to Serial port device driver on your machine. Try 
downloading and reinstalling the latest device driver for your device, or 
purchase an adapter based on the FTDI chipset. Drivers for these devices are 
built into Mac OS X 10.7 and above. 

Cheers.

- bill k

> On Jun 15, 2016, at 2:46 AM, Sergio Tamborini <[email protected]> wrote:
> 
> I'll try with a 10.7 this afternoon. Thanks a lot!
> 
> On Wed, 15 Jun 2016 11:30:18 +0200, Jean-Luc Arnaud wrote:
>> Humm, I believe it's due to the version of Mac OS X.
>> 
>> I didn't use this code for a while, but I'm quiet sure it requires Mac 
>> OS X 10.6 or maybe 10.7.
>> 
>> Could you try with these versions? Unless you may get an update for the 
>> USB/Serial Adpater driver.
>> 
>> Jean-Luc Arnaud
>> 
>> Le 15/06/2016 à 11:13, Sergio Tamborini a écrit :
>>> Your project is interesting, but my problem is that here
>>> 
>>>   Dim i As Integer
>>> 
>>>   For i=0 To System.SerialPortCount-1
>>>     Me.AddRow(System.SerialPort(i).Name)
>>>   Next
>>> 
>>> I don't have the serial port to the printer... :-(
>>> 
>>> On Wed, 15 Jun 2016 10:14:33 +0200, Jean-Luc Arnaud wrote:
>>>> Hi Sergio,
>>>> 
>>>> I coded such a utility in order to remote control a LaserDisk player,
>>>> through a serial connection and (of course), a USB/Serial adapter.
>>>> This App runs on Mac and works very well.
>>>> 
>>>> Would you like me to send the project to you off line?
>>>> I believe all "serial" code could be of interest for you.
>>>> Note that strings and comments are in French. I could help you
>>>> understand how it works, if needed.
>>>> 
>>>> HTH
>>>> 
>>>> Jean-Luc Arnaud
>>>> 
>>>> 
>>>> Le 15/06/2016 à 09:56, Sergio Tamborini a écrit :
>>>>> I forget to specify that I have a button that send the string to the
>>>>> printer:
>>>>> 
>>>>>    Serial1.Close
>>>>>    Serial1.SerialPort = System.SerialPort("/dev/"+SerialMenu.Text)
>>>>>    SendSerial=str("/dev/"+SerialMenu.Text)
>>>>> 
>>>>>    If Serial1.Open = false Then
>>>>>      MsgBox("Error opening Serial Port")
>>>>>    Else
>>>>>      SendText()
>>>>>    End If
>>>>> 
>>>>> I have only the error...
>>>>> 
>>>>> On Wed, 15 Jun 2016 09:52:58 +0200, Sergio Tamborini wrote:
>>>>>>    dim i As Integer
>>>>>> 
>>>>>>    for i=0 to 9
>>>>>>      me.AddRow("ttys"+str(i))
>>>>>>    Next
>>>>>>    me.AddRow("ttys000")
>>>>>>    me.AddRow("ttysa")
>>>>>>    me.AddRow("ttysb")
>>>>>>    me.AddRow("ttysc")
>>>>>>    me.AddRow("ttysd")
>>>>>>    me.AddRow("ttyse")
>>>>> ------
>>>>> 
>>>>> Sergio Tamborini
>>>>> Brescia
>>>>> http://www.system-i.it
>>>>> 
>>>>> 
>>>>> "C'è un equivoco di fondo. Si dice che il politico che ha avuto
>>>>> frequentazioni mafiose, se non viene giudicato colpevole dalla
>>>>> magistratura, è un uomo onesto. No! La magistratura può fare solo
>>>>> accertamenti di carattere giudiziale. Le istituzioni hanno il dovere
>>>>> di estromettere gli uomini politici vicini alla mafia, per essere
>>>>> oneste e apparire tali"
>>>>> 
>>>>> "There is a basic misunderstanding. It is said that political mafia
>>>>> has had acquaintances, if not found guilty by the courts, is an
>>>>> honest man. No. The judiciary can only do the findings of a judicial
>>>>> nature. Institutions have a duty to oust politicians close to the
>>>>> mafia, to be honest, these look"
>>>>> 
>>>>> Paolo Borsellino
>>>>> _______________________________________________
>>>>> Mbsplugins_monkeybreadsoftware.info mailing list
>>>>> [email protected]
>>>>> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
>>>>> 
>>>> 
>>>> _______________________________________________
>>>> Mbsplugins_monkeybreadsoftware.info mailing list
>>>> [email protected]
>>>> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
>>> ------
>>> 
>>> Sergio Tamborini
>>> Brescia
>>> http://www.system-i.it
>>> 
>>> 
>>> "C'è un equivoco di fondo. Si dice che il politico che ha avuto 
>>> frequentazioni mafiose, se non viene giudicato colpevole dalla 
>>> magistratura, è un uomo onesto. No! La magistratura può fare solo 
>>> accertamenti di carattere giudiziale. Le istituzioni hanno il dovere 
>>> di estromettere gli uomini politici vicini alla mafia, per essere 
>>> oneste e apparire tali"
>>> 
>>> "There is a basic misunderstanding. It is said that political mafia 
>>> has had acquaintances, if not found guilty by the courts, is an 
>>> honest man. No. The judiciary can only do the findings of a judicial 
>>> nature. Institutions have a duty to oust politicians close to the 
>>> mafia, to be honest, these look"
>>> 
>>> Paolo Borsellino
>>> _______________________________________________
>>> Mbsplugins_monkeybreadsoftware.info mailing list
>>> [email protected]
>>> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
>>> 
>> 
>> 
>> _______________________________________________
>> Mbsplugins_monkeybreadsoftware.info mailing list
>> [email protected]
>> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
> 
> ------
> 
> Sergio Tamborini
> Brescia
> http://www.system-i.it
> 
> 
> "C'è un equivoco di fondo. Si dice che il politico che ha avuto 
> frequentazioni mafiose, se non viene giudicato colpevole dalla magistratura, 
> è un uomo onesto. No! La magistratura può fare solo accertamenti di carattere 
> giudiziale. Le istituzioni hanno il dovere di estromettere gli uomini 
> politici vicini alla mafia, per essere oneste e apparire tali"
> 
> "There is a basic misunderstanding. It is said that political mafia has had 
> acquaintances, if not found guilty by the courts, is an honest man. No. The 
> judiciary can only do the findings of a judicial nature. Institutions have a 
> duty to oust politicians close to the mafia, to be honest, these look "
> 
> Paolo Borsellino
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> [email protected]
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to