PCMCIA-CAN Series 2 hanging

Hello,
We are using a PCMCIA-CAN series 2 board on two of our machines to get/send PDO data to CANOpen network of 6 nodes.
Built in 2007, Labview 2010 application (using CANOpen library 1.1.3 in combination with NI-CAN version 2.7.4) seemed to work OK mainly because we used it on short period of time (under 12h). To run more longer tests, we run now the machine over 24h continuously and this revealed a small bug. We investigated the case first with NI-SPY. It reported a communication lost problem with the board firmware and propose different solutions or checks (windows interrupts, application code, etc...). 
In our application, we have two loops to send and get PDOs on the network. We use function "Wait for PDO" to wait for a TPDO during a time slot and if not received we switch to wait for another one and so on. The other loop takes care of the RPDOs the same way. We have no more than 14 RPDOs or TPDOs for our network. We checked the code and even slow down the switching but bug is still appearing.  
We then run the application with other faster computer and made all software updates. Now, NI-TRACE reports (attached with this post) other errors but symptoms are still the same. Application is not able to communicate with board to get/send the PDOs values (or send/recaive SDOs) even the nodes on the CAN network are running OK. It seems that firmware implemented on board stopped functionning or hanged.
We contacted NI sales representative in order to get version 1.1.4 of the CANOpen library (support for LV 2010) but did not get any proposal at this time. We suppose that there is no firmware update as the product is now obsolete. Of course, recommandation was also to switch to new NI PCI board with new library for industrial communications but which is unforunately a little too large to be installed in our panel PC. Another manufacturer hardware will fit for sure...
Reading back my posts in 2007-2008, I remembered also that the PCMCIA boards had more limitations than others PCI boards for example. But, before changing hardware and rewriting the code, I want to give these boards (and all the work done in the past) a last chance.
Does one of you have suggestions or solutions for me ?
Thanks in advance.
Attachments:
20130329SMTSpyCapture.nitrace ‏304 KB
nicanErr.txt ‏5 KB

Hello,
Please find below two snapshots of the code and in particular the TPDO and RPDO loops I have in my main vi.
The TPDO loop receives an array of clusters containing each with  TPDO elements declared. Array contains 7 elements actually. TPDO time refresh time has been set to 200ms so that loop switches on a waiting time for each TPDO around 28ms. CAN network speed is 1Mbits/s and the 6 CAN nodes has been setup to send their TPDOs every 20 or 30ms. Only the one used are sent.
The vi "Get TPDO data" is implementing the TPDO wait function. If a new TPDO is available, its value is compared with the stored one (in array element). If new, the TPDO cluster is updated and put in a queue. Then, in this Producer/Consumer queue principle, the second loop dispatches the values in the variables.
The RPDO loop is based on same principle except that the 2 RPDOs are set every 50 ms. The application then uses SDO to send other commands to the nodes.
When our problem appears, we notice that values are not refreshed anymore on the front panel, even commands with SDO are no more possible. Spying the CAN network shows normal activity of the nodes.
First error message we got from NI-SPY was :
“Overflow in the lower level read queue of the CAN card (frames lost).  NI-CAN reads this queue at Windows interrupt-time. Solutions: Avoid tasks that generate excessive interrupts on your PC (mouse, ethernet, ...); Avoid running other
applications during your test (screen savers, MAX, ...); use Series 2 Filter Mode to filter incoming traffic; For CAN Objects (Frame API), increase read queue length or call Read more frequently”
So we checked our configuration and computer (scren saver, network connection, etc...). We also ran the application with another one, made updates... Now NI-TRACE reports the information contained in the files attached to my last post. Hard to find the bug if it occurs only after several hours of running time...
With these information, any suggestions or comments ?
Thanks.
Attachments:
TPDO Loop.PNG ‏100 KB
RPDO Loop.PNG ‏68 KB

Similar Messages

  • Driver for PCMCIA-CAN series 2 card needed

    Looking for the driver for the PCMCIA-CAN series 2 card.......
    Solved!
    Go to Solution.

    Not sure what version is needed, but this may get you started:
    http://search.ni.com/nisearch/app/main/p/ap/tech/pg/1/sn/ssnav:sup,catnav:du,n13:hardwareDriver,n8:2...
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Install of PCMCIA CAN Series 2 Card

    When I boot up my computer with my NI PCMCIA-CAN/2 Series 2 card, it locks up in mid-boot.  If I try to put the card in when windows (XP) is running, it freezes.  I had this problem at first, and then it disappeared for a short time, but is back again.   I essentially had to re-boot my computer several times before it recognized the card, but this trick has stoped working.  I have installed the latest NI CAN software (verson 2.3) and still am having the problem.  The card is new.  I recieved it in march, but only just pulled it out about a month ago, and have only had a few days since then to try and work with it.  What could I try to fix this?

    Hi James,
    That sounds like as if you got a bad card. Your card is still under
    warranty. Please contact your local National Instruments branch office to get the board
    checked/repaired and give them the same description of the problem.
    -B2k

  • PCMCIA-CAN/2 Series 2 works on windowa Vista?

    Hey ,
              We are using the PCMCIA-CAN/2 Series 2 CAN Card for our application.We are moving to Windows Vista very soon.I was not sure if I can use the same CAN card for the vista operating system?
              I've seen some post about PCMCIA DAQ not working on Vista? is it the same with CAN card too? Details of the CAN card below.
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/1332
    Thanks
    -Vamshi Ainapur
    Solved!
    Go to Solution.

    Hello Vamshi,
    The NI-CAN 2.6 driver supports the PCMCI-CAN Series 2 under Vista x86.  Please note that the PCMCIA-CAN and PCMCIA-CAN/2 interfaces are not supported on the 64-bit version of Windows Vista.  This information is available in the readme file, located on the driver's download page.
    Have a great week.
    O. Proulx
    National Instruments
    www.ni.com/support

  • PCMCIA-FBus Series 2 is not recognized under Windows XP

    I'm trying to get a PCMCIA-FBus Series 2 card work under Windows XP Professional SP2 toghether with an Elan P111 PCI to PCMCIA Adapter, but when I plug in the card Windows does not recognize it - I only get a "pcmcia unknown_manufacturer" message and no driver is installed.
    I've tried to install the driver manually, but then I get an error code 10, Device could not be started.
    The Computer is a Dell Optiplx 740, AMP Athlon 64 X2 3800+. NI-Configurator v3.1, v3.1.1 and v3.2.1 have been tested. The Elan P111 driver is PSeries v5.07.08.

    Hi,
    I am not sure whether this PCI-PCMCIA adapter works well with Windows XP SP2.  I suggest that you also contact the adapter manufacturer for the compatibility issue.
    We did do some test on Elan PCI-PCMCIA adapter, but I am sorry that we are unable to make verifications on all kinds of hardware and software combination. There exists the possibilities that the adapter does not work on some PC's. 
    Another suggestion that you can try is to install the PCI-PCMCIA adapter driver on a clean Dell Optiplx 740 (Windows XP SP2 without Microsoft hotfix ). I think this can help you identify whether there are compatibility problems between the adapter and system.
    Regards
    Feilian (Vince) Shen

  • Synchronize PCMCIA-CAN/2 and USB-DAQPAD-6015

    Hi,
    I would like to know if is it possible to synchronize data from a PCMCIA-CAN/2 and a USB-DAQPAD-6015 like using two PCMCIA cards with RTSI bus.
    Tx for your answers.

    Hi christophe14,
    it's no problem to synchronize a Series 2 PCMCIA-CAN/2 card and a USB-DAQPAD-6015. However, you might want to take a look at this this KnowledgeBase article.
    Similar to using a PCMCIA-CAN and a DAQcard, you would need to use the PCMCIA-CAN Synchronization Cable to connect the PCMCIA-CAN card to the 68-pin connector of the USB-DAQPAD.
    -B2k

  • PCMCIA E series card Voltage Range

    In one of our application we want to use E-series daq card for a single channel analog input.
    Voltage range is from 0.01 mv to 2 V.
    Please let me know could I measure voltage of this range and how?
    Please let me know what minimum voltage we can measure using PCMCIA E series card.

    Vishal,
    The range on our current PCMCIA E Series boards is +/-10V. There are multiple example programs to measure analog voltages for common programming environments that will work with our PCMCIA boards. Hope this helps. Have a great day!

  • PCMCIA CAN and MAX Bus Monitor

    I have a series 1 PCMCIA CAN Controller Card (184272F-01) and Series 1 CAN Cable (184354B-01) attempt to communicate with a DDC RPC CAN Interface (29bit arbitration ID, 250K Baud)
    Command:  Version ID?: 0000 0000 0000 001B
    29bit ArbID: 0x18EFE3E1
    1-First does MAX actually wrap the remainder of the Full CAN message, for example the CRC checksum?
    2-Can I run the Bus Monitor and send out the message with Test Panel at the same time? 
    thanks in advance,
    JS

    1. Yes it does.
    2. Yes you can.
    Have Fun.
    DirkW

  • Pcmcia-CAN/2 no ack

    Hi,
    I am working with a NI PCMCIA CAN/2 Series 2 Card.  I have an application which sends commands to a Freescale microcontroller and receives responses using the Frame API. The card will sucessfully send the message every time I instruct it to, however after getting a few valid responses, the card no longer acknowledges the next received frame which forces the microcontroller to transmit the same message over and over again. The message that is not getting acknowledged has the valid arbitration ID and valid data.
    I am verifying all CAN traffic using Intronix Logic Port Logic Analyzer.  I am almost certain it has nothing to do with the way the Labview application is written because this is also occurring with some of the CAN examples.
    I am not sure who to contact at NI, because the FAE in our area is not very helpful.  I have a PCI and another PCMCIA card being shipped here next week, but I would like to figure out why the card I have is doing this.
    Thanks,
    Gary

    Not many FSE's are so familiar with CAN Bus to answer this kind of question. But you could call your branch support and they would certainly love to help you out.
    Make sure all connected devices are having the same kind of transceiver. (High speed, Low Speed or Single Wire). Additionally based on your transceiver type make sure the cabling is terminated correctly. For High Speed for example both ends of the cable should be terminated with 120 ohm resistors.
    Hope that helps.
    DirkW
    Message Edited by DirkW on 09-08-2008 09:05 AM

  • Any USB adaptor other than PCMCIA can be used in Powerbook G3?

    Hi all,
    Any USB adaptor other than PCMCIA can be used in Powerbook G3 (as no USB)?
    My powerbook G3 is installed with MacOSX 10.2 and i want to access my portable Hard Disk (format under windows platform) . . . is that possible to access like "plug and play" using USB adaptor ?
    Many thanks.

    white_tiger,
    You can use both FireWire and USB CardBus PC cards. CardBus supports both 32-bit and the older PCMCIA 16-bit protocols.
    A FireWire PC card is natively supported in all versions of OSX...no drivers to install.
    USB 1.1/2.0 PC cards are also natively supported but it gets a little more complicated:
    - The older USB 1.1 cards work fine under all versions of OSX.
    - The newer USB 2.0 cards also work under all versions of OSX with this caveat: Apple added USB 2.0 support to OSX 10.2.8 and later; if your USB 2.0 card does not have the NEC-based USB2 chipset and you are running 10.2.8 or later, the card will not work properly. USB 2.0 PC cards with the wrong chipset, however, will work properly with OSX up through 10.2.7 but at the slower 1.1 speeds..
    A few other points:
    - PC cards supply only a minimal amount of bus power, so if you want to connect a portable FW or USB HD, it will need its own power supply.
    - A Mac can only read/write to Fat and Fat32 drives; OSX 10.3 and 10.4 can see an NTFS drive but as read-only.
    Message was edited by: jpl

  • I get hangs using plug-ins (NIK), and can't export (hangs/crashes). Anyone experiencing this?

    Updated Aperture today (3.4.3) running 10.8.2. Now I get hangs using plug-ins (NIK), and can't export (hangs/crashes). Anyone experiencing this?

    Andrew,
    In general, I've found the Nik plug-ins to be the least problematic of all that I use. Unfortunately you haven't provided enough information so that help can be focused on your problem. So here are some of the standard steps to take.
    1. Make sure you are running Nik's latest versions. There were earlier ones that didn't work properly with ML.
    2. Which plug-ings are the problem?
    3. Have you tried the repair/rebuild option on your Aperture database? Often what appears to be problems with      a 3rd party item actually stem from some sort of fault in the database.
    4. If you're really stuck do the following steps: A. Delete the Nik plug-ings. B. Repair/rebuild the database. C.      Download Nik's latest versions. D. Reinstall. E. Test.
    This is a generic problem solving approach that fixes many things. Also, you should examine if it is a particularly type of file or set of photos or something specific in the images you are working on. A corrupt image, for example, can produce really weird things on occasion.
    Hopefully some of this is useful. If not, more detail is needed.
    Robert

  • PCMCIA-CAN/2

    ich möchte die PCMCIA-CAN/2 nutzen, um Firmware in einen Digitalen Signalprozessor (DSP56F807) zu laden.
    Ein entsprechender Bootloader existiert bereits für einen ähnlichen Controller, ein PC-DOS-Programm zum Laden der Firmware in den Controller ebenfalls. Jedoch sofort nach Aufruf dieses Programmes erscheint die Fehlermeldung 0xBFF62002 (Driver-Error), obwohl die CAN-Karte Korrekt installiert ist (Driver-Version 2.2). Der Selbsttest lief erfolgreich durch, der Zugriff auf die CAN-Karte mittels LabVIEW funktioniert reibungslos. Im Kapitel 1.2.1.3 des beiliegenden PDF-Dokumentes ist beshrieben, wie mit dem Tool umzugehen ist.
    Woran kann der Fehler liegen?

    Hallo,
    es geht speziell um das Tool "sRecLoad.exe" von Freescale (ehemals Motorola). Dieses Tool dient dafür, um Firmware über CAN in einen Microcontroller zu laden. Dabei werden die *.s - Files über die CAN-Karte an den Controller übertragen und dieser speichert sie dann im internen Flash.
    Soeben habe ich die gleiche Prozedur mit der Version 2.3 probiert, da scheint dieser Fehler nicht mehr vorhanden zu sein. Ich schicke beide Versionen der NicanErr.txt, woran kann der Fehler liegen? Was wurde in Version 2.3 geändert?
    D.R.
    Attachments:
    nicanErr.zip ‏23 KB

  • PCMCIA CAN/2 und DIADEM

    Hello Everyone,
    can anyone tell me if the PCMCIA CAN/2 is directly supported by Diadem / Max WITHOUT the use of external drivers (ie Vector db files)? 
    Thanks, Jeff

    Hello Jeff,
    the only thing you need is the NI_CAN driver for your device. Then install the driver, put in the device, go to MAX and make a channel list. Start DIAdem, got to DAC module. There you will find a CAN block. in it you can load the CAN channels and work with it.
    Hope this helps,
    Rebecca Fox
    Applications Engineer
    National Instruments

  • How can I communicat​e with my PCMCIA-CAN​/2 card using Java?

    I need to write a Java program to send messages via CAN. The program I used with the Win NT driver of the PCMCIA-CAN/2 card worked. But I have to use Win 2000 now and the new driver nican V 1.6 doesn't work (can't send messages via CAN from my Java program). Thanks in anticipation.

    Do you get any error code/message back? Sounds like the Java wrappers that you made for the C dll's need to be recompiled? If the application runs in a weird way using the bus monitor.exe (\NI-CAN) would help.

  • Synchronize Series 2 PCMCIA CAN/2 with USB-6229

    Hi,
    Just want to know if it's possible to synchronize series 2 PCMIA CAN/s or USB-8473s with USB-6229. If so how to connect the two setup together through RTSI connection? I assume I would follow the example VI "CAN Sync Start with NI-DAQmx". Thanks.
    Jason

    Hi Blayne,
    Thanks for your reply. I used the reference design and connected it as follow. However I can see that the CAN and DAQ start is still not synchronize, I suspect I need to configure the startTrigger. Basically I want to it to start capturing analog and CAN data simultaneously when I start running. Analog signal will always be there, I suppose to set the trigger source to an analog input (AI0), when it start capturing, generate a pulse on the startTrigger to start CAN capture. How would I go about doing this?
    From the USB-8473s to USB-6229
    CLK -> 10Mhz pulse AO to PFI12
    TRIG -> ai/StartTrigger to PFI0
    GND -> DGND
    I've attached a draft of my program.
    Thanks a lot.
    Jason
    Attachments:
    cansync_11Oct11.vi ‏61 KB

Maybe you are looking for

  • Problem in creating JMS business service in OSB

    Hi all I am creating a JMS business service in osb:request /response is TEXT It write to "*QueueSend*"-which is my URI endpoint I have a MDB which read from "*QueueSend*" and write to "*QueueReceive*" i have given the *"Response Endpoint*" in jms bus

  • Open LDAP Authenticator Configuration on WLSSP5

    I have problems in the open LDAP authenticator configuration on Weblogic Server with Service Pack 5. I have users on OpenLDAP Server that do not belong to any group. My LDIF file contents are as given below. dn: dc=my-domain,dc=com dc: my-domain obje

  • Problem in Step Group in BPM in PI 7.1

    hi I am using a Step group in my BPM which has a Transformation Step in it. I am able to set the Operation Mapping,SenderMessage,RecieverMessage in Transformation Step and i could save it also, but while activating the BPM all parameters are getting

  • Anyone else having issues with app store reviews not showing up?

    I have maybe about a 50% success rate in posting reviews. The conspiracy theorist in me notices that I have never had a positive review not post, and that negative reviews for apps in the 'featured app' sections seem to never post. Anyone? Anyone?

  • Changes to Repository or cross-client Customizing are not permitted

    Hi All, Transaction OB52 is a transportable activity, therefore we created maintenance view of table T001 which user can maintain in QAS and PRD servers. In similar fashion, we created maintenance view of customized table, but on modifying it in QAS,