Motor Controller communication via PDO CANopen

I am using a Mattkeg Servo position Controller (MDR2300) to control a PMSM via Speed and Position control. The motor controller uses the CANopen protocol to receive commands from the NI Realtime Controller. In order to send the speed, position, velocity, etc commands, I am currently using the SDO method of communication. But I want to use the PDO method in order to do the same.
I am using the 'NI-Industrial Communications for CANopen 1.0.3' library. The examples given by NI regarding PDO, transmit/receive 64bit word. But the way I understand it, the Objects can be mapped to the 4 transmit and 4 receive PDO's so that I can send, for example object values for target_position, profile_velocity, profile_acceleration, and polarity in one PDO msg. I managed to do the PDO mapping using the LabVIEW Batch SDO process. But I don't know how to use it further in my Program. I have attached the current program I have that uses SDO. I wish to accomplish the same using PDO. Has anyone managed to do this?
Thanks a lot for your help..
Attachments:
Position_Control.png ‏115 KB
Speed_Control.png ‏103 KB

the more appropriate NI forum http://forums.ni.com/t5/Automotive-and-Embedded-Networks/bd-p/30

Similar Messages

  • CANopen: the PC doesn't communicate with the motor controller

    Hi there,
    I'm new with both Labview and CANopen and I'm trying to write a RXPDO on my Linmot motor controller(VI attached). I'm using a PCI CAN Series 2 card. 
    My VI worked just once ; I was able for example to move the motor with the JOG commands. 
    Now the VI runs without errors but any control word is not really sent to the controller.
    Sometimes (don't know why!!) after the CANopen create interface.vi, the interface object results "Not executed" but even when it is regularly executed, the motor doesn't receive the command.
    Can anyone help me to solve this problem? 
    Regards
    Alessandra
    NOTE: the linmot controllers need the count nibble to be incremented for each new command; I've set the auto-increment using the linmot software. 
    Attachments:
    ControlWord send.vi ‏26 KB

    Hi Loura,
    thank you for your suggestion. Unfortunately I already know those labview VIs, they are well developed but they don't run over the CANopen protocol.
    I think the problems I'm having in using my controllers with Labivew and CANopen could depend on the fact that the LV canopen library are not intended for use with the latest version of Labivew (which is the version I'm actually using).
    (It's the only explanation I have for strange behaviours dealing with open / close / reset can objects)
    Bye
    Alessandra

  • I was using a ps3 controller connected via usb as a gamepad when I had Snow Leopard installed - the other day I downloaded Mavericks and now it no longer works. Solutions?

    I moved from 10.6.8 (Snow Leopard) to 10.9 (Mavericks). Apple support won't help because it's not their hardware. It's not a playstation controller, it's Spartan brand, and it never connected via bluetooth (it continues to not connect via bluetooth in Mavericks which is fine). I always just plugged it in and it ran because apparently Apple included drivers for it from Snow Leopard onward. However, in Mavericks that's not the case, as when I plug it in nothing picks it up, and when I tried to connect it via bluetooth I would enter the pairing code and then it wouldn't pair. Anyone got any thoughts/ideas?

    Thanks for no help. Such a supportive community. I figured it out on my own. I can only connect it via usb cable (which I'm happy with) and in order to do that I had to go through the bluetooth connection steps for some reason. It doesn't show up as paired but I did the steps outlined in this video - http://www.youtube.com/watch?v=Efk77f6d98Y -, plugged the controller in via usb cable and then it worked.

  • LabVIEW driver for a ControlTechniques motor controller

    Anyone know of LabVIEW driver for a ControlTechniques
    Unidrive motor controller?
    Or any info/pointers to programming them via LabVIEW?
    Any help much appreciated
    Paul
    Dr Paul Rocca - Managing Director
    Brill Engineering Ltd, 3 Longwood Court,
    Love Lane, Cirencester, Gloucestershire
    GL7 1YG. www.brill-eng.co.uk
    Phone: 01285 883888 Fax: 01285 883876
    NI Alliance Member Since 1992
    Please note that calls may be recorded using our leading edge digital
    recording product AudioPC.
    Any opinions expressed in the email are those of the individual and not
    necessarily of the Company. This email and any files transmitted with it are
    confidential a
    nd solely for the use of the intended recipient. It may
    contain material protected by lawyer-client privilege. If you are not the
    intended recipient or the person responsible for delivering to the intended
    recipient, be advised that you have received this email in error and that
    any use is strictly prohibited. If you have received this email in error ple
    ase notify the Security Manager by telephone on +44 (0)1285 883821 or by
    email to [email protected]

    LV can interface to 232, 485, Devicenet... depending on what the controller has.
    You could find a LV/CVI driver for this (232/GPIB/ethernet only) instrument at http://www.ni.com/devzone/idnet/default.htm . If it's not listed there, it leaves you with one of a couple options. First, I would like you to submit a request for this driver at: http://zone.ni.com/idnet97.nsf/instrumentdriverrequest/
    We develop drivers based on demand and popularity so the more requests we have for it, the greater the possibility that we will develop one.
    If you would like to try developing your own instrument driver (or modify the existing one), we have documentation, model instrument drivers, and driver templates to help at :
    http://www.ni.com/devzone/idnet/development.htm
    We also have a syndicate of third party vendors that specialize in National Instruments' products and services. Some of the vendors specialize in driver development. I would suggest contacting one of the Alliance members at:
    http://www.ni.com/alliance
    An instrument driver is a collection of functions that implement the commands necessary to perform the instrument�s operations. In short, someone read the instrument user manual and implemented some of the functionality in a program for the end user. Instrument drivers are not necessary to use your instrument. They are merely time savers to help you develop your project so you do not need to study the manual before writing a program. With all of this work already done for you in the driver, instrument drivers can significantly reduce development time.
    There are example VI's in LV on Instrument Connectivity. If you go to the Help menu >> Examples.. >> I/O, you will see a couple and Examples.. >> Fundamentals for File and String manipulation. I would suggest tweaking them to suit your application. Also the specific command that your instrument responds to can be found from it's manual.
    Some useful resources for your application are
    ni.com > NI Developer Zone > Development Library > Instrument Connectivity
    http://search.ni.com/?col=alldocs&layout=TechResources&ql=a , to search examples and knowledge bases
    Hope this helps.

  • VXM Stepping Motor Controller Driver

    Hello All, 
    It's my first time to write in this forum. I am a new with using LabVIEW and very optimistic to get  assistance.
    I am trying to controll a stepping motor controller (VXM-1 Model) with Labview, which is moving a Velmex Unislide. I need help to do a code LabVIEW that control VXM-1 Model and measure the displacement of a Velmex Unislide. How could you help me out ?. 
    Please be advised that I am using LabView 2010 and Windows XP. 
    I am looking foeward to hearing from you.
    Thanks for any assistance in advance. 
     

    Using VISA 5.0.3 is fine, but upgrading couldn't hurt.
    In terms of where to start programming.  I would recommend taking a look at the "Simple Serial" example VI under Hardware Input and Output>>Serial in the example finder.  You'll need to change the "*IDN?/n" command to something that the controller is actually expecting.  It looks like the VXM can be given commands in "interactive" mode, in which you send a command and the controller immediately executes that command, or in "standalone" mode, in which you define a command script, download that script to the device, then the script is executed without any further host interaction.  These two differences are explained on pages 8-9 of the user manual.
    The command set is explained there as well.  A couple important notes from that manual:
    "The standard RS-232 communication settings on the VXM are 9600 baud, 8 data, no parity, and 1 stop bit."
    "When sending commands that require a value, the commands must end with a carriage return (Enter key or Return on most keyboards), comma, or a period."
    There are control examples given starting on page 26 of the user manual.

  • How do I establish serial communicat​ion using LabView to two stepper motors using a motor controller​?

    I currently use an off the shelf motor controller to run my two stepper motors. It already has integrated a firmware software that sends commands to operate each motor. I would like to create an interface where I can send these commands using LabView. If someone can point me in the right direction I would appreciate it.

    Look at the examples for the serial VISA vi.  Something like Basic serial write and read.vi is a good starting point.
    Have you searched for a LabVIEW driver  at the NI LV driver network?   Asked the vendor?
    If you write your own driver with the serial VISA vis remember to open and configure the port only once at the beginning and close it at the end of your program. 
    Message Edited by Henrik Volkers on 07-13-2009 04:21 PM
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • Failed to open Inter-Controller Communication Channels! Stk6000

    Hi pros,
    I have a problem while replacing a new controller. My storage 6180 have 2 controller A ( OK ) - B ( failed ). I power off storage than replacing controller B by a new controller.
    Now, i cannot access to controller A through serial console. F/W controller A: 7.60.x.x
    I can access to controller B through serial console and CAM which show all drive is incompatible and unassigned, no volumes, no virtual disk. F/W controller B: 7.80.x.x
    Controller B message shows  Failed to open Inter-Controller Communication Channels!
    I searched google and MOS but still have not find any solution for this problem. I will appreciate for any helps.
    This is log file from serial controller B
    09/22/02-12:03:37 (tRAID): WARN:  Failed to open Inter-Controller Communication Channels!
    09/22/02-12:03:37 (tRAID): NOTE:  LockMgr Role is Master
    09/22/02-12:03:38 (utlTimer): NOTE:  fcnChannelReport ==>  0  1
    09/22/02-12:03:40 (tHckReset): NOTE:  HealthCheck: Alt Ctl: 1 Reset_Failure, state: 0 Start
    0x8f9084 (tNetCfgInit): miiPhyInit check cable connection
    09/22/02-12:03:49 (tNetCfgInit): NOTE:  eth1: LinkDown event
    09/22/02-12:03:49 (tNetCfgInit): NOTE:  Network Ready
    09/22/02-12:04:07 (tRAID): NOTE:  WWN baseName 00040080-e5185e0e (valid==>SigMatch)
    09/22/02-12:04:07 (tRAID): NOTE:  spmEarlyData: No data available
    09/22/02-12:04:08 (tRAID): SOD: Pre-Initialization Phase Complete
    09/22/02-12:04:09 (utlTimer): NOTE:  fcnChannelReport ==>  0  1 ~2 -3
    09/22/02-12:04:14 (utlTimer): NOTE:  fcnChannelReport ==>  0  1 ~2 =3
    09/22/02-12:04:39 (utlTimer): NOTE:  fcnChannelReport ==>  0  1  2 =3
    09/22/02-12:04:40 (tHckReset): NOTE:  HealthCheck: Alt Ctl: 4 Norun_Failure, state: 0 Start
    09/22/02-12:04:40 (tHckReset): NOTE:  HealthCheckManager: Notify Event 6 Ctl_Not_Running
    09/22/02-12:04:40 (cmgrEvent): WARN:  Alt Ctl Reboot:
                                    Reboot CompID: 0x407
                                    Reboot reason: 0x6
                                    Reboot reason extra: 0x0
    09/22/02-12:04:40 (cmgrEvent): NOTE:  holding alt ctl in reset
    09/22/02-12:04:40 (cmgrEvent): NOTE:  HealthCheck: Alt Ctl: 1 Reset_Failure, state: 0 Start
    09/22/02-12:04:42 (utlTimer): NOTE:  fcnChannelReport ==> +0  1  2 =3
    09/22/02-12:04:43 (utlTimer): NOTE:  fcnChannelReport ==>  0  1  2 =3
    09/22/02-12:04:46 (tRAID): WARN:  pcm::CapabilityManager::validateAdoption exception  (DbmWriteException: recType: 85, status: -12)
    09/22/02-12:04:46 (tRAID): WARN:  dbm::RWFileSystem::initialize: Exception caught, ConstructorIOException: -16
    09/22/02-12:04:46 (tRAID): ERROR: In PersistenceManager::initialize: catch DbmNoFileSystemException: recType: 84
    09/22/02-12:04:46 (tRAID): ERROR: ADM Load Reservations failed with error (5) Exception
    09/22/02-12:04:46 (tRAID): NOTE:  ACS: Icon ping to alternate failed: -2, resp: 0
    09/22/02-12:04:46 (tRAID): NOTE:  ACS: autoCodeSync(): Process start. Comm Mode: 0, Status: 0
    09/22/02-12:04:46 (tRAID): WARN:  ACS: autoCodeSync(): Skipped since alt not communicating.
    09/22/02-12:04:46 (tRAID): WARN:  DbmNoFileSystemException: recType: 59 Line 1819 File cmgrControllerMgr.cc
    09/22/02-12:04:46 (tRAID): WARN:  DbmNoFileSystemException: recType: 59 Line 1819 File cmgrControllerMgr.cc
    09/22/02-12:04:46 (tRAID): SOD: Code Synchronization Initialization Phase Complete
    09/22/02-12:04:46 (sntpEvent): NOTE:  sntpEventHandler: VNI_GET_SYNC_TIME failed
    09/22/02-12:04:47 (tRAID): WARN:  USM  Exception caught in processUsmHeader - DbmNoFileSystemException: recType: 30
    09/22/02-12:04:47 (tRAID): WARN:  USM  Error allocating UsmStableStorageHeader in processUsmHeader() - DbmNoFileSystemException: recType: 30
    09/22/02-12:04:47 (tRAID): NOTE:  SOD failure in evf::VolumeCfgManager::initialize
    09/22/02-12:04:47 (tRAID): NOTE:  DbmNoFileSystemException in evf::VolExtentMgr::initialize
    09/22/02-12:04:47 (tRAID): NOTE:  DbmNoFileSystemException in safe::initialize
    09/22/02-12:04:47 (tRAID): ERROR: Caught DbmNoFileSystemException: recType: 95 in initialize
    09/22/02-12:04:47 (tRAID): WARN:  edrSOD: No Config File System
    09/22/02-12:04:48 (tRAID): WARN:  snrProcessDatabase: No File System Found
    09/22/02-12:04:48 (tRAID): WARN:  spm::SPMManager::initialize NoFileSystem
    09/22/02-12:04:48 (tRAID): NOTE:  fcn: Peering Disabled (Alt Unavailable)
    09/22/02-12:04:48 (tRAID): NOTE:  ion: Peering Disabled (Alt Unavailable)
    09/22/02-12:04:48 (tRAID): WARN:  Error in updating in memory dq cfg!
    09/22/02-12:04:48 (tRAID): WARN:  Caught DbmNoFileSystemException: recType: 65 in fbm::initialize
    09/22/02-12:04:48 (tRAID): WARN:  MelMgr::initialize FAILED:  Exception  Line 2197 File mlmMelMgr.cc
    09/22/02-12:04:48 (tRAID): WARN:  readDatabaseSyslogConfig:  Caught Exception DbmNoFileSystemException: recType: 74 Line 420 File mlmSyslogMgr.cc
    09/22/02-12:04:48 (tRAID): WARN:  Syslog database access failed:  Exception at Line 324 File mlmSyslogMgr.cc
    09/22/02-12:04:49 (tRAID): WARN:  Unable to intialize mirror device
    09/22/02-12:04:49 (tRAID): NOTE:  CacheMgr::cacheOpenMirrorDevice:: mirror device 0xfffffff
    09/22/02-12:04:49 (tRAID): WARN:  CacheStore::read(,): Exception DbmNoFileSystemException: recType: 24
    09/22/02-12:04:49 (tRAID): WARN:  CCM: readAndValidateCacheStore() caught CacheStoreDataException
    09/22/02-12:04:49 (tRAID): NOTE:  CCM: readAndValidateCacheStore() recovering
    09/22/02-12:04:49 (tRAID): NOTE:  CCM: readAndValidateCacheStore() partitioning for no mirroring
    09/22/02-12:04:49 (tRAID): WARN:  CacheStoreExt::read(,): Exception DbmNoFileSystemException: recType: 82
    09/22/02-12:04:49 (tRAID): WARN:  CCM: readAndValidateCacheStore() cacheStoreExt read exception
    09/22/02-12:04:49 (tRAID): NOTE:  CCM: readAndValidateCacheStore() initializes with default values
    09/22/02-12:04:49 (tRAID): NOTE:  CCM:  Changing default demand cache flush values
    09/22/02-12:04:49 (tRAID): NOTE:  CCM: validateCacheMem() cache memory is invalid
    09/22/02-12:04:49 (tRAID): NOTE:  CCM: validateCacheMem() Initializing my partition
    09/22/02-12:04:50 (tRAID): NOTE:  CacheStore::write(): Exception DbmNoFileSystemException: recType: 24
    09/22/02-12:04:50 (tRAID): WARN:  CCM: initialize() caught exception(2) CacheStoreDataException
    09/22/02-12:04:50 (tRAID): NOTE:  CCM: sodClearMOSIntentsAlt(), failure clearing MOS intents on alt
    09/22/02-12:04:52 (tRAID): WARN:  Exception caught in presMgrInit - DbmNoFileSystemException: recType: 12
    09/22/02-12:04:52 (tRAID): NOTE:  DbmNoFileSystemException in vdm::CrushDriveManager::initialize
    09/22/02-12:04:52 (tRAID): NOTE:  DbmNoFileSystemException in vdm::DriveManager::initialize
    09/22/02-12:04:52 (tRAID): NOTE:  DbmNoFileSystemException in vdm::VolumeGroupManager::initialize
    09/22/02-12:04:52 (tRAID): NOTE:  DbmNoFileSystemException in vdm::DacstoreVolManager::initialize
    09/22/02-12:04:52 (tRAID): NOTE:  DbmNoFileSystemException in vdm::PieceManager::initialize
    09/22/02-12:04:52 (tRAID): NOTE:  DbmNoFileSystemException in vdm::CrushStripeManager::initialize
    09/22/02-12:04:52 (tRAID): NOTE:  DbmNoFileSystemException in vdm::exop::ExclOpManager::initialize
    09/22/02-12:04:52 (tRAID): WARN:  CCM: initComplete() - isRestoreInProgressAlt caught IconSendInfeasibleException Error
    09/22/02-12:04:52 (tRAID): NOTE:  CacheStore::write(): Exception DbmNoFileSystemException: recType: 24
    09/22/02-12:04:52 (tRAID): WARN:  CCM: initComplete() caught(2) CacheStoreDataException
    09/22/02-12:04:53 (tRAID): NOTE:  DiagVolManager::initialize: Exception - Alt controller not ready
    09/22/02-12:04:53 (tRAID): ERROR: dbm: SubRecInterface::save caught DbmNoFileSystemException: recType: 58 - recType: 58, txn: 0x03b0de7c
    09/22/02-12:04:53 (tRAID): ERROR: dbm: SubRecInterface::save caught DbmNoFileSystemException: recType: 58 - recType: 58, txn: 0x03b0de7c
    09/22/02-12:04:53 (tRAID): WARN:  Caught DbmNoFileSystemException: recType: 57 in sam::StorageArrayManager::initialize
    09/22/02-12:04:55 (tRAID): SOD: Initialization Phase Complete
    09/22/02-12:04:53 (ProcessHandlers): WARN:  Exception caught in WWNStorage iosReleased: DbmNoFileSystemException: recType: 9
    09/22/02-12:04:53 (ProcessHandlers): WARN:  dbm::WWNStorage::iosReleased() FAILED.
    ==============================================
    Title:     Disk Array Controller
               Copyright 2008-2011 LSI Logic Corporation, All Rights Reserved.
    Name:      RC
    Version:   07.80.51.10
    Date:      10/03/2011
    Time:      15:49:14 CDT
    Models:    4980 4981 4985 4988
    Manager:   devmgr.v1080api06.Manager
    ==============================================
    09/22/02-12:04:56 (tRAID): sodMain Normal sequence finished, elapsed time = 112 seconds
    09/22/02-12:04:56 (tRAID): sodMain complete
    09/22/02-12:05:06 (ProcessHandlers): WARN:  Drive 0x10000 will be marked incompatible as DSM detected error: 12
    09/22/02-12:05:06 (ProcessHandlers): ERROR: dbm: SubRecInterface::read caught DbmNoFileSystemException: recType: 84 - recType: 84, txn: 0x03b0df9c
    09/22/02-12:05:08 (utlTimer): WARN:  Extended Link Down Timeout on channel 3
    09/22/02-12:05:10 (ProcessHandlers): WARN:  DbmNoFileSystemException: recType: 35 Line 6404 File cmgrControllerMgr.cc
    09/22/02-12:05:10 (ProcessHandlers): WARN:  DbmNoFileSystemException: recType: 35 Line 5444 File cmgrControllerMgr.cc
    09/22/02-12:05:10 (ProcessHandlers): WARN:  CCM: backupStorageAvailableAlt() caught IconSendInfeasibleException Error
    09/22/02-12:05:10 (ProcessHandlers): NOTE:  SYMbol available
    09/22/02-12:05:12 (ProcessHandlers): SOD: sodComplete Notification Complete
    09/22/02-12:05:10 (PersistentRestore): NOTE:  PSTOR: PstorRecordManager::readRecord data block not found
    09/22/02-12:05:10 (PersistentRestore): WARN:  IOManager::readBackupStatus - Pstor record does not exsit
    09/22/02-12:05:10 (PersistentRestore): NOTE:  IOManager::getBackupDataSize - read to pstor failed
    09/22/02-12:05:10 (PersistentRestore): WARN:  ddcDq & ddcTrace restore abandoned: nothing to recover
    09/22/02-12:05:10 (PersistentRestore): WARN:  PSTOR: PstorRecordMgr: removeRecord failed
    09/22/02-12:05:10 (PersistentRestore): WARN:  IOManager::readBackupStatus - Pstor record does not exist
    09/22/02-12:05:10 (PersistentRestore): NOTE:  DDC Restore Failed
    09/22/02-12:05:10 (PersistentRestore): NOTE:  IOManager::restoreData - m_DataSize:0x500000, m_StartAddress:0x3b0e320
    09/22/02-12:05:10 (PersistentRestore): NOTE:  IOManager::restoreData - Successful
    09/22/02-12:05:10 (PersistentRestore): NOTE:  ncb::IOManager::restoreData - Successful
    09/22/02-12:05:10 (PersistentRestore): NOTE:  DQ Restore Completed
    09/22/02-12:06:10 (ProcessEvents): WARN:  RAIDVolumeManager::updateAltMountStates, caught IconSendInfeasibleException Error
    09/22/02-12:18:25 (utlTimer): NOTE:  fcnChannelReport ==>  0 +1  2 =3
    09/22/02-12:18:32 (utlTimer): NOTE:  fcnChannelReport ==>  0 -1  2 =3
    09/22/02-12:18:35 (IOSched): NOTE:  Extended Link Down  ==> Chan 1
    09/22/02-12:18:42 (utlTimer): NOTE:  fcnChannelReport ==>  0 +1  2 =3
    09/22/02-12:21:23 (utlTimer): NOTE:  fcnChannelReport ==> +0  1  2 =3
    09/22/02-12:21:38 (utlTimer): NOTE:  fcnChannelReport ==> +0  1  2 =3
    09/22/02-12:22:37 (utlTimer): NOTE:  fcnChannelReport ==> +0  1  2 =3
    09/22/02-12:22:55 (tSubSys): NOTE:  HealthCheck: Alternate controller removal
    09/22/02-12:22:55 (tSubSys): NOTE:  HealthCheckManager: Notify Event 5 Ctl_Removed
    09/22/02-12:22:56 (utlTimer): NOTE:  fcnChannelReport ==> -0  1  2 =3
    09/22/02-12:23:00 (IOSched): NOTE:  Extended Link Down  ==> Chan 0
    09/22/02-12:23:01 (utlTimer): NOTE:  fcnChannelReport ==> =0  1  2 =3
    09/22/02-12:23:24 (IOSched): WARN:  Extended Link Down is over on channel 0 - lasted 29 seconds
    09/22/02-12:23:25 (utlTimer): NOTE:  fcnChannelReport ==> +0  1  2 =3

    Hi,
    I tried to insert lock-controller, manually place offline and online. It show OK on CAM for some minutes before back to be ERROR.
    I feel this controller become ERROR instead of being lock-down as before. Perhaps we should ask for a replacement because nothing we can intervene to the hardware. This is log file.
    9/29/02-07:37:15 (symTask2): NOTE:  setControllerToFailed_1: Failing alternate controller
    09/29/02-07:37:25 (symTask1): NOTE:  setControllerToOptimal_1: Setting alternate to optimal
    09/29/02-07:37:25 (symTask1): NOTE:  buc controllerAltStateChanged
    09/29/02-07:37:25 (symTask1): NOTE:  releasing alt ctl from reset
    09/29/02-07:37:26 (tHckReset): NOTE:  HealthCheck: Alt Ctl: 1 Reset_Failure, state: 0 Start
    09/29/02-07:37:28 (ccmEventTask): NOTE:  vdm::syncRequired(): Begin
    09/29/02-07:37:28 (ccmEventTask): NOTE:  vdm::syncRequired(): Complete, elapsed time = 0 seconds
    09/29/02-07:37:29 (ccmEventTask): WARN:  CCM Failed to notify the alternate to update Cache Store in pstor, writeCacheStoreToPstor() caught IconSendInfeasibleException Error
    09/29/02-07:37:29 (ccmEventTask): WARN:  CCM Failed to notify the alternate to update Cache Store in pstor, writeCacheStoreToPstor() caught IconSendInfeasibleException Error
    09/29/02-07:38:26 (tHckReset): NOTE:  HealthCheck: Alt Ctl: 4 Norun_Failure, state: 0 Start
    09/29/02-07:38:26 (tHckReset): NOTE:  HealthCheckManager: Notify Event 6 Ctl_Not_Running
    09/29/02-07:38:26 (cmgrEvent): WARN:  Alt Ctl Reboot:
                                    Reboot CompID: 0x407
                                    Reboot reason: 0x6
                                    Reboot reason extra: 0x0
    09/29/02-07:38:26 (cmgrEvent): NOTE:  holding alt ctl in reset
    09/29/02-07:38:27 (cmgrEvent): NOTE:  HealthCheck: Alt Ctl: 1 Reset_Failure, state: 0 Start
    09/29/02-07:38:28 (utlTimer): NOTE:  fcnChannelReport ==>  0 +1  2 =3
    09/29/02-07:38:33 (ccmEventTask): WARN:  CCM Failed to notify the alternate to update Cache Store in pstor, writeCacheStoreToPstor() caught IconSendInfeasibleException Error
    09/29/02-07:38:34 (ccmEventTask): WARN:  CCM Failed to notify the alternate to update Cache Store in pstor, writeCacheStoreToPstor() caught IconSendInfeasibleException Error

  • Faulhaber motor controller

    Hi,
    I am attempting to interface a Faulhaber motor controller BLD 5018 to an NI-6020E. The motor controller has an input for +/-5volts. My problem is that I do not know how to control the speed of the motor programmatically. Per the company rep, the only way to read the speed of the motor is by reading the pulses from the Hall effect sensors.
    I know that motor will be operating at different speeds and that I need to know the speed that the motor is operating at, I am just not sure how to go about doing this. I figured that I would probably have to read out an array to the analog output and read in the Hall effect sensor on an analog input.
    Any thoughts?

    Hi Mystery,
    I'm not sure which function you're trying to do - set the speed or read the speed of the motor. For the sake of discussion, though, I'll pretend like you're trying to do both and offer some of my thoughts.
    So, if the Hall effect sensors provide a series of digital output pulses, then you could use the digital input of the DAQ6020E to read in this value and then write some type of algorithm to calculate the speed in software. Or if it's analog pulses of a sort, then you could read in the value using an analog input on the 6020E.
    As far as setting the speed of the motor, section 6.3.3 of the manual describes how to set the speed using an external voltage source.  It appears as if you could output an analog voltage from 0V-5V and connect it to pin 9 on the controller - or "Spd9" as they call it.  If I were you though, I'd read over the manual again just be double-check what I'm saying. I don't have the controller in front me, so it's just my idea.
    Writing code in LabVIEW that will do analog or digital I/O shouldn't be too difficult, and there's some pre-made examples I can point you towards to help get started.  If you open up LabVIEW, click Help » Find Examples...  When that window pops up, double-click the Hardware Input and Output folder » DAQmx.  From here, you can select which example to use based off the function you need.  For example, if you need to do analog voltage output, double-click Analog Generation » Voltage and check out an example such as "Cont Gen Voltage Wfm-Int Clk.vi". 
    I hope this helps!
    PS This was the manual I referenced: http://www.faulhaber.com/uploadpk/EN_BLD5018_im_MI​N.pdf

  • Linear actuator, motor controller and labview. Establishing connection.

    Overiew:
    I have a 12VDC linear actuator (potentiometer built in) connected to power and Jrk 21v3 USB Motor Controller with Feedback (http://www.pololu.com/catalog/product/1392). The USB motor controller connects to the computer through USB, actuator's feedback wires connect to the motor controller.
    Problem:
    Establishing connection between the motor controller and labview.
    What I have done so far:
    I installed drivers to the motor controller and windows detects it. NI MAX detects my motor controller (pic attached), but for some reason, when i try to access it through daq assistant in labview it doesnt see it. I also tried accessing it through VISA with no results..
    Help will be appreciated.
    Thanks
    Peter
    Solved!
    Go to Solution.
    Attachments:
    problem.jpg ‏124 KB

    You have a few things you need to look into:
    When you installed the software, did it install a USB > Virtual Com Port dll such as FTDIchip or similar? If so, when you hook up your device, it'll reveal itself as a normal (new) Com Port in Device Manager. You then need to try to talk to that com port.
    If you are trying to use the native USB on the board (as MAX has detected for you), then you'll need to use the .NET framework code provided by the manufacturer (probably written in C#), and make your own Constructors in LabVIEW. If you've never done this, it isn't trivial.
    I would call the manufacturer and just tell them what you are trying to do. They've probably dealt with LabVIEW before, and may have an example to get you started.
    edit: For fun, I followed the link you provided (which doesn't really work). I searched their site for "LabVIEW", and indeed got several hits. This one thing I downloaded (can't resist looking at code) was a gigantic turd ball. However, it did appear to use a normal Com port.
    Richard

  • Using a Phidget Motor Controller and attempting to get a feedback loop

    Hello! Recently, I aquired a Phidgets 1065 motor controller and a compatible motor with built-in encoder. Currently, I am trying to write a program that allows me to input a position, and the motor moves at a user-specified speed until the encoder reaches that position. However, the original instructions to the Phidget VI's are so vague, I'm not entirely sure how to tackle this problem. Any help would be appreciated!
    Thanks! 

    It looks like Phidget has a lot of documentation on its website. This webpage might be helpful to get started: http://www.phidgets.com/docs/1065_User_Guide . This user guide shows how to connect the wires. Notice that both the motor control cables and the encoder cables are connected to the motor controller. I believe that the position control loops are performed on this controller/drive itself.
    Phidget also has LabVIEW VIs that you can use to set the motor position. This new position is sent to the motor controler through the USB connection and the motor controller will control the motion to that new target position. See this document to get started with the LabVIEW API http://www.phidgets.com/docs/Language_-_LabVIEW#Quick_Downloads . See this document for more information about each of the Phidget VIs: http://www.phidgets.com/documentation/web/LabVIEWDoc/index.html I believe that you would need to look at the section that talks about the servo control module.
    Take care,
    Jeremy P.
    Applications Engineer
    National Instruments

  • X.400 communication via saprouter

    Dear Guru's,
    I have searched on sapnet and the internet for X.400 communication via the saprouter, however I cannot find specific information about this.
    Our XI/PI  establishes X.400 communication, which should be routed via the saprouter through the DMZ. I'm wondering if saprouter can perform this......
    Does anyone worked with this before?
    Kind regards,
    Mark

    Hello,
    SAP router does support TCP/IP, telnet and LPD apart from its native SAP Protocol.
    Please find the below link detailing functions and characteristics of SAP Router:
    http://help.sap.com/saphelp_nw04/helpdata/en/96/c120f8860d11d2ac790000e83539c3/frameset.htm
    The usual way to connect a system to external systems is to put the saprouter alongwith a firewall and put an external server in the DMZ which communicates with SAP via SAP Router using SAP Protocol.
    Typically you can find some configs in ITS and Portals.
    Please check the following link:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10dffcbb-9416-2a10-a795-ae2302583d45
    Regards,
    Siddhesh

  • Interfacing TETRIX/NXT HiTechnic Motor controller to myRIO

    I am an Adjunct instructor at a Junior College.
    We are implementing the Intelitek "Advanced Engineering with myRIO" curriculum.
    This is a brand new program and we have received the software, course materials
    and the myRIO controller but it will be close to mid term before we get the
    rest of the hardware based on the TETRIX Prime robotic platform and interface
    board.
    I have borrowed an older TETRIX kit from a local High School that was used with
    the LEGO NXT and it hast the HiTechnic Motor controller with the NXT connector
    interface.
    What I am wanting to do to get the student started (we just had the 2nd week
    meeting of a 14 week course) is take the motor controller with the NXT cable
    and interface it to the I2C interface on the myRIO.
    I had found online a German site that has a board that will directly connect
    the NXT sensors to a myRIO.
    I was wondering if you have any VIs that might help met get this working
    quickly, even the code details from the NXT version of Labview for the Tetrix
    controllers would probably help.
    Thanks in advance
    Scott Willis

    Hi Swillis,
    Unfortunately we do not have an specific library to communicate with the Tetrix controllers. The following link, contains information related to the NI LabVIEW Module for LEGO® MINDSTORMS®, but it is not supported and will not necessarily work fine for the myRIO programming.
    Regards
    Regards,
    S.Jimenez

  • I want to do communication via ethernet using TCP/IP

    i want to do communication via ethernet using TCP/IP i did it but code is runing but im not getting any output

    Look on this easy example: http://www.labviewtutorial.eu/viewtopic.php?f=14&t=328
    You will find there two identical VIs (only port numbers are different). One is for PC1 and other for PC2. If you will get prodlems starting VIs, so look on your firewall settings, you have to unlock ports used in these VIs.
    LabVIEW Portal

  • Sync DAQ measurements with motor controller

    Hi all,
    I've been grinding my head for days on this problem.
    I've got an NI DAQ reading an analog voltage and a Maxon EPOS2 motor controller.
    I want to read analog voltage from the DAQ at a frequency of 1800Hz and around 25 samples. For every set of samples, I want the EPOS2 motor controller to read its encoder position and have write to measurement file log all the data.
    The problem I'm having is that although data values from the DAQ are recorded, they lag behind the encoder values provided by the EPOS2 by approx 50ms. This lag time changes as a function of the DAQ's rate and number of samples.
    I attached an example data file. If you scroll all the way to the bottom, you'll see that the right most value (time from computer and I believe EPOS?) is different from the left most time value which came from the DAQ waveform.
    I've attached my code to this post. Would some form of rendezvous or queue be applicable? Any thoughts would be most helpful.
    Thanks
    Attachments:
    APS_linear1_5_stable.vi ‏137 KB
    8_17_11_25s_1800Hz_150_2.txt ‏977 KB

    Hello Ruben_D
    I'm sorry this is causing you an inconvenience!  Can you please provide a link to the EPOS2 install file as I seem to be missing a number of their dependent VIs.  Thank you very much!
    Sincerely,
    Greg S.

  • Can DAQ send signal to motor controller?

    Dear all,
    I have been busy with a project since 6 months. This project involves a DAQ which acquires loadcell samples while a linear motor pressing on a loadcell.
    the DAQ i am using is "NI USB-6343", the linear motor controller is Newport SMC 100(has its labview drivers). I am controlling both of them with labview and I managed to build my application. BUT there is only one problem.
    The problem I am facing is: The motor controller has a limited response time like 220 ms while DAQ is acquiring sample in every 1 ms.
    So while running the tests, when DAQ's acquired value reached 5 Newton preload, the vi. stops the linear motor using the motor controller's labview drivers. Since motor controller's response time is high, this preload goes over 5 Newton, because the linear motor keeps pressing the loadcell due the the motor controllers late response time.
    So what I want to know is that: When the certain value is reached, can I force the Motor Controller to do "stop.vi" action by DAQ? , for example, Can I manage this with DAQ trigger signal options?
    Note: I built my application with case structures(like move the linear motor in true case untill a value is reached, then get to the false case structure to stop the motor and return home position)
    Kindly waiting for your responses,
    I really want to solve this problem, please help me.
    Sincerely,

    Dear apok,
    Please see the attached view of my vi. I can not try to enter lower preload to match with what I really want, because it is unpredictable and it is not professional solution.
    It is always 220 ms for motor controller. Isn't there any solution with DAQ triggering options or something else?
    Kind Regards,
    Sincerely.
    Attachments:
    Loadcell&MotorControl.png ‏286 KB

Maybe you are looking for

  • Error 10810 when running applescript remotely

    So "final" product here. I'm no applescripter so my code is probably inefficient. As such I keep running into a -10810 error and from my googling and research I think it's a runaway process (or a few of them) created by this script. I run it through

  • Problem in running functions in different sessions together

    Hi all, *******************calling functions for invoice generation************ CALL FUNCTION 'ZFM_FTC_INV_CHECK_SES_REVOKE'   CHANGING     LT_INVOICING       =  LT_INVOICING CALL FUNCTION 'DEQUEUE_ALL' EXPORTING   _SYNCHRON       = ' ' CALL FUNCTION

  • HD DVD's...do they play on the imac?

    Apollo 13 just came out in HD, if I stick it in my imac, will it play?

  • Edit Submit Email Message

    I've seen other people post this question, but cannot find an answer.  When a user completes and submits a form created in LiveCycle and distributed as a saved file (as opposed through Adobe) an email is generated that has the completed form attached

  • Trouble Sending HTML Form Data

    I've been tasked with replicating the following HTML in actionscript for the integration of a flash frontend onto an existing cart system: HTML Code: <form name="campaign" method="post" action="https://www.client.net/portal/site/client/template.APPFO