12-22-2010 04:35 AM
Dear,
In my application, I used the maxon motor VIs to control 3 cards: EPOS2 with an usb to canOpen gateway protocol.
The VI 'InitializeDlg VI' proposed only this type of configuration to establish the connection of my cards. (see the attached picture).
The VI don't propose a USB to can protocol.
I can connected the first time all the card when I run the soft.
If the soft is interrupted (like an emergency stop) and I run this soft again, only the first card is detected. (the canOpen connection is lost).
How can I closed the previous the first canOpen connection and created a new one)?
Is there a mistake in my configuration?
Regards
Massif
12-23-2010 07:25 AM
Massif,
Thank you for posting on National Instruments' Forum.
Maxon Motors's VIs include a function close. Did you try to use this VI to stop the connection, and create a new one afterward?
Romain P.
National Instruments France
01-10-2011 04:03 AM
Dear Romain,
I try to close the connection before, but it's doesn't works.
The document 'EPOS Windows 32-Bit DLL.pdf' (August 2010) explain how to configure the cards.
See the picture.
The support of maxon explained that I should used:
DeviceName 'EPOS2'
ProtocolStackName 'MAXON SERIAL V2'
Interface Name 'USB'
But the VI 'Initialize.vi' doesn't recongnise the ProtocolStackName 'MAXON SERIAL V2'.
The VI 'InitializeDlg VI' doesn't propose the 'MAXON SERIAL V2'.
Is there an update of the EPOS' Library?
Regards
Massif
01-10-2011 04:03 AM
Dear Romain,
I try to close the connection before, but it's doesn't works.
The document 'EPOS Windows 32-Bit DLL.pdf' (August 2010) explain how to configure the cards.
See the picture.
The support of maxon explained that I should used:
DeviceName 'EPOS2'
ProtocolStackName 'MAXON SERIAL V2'
Interface Name 'USB'
But the VI 'Initialize.vi' doesn't recongnise the ProtocolStackName 'MAXON SERIAL V2'.
The VI 'InitializeDlg VI' doesn't propose the 'MAXON SERIAL V2'.
Is there an update of the EPOS' Library?
Regards
Massif
01-10-2011 12:50 PM
01-12-2011 02:30 AM
It's working with new dll 'EPOS2.dll'
Thanks
Massif
12-15-2011 02:18 AM
Hi,
i've developed a application in rs-232 protocol with only one card but i want to connect another card via can and i don't know how to use can gateway protocol exactly.
i don´t know if i can use the same blocks of Epos' library. Once the second card recognition is started, should i use the CAN blocks?¿ or to continue using the RS232 protocol ??
i don't know anything about Can programming.. sorry
i would like to know a simple example with the basic steps or how i could do it....
Regards
12-15-2011 09:15 AM
Hello,
You can use the same VI.
You have just to configure you cards with the Rs232 protocol (let's see protocolStackName).
Massif
12-20-2011 03:05 AM - edited 12-20-2011 03:12 AM
Hi,
i'm trying to comunicate the two cards but i can´t. I don't know if i can connect the next way:
Card 1 : USB
Card2 : CanOpen
A error appears: Bad Interface Name..
Massif, how did you connect it fisically?
Regards
01-09-2012 04:24 AM
Someone have any idea about this?
Regards