Projet temps reel vi server
Bonjour,
Me voilà de retour avec des autres questions encore plus complexes, mais avant poser des questions il faut que je vous explique un peu mon travail : j’ai un projet en temps réel qui servent à la mesures des températures en temps réel sur un PXI 4071 installé sur un châssis NI PXi 1031. Pour cela j’ai deux VI : Vi hote et VI cible. Le Vi cible effectué les mesures sur le DMM et enregistre les données dans un fichier binaire sur la cible. Le VI hôte récupère les données sur la cible les enregistre dans l’ordinateur de travail et traite les données.
Mon problème est que pour effectuer ces mesures il faut ouvrir et exécuter à la fois le Vi cible et le VI hôte. Ma question est : est-il possible de lancer automatiquement à partir du Vi hote , le VI cible. J’ai essayé travailler un peu avec le VI server mais je n’ai pas réussi à faire marcher mon idée. Il se peut aussi que je n’ai pas bien configuré le Vi server ou qu’il n’accepte pas des Vi en temps réel.
Et si vous vous poser la question pourquoi je n’utilise qu’un seul Vi ? C’est parce que seulement avec cette config j’ai pu avoir la résolution et la fréquence désiré pour mes mesures.
Merci encore d’avance pour votre intérêt et vos éventuels conseils.
Résolu !
Accéder à la solution.
Bonjour,
C'est tout à fait faisable avec les méthodes et propriétés de VI Server.
Il y'a un exemple ici :
http://zone.ni.com/devzone/cda/epd/p/id/4364
Ou encore ici :
http://zone.ni.com/devzone/cda/epd/p/id/4943
et sur ce sujet de discussion :
http://forums.ni.com/t5/LabVIEW/VI-Server-from-RT-PXI/td-p/428275
Cordialement,
Da Helmut
Similar Messages
-
RH 6 - Temp files on server can be deleted to free up space?
The temp folder on our production server is filling up and I'm
wondering whether it is ok for us to delete any of these files. There are some files from 2009 there.
The folder location is “C:\WINDOWS\Temp” and some of the files are named like JETFD8A.tmp, JETF5D3.tmp, etc.
Can I delete these files or at least the old ones (older than today)? Will the server or any services need to be restarted if I do?
Help appreciated.I'm not seeing the connection with RoboHelp.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Building Temp SAP Production Server using DB Restore Method
Dear Gurus,
we are underway of a hardway migration of HP-UX/Oracle 10.2/4.7R3
This is my first of a kind project. We are currently underway of moving a client production server to our site..... we are using db restore method to build the sap system. we have already received the online backup tapes from the client along with the corresponding logs.
I am incharge of restoring the database once the unix team completes the fille system restore. i will really appreciate if the more experienced people among us can give me a quick run down of how thsi process shoudl run, what kind of steps to start with.
or important sap links for this procedure.
Thanks and Regards to allHi,
Best way to start with is reading system copy guide which will give you step by step process.
Thanks
Sunny -
Visualisation d'un graphe en temps reel à travers une subroutine
Bonjour tous,
Je développe un programme dans lequel je fais intervenir plusieurs subroutines. L'une d'entre elles me permet de visualiser un graphe (courbe d'hystérésis) en temps réèl. Malheureusement, ce graphe qui fonctionne très bien lorsque cette subroutine tourne seule ne fonctionne plus lorque cette subroutine est incorporée dans le programme principal. En effet, je n'obtiens que deux demi-courbes (rampe montante-rampe descendante) une fois qu'elles sont effectuée dans leur intégralité. Ces deux demi courbes correspondent à deux boucle while effectuées l'une après l'autre.
Comment faire donc pour garder ce sous programme (que je vous envoie) en tant que subroutine facilement incorporable dans le programme principal tout en ayant la possibilité de visualiser la construction du graphe point par point (et non demi courbe après demi courbe).
Merci à ceux qui ont essayé de comprendre, et grand merci (+ chocolats à Noël) pour ceux qui m'auront donné une solution.
Attachments:
hystérésis visible.vi 124 KBBonjour,
Pour visualiser une acquisition en continu à partir d'un programme principale plusieurs solutions existent :
Le plus simple est de modifier la structure du programme pour que le sous-VI ne contienne pas la boucle while et que celle-ci soit présente dans le programme principal.
Une autre solution simple est d'afficher la face avant du sous-VI contenant le graphique déroulant en premier plan lorsque vous faîtes appel à ce sous-VI. Vous avez aussi éventuellement la possibilité d'inclure la face avant du sous-VI dans un conteneur de face avant secondaire.
Le problème que vous rencontrez fait appel à des notions abordées durant nos journées de formation.
Vous pouvez également consulter les différentes ressources pédagogiques disponibles à l'addresse suivante :
http://digital.ni.com/worldwide/france.nsf/web/all/F32FE08B3CE85FB6C1256EEF0045AEE3?opendocument&node=200102_f
Salutations,
Marc Larue
Ingénieur d'application
NIF -
Cherche vi pour temps reel webcam + reconnaissance de formes
bonjour, je possède labview7.0 et je désire acquérir en temps réél l'image de la webcam stockée en RAM du pc et ensuite reconnaître une forme ronde ( bille ) en déplacement .
CELA EST IL POSSIBLE? POUVEZ VOUS ME FOURNIR UN VI COMPLET? MERCI BEAUCOUP.Bonjour,
Pour utiliser votre cam�ra sous LabVIEW, vous devez avoir un driver, c'est-�-dire un jeu de fonctions (g�n�ralement sous forme de DLL) permettant de programmer, configurer et communiquer avec la cam�ra.
Ce driver doit �tre livr� par le fournisseur de la cam�ra afin de pouvoir la piloter par soft.
Il existe peut-�tre un driver pour votre cam�ra sp�cifique pour LabVIEW, c'est-�-dire un driver fournissant une palette de VIs permettant de r�aliser certaines fonctionnalit�s (configuration, utilitaire, acquistion, etc...).
Si ce driver pour LabVIEW n'existe pas mais que vous avez le driver sous forme de DLL, vous pourrez d�velopper des VIs appelant les fonctions de la DLL pour r�aliser les fonctions voulues (par exemple, r�cup�ration des octets dans le buffer d'acquisition dans le cadre d'une acquisition buff�ris�e, c'est-�-dire stockage de l'image dans la RAM du PC).
Les drivers d'instruments ne peuvent �tre d�velopp�s que par le constructeur de l'instrument et non pas par National Instruments qui d�veloppe le driver NI-IMAQ pour ses cartes d'acquisition VISION.
Pour info, il existe un module de traitement d'images pour LabVIEW "Module IMAQ Vision Development" qui est un toolkit regroupant des VIs pour analyser et traiter des images sous LabVIEW.
Donc OUI il est possible d'acqu�rir des images avec votre cam�ra sous LabVIEW, il vous faut imp�rativement le driver associ� (� demander aupr�s du fournisseur).
NON il n'existe pas un exemple NATIONAL INSTRUMENTS "tout fait" car c'est encore au constructeur de l'instrument et du driver de d�velopepr des exemples simples pour utiliser leur appareil sous LabVIEW. NI d�veloppe des exemples pour utiliser les mat�riels NI utilisant les drivers NI pour des environnements de d�veloppements comme LabVIEW ou Microsoft Visual C++ (ce n'est pas Microsoft qui fait des exemples pour communiquer avec une carte DAQ de NI par exemple).
Je vous souhaite une bonne continuation.
Cordialement.
Matthieu Gourssies
National Instruments -
Le recherche en temps reel ne fonctione plus(bloquee sur les memes resultas)
depuis plus de 8h la recherche en temps réel ne fonctionne plus
les mêmes résultats apparaissent depuis plus de 8 h
alors qu'avec cette fonction les résultats s'affiche et deffilent en temps réel sur mon écrans
ou est le problème ?Pour ceux que cela intéresse : le message est dupliqué ici (avec réponse).
Merci,
Charlotte F. | CLAD
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
>> "Du 11 octobre au 17 novembre, 2 sessions en parallèle : bien démarrer - approfondir vos connais... -
Bonjour,
Je voudrai essayer de faire un test avec labview real time.
J'ai téléchargé le kit pour tester sa configuration, en vue de transformer un pc de bureau en cible temps réel.
via ce lien
http://digital.ni.com/public.nsf/allkb/9209361E17708D548625744A007FF353
Mais lorsque je fais un test sur une cible, je suis confronté systhèmatiquement à l'erreur suivante (j'ai essayé sur plusieurs pc, avec le mode ahci activé etc).
voici l'erreur :
Starting up files system
error. Cannot i not failed.drive Check the hardware configuration, labvview real time support, parallel ata hard drives and serial ata drives. Seriale ata drives must configured to "compatibility" mode to appear as a parallele ata drive; or to use "ahci/raid" mode to appear as a serial ata drive
Est ce que l'installation sur la clef c'est mal faite, je ne comprend pas pourquoi celui-c ne fonctionne pas...Bonjour,
Les PCs utilisés ont-ils bien un système de fichiers en FAT32 et non NTFS ?
Valentin
Certified TestStand Architect
Certified LabVIEW Developer
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
Travaux Pratiques d'initiation à LabVIEW et à la mesure
Du 2 au 23 octobre, partout en France -
Graph modification en temps reel
Bonjour,
j'ai fait un programme qui m'affiche une courbe "amplitude en fonction de la fréquence", voir ci-joint, et mon problème est que quand je change la fréquence, l'axe des abscisses change automatiquement, mais concernant le graphe il faut que je stoppe le programme et je le relance pour avoir la courbe associé à cette fréquence, sinon il m'affiche que celle de la fréquence précédente. Vous pouvez me dire d'ou vient le problème s'il vous plait.
je voudrais que lorsque je change la fréquence ca modifie la courbe sans que j'ai à l'arreter et relancer.
merci de votre aide et bien cordialement.
Pièces jointes :
test1.vi 37 KB4 messages plus haut : " ... voici une image, pour voir le diagramme (fgfff.jpg) "
a) éternellement émerveillé de voir que certains sont parfaitement à l'aise avec ce type de code ... bon dieu, comment font-ils ?
Cela ne coûte pas beaucoup plus cher de faire du "propre" ... d'aligner, d'éviter 9E+6 ( ) d' escaliers inutiles.
... en résumé .... de faire du code qui "en jette" en peu quoi ! .... non ?
Pas d'inquiétude inutile, vous n'êtes pas le seul.
Je suis OFF de constater à quel point (pour une large majorité) les utilisateurs de LV zappent l'aspect et la propreté de leurs codes.
LV est un langage graphique ! la propreté, l'agencement et "les manières de" sont soumis à des règles de bonnes pratiques
(et au bon sens commun en matière de soin)
Que ferez-vous quand votre code deviendra un rien complexe et ressemblera à ceci ?
b) c'est quoi ce noeud de propriété "waveform graph" (à droite) ... totalement flottant ?
savez-vous que de le placer "à droite" est totalement sans effet.
Flottant et non soumis au séquencement d'aucun flux .... il peut parfaitement s'exécuter en premier lieu. -
Please, HELP ME... "ZENworks Repoting Server installation f"
(Sorry was mistake send to the Politic forum)
Server:
#cat /proc/version
Linux version 2.6.16.60-0.42.5-smp (geeko@buildhost) (gcc version 4.1.2 20070115 (SUSE Linux)) #1 SMP Mon Aug 24 09:41:41 UTC 2009
# uname -a
Linux zcm0 2.6.16.60-0.42.5-smp #1 SMP Mon Aug 24 09:41:41 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux
# rpm -qa | grep -i zenwork
novell-zenworks-java-links-1.5.0_11-1
novell-zenworks-addon-image-langs-server-10.2.1-33465
novell-zenworks-configure-server-10.2.1.34436-34436
novell-zenworks-inventory-server-10.2.1-33465
novell-zenworks-policies-langs-server-10.2.1-33465
novell-zenworks-reports-server-10.2.1-34436
novell-zenworks-uninstall-10.2.1-33465
novell-zenworks-zmgexplorer-10.2.1-32627
novell-zenworks-znews-server-10.2.1-33465
novell-zenworks-bundles-langs-server-10.2.1-33465
novell-zenworks-discovery-langs-server-10.2.1-33465
novell-zenworks-managed-devices-langs-server-10.2.1-33465
novell-zenworks-primary-agent-10.2.1-31704
novell-zenworks-temp-extras-server-10.2.1-34617
novell-zenworks-zencore-agent-10.2.1-31891
novell-zenworks-zmgpxeclientfiles-10.2.1-32627
novell-zenworks-actions-10.2.1-30006
novell-zenworks-asset-management-langs-server-10.2.1-33465
novell-zenworks-certificate-authority-server-10.2.1-33465
novell-zenworks-core-server-10.2.1-34693
novell-zenworks-deployment-server-10.2.1-34693
novell-zenworks-java-utilities-server-10.2.1-33465
novell-zenworks-patch-management-10.2.1-1000
novell-zenworks-preboot-langs-server-10.2.1-33465
novell-zenworks-remote-management-server-10.2.1-33465
novell-zenworks-system-update-10.2.1.5432-32066
novell-zenworks-temp-extras-langs-server-10.2.1-33465
novell-zenworks-xplat-pre-agent-10.2.1-32192
novell-zenworks-zmediacreator-10.2.1-32627
novell-zenworks-zmgservices-10.2.1-32627
novell-zenworks-zmgupdate-10.2.1-32627
novell-zenworks-version-10.2.1-34731
novell-zenworks-jsvc-5.5.20-1
novell-zenworks-common-libs-10.2.0-21306
novell-zenworks-addon-image-server-10.2.1-33465
novell-zenworks-bundle-10.2.1-31873
novell-zenworks-certificate-authority-langs-server-10.2.1-33465
novell-zenworks-core-langs-server-10.2.1-33465
novell-zenworks-deployment-langs-server-10.2.1-33465
novell-zenworks-java-utilities-langs-server-10.2.1-33465
novell-zenworks-policies-server-10.2.1-33465
novell-zenworks-zcm-server-10.2.1-33465
novell-zenworks-preboot-server-10.2.1-33465
novell-zenworks-remote-management-langs-server-10.2.1-33465
novell-zenworks-system-update-server-10.2.1-34646
novell-zenworks-thirdpartyimagingutils-10.2.1-32627
novell-zenworks-zmgbootcd-10.2.1-32627
novell-zenworks-zmgmcast-10.2.1-32627
novell-zenworks-zmgweb-10.2.1-32627
novell-zenworks-tomcat-5.5.23-11
novell-zenworks-common-jars-10.2.0.22715-22715
novell-zenworks-bundles-server-10.2.1-33465
novell-zenworks-discovery-server-10.2.1-33465
novell-zenworks-managed-devices-server-10.2.1-33465
novell-zenworks-pre_pkg-10.2.1-33465
novell-zenworks-system-update-langs-server-10.2.1-33465
novell-zenworks-zcm-langs-server-10.2.1-33465
novell-zenworks-zmgpolicy-10.2.1-32627
novell-zenworks-asset-management-server-10.2.1-33465
novell-zenworks-configure-langs-server-10.2.1-33465
novell-zenworks-inventory-langs-server-10.2.1-33465
novell-zenworks-policy-10.2.1-27420
novell-zenworks-reports-langs-server-10.2.1-33465
novell-zenworks-version-primary-server-10.2.1-34693
novell-zenworks-zmglibs-10.2.1-32627
novell-zenworks-znews-langs-server-10.2.1-33465
THis was my steps:
1 copy from the ZRM10.2.1 to the /usr/local/src/zrm
2) cd /usr/local/src/zrm
3) setup.sh
Administrator / qwerty
Zenworks Reporting Server Already Installed in this ZONE
"ZENworks 10.1.0 Reporing Server haz already been installed in this zone.
Do you want to decommission it from the then ?"
OK
BOE XI 3.1 Installation is is progress...
ZENworks service must be restarted in order to use ZENworks Reporting Server.
(*) No, I will restart the services mysel | Next
And see this error:
Installation Resullts:
ZENworks Repoting Server installation failed
Press: Done
After all this steps:
shutdown -r now
from the my Linux do:
https://myzcmserver | Reports
And see this info:
"Note: There is no ZENworks Reporting Server configured in the Management Zone."
What can i do ?
Sergamaltsev1,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/ -
I have a xserve in a homemade box with vents in the front and back of the top and bottom.
I have a 4" hole with a vent to go out side. I have a front door with plexi glass to keep the noise down as I am in a small office. The room is air conditioned to 70% . In side the cabinet the temp is about 85. I also have 1 1/2 " audio foam to cut the noise on the sides.
Is this to hot. The back is open.
Thanks
MartinI went into server admin to temp added the server and it said the software was not installed. Does this come with the disk?
Which particular Xserve box? Intel? PPC?
Is the Xserve box current on its firmware?
Is the Mac OS X Server software is running on the Xserve box? (Or is this the Mac OS X client software?)
What Server Tools kit are you using here, and what is the version of the Mac box that's running the Server Monitor tool (if that's not the same Xserve box being discussed here).
What is the exact text of the error message? Or Google for that exact quoted text, and look for addition al details around the particular error directly. -
Hi,
The documentation for my 280R shows this
Operating
Temperature 5°C to 40°C (41°F to 104°F)—IEC 60068-2-1, 60068-2-2
When I run prtdiag -v, the results show
System Temperatures (Celsius):
cpu0 1
46 44
My guess is the docs are talking about the air temps in the server room and the diagnostics are referring to the actual CPU temps. If this is true, then what is the range for the CPUs?
I need to set up an alert system when the CPUs get hot as we have had A/C problems in the past.
LarryPascalKreyer-Oracl,
Thank you for your help.
Larry -
RWI 00236 error while opening report in PDF mode
Hi All,
I'm getting the RWI 00236 error while the report is opened in PDF mode.I have searched on this error but couldn't got the answer so far.My report is quite a large one and i wont get any error while running simple reps.If this is something to do with temp files deletion at server side ,pls let me know which temp files needs to be deleted bcoz there quite few temp files at server level.Ofter getting this error msg ,the report browser hangs up and i needs to logout completely from infoview.
Im using BO X1r2 version and service pack is SP4.Hi,
Are you able to open other reports in PDF Mode or not
If you are not able to open any report in PDF format then try to follow below mentioned steps.
1. Open Adobe Acrobat Reader. Click Edit > Preferences.
2. Click Internet in the Categories column of the Preferences property sheet.
3. Choose Display PDF in browser check box as shown below.
4. Click Ok, Adobe will reconfigure the setting, close Reader.
5. Now, when we view in pdf format in IE, we might see one message
6. So, when IE is launched, go to Tools>Manage Add-ons>Enable or Disable Add-ons and then enable
"Adobe PDF Reader Link Helper" add-on. Click Ok, restart IE.
Cheers,
Suresh Aluri. -
Issue with Enterprise Manager 11g
When I start the db console I am given the message
Enterprise Manager is not able to connect to the database instance, The state of the components are listed below.
All components are listed with green arrows indicating they are up
After reading a few posts here I have attempted to use EMCA to drop and re create the repository and settings
I have run the command 'emca -deconfig dbcontrol db -repos drop' to try and do this but it just hangs
Looking in the logs I can see the follow (only the last few lines added to keep it short)
emca_2011_08_05_14_17_29 -
CONFIG: Setting param: REP_DB_RUNNING_HOST value: RangePlanTest.gooutdoors.local
Aug 5, 2011 2:17:56 PM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
Aug 5, 2011 2:17:56 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Aug 5, 2011 2:17:56 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
Aug 5, 2011 2:17:56 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: godw, oracleHome: C:\app\server\product\11.2.0\dbhome_2, and user: SYSMAN
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
CONFIG: Passed listener validation check.Listener is up and running.
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.util.PlatformInterface isInView
CONFIG: IN_VIEW marker not instantiated in C:\app\server\product\11.2.0\dbhome_2\sysman\config\emca.properties
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.util.PlatformInterface getEnvProps
CONFIG: Returning env array from cache
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
+CONFIG: New Env List: [ALLUSERSPROFILE=C:\ProgramData, APPDATA=C:\Users\server\AppData\Roaming, CLASSPATH=C:\app\server\product\11.2.0\dbhome_2\jlib\emca.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\srvm.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\srvmasm.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\cvu.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\emConfigInstall.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\ldapjclnt11.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\ldap.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\share.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\srvmhas.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\netcfg.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\http_client.jar;C:\app\server\product\11.2.0\dbhome_2\lib\http_client.jar;C:\app\server\product\11.2.0\dbhome_2\lib\xmlparserv2.jar;C:\app\server\product\11.2.0\dbhome_2\assistants\jlib\assistantsCommon.jar;C:\app\server\product\11.2.0\dbhome_2\sysman\jlib\emCORE.jar;C:\app\server\product\11.2.0\dbhome_2\sysman\jlib\emagentSDK.jar;C:\app\server\product\11.2.0\dbhome_2\oui\jlib\OraInstaller.jar;C:\app\server\product\11.2.0\dbhome_2\oui\jlib\OraPrereq.jar;C:\app\server\product\11.2.0\dbhome_2\inventory\prereqs\oui\OraPrereqChecks.jar;C:\app\server\product\11.2.0\dbhome_2\oui\jlib\OraPrereqChecks.jar;, COMMONPROGRAMFILES=C:\Program Files\Common Files, COMMONPROGRAMFILES(X86)=C:\Program Files (x86)\Common Files, COMMONPROGRAMW6432=C:\Program Files\Common Files, COMPUTERNAME=RANGEPLANTEST, COMSPEC=C:\Windows\system32\cmd.exe, EMCA_JAR=C:\app\server\product\11.2.0\dbhome_2\jlib\emca.jar, FP_NO_HOST_CHECK=NO, HOMEDRIVE=Z:, HOMEPATH=\, HOMESHARE=\\kryten\gooutdoors\users\server, JRE_JAVA=C:\app\server\product\11.2.0\dbhome_2\jdk\jre\bin\java, LIB_DIR=C:\app\server\product\11.2.0\dbhome_2\jlib, LOCALAPPDATA=C:\Users\server\AppData\Local, LOGONSERVER=\\RIMMER, NUMBER_OF_PROCESSORS=4, OH=C:\app\server\product\11.2.0\dbhome_2, ORACLE_HOME=C:\app\server\product\11.2.0\dbhome_2, ORACLE_SID=godw, OS=Windows_NT, PATH=C:\app\server\product\11.2.0\dbhome_2\bin;C:\app\server\product\11.2.0\dbhome_2\bin;C:\Program Files\HP\NCU;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, PROCESSOR_ARCHITECTURE=AMD64, PROCESSOR_IDENTIFIER=Intel64 Family 15 Model 4 Stepping 1, GenuineIntel, PROCESSOR_LEVEL=15, PROCESSOR_REVISION=0401, PROGRAMDATA=C:\ProgramData, PROGRAMFILES=C:\Program Files, PROGRAMFILES(X86)=C:\Program Files (x86), PROGRAMW6432=C:\Program Files, PROMPT=$P$G, PSMODULEPATH=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\, PUBLIC=C:\Users\Public, SESSIONNAME=Console, SYSTEMDRIVE=C:, SYSTEMROOT=C:\Windows, TEMP=C:\Users\server\AppData\Local\Temp\1, TMP=C:\Users\server\AppData\Local\Temp\1, USERDNSDOMAIN=GOOUTDOORS.LOCAL, USERDOMAIN=GOOUTDOORS, USERNAME=server, USERPROFILE=C:\Users\server, WINDIR=C:\Windows, WINDOWS_TRACING_FLAGS=3, WINDOWS_TRACING_LOGFILE=C:\BVTBin\Tests\installpackage\csilogfile.log]+
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: CMD /C C:\app\server\product\11.2.0\dbhome_2\sysman\admin\emdrep\bin\RepManager.bat -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=RangePlanTest.gooutdoors.local)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=GODW))) -repos_user SYSMAN -action drop -verbose -output_file C:\app\server\cfgtoollogs\emca\GODW\emca_repos_drop_2011_08_05_14_17_57.log
emca_repos_drop_2011_08_05_14_17_57 -
SQL> declare
2 l_username varchar2(30);
3 l_sid number;
4 l_serial number;
5 err number;
6 c number;
7 l_job_process_count NUMBER ;
8 TYPE TBSP_ARRAY IS TABLE OF VARCHAR2(64) INDEX BY BINARY_INTEGER ;
9 l_tablespaces TBSP_ARRAY;
10
11
12 PROCEDURE set_job_process_count(p_count IN NUMBER)
13 IS
14 BEGIN
15 --scope=memory so it will be reset on instance startup
16 -- SID=* to take care of RAC
17 IF p_count >=0
18 THEN
19 EXECUTE IMMEDIATE 'ALTER SYSTEM SET job_queue_processes='
20 ||p_count||' SID=''*''' ;
21 END IF ;
22 EXCEPTION WHEN OTHERS THEN NULL ;
23 END set_job_process_count ;
24
25 FUNCTION get_job_process_count
26 RETURN NUMBER
27 IS
28 l_value NUMBER ;
29 BEGIN
30 SELECT value
31 INTO l_value
32 FROM v$parameter
33 WHERE name = 'job_queue_processes' ;
34 RETURN(l_value) ;
35 EXCEPTION
36 WHEN OTHERS THEN
37 RETURN(10) ;
38 END get_job_process_count ;
39 begin
40 -- Now, drop the SYSMAN user
41 c := 0;
42 -- validate user exists
43 BEGIN
44 SELECT username
45 INTO l_username
46 FROM dba_users
47 WHERE username = upper('&EM_REPOS_USER') ;
48 EXECUTE IMMEDIATE 'ALTER USER '||l_username||' ACCOUNT LOCK' ;
49 EXCEPTION
50 WHEN NO_DATA_FOUND THEN RETURN ;
51 END ;
52 -- reduce job_queue_processes to zero
53 l_job_process_count := get_job_process_count ;
54 set_job_process_count(0) ;
55 begin
56 loop
57 BEGIN
58 LOOP
59 BEGIN
60 FOR crec in (SELECT sid, serial#
61 FROM gv$session
62 WHERE (upper(username)=l_username OR
63 upper(schemaname)=l_username)
64 AND status != 'KILLED')
65 LOOP
66 BEGIN
67 EXECUTE IMMEDIATE 'ALTER SYSTEM KILL SESSION IMMEDIATE ''' ||
68 crec.sid || ',' || crec.serial# || '''';
69 EXCEPTION
70 WHEN OTHERS THEN
71 err := SQLCODE;
72 IF err != -30 THEN
73 EXIT;
74 END IF;
75 END;
76 commit;
77 END LOOP;
78 EXCEPTION
79 WHEN OTHERS THEN
80 err := SQLCODE;
81 IF err != -30 THEN
82 EXIT;
83 END IF;
84 END;
85 IF SQL%NOTFOUND THEN
86 EXIT;
87 END IF;
88 commit;
89 END LOOP;
90
91 -- >> START - Capturing the Tablespaces to be dropped
92
93 for crec in (SELECT DISTINCT TABLESPACE_NAME FROM all_tables
94 WHERE owner = '&EM_REPOS_USER' AND table_name IN ('MGMT_TARGETS','MGMT_JOB_PARAMETER','MGMT_AUDIT_DATA')
95 MINUS
96 SELECT DISTINCT TABLESPACE_NAME FROM all_tables
97 WHERE owner != '&EM_REPOS_USER')
98 LOOP
99 l_tablespaces(l_tablespaces.count) := crec.tablespace_name;
100 END LOOP;
101
102 -- >> END - Capturing the Tablespaces to be dropped
103
104 execute immediate 'drop user ' || l_username || ' cascade';
105 set_job_process_count(l_job_process_count) ;
106
107 -- >> START - Dropping the Tablespaces
108 BEGIN
109 IF (l_tablespaces.count > 0) THEN
110 FOR i IN l_tablespaces.FIRST .. l_tablespaces.LAST
111 LOOP
112 BEGIN
113 execute immediate 'drop tablespace ' || l_tablespaces(i) || ' including contents';
114 exception
115 when NO_DATA_FOUND then
116 DBMS_OUTPUT.PUT_LINE('DropRep: Tablespaces for REPOS USER do not exist');
117 WHEN OTHERS THEN
118 err := SQLCODE;
119 DBMS_OUTPUT.PUT_LINE('DropRep: Error ' || SQLCODE || ' received dropping tablespace ' || l_tablespaces(i));
120 END;
121 END LOOP;
122 ELSE
123 DBMS_OUTPUT.PUT_LINE('NO TABLESPACES Exist');
124 END IF;
125 END;
126 -- >> END - Dropping the Tablespaces
127
128 exit;
129
130 EXCEPTION
131 WHEN NO_DATA_FOUND THEN
132 exit;
133 WHEN OTHERS THEN
134 err := SQLCODE;
135 IF err = -1918 THEN
136 EXIT;
137 ELSE
138 IF err = -1940 THEN
139 NULL;
140 ELSE
141 DBMS_OUTPUT.PUT_LINE('not 1940 err' || err);
142 c := c+1;
143 IF c > 50 THEN
144 RAISE;
145 END IF;
146 END IF;
147 END IF;
148 END;
149 end loop;
150 end;
151 commit;
152 EXCEPTION
153 WHEN OTHERS THEN
154 set_job_process_count(l_job_process_count) ;
155 RAISE ;
156 end;
157 /
old 47: WHERE username = upper('&EM_REPOS_USER') ;
new 47: WHERE username = upper('SYSMAN') ;
old 94: WHERE owner = '&EM_REPOS_USER' AND table_name IN ('MGMT_TARGETS','MGMT_JOB_PARAMETER','MGMT_AUDIT_DATA')
new 94: WHERE owner = 'SYSMAN' AND table_name IN ('MGMT_TARGETS','MGMT_JOB_PARAMETER','MGMT_AUDIT_DATA')
old 97: WHERE owner != '&EM_REPOS_USER')
new 97: WHERE owner != 'SYSMAN')
Sorry for the long post but any help would be greatAs a bit of further info I noticed these warnings when running the command - emca -deconfig dbconrtol db -repos drop
Do you wish to continue? [yes(Y)/no(N)]: Y
Aug 5, 2011 4:26:26 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at C:\app\server\cfgtoollogs\emca\GODW\emca_2011_08_05_16_25_58.log.
Aug 5, 2011 4:26:27 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Aug 5, 2011 4:26:28 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing CMD /C C:\app\server\product\11.2.0\dbhome_2\bin\nmesrvops.exe delete OracleDBConsoleGODW
Aug 5, 2011 4:26:32 PM oracle.sysman.emcp.EMReposConfig invoke
WARNING: Unable to remove DBMS jobs.
Aug 5, 2011 4:26:33 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ... -
Child package cannot read param value from parent ssis package
Hi all,
I think I must be crazy !! i have a big problem in my ssis project .
i have more than 40 package one parent and 39 childs
i use configuration method to get variable values from parent to child packages and it work well .. but when i copy my ssis project
to the production server i face the following problem .. childs package didn't read the variables values from the parent package
i revised the configuration many times i can't find any missing !!
any help please ...
Thanks,Do not copy the packages from the projet to the production server, but you must generate the manifest installation including your configuration, and deploy them.
Note : not forget to include the configuration.
To learn more about how to install the package :
Lesson 1:
http://msdn.microsoft.com/en-us/library/ms365332(v=sql.105).aspx
Lesson 2 :
http://msdn.microsoft.com/en-us/library/ms365329(v=sql.105).aspx
Lesson 3 :
http://msdn.microsoft.com/en-us/library/ms365321(v=sql.105).aspx -
i have created an UDF in marketing document->wtax info
now i want to remove that UDF, but when i press remove button it shows me error there are some problem with application and .dmp file was created and please contact to support and attach diagnostic file.
please help me.Hi,
Remove all file from Temp folder >Restart server>>Be sure noone user is login in syatem>>
and now remove the UDF.
Regards
Deepak
Maybe you are looking for
-
Hi Ever Since I Installed Leopard My Version Of iMovie '08 Wont Open Properly In The Dock Is Says It Is Open And On The Bar At The Top It Says iMovie '08 But No Window Opens And I Cant Make A New Project Or Anything. I Have Also Reinstalled It As Wel
-
Ess mss configuration for time payrol and pa/om
WAT ARE THE IMP t.CODES TO SO ESS and MSS? Can any one guide me how can I chek wether ECC have Portal intagration or not? Naresh Forum guidelines not complied - Thread is locked Edited by: Suresh Datti on Nov 27, 2009 7:10 AM
-
CIN Details Button in Customer Master
In customer master Cin Details Button is not comming -what need to be done.
-
Time needed for automated data transfer - hypothetic
An EBS client with interest in maintaining integration in their large customer base backoffice and with CRMOD has had past challenges in terms of the overall size of the data they wish to integration and the time it takes to do so. As such, the clien
-
Unable to Enable profile option
Hi All, We are facing some issue related to profile options in R2. We are unable to set the value "yes" to the profile option "WIP: MES for Discrete Manufacturing Install". please any one of u help me on this....... Thanks in advance.