Probleme de commande Vérin en parrallèle?

Bonjour à tous,
je travaille sur la mise en ouvre d'un asservissement de vérins électriques.
j'utilise une carte PCi 6229 (série M) de National instrument que je programme sous Labview 7.0 et pC embarqué écran tactile.
Je veux réaliser un programme de commande de vérins électriques ( au total 4 tous indépendants les uns des autres).
j'ai réalisé le programme pour un vérin et tout fonctionne à merveille.
en utilisant un autre vérin et mes les 3 autres, mes vérins font  n'importe quoi.
La structure de mon programme est elle bonne?
quand je mets des boucles séquences cela fonctionne mais le probleme
c'est que je ne veux pas commander un vérin aprés l'autre mais tous en
meme temps.
Pouvez vous me rensigner?
ci joint le vi "commande de 2 vérins " qui me génère l'erreur.
Comment dois je faire ? Est possible de commander les vérins sur des voies différentes en meme temps avec cette carte?
Pour mon application je veux absolument commander mes vérins en meme temps.
le principe de l'asservissement est simple.
j'ai fais un Sous Vi: si CONSIGNE > RETOUR  donc SORTIE DE VERIN
     si CONSIGNE < RETOUR donc ENTREE DE VERIN
     si CONSIGNE = RETOUR systeme STABLE
Merci d'avance 
Pièces jointes :
commande_4vérins_paralleleV2.vi ‏276 KB

Bonjour,
NI-DAQmx est basé sur les tâches. Une tâche DAQmx est un composant logiciel qui regroupe des informations sur les voies physiques, des paramètres sur les voies physiques, des paramètres de timing et des paramètres de triggering. Il est courant de regrouper toutes les ressources physiques d'une même famille (AI, DO, AO) au sein d'une même tâche pour limiter le nombre d'appel aux fonctions d'E/S. Au lieu de créer 4 tâches pour écrire sur 4 lignes numériques différentes, il est préférable de créer 1 tâche comprenant les 4 lignes numériques en mode écriture. Ceci permet de réduire la taille du diagramme d'une part et de réduire les temps d'exécution. Un appel "DIO Write" permettra ainsi d'écrire en même temps sur les 4 lignes numériques comprises dans la tâche "Ecrire sur une ligne numérique".
Le VI Control doit contenir le code permettant d'effectuer la régulation propre à votre système. A partir des acquisitions analogiques, le VI Control détermine quels sont les commandes à envoyer sur les lignes numériques (qui pilotent vos vérins je suppose). Si vous basez votre régulation sur des comparaisons, vous devez intégrer ce code dans le sous VI Control.vi. Le VI Start permet de créer les 3 tâches (AI, DO et AO) et de les configurer avant de rentrer dans la boucle de process. une fois la boucle terminée, le VI Stop permet de libérer les ressources allouées pour chaque tâche. La tâche AI contient 2 voies analogiques, donc dans la boucle, a chaque appel du VI "DAQmx read", un point pour chaque voie est renvoyé (sous forme de tableau de 2 éléments). Idem pour la tâche DO, on envoie à la fonction "DAQmx DIO Write" un tableau booléen de 4 éléments dont chaque élément correspond à l'état d'une ligne numérique de la tâche. La tâche A0 ne contien qu'une seule sortie analogique. Donc pour cette tâche seul un scalaire numérique est câblé sur la fonction "DAQmx Write". Lorsque vous écrivez +5V sur la sortie analogique dans le VI Start, la sortie reste à + 5V tant que vous n'appelez pas de nouveau le fonction "DAQmx Write" avec une valeur différente pour la tension de sortie. A la fin dans le VI Stop, on écrit un 0V pour remettre la sortie à 0 avant l'arrêt définitif du programme.
Cet exemple n'est certainement pas la réponse exacte à votre application. Vous pouvez vous en servir comme base de développement.
En espérant que ceci vous aidera dans vos futurs travaux.
Cordialement.
Matthieu G.
National Instruments France

Similar Messages

  • Crystal Report XI problem using Command

    Post Author: Elie_123
    CA Forum: General
    Hi all,
    I am trying to make report using Crystal XI where to get all contacts that weren't contacted during a specific user date range.I have one table for contacts: Contact1 and another table for history records: Conthistaccountno is the key.
    I wrote a command:
    Select company, city, key4, department from contact1
    where accountno
    NOT IN (select distinct accountno from conthist where conthist.ondate between
    {?startDate} and {?endDate}) order by company
    If the year of start date and year of end Date is the same than no problem and report generate correct data. if year of start date is less than year of end date (ie: startdate= 01/01/2007 and endate=01/01/2008) than no records are displayed and report is not working fine.
    Knowing that i used the same query in SQL Query builder and it is working fine for any date values.
    Any ideas?
    regards

    Post Author: Elie_123
    CA Forum: General
    here is the query i am writing in my software (GoldMine) SQL query builder. it is on dbase.Select company, city, key4, department from contact1
    where accountno
    NOT IN (select distinct accountno from conthist where conthist.ondate between "01.01.2006" and "29.08.2008") order by company

  • New Win7 install. Can't open html files. Get "there was a problem sending command to the program".

    When I try to open an html file on my hard drive, I get a "There was a problem sending the command to the program" error. There is no way I can open a local html file with firefox, even though Win7 sees it these files as Firefox documents. This is a brand-new Gateway tower running Windows7-64, Athlon phenom 4x processor, 6G RAM, and the latest version of Firefox (a week old).

    Try:
    *http://kb.mozillazine.org/Windows_error_opening_Internet_shortcut_or_local_HTML_file_-_Firefox
    You can try to redo the default browser (temporarily make another browser the default).
    *http://kb.mozillazine.org/Default_browser

  • Can't open Excel files saved to desktop, get popup "There was a problem sending command to the program".

    Whenever I save an MS Excel file to my desktop, it creates an icon on the screen. But when I try to open it, I get a popup that says "There was a problem sending the command to the program."
    This happens with all Excel files - but MS Word and other files work fine.
    Thanks for your help.

    Yes, I saw that earlier but it seems to be a temporary fix. I had the same issue return 2 weeks ago, then again yesterday. Each time, I've tried this solution which works but only to see it return at some time in the near future.
    Coincidently, I have a similar issue occur on my iPhone 4S w/ iOS 6. There, my keyboard shortcuts won't work in forms unless I tick off Data and Documents iCloud setting, power down the phone, then turn it back on. But like this, it only seems to work for a temporary time and the problem resurfaces in a few days.

  • Variant problem - URL command

    Hello,
    I´m facing a problem when I use a BI 7.0 URL command with a variant.
    I created a query with a hierarchy node variable for Cost Center characteristic.
    Then I executed the query and saved 2 hierarchies nodes values for the variable in a variant.
    When I execute the URL bellow, to call the web template with the saved variant, the input screen
    shows me just one value for the hierarchy node.
    http://portal.com/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews?TEMPLATE=ZCO_TESTE_VARIANTE&VARIABLE_SCREEN=&VARIABLE_VARIANT=VAR_ZAA_MP01
    If I select the variant in the screen, instead of calling it in the URL command, it works ok (brings
    the 2 hierarchy nodes), but I need to select the variant through an URL command.
    Do you have any idea how to solve this problem?
    Thank you
    Regards,
    MB

    Thanks for your help, Heike.
    We are in BW 3.5 SP12 and i think this note is not relevant for this version.
    I´m in doubt if i need to set the color values again in URL and also the number of classes.
    These parameters were filled in the template definition and i need to rebuild the template with newer breaks values.
    Do you have idea if something is missing in the URL or any example ?
    Regards
    Eduardo

  • Permission problems with command line CVS and Java CVS App

    Greetings,
    I'm part of a moderately sized website development team which recently upgraded to MacBook Pros (dual core) running OS 10.4.9. One of the primary tools we use in our day to day work is the open source concurrent versioning system (CVS). We've noticed a distressing issue running CVS on our macbook pros: there seems to be a problem with the way these new machines handle permissions on the directories/files that CVS uses to manage files.
    The error occurs when the CVS application, in this case both command line CVS and GUI CVS application named SmartCVS, tries to rename a temporary file named Entries~ to its new name Entries (no ~). It looks like this:
    java.io.IOException: Could not rename file
    /Users/[USER]/Sites/[MODULE]/lib/CVS/Entries~ to
    /Users/[USER]/Sites/[MODULE]/lib/CVS/Entries
    at smartcvs.JP.a(SourceFile:125)
    at smartcvs.JP.a(SourceFile:113)
    We've noticed that if we open up a get info window on the directory we're downloading, and choose "Apply to enclosed items" right when we start the download process, the issue will be resolved, presumably because the permissions are being set on the subdirectories as the download is taking place.
    We've checked the permissions on the overall ~/Sites/ directory numerous times, and they always seem to be set correctly as drwxr-xr-x. It's within this folder that CVS creates a directory with the CVS module name and downloads all the contained files, so we don't see why it would be having issues completing this successfully. We also checked to ensure the GUI CVS application is running under the current user on the machine: it does.
    Has anyone run into issues like this in the past? Is there more information I could provide to further clarify the problem we're having?
    Thanks for any input you have!

    Thanks for asking Jeff, yes one place we are seeing this error is Java application SmartCVS, though the results posted here are from a normal command line CVS checkout.
    ===
    Checkout command:
    cvs co [MODULE]
    ===
    Error:
    cvs [checkout aborted]: cannot rename file CVS/Entries.Backup to CVS/Entries: No such file or directory
    ===
    ID:
    uid=502([USER]) gid=502([USER]) groups=502([USER]), 81(appserveradm), 79(appserverusr), 80(admin)
    ===
    LS -ALN
    Computer:~/Sites [USER]$ ls -aln
    drwxr-xr-x 28 502 502 952 Jun 4 13:11 Sites
    Computer:~/Sites/[MODULE] [USER]$ ls -aln
    drwxr-xr-x 38 502 502 1292 Jun 4 13:33 www_root
    Computer:~/Sites/[MODULE]/www_root [USER]$ ls -aln
    drwxr-xr-x 32 502 502 1088 Jun 4 13:33 [SUBDIR1]
    Computer:~/Sites/[MODULE]/www_root/[SUBDIR1] [USER]$ ls -aln
    drwxr-xr-x 5 502 502 170 Jun 4 13:33 [SUBDIR2]
    Computer:~/Sites/[MODULE]/www_root/[SUBDIR1]/[SUBDIR2] [USER]$ ls -aln
    drwxr-xr-x 4 502 502 136 Jun 4 13:33 [SUBDIR3]
    Computer:~/Sites/[MODULE]/www_root/[SUBDIR1]/[SUBDIR2]/[SUBDIR3] [USER]$ ls -aln
    drwxr-xr-x 6 502 502 204 Jun 4 13:33 CVS
    Computer:~/Sites/[MODULE]/www_root/[SUBDIR1]/[SUBDIR2]/[SUBDIR3]/CVS [USER]$ ls -aln
    total 32
    drwxr-xr-x 6 502 502 204 Jun 4 13:33 .
    drwxr-xr-x 4 502 502 136 Jun 4 13:33 ..
    -rw-r--r-- 1 502 502 45 Jun 4 13:33 Entries
    -rw-r--r-- 1 502 502 45 Jun 4 13:33 Entries.Log
    -rw-r--r-- 1 502 502 48 Jun 4 13:33 Repository
    -rw-r--r-- 1 502 502 63 Jun 4 13:33 Root
    MacBook Pro / MacPro Mac OS X (10.4.9)

  • Problem with command line argument files and quoted strings

    I'm trying to use the following custom tag:
    -tag com.me.Test.testTag:f:"My Test Tag"
    This works fine when sent straight to the command line, but if I put it in an argument file (@argfile) along with the rest of my command, I get the following error:
    javadoc: Illegal package name: "My Test Tag"
    Any idea why this is happening? If I use a one-word tag header and omit the quotes, javadoc runs with no problems. I'm using Sun's SDK 1.4.1.
    Thanks for your help!
    Linda Howard

    White space is treated a bit differently in an @argfile,
    to enable users to put packages or options on separate lines.
    You might try escaping the spaces:
    "My\ Test\ Tag"
    or using a non-breaking space:
    "My Test Tag"
    What operating system are you on?
    -Doug Kramer
    javadoc team

  • Problem with command console????

    I am using Windows XP pro.
    When using the command console, usually if you type:
    cd c:\java
    the console prompt should be in that directory i.e. it should read
    C:\Java>
    However, when I type this, it does not do anything, other commands such as 'dir' work fine, but I cannot get the prompt to change directory by typing cd 'dir name'.
    Does anyone know what the problem is?
    Manny thanks

    Use:
    C:
    cd java
    or:
    cd C:\Java
    C:

  • Problem with command d2axisXtick (diadem 10.2)

    Hello,
    I don't understand why d2axisXtick is not enabled.
    call graphobjopen("2dXaxis1_1")
         d2axisXscaletype="manual"
         d2axisXtick =a
         d2axisXbegin=b
    call graphobjclose("2dXaxis1_1")
    In the diadem help, this command exist. But it is not reconized.
    I use too the d2axisYtick which work!!!
    I think its a diadem bug but im not sure.
    If it is a bug, maybe an update exist and where is it?
    Or It's not a bug. But what is it?
    For more information, I joined my program (see line 162, 434)
    Thank you very much.
    (Sry for my english )
    Attachments:
    ProgComplet.txt ‏44 KB

    Hello c.reverte!
    D2AxisXTick still exist, only the syntax highlighting seem to have a problem with it. New in 10.2 (or other 10.x version) are the D2AxisXTickDist and D2AxisXTickChn variables.
    Matthias
    Matthias Alleweldt
    Project Engineer / Projektingenieur
    Twigeater?  

  • Problem with command from LFS

    So right now I'm in the middle of a LFS build (current stable).  I'm at Chapter 5 and currently doing the first build of glibc.  I'm having problems with the command:
    ln -vs libgcc.a 'gcc -print-libgcc-file-name | sed 's/libgcc/&_eh/''
    I've tried the above, escaping the sed command with '\' and doing a new line, a whole bunch of things.  It's all typed correctly because the 'gcc -print... | sed 's/libgcc/&_eh/'' line works fine by itself, but not with the whole command.  I would just use the absolute path that the second half (I think) is looking for, but I'm on a fresh Arch install, no X or anything and the path it prints me is "/mnt/lfs/tools/bin/../lib/gcc..." and that's not going to work. 
    Any help would be greatly appreciated.

    Just so you know, sed is sort of like a filter. If you do
    echo "hello" | sed s/hello/bye/
    The output will be bye instead of hello. It subsistuted hello with bye. It's a very handy dandy tool. If you can master it, you can do some very powerful and meaningful things with your outputs and files. The amp (&) is what you filtered (libgcc in your case) and then you added the _eh to the end of it (replacing all libgcc with libgcc_eh instead). I really recommend looking into sed, I find it very useful. Even if you don't have anything useful to do with it, you can definitely make yourself look cool using it instead which is really why we all use Linux (just kidding - sort of). B)
    echo "hello" | sed 's/hello/Then I said "&" to her./'
    Last edited by Aprz (2009-03-20 06:14:15)

  • Problem sending command

    I keep getting the error "There was a problem sending the command to the program"

    Hi Russell,
    Try logging into the ExportPDF service by visiting http://exportpdf.acrobat.com/signin.html.  Once there, try submitting your file for conversion to Excel.  If the PDF file has renderable (selectable) text, you may want to try unchecking the 'Recognize scanned text in:' option and trying to convert your file.
    Let us know how it goes.
    Kind regards,
    David

  • Problems whit command

    hi
    I have problemas whit ./commadmin , when I execute this coman I have problems: display the next lines:
    ./commadmin user create
    Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/CharSequence
    at sun.comm.client.CommAdmin.<init>(CommAdmin.java:150)
    at sun.comm.client.CommAdmin.main(CommAdmin.java:160)
    what is the solution?

    Please provide output from running
    imsimta version
    There is a patch for command-line, but you must open a tech support case to get it, until it's released.
    Also, you have to "register" the mail service to the domain, before you can create users. You also must have run the dssetup script to prepare the directory server, before you set up the command-line utilities. You must be consistant with your naming conventions, as well.
    The errors reported are those of missing files.

  • Virtualbox problem: modprobed_db: command not found[SOLVED]

    I'm running arch in virtualbox.
    and when I run # virtualbox, error:
    "VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: libQtCore.so.4: cannot open shared object file: No such file or directory"
    wiki write: "Note: You may need to update the kernel modules db in order to avoid 'no such file or directory' error when loading vboxdrv. Run: modprobed_db."
    but result:
    "# modprobed_db
    bash: modprobed_db: command not found
    Last edited by lqs (2012-07-27 09:00:44)

    modprobed_db can be found in the AUR. It collects all modules which have ever been loaded on your system. It's very practical if you compile a custom kernel and only want to include the modules you need.
    I think this doesn't solve your problem. Your system is missing the file /usr/lib/libQtCore.so.4 Do you have [testing] enabled? If so, do you also have [community-testing] enabled? I'll need more input to be able to help properly.

  • IMAP Problems "Bad Command. 12"

    Hey there,
    i've got a problem with Exchange 2010 and IMAP4. The service is started successfully but it is unable to handle imap requests. When i try to test it with telnet is says by typing any command with "BAD Command Error. 12"
    Here is the configuration from "Get-ImapSettings | fl":
    RunspaceId                        : 49df46c8-c92d-4860-8e5d-33b212ad3044
    ProtocolName                      : IMAP4
    Name                              : 1
    MaxCommandSize                    : 10240
    ShowHiddenFoldersEnabled          : False
    UnencryptedOrTLSBindings          : {0.0.0.0:143}
    SSLBindings                       : {0.0.0.0:993}
    InternalConnectionSettings        : {SYNCHEXCASHUB01.sync.hosting:993:SSL, SYNCHEXCASHUB01.sync.hosting:143:TLS}
    ExternalConnectionSettings        : {msyncing.net:993:SSL}
    X509CertificateName               : msyncing.net
    Banner                            : The Microsoft Exchange IMAP4 service is ready.
    LoginType                         : PlainTextLogin
    AuthenticatedConnectionTimeout    : 00:30:00
    PreAuthenticatedConnectionTimeout : 00:01:00
    MaxConnections                    : 2147483647
    MaxConnectionFromSingleIP         : 2147483647
    MaxConnectionsPerUser             : 16
    MessageRetrievalMimeFormat        : BestBodyFormat
    ProxyTargetPort                   : 143
    CalendarItemRetrievalOption       : iCalendar
    OwaServerUrl                      :
    EnableExactRFC822Size             : False
    LiveIdBasicAuthReplacement        : False
    SuppressReadReceipt               : False
    ProtocolLogEnabled                : True
    EnforceCertificateErrors          : False
    LogFileLocation                   : E:\IMAPLOGS
    LogFileRollOverSettings           : Daily
    LogPerFileSizeQuota               : 0 B (0 bytes)
    ExtendedProtectionPolicy          : None
    EnableGSSAPIAndNTLMAuth           : True
    Server                            : SYNCHEXCASHUB01
    AdminDisplayName                  :
    ExchangeVersion                   : 0.10 (14.0.100.0)
    DistinguishedName                 : CN=1,CN=IMAP4,CN=Protocols,CN=SYNCHEXCASHUB01,CN=Servers,CN=Exchange Administrative
                                         Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Sync Hosting,CN=Microsoft Exch
                                        ange,CN=Services,CN=Configuration,DC=sync,DC=hosting
    Identity                          : SYNCHEXCASHUB01\1
    Guid                              : 7005ade4-ce3e-4a95-a352-45164924fdec
    ObjectCategory                    : sync.hosting/Configuration/Schema/ms-Exch-Protocol-Cfg-IMAP-Server
    ObjectClass                       : {top, protocolCfg, protocolCfgIMAP, protocolCfgIMAPServer}
    WhenChanged                       : 07.11.2011 16:17:51
    WhenCreated                       : 19.09.2011 20:53:51
    WhenChangedUTC                    : 07.11.2011 15:17:51
    WhenCreatedUTC                    : 19.09.2011 18:53:51
    OrganizationId                    :
    OriginatingServer                 : SYNCHEXAD02.sync.hosting
    IsValid                           : True
    Here is the protocol log output:
    #Fields: dateTime,sessionId,seqNumber,sIp,cIp,user,duration,rqsize,rpsize,command,parameters,context
    2011-11-07T15:10:10.499Z,0000000000000001,0,178.250.172.237:143,93.223.147.244:50724,,-2147483648,0,53,OpenSession,,
    2011-11-07T15:10:11.218Z,0000000000000002,0,10.0.7.10:993,10.0.7.10:7103,,-2147483648,0,53,OpenSession,,
    2011-11-07T15:10:11.311Z,0000000000000002,1,10.0.7.10:993,10.0.7.10:7103,,62,15,135,capability,,R=ok
    2011-11-07T15:10:11.358Z,0000000000000002,2,10.0.7.10:993,10.0.7.10:7103,,0,11,91,logout,,R=ok
    2011-11-07T15:10:12.374Z,0000000000000001,1,178.250.172.237:143,93.223.147.244:50724,,0,4,28,InvalidCommand,HELO,"R=""HELO BAD Command Error. 12"";RpcL=-1;LdapL=-1"
    2011-11-07T15:10:13.889Z,0000000000000001,2,178.250.172.237:143,93.223.147.244:50724,,0,4,28,InvalidCommand,EHLO,"R=""EHLO BAD Command Error. 12"";RpcL=-1;LdapL=-1"
    2011-11-07T15:10:15.624Z,0000000000000001,3,178.250.172.237:143,93.223.147.244:50724,,0,4,57,InvalidCommand,HELP,"R=""HELP BAD Command Error. 12"
    2011-11-07T15:11:32.873Z,0000000000000003,0,10.0.7.10:993,10.0.7.10:7334,,-2147483648,0,53,OpenSession,,
    2011-11-07T15:11:32.888Z,0000000000000003,1,10.0.7.10:993,10.0.7.10:7334,,0,15,135,capability,,R=ok
    2011-11-07T15:11:33.029Z,0000000000000003,2,10.0.7.10:993,10.0.7.10:7334,,140,50,23,login,[email protected] *****,"R=""aDIO NO LOGIN failed."";Msg=LogonFailed:LoginDenied"
    2011-11-07T15:11:33.029Z,0000000000000003,3,10.0.7.10:993,10.0.7.10:7334,,0,0,0,CloseSession,,
    I've already fixed this once with adding the "compliance.dll" lines that was missing from the "..exe.config" files. After applying UR 6 the error is appearing again and i don't know how to fix it this time..
    please advise,
    Peter

    Hi Peter,
    Can you use Outlook (via IMAP) connect to Exchange Server?
    If this is the same issue as you fixed before, do you follow the old way to have a try? per my knowledge, when Exchange install the updates, the configure file will
    be restore( any changed manually will be removed) .
    Thanks,
    Evan

  • Shell problem ("java" command)

    i've always been using IDEs and making .jars, but...
    K, now theres a huge problem, with trying to run a .class file.
    assuming i have a file named "MyJavaClass.java"
    and my ENV variable for CLASSPATH = "."
    when i go to the directory and type "javac MyJavaClass.java", it compiles and produces a .class file.
    entering "java MyJavaClass.class" returns the following errors:
    Exception in thread "main" java.lang.NoClassDefFoundError: MyJavaClass/class
    Caused by: java.lang.ClassNotFoundException: JavaC.class
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    so, i used "java -cp . MyJavaClass.class", it returns the same error.
    so, finally, i changed the CLASSPATH to the directory the file is in. and got the same error.
    before every test, i used the "set CLASSPATH" command to double check if the directory is correct, and i get those messages all the time.
    please help.

    ok.. all the renaming might have gotten things screwy, i admit.
    ok, to make things clear, the class name is now CJava.java (final, i swear i wont change it again.. lol).
    javac CJava.java
    produces CJava.class
    set CLASSPATH
    CLASSPATH=.
    java CJava
    Exception in thread "main" java.lang.NoClassDefFoundError: CJava (wrong name: JavaClient/CJava)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    java -cp . CJava
    Exception in thread "main" java.lang.NoClassDefFoundError: CJava (wrong name: JavaClient/CJava)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

Maybe you are looking for