Arduino - LDAC - SPI - urgent!!

Hi,
I am completely new in labview coding. I have an arduino nuo chip, connected with a DAC converter, AD5504, Analog Devices, and an operational amplier (OPA551, Texas Instruments) circuit to generate voltage output for piezoelectric firing. The wanted voltage output ranges in 0 - 60 v. However, under my coded program, there is either no voltage output or very low output, like 1.5 V. In the rare case of low voltage output, the voltage is not changable, by applying either digital write () or PWM write pin (). In the attached vi it gives error 5004 at running. Please look through my coding and help me figure it out.
This is urgent so a quick favor is needed.
Thanks.
Attachments:
Piezo controller - v2.vi ‏445 KB

Wrong board and duplicate: http://forums.ni.com/t5/LabVIEW/Arduino-SPI-DAC-converter/td-p/2954565

Similar Messages

  • Arduino - SPI - DAC converter

    Hi friends,
    I am completely new in labview coding. I have an arduino nuo chip, connected with a DAC converter, AD5504, Analog Devices, and an operational amplier (OPA551, Texas Instruments) circuit to generate voltage output for piezoelectric firing. The wanted voltage output ranges in 0 - 60 v. However, under my coded program, there is either no voltage output or very low output, like 1.5 V. In the rare case of low voltage output, the voltage is not changable, by applying either digital write () or PWM write pin (). In the attached vi it gives error 5004 at running. Please look through my coding and help me figure it out.
    The pin assignments are:
    piezo_select = 3; //Relay that switches between piezos
    go_button = 5; //piezo/wire button
    clr = 6; 
    sync = 10;
    ldac = 7;
    alarm = 8;
    r_sel = 9;
    led = 2.
    This is urgent so a quick favor is needed.
    Thanks.
    Attachments:
    Piezo controller - v2.vi ‏445 KB

    The error is 5004, occurred at 'SPI data'.
    ERR5004: SPI Send Receive.  The word size is invalid for the number of SPI bytes to be sent.  The number of SPI bytes to send must be divisible by the SPI word size.
    Please see attached PNG block diagram
    Attachments:
    Piezo_controller_-_v2d.png ‏21 KB

  • Need some quick help - fairly urgent!

    I've just taken over a new job and have been the task of finishing the new brochure for Christmas, there's not a lot to do but a lot of the measurements need changing
    This is the layout I'm dealing with..
    All the boxes have been made in Illustrator
    The text has been done in In'Design and it seems every piece of text is it's own box if that makes sense
    My question is, if I select the whole specification box - copy, paste it into Adobe Illustrator and change the text there, then paste the edited box back into In-Design, will I lose quality when it gets printed?
    I'm worried if I do it this way it may come out blurred? Or am I just worrying about nothing?

    I couldn't find an Illy file in the end and have ended up creating tables in ID to replicate what was already there!
    Didn't take very long and I guess if I didn't do it now, I'd come across the same situation next time!
    Date: Wed, 30 Nov 2011 08:48:07 -0700
    From: [email protected]
    To: [email protected]
    Subject: Need some quick help - fairly urgent!
        Re: Need some quick help - fairly urgent!
        created by Peter Spier in InDesign - View the full discussion
    There certainly are viable "quick fix" solutions proposed here, and if the dealine is looming and this file never needs to be touched again I might be tempted, but they are only postponing the pain for a file that needs periodic updates, and I wouldn't waste effort on them, myself, when that time can be put toward a proper rebuild now if that's the ultimate goal.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4054725#4054725
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4054725#4054725. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in InDesign by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Essbase 6.5 External Authentication Issue!! Urgent Please!!

    Hi all,
    I am great trouble over an external authentication issue in Essbase 6.5. I request you all to please give me your feedback on the same as soon as possible.
    I am in a situation where I need to get my Essbase 6.5 external Authentication converted from LDAP to Active Directory services.
    I suppose there has been necessary changes done to the .cfg file for the same. However, I think I am getting an error
    "User [vikc]'c external authentication protocol [MSEX]'s password check module is not loaded".
    Please let me know if you have come across such an issue earlier and can anybody to able to help me with the same.
    Its kinda Urgent. so any replies for the same will be appreciated.
    Thanks and Regards,
    Vikram

    Vikram,
    Yes you will have to reconfigure the CSS.xml and cfg file for external auth.
    Here is the Sample CSS
    <spi>
              <provider>
                   <msad name="full360">
                        <trusted>false</trusted>
                        <url>ldap://192.168.1.100:389/DC=full360,DC=com</url>
                        <userDN>CN=Ravinder Singh,DC=full360,DC=com</userDN>
                        <password>full@360</password>
                        <authType>simple</authType>
                        <identityAttribute>dn</identityAttribute>
                        <maxSize>1000</maxSize>
                        <user>
                             <loginAttribute>sAMAccountName</loginAttribute>
                             <nameAttribute>dn</nameAttribute>
                        </user>
                        <group>
                             <nameAttribute>cn</nameAttribute>
                             <objectclass>
                                  <entry>group?member</entry>
                             </objectclass>
                        </group>
                   </msad>
    Download this toll "http://www.ldapbrowser.com/download.htm"
    LDAP browser to get the perfact DN information.
    Let me know the status
    Ravikant

  • USB to SPI

    Hi
    Can we read USB device using Labview 8. Our application can be better explain with the help of attached block diagram. Please find the attached Document. In this application , we are using a sensor having SPI interface.Then with the help of National Instruments USB to SPI converter we are interfacing it with the PC.
    My question is can we read the data from a sensor which is connected to PC using NI USB to SPI converter.
    Please reply as soon as possible since it is very urgent.
    Thanks & Regards
    R
    Attachments:
    Document.doc ‏19 KB

    Hi
    In one of our application I have to read the internal register values of the sensors. I am using NI 8451 card.
    Pin Details of the sensors are-
    SDIO – Serial Port Data Input & Output
    XY_LED – Led Control
    NRESET – Reset Pin (active low input)
    NCS – Chip select (active low input)
    VDD5 – Supply voltage
    GND – Ground
    REG0- Regulator Output
    SCLK – Serial Clock Input
    My question is NI 8451 is having separate pins for SDO & SDI But sensor is having one pin for SDIO. How to connect them  ,I have to read the register values & some registers are read/writable.??
    Please reply as soon as possible, it is very urgent
    Regards
    R

  • Urgent Issue:Err-REP-50125 : java.lang.ClassNotFoundException  - 11.1.1.3.0

    I'm trying to use custom destination with oracle fusion middleware 11.1.1.3.0 In-Process report server. I have added a custom destination section in the rwserver.conf file. Added the (customdest.jar - my jar file) jar file to the system classpath and reports_classpath. Still receiving class not found error.
    Here are the details:
    rwserver.conf:/opt/oracle/Middleware/user_projects/domains/ReportsDomain/config/fmwconfig/servers/WLS_REPORTS/applications/reports_11.1.1.2.0/configuration/rwserver.conf
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <server xmlns="http://xmlns.oracle.com/reports/server" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="11.1.1.2.0" xsi:schemaLocation="http://xmlns.oracle.com/reports/server file:/opt/oracle/Middleware/as_1/reports/dtd/rwserverconf.xsd">
    <cache class="oracle.reports.cache.RWCache">
    <property name="cacheSize" value="50"/>
    <!--property name="cacheDir" value="your cache directory"/-->
    <!--property name="maxCacheFileNumber" value="max number of cache files"/-->
    </cache>
    <!--Please do not change the id for reports engine.-->
    <!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->
    *<engine class="oracle.reports.engine.EngineImpl" engLife="50" id="rwEng" maxEngine="1" minEngine="1" jvmOptions="-Xmx512M" classPath="/opt/oracle/Middleware/as_1/jlib/jsp-api-2.1-6.0.1.jar:/opt/oracle/Middleware/as_1/jlib/jsch-0.1.26.jar:/opt/oracle/Middleware/as_1/reports/jlib/customdest.jar">*
    <property name="sourceDir" value="/opt/ogreports/catalog:/opt/ogreports/catalog/img"/>
    <!--property name="tempDir" value="your reports temp directory"/-->
    <!--property name="keepConnection" value="yes"/-->
    </engine>
    <engine class="oracle.reports.urlengine.URLEngineImpl" engLife="50" id="rwURLEng" maxEngine="1" minEngine="0" classPath="/opt/oracle/Middleware/as_1/jlib/jsp-api-2.1-6.0.1.jar:/opt/oracle/Middleware/as_1/jlib/jsch-0.1.26.jar:/opt/oracle/Middleware/as_1/reports/jlib/customdest.jar"/>
    <security class="oracle.reports.server.RWJAZNSecurity" id="rwJaznSec"/>
    <!--destination destype="oraclePortal" class="oracle.reports.server.DesOraclePortal">
    <property name="dbuser" value="$$PORTAL_DB_USERNAME$$"/>
    <property name="dbpassword" value="csf:$$CSF_ALIAS$$:$$PORTAL_DB_PASSWORD_KEYE$$"/>
    <property name="dbconn" value="$$PORTAL_DB_TNSNAME$$"/>
    </destination-->
    <destination class="oracle.reports.plugin.destination.ftp.DesFTP" destype="ftp"/>
    <destination class="oracle.reports.plugin.destination.webdav.DesWebDAV" destype="WebDav"/>
    *<destination destype="rcpfile" class="com.ubizen.og.offline.reporting.oracle.RcpDestination">*
    *<property name="user" value="tomcat"/>*
    *<property name="destype" value="rcpfile"/>*
    *</destination>*
    <job engineId="rwEng" jobType="report"/>
    <job engineId="rwURLEng" jobType="rwurl"/>
    <notification class="oracle.reports.server.MailNotify" id="mailNotify">
    <property name="succnotefile" value="succnote.txt"/>
    <property name="failnotefile" value="failnote.txt"/>
    </notification>
    Error:/opt/oracle/Middleware/user_projects/domains/ReportsDomain/servers/WLS_REPORTS/logs/reports/rwserver_diagnostic.log
    [2011-09-29T10:52:26.871-04:00] [WLS_REPORTS] [INCIDENT_ERROR] [REP-50125] [oracle.reports.server] [tid: 46] [userId: <anonymous>] [ecid: 0000JApf0iF9XbpSoQjc4m1EOGV800001d,1:18769] [APP: reports#11.1.1.2.0] [dcid: fa0c1bc817f5aeb4:-3e9d1a3b:1322b067681:-7fff-000000000000876f] REP-50125 : java.lang.ClassNotFoundException: com.ubizen.og.offline.reporting.oracle.RcpDestination [[
    java.lang.ClassNotFoundException: com.ubizen.og.offline.reporting.oracle.RcpDestination
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at oracle.reports.server.Destination.invokeShutdown(Destination.java:492)
    at oracle.reports.server.Destination.shutdownDest(Destination.java:125)
    at oracle.reports.server.RWServer.shutdown(RWServer.java:463)
    at oracle.reports.server.RWServer.run(RWServer.java:364)
    at java.lang.Thread.run(Thread.java:662)
    ClassPath:.:/opt/oracle/Middleware/as_1/jlib:/opt/oracle/Middleware/as_1/reports/jlib
    File in classpath: /opt/oracle/Middleware/as_1/reports/jlib
    aolj.jar customdest.jar rwadmin.jar rwenv.jar rwxdo.jar
    confmbean.jar runtimembean.jar rwbuilder.jar rwrun.jar
    Relates to Oracle Bug:
    https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&id=()),(page=KBNavigator&id=(viewingMode=1143&from=BOOKMARK&bmDocTitle=Can%20Not%20Find%20Class%20From%20Custom%20Destinations%20Jar%20File%20-%20REP-50125%20:%20java.lang.ClassNotFoundException&bmDocID=1263455.1&bmDocType=PROBLEM&bmDocDsrc=KB))
    Note:
    I'm not sure where the In-Process report server is looking for the classpath. I added them in all possible classpaths ans none of them worked.
    This is an urgent issue in our team. We are migrating from 10g oracle application server to fusion middleware 11g report server. This functionality is working in 10g report server but not in 11g due to classpath issues.
    Please let me know if additional info needed. Please respond.

    Hi,
    Thanks very much for responding. I added my jar file(customdest.jar) as you have suggested to setDomainEnv.sh. Now the In-Process report server just hangs when I try to bring it up through em and I don't see any errors in the log files. Any ideas where to look for errors? The jar files were created for 10g , we are just migrating them to 11g. I have setup the trace at highest level still don't see any error in rwserver_diagnostic.log.
    Here is the details:
    /opt/oracle/Middleware/user_projects/domains/ReportsDomain/bin/setDomainEnv.sh :
    if [ "${SERVER_NAME}" = "WLS_REPORTS" ] ; then
    POST_CLASSPATH="/opt/oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/opt/oracle/Middleware/as_1/opmn/lib/nonj2eembeans.jar:/opt/oracle/Middleware/as_1/jdbc/lib/ojdbc6.jar:/opt/oracle/Middleware/as_1/opmn/lib/optic.jar:/opt/oracle/Middleware/as_1/opmn/lib/iasprovision.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar:/opt/oracle/Middleware/as_1/jlib/dfc.jar:/opt/oracle/Middleware/as_1/dvt/lib/dvt-jclient.jar:/opt/oracle/Middleware/as_1/dvt/lib/dvt-utils.jar:/opt/oracle/Middleware/oracle_common/jlib/ewt3.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.iau_11.1.1/fmw_audit.jar:/opt/oracle/Middleware/as_1/oui/jlib/http_client.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.idm_11.1.1/identitystore.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.idm_11.1.1/identityutils.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/jaccprovider.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/jacc-spi.jar:/opt/oracle/Middleware/as_1/ord/jlib/jai_codec.jar:/opt/oracle/Middleware/as_1/ord/jlib/jai_core.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.oc4j-obsolete_11.1.1/jazn.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.oc4j-obsolete_11.1.1/jazncore.jar:/opt/oracle/Middleware/oracle_common/jlib/jewt4.jar:/opt/oracle/Middleware/as_1/jlib/jta.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.ldap_11.1.1/ldapjclnt11.jar:/opt/oracle/Middleware/as_1/lib/mail.jar:/opt/oracle/Middleware/as_1/jlib/netcfg.jar:/opt/oracle/Middleware/as_1/jlib/oracle_ice.jar:/opt/oracle/Middleware/oracle_common/jlib/share.jar:/opt/oracle/Middleware/as_1/jlib/zrclient.jar:/opt/oracle/Middleware/as_1/reports/jlib/aolj.jar:/opt/oracle/Middleware/as_1/reports/jlib/confmbean.jar:/opt/oracle/Middleware/as_1/reports/jlib/runtimembean.jar:/opt/oracle/Middleware/as_1/reports/jlib/rwadmin.jar:/opt/oracle/Middleware/as_1/reports/jlib/rwbuilder.jar:/opt/oracle/Middleware/as_1/reports/jlib/rwenv.jar:/opt/oracle/Middleware/as_1/reports/jlib/rwrun.jar:/opt/oracle/Middleware/as_1/reports/jlib/rwxdo.jar:/opt/oracle/Middleware/as_1/jlib/rts2.jar:*/opt/oracle/Middleware/as_1/reports/jlib/customdest.jar*:${CLASSPATHSEP}${POST_CLASSPATH}"
    export POST_CLASSPATH
    Log file: rwserver_diagnostic.log
    /opt/oracle/Middleware/user_projects/domains/ReportsDomain/servers/WLS_REPORTS/logs/reports
    <destination class="oracle.reports.plugin.destination.ftp.DesFTP" destype="ftp"/>
    <destination class="oracle.reports.plugin.destination.webdav.DesWebDAV" destype="WebDav"/>
    <destination destype="rcpfile" class="com.ubizen.og.offline.reporting.oracle.RcpDestination">
    <property name="user" value="tomcat"/>
    <property name="destype" value="rcpfile"/>
    </destination>
    <job engineId="rwEng" jobType="report"/>
    <job engineId="rwURLEng" jobType="rwurl"/>
    <notification class="oracle.reports.server.MailNotify" id="mailNotify">
    <property name="succnotefile" value="succnote.txt"/>
    <property name="failnotefile" value="failnote.txt"/>
    </notification>
    <!--notification id="wfNotify" class="oracle.reports.server.WorkflowNotify">
    <property name="connStr" value="%WF_DB_USERNAME%/%WF_DB_PASSWORD%@%WF_DB_TNSNAME%" encrypted="no"/>
    </notification-->
    <!--jobStatusRepository class="oracle.reports.server.JobRepositoryDB">
    <property name="dbuser" value="$$REPO_DB_USERNAME$$"/>
    <property name="dbpassword" value="csf:$$CSF_ALIAS$$:$$REPO_DB_PASSWORD_KEYE$$"/>
    <property name="dbconn" value="$$REPO_DB_TNSNAME$$"/>
    </jobStatusRepository-->
    <connection idleTimeOut="15" maxConnect="50"/>
    <queue maxQueueSize="1000"/>
    <!--jobRecovery auxDatFiles="yes"/-->
    <pluginParam name="mailServer" value="%MAILSERVER_NAME%">
    <!--property name="enableSSL" value="yes"/-->
    <!--UserName and Password that can be used to connect to the mail server-->
    <!--property name="mailUserName" value="%MAIL_USERID%" /-->
    <!--property name="mailPassword" value="%MAIL_PASSWORD%"/-->
    </pluginParam>
    </server>
    [2011-10-02T23:31:51.431-04:00] [WLS_REPORTS] [TRACE:32] [REP-56025] [oracle.reports.server] [tid: 22] [userId: weblogic] [ecid: 0000JB7par79XbpSoQjc4m1EYIaI00000F,0] [SRC_CLASS: oracle.reports.utility.RWLogger] [APP: reports#11.1.1.2.0] [dcid: fa0c1bc817f5aeb4:7b3253ab:132c7c7f2e9:-8000-00000000000000fa] [SRC_METHOD: writeln] RWServer:startServer Reports Server is starting up.
    [2011-10-02T23:31:51.435-04:00] [WLS_REPORTS] [TRACE:16] [] [oracle.reports.server] [tid: 22] [userId: weblogic] [ecid: 0000JB7par79XbpSoQjc4m1EYIaI00000F,0] [SRC_CLASS: oracle.reports.utility.RWLogger] [APP: reports#11.1.1.2.0] [dcid: fa0c1bc817f5aeb4:7b3253ab:132c7c7f2e9:-8000-00000000000000fa] [SRC_METHOD: writeln] Multicast:registerReceiver Packet handler registered
    [2011-10-02T23:31:51.435-04:00] [WLS_REPORTS] [NOTIFICATION:16] [] [oracle.reports.server] [tid: 22] [userId: weblogic] [ecid: 0000JB7par79XbpSoQjc4m1EYIaI00000F,0] [APP: reports#11.1.1.2.0] [dcid: fa0c1bc817f5aeb4:7b3253ab:132c7c7f2e9:-8000-00000000000000fa] ServerPacketHandler:start ServerPacketHandler started successfully
    [2011-10-02T23:31:51.441-04:00] [WLS_REPORTS] [NOTIFICATION:16] [] [oracle.reports.server] [tid: 22] [userId: weblogic] [ecid: 0000JB7par79XbpSoQjc4m1EYIaI00000F,0] [APP: reports#11.1.1.2.0] [dcid: fa0c1bc817f5aeb4:7b3253ab:132c7c7f2e9:-8000-00000000000000fa] SecurityHelper:start Security system rwJaznSec successfully started.
    No more error logged after this line. but in-process server just hung up indefinitely when I tried stating via the em and also via getserverinfo URL.
    In rwserver.conf: I have defined the following for custom destination
    /opt/oracle/Middleware/user_projects/domains/Repdomain/config/fmwconfig/servers/WLS_REPORTS/applications/reports_11.1.1.2.0/configuration/rwserver.conf
    <destination destype="rcpfile" class="com.ubizen.og.offline.reporting.oracle.RcpDestination">
    <property name="user" value="tomcat"/>
    <property name="destype" value="rcpfile"/>
    </destination>

  • BRTOOLS - Recreate database Create new database fails URGENT HELP

    Hi All,
    I'm following sap note 748434 to recreate SYSTEM tablespace but when I've got to step 4 Create new database it errors :-
    Recreate database main menu
    1 + Specify new database options
    2 + Export user tablespaces
    3 + Export global objects
    4 = Create new database
    5 * Import global objects
    6 * Import user tablespaces
    7 * Exit program
    8 - Reset program status
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    4
    BR0280I BRSPACE time stamp: 2014-03-13 15.26.00
    BR0663I Your choice: '4'
    BR0613I Database instance BWD is shut down
    BR0618I Database instance BWD will be started now
    BR0280I BRSPACE time stamp: 2014-03-13 15.26.00
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    c
    BR0280I BRSPACE time stamp: 2014-03-13 15.26.04
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0280I BRSPACE time stamp: 2014-03-13 15.26.04
    BR0619I Starting database instance BWD ...
    BR0280I BRSPACE time stamp: 2014-03-13 15.26.06
    BR0620I Start of database instance BWD successful
    BR0490I Database file /oracle/BWD/sapdata1/system_1/system.data1 (and its subdirectory or link if applicable) will be deleted now
    BR0490I Database file /oracle/BWD/origlogA/log_g11m1.dbf (and its subdirectory or link if applicable) will be deleted now
    BR0490I Database file /oracle/BWD/mirrlogA/log_g11m2.dbf (and its subdirectory or link if applicable) will be deleted now
    BR0490I Database file /oracle/BWD/origlogB/log_g12m1.dbf (and its subdirectory or link if applicable) will be deleted now
    BR0490I Database file /oracle/BWD/mirrlogB/log_g12m2.dbf (and its subdirectory or link if applicable) will be deleted now
    BR0490I Database file /oracle/BWD/origlogA/log_g13m1.dbf (and its subdirectory or link if applicable) will be deleted now
    BR0490I Database file /oracle/BWD/mirrlogA/log_g13m2.dbf (and its subdirectory or link if applicable) will be deleted now
    BR0490I Database file /oracle/BWD/origlogB/log_g14m1.dbf (and its subdirectory or link if applicable) will be deleted now
    BR0490I Database file /oracle/BWD/mirrlogB/log_g14m2.dbf (and its subdirectory or link if applicable) will be deleted now
    BR0490I Database file /oracle/BWD/origlogA/cntrl/cntrlBWD.dbf (and its subdirectory or link if applicable) will be deleted now
    BR0490I Database file /oracle/BWD/sapdata1/cntrl/cntrlBWD.dbf (and its subdirectory or link if applicable) will be deleted now
    BR0490I Database file /oracle/BWD/saparch/cntrl/cntrlBWD.dbf (and its subdirectory or link if applicable) will be deleted now
    BR0280I BRSPACE time stamp: 2014-03-13 15.26.06
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    c
    BR0280I BRSPACE time stamp: 2014-03-13 15.27.22
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0280I BRSPACE time stamp: 2014-03-13 15.27.22
    BR0792I Database files can be saved before deletion
    BR0675I Do you want to perform this action?
    BR0280I BRSPACE time stamp: 2014-03-13 15.27.22
    BR0676I Enter 'y[es]' to perform the action, 'n[o]/c[ont]' to skip it, 's[top]' to abort:
    c
    BR0280I BRSPACE time stamp: 2014-03-13 15.27.28
    BR0257I Your reply: 'c'
    BR0678I The action will be skipped...
    BR0259I Program execution will be continued...
    BR0794I Database file /oracle/BWD/sapdata1/system_1/system.data1 deleted
    BR0480I Directory /oracle/BWD/sapdata1/system_1 deleted
    BR0794I Database file /oracle/BWD/origlogA/log_g11m1.dbf deleted
    BR0794I Database file /oracle/BWD/mirrlogA/log_g11m2.dbf deleted
    BR0794I Database file /oracle/BWD/origlogB/log_g12m1.dbf deleted
    BR0794I Database file /oracle/BWD/mirrlogB/log_g12m2.dbf deleted
    BR0794I Database file /oracle/BWD/origlogA/log_g13m1.dbf deleted
    BR0794I Database file /oracle/BWD/mirrlogA/log_g13m2.dbf deleted
    BR0794I Database file /oracle/BWD/origlogB/log_g14m1.dbf deleted
    BR0794I Database file /oracle/BWD/mirrlogB/log_g14m2.dbf deleted
    BR0794I Database file /oracle/BWD/origlogA/cntrl/cntrlBWD.dbf deleted
    BR0794I Database file /oracle/BWD/sapdata1/cntrl/cntrlBWD.dbf deleted
    BR0794I Database file /oracle/BWD/saparch/cntrl/cntrlBWD.dbf deleted
    BR0280I BRSPACE time stamp: 2014-03-13 15.27.28
    BR0491I Subdirectory or link for database file /oracle/BWD/sapdata1/system_1/system.data1 and will be recreated now if needed
    BR0491I Subdirectory or link for database file /oracle/BWD/sapdata1/sysaux_1/sysaux.data1 and will be recreated now if needed
    BR0491I Subdirectory or link for database file /oracle/BWD/sapdata1/temp_1/temp.data1 and will be recreated now if needed
    BR0491I Subdirectory or link for database file /oracle/BWD/sapdata4/undo_1/undo.data1 and will be recreated now if needed
    BR0280I BRSPACE time stamp: 2014-03-13 15.27.28
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    c
    BR0280I BRSPACE time stamp: 2014-03-13 15.27.30
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0370I Directory /oracle/BWD/sapdata1/system_1 created
    BR0280I BRSPACE time stamp: 2014-03-13 15.27.30
    BR1273I SQLPLUS will be started for execution of SQL script /oracle/BWD/sapreorg/senkbgrd/dbcrt.sql
    BR0280I BRSPACE time stamp: 2014-03-13 15.27.30
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    c
    BR0280I BRSPACE time stamp: 2014-03-13 15.27.43
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0280I BRSPACE time stamp: 2014-03-13 15.27.43
    BR0278I Command output of '/oracle/BWD/102_64/bin/sqlplus /nolog < /oracle/BWD/sapreorg/.senkbgrd.spi':
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Mar 13 15:27:43 2014
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    SQL> SQL> SQL> Connected.
    SQL>
    SQL> CREATE DATABASE BWD
    ERROR at line 1:
    BR0278E Command output of '/oracle/BWD/102_64/bin/sqlplus /nolog < /oracle/BWD/sapreorg/.senkbgrd.spi':
    ORA-01092: ORACLE instance terminated. Disconnection forced
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Data Mining and Real Application Testing options
    BR0280I BRSPACE time stamp: 2014-03-13 15.28.32
    BR1274I Execution of SQL script /oracle/BWD/sapreorg/senkbgrd/dbcrt.sql completed
    BR1277W SQLPLUS reported warnings or errors during the execution of SQL script /oracle/BWD/sapreorg/senkbgrd/dbcrt.sql
    BR0668I Warnings or errors occurred - you can continue to ignore them or go back to repeat the last action
    BR0280I BRSPACE time stamp: 2014-03-13 15.28.32
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    The file it refers to Command output of '/oracle/BWD/102_64/bin/sqlplus /nolog < /oracle/BWD/sapreorg/.senkbgrd.spi': contains this :- 
    cat /oracle/BWD/sapreorg/.senkbgrd.spi
    set linesize 250;
    set pagesize 1000;
    @/oracle/BWD/sapreorg/.senkbgrd.spu
    host /usr/sap/BWD/SYS/exe/run/brtools -f delete /oracle/BWD/sapreorg/.senkbgrd.spu;
    @/oracle/BWD/sapreorg/senkbgrd/dbcrt.sql
    exit;
    But the file it tries to run first @/oracle/BWD/sapreorg/.senkbgrd.spu doesn't exist at runtime it seems!
    Anyone offer any help urgently as this system is now dead!
    Thanks
    Craig

    Apologies, I resolved this myself.  Was not obvious and no error logs indicated what the problem was.
    Turns out that the initial configuration of tablespace data files was incorrect.  Even though it matched the correct size it tried creating them as 1 file and subsequently ran out of file system space.
    After realising this I changed the values and adjusted the tablespaces post creation.
    Thanks anyway.
    Cheers
    Craig

  • Arduino con LabVIEW

    Hola, deseo saber si alguna persona me puede contestar por que no puedo cargar LVIFA_Base.pde en mi tarjeta Arduino Duemilanove.

    Luisatilio
    Partiendo de la base que ya tienes instalado Labview y el IDE de Arduino en el mismo computador.
    Ya se que es lo que te pasa. Primero que todo lo que me enviaste es solo el codigo de programación del arduino, en ese mismo codigo arriba donde dice #include, estas agregado bibliotecas, eso significa que estas incluyendo en tu codigo una biblioteca de arduino que es más codigo pero que esta dentro de un archivo y eso te permite ahorrarte el escribir funciones y declaracion de variables que alguien más ya las hizo, ahora las bibliotecas wire.h spi.hp y servo.h probablemente las tengas, no lo sé, pero tendras que meterte a la carpeta de C en windows donde tienes instalado el arduino y ver la carpeta libraries ahi es donde se pegan las bibliotecas que muchas de ellas las descargas de internet y luego de pegarlas, reinicias el IDE de Arduino y ahi puedes llamarlas desde el codigo que este escribiendo en el arduino mediante #incluye.
    Ahora con respecto a la biblioteca labviewinterface.h, esta es la biblioteca que trae todas las funciones y variables que labview requiere para comunicarse con el arduino, esta biblioteca no la tienes instalada por eso en el mensaje de error te aparece que la variable no fue declarada y eso sera con todas las variables que estan en la biblioteca labviewinterface.h ya que las estas llamando pero no estan declaradas por que no haz instalado la biblioteca. 
    Ahora, todas la bibliotecas que se utilizan para comunicar el arduino con labview junto al codigo que es el mismo que tu me mandaste vienen en un archivo el cual se instala automaticamente una vez que hayas descargado el "labview interface for arduino" que es un toolkit gratuito para labview. Estes toolkit para Arduino se baja con un software de National Instruments que se llama "VI package manager" y el cual se descarga desde http://www.ni.com/white-paper/11611/en  
    Una vez que hayas instalado el VI package manager, instalas el "labview interface for arduino" con esto ya tienes la mitad del trabajo hecho. 
    Ahora abres el IDE de Arduino y le pones open para abrir un proyecto y vaz a la carpeta de esta ruta en windows C:\Program Files\National Instruments\LabVIEW 2012\vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Base 
    Con eso ya tendras listo el codigo para subirselo al arduino que este utilizando, y debes hacer las modificaciones correspondientes en el codigo de arduino de acuerdo al arduino que quieras utilizar. 
    Luego de ello te vaz a Lbview y programas lo que quieras y podros controlar el arduino desde labview.
    Para que te quede más claro sigue este video de youtube http://www.youtube.com/watch?v=RGRhIQneO6w
    Saludos y espero que te ayude mi respuesta
     

  • Max6675 for k-type thermocouple temperature reading using arduino and labview

    Hi; I am trying to measure temperature using arduino mega +labview 2013 +k-type thermocouple+max6675.
    I am using LIFA interface.
    The circuit digram  and labview file is attatched
    I am stuck on spi read/write palet. How to read 12 bit max reading and convert it to temperature in degree celcious?
    Max6675 produce output in 12 bit, and measure 0-1023 centegrade. According to this the
    Temperature (C0)= max6675 output (12bit)* 0.25. how to set this formula in labview?
    Pin connections are
    Max6675 breakout board pins
    Arduino Maega Pins
    GND
    GND
    VCC
    5 VOLTS
    SO
    50
    CSK
    52
    CS
    12
    Attachments:
    max6675.vi ‏38 KB
    max6675 vi diagram.png ‏42 KB

    Hi Saeed780,
    We have a discussion board specifically for questions about using the LabVIEW Interface for Arduino. Can you please post your question to the Arduino board?
    www.ni.com/arduino
    Catherine B.
    Applications Engineer
    National Instruments

  • Any LabWindows/CVI examples for SPI communication using DAQmx?

    I have a PXIe-6363 module in a PXI running as a real time target, and I'm trying to talk to an accelerometer that communicates with SPI.  I know the 6363 isn't one of the special modules built for SPI, but my understanding is it should be capable; the issue is just the programming.  I've seen examples of this for LabVIEW using DAQmx.  Are there any examples out there for doing it in LabWindows/CVI?
    I'm looking to save time and avoid reinventing the wheel here.  SPI is easy on an Arduino, so it should be doable in LabWindows/CVI, right?  
    Thanks,
    Matt

    Hey Matt,
    I was unable to find any full examples of SPI communication with DAQmx in C. My best suggestion would be to use the LabVIEW examples and implement the same series of function calls to implement the LabVIEW code in C. The DAQmx C API is good about keeping a standard with naming conventions to map with the function names in LabVIEW.

  • Form-factor of Arduino R3 pin layout on FRDM-K64F

    Hello,
    I have just got my FRDM-K64F board and I'd like to add a few sensors to it to test it out. I've read that the board has a form-factor of Arduino™ R3 pin layout and I am not sure what that means when I am buying sensors (i2C, SPI, UART interfaces) for this board. I understand that I can just connect any sensor using a breadboard and cables but I was thinking that maybe this Arduino R3 pin layout is something that makes it easier?
    As you probably can see, my HW skills a nothing to brag about....
    Many Thanks
    Andy

    Hi Andy,
    we've experienced the board with GSM modem arduino shield without any problem. You only need to check revision of your board since one of the first version contains a bug with incorrect pin routing that affects I2C (or SPI I don't remember)
    /Sergey

  • Logical command in ABAP.....Urgent

    Hi,
      i am pretty new using ABAP program so i neeed help urgently. i am trying to move a file on the application server from one directory to the other and i was using the open dataset function to do that. but the file i am trying to move is pretty big and because i am using internal table to store, it is causing problems with the space.
      i have consulted the basis guys and they have managed to create a logical file for copying from one directory to the other on the application server. to help you furthter. i am enclosing the mail sent to me.
    I have created a logical command which should copy the file from one location to the other but you need to pass it the source dir and file name and the destination dir and file name.
    The logical command is ZCOPY and uses cmd /c copy
    Copies one or more files to another location.
    COPY [/V] [/N] [/Y | /-Y] [/Z] [/A | /B ] source [/A | /B]
         [+ source [/A | /B] [+ ...]] [destination [/A | /B]]
      source       Specifies the file or files to be copied.
      /A           Indicates an ASCII text file.
      /B           Indicates a binary file.
      destination  Specifies the directory and/or filename for the new file(s).
      /V           Verifies that new files are written correctly.
      /N           Uses short filename, if available, when copying a file with a
                   non-8dot3 name.
      /Y           Suppresses prompting to confirm you want to overwrite an
                   existing destination file.
      /-Y          Causes prompting to confirm you want to overwrite an
                   existing destination file.
      /Z           Copies networked files in restartable mode.
    The switch /Y may be preset in the COPYCMD environment variable.
    This may be overridden with /-Y on the command line.  Default is
    to prompt on overwrites unless COPY command is being executed from
    within a batch script.
    the problem now is i have no idea about how to use the logical command. can any one help me.
    Thank you,
    Ravi.

    If memory is not an issue, then there should be no reason why this should not work.
    report zrich_0001.
    parameters: d1 type localfile default '/usr/sap/TST/SYS/Data1.txt',
                d2 type localfile default '/usr/sap/TST/SYS/Data2.txt'.
    data: itab type table of string with header line.
    start-of-selection.
    * Read old file
      open dataset d1 for input in text mode.
      if sy-subrc = 0.
        do.
          read dataset d1 into itab.
          if sy-subrc <> 0.
            exit.
          endif.
          append itab.
        enddo.
      endif.
      close dataset d1.
    * Write to new file
      open dataset d2 for output in text mode.
      loop at itab.
        transfer itab to d2.
      endloop.
      close dataset d2.
    * Delete the old file
      delete dataset d1.
    Regards,
    Rich Heilman

  • Análise de vibração de um motor a partir de Arduino e identificação de falhas

    Olá a todos. Sou novato no mundo do LabVIEW, por isso gostaria de uma ajuda de vocês. Tenho em minha faculdade o LabVIEW 2010.
    Estou realizando meu projeto de final de curso e tenho como objetivo identificar falhas em um motor a partir da vibração medida com um acelerômetro. Para explicar melhor meu objetivo, separei ele em três problemáticas:
    - Aquisição de dados:
    O primeiro passo é realizar a aquisição dos dados provindos do sensor. Visando baixos custos, opitei por usar o conjunto Arduino + Sensor ADXL345. Porém tive dificuldades em utilizar o protocolo I2C com o LabVIEW usando o LIFA (LabVIEW Interface for Arduino). Acabei optando por utilizar o próprio Arduino para medir a vibração e usar o VISA do LabVIEW para realizar a aquisição de dados. Para isso utilizei o VI em anexo que encontrei na internet. ele funciona muito bem, mas gostaria de utilizá-lo como Sub-VI em outro VI, já que o acelerômetro tem três medidas (X, Y e Z) e estou tendo dificuldades para isso, graças ao White Loop. Tirando o White Loop e os Switches, não consegui fazer dados saírem para outro VI, alguém pode me dar uma luz?
    - Tratamento dos dados:
    Antes de identificar o erro, gostaria de aplicar uma transformada de fourier nos dados que estão entrando (x, y e z) a fim de gerar um gráfico no fomínio da frequência. Alguém tem um exemplo de uso do bloco de transformada de Fourier no LabVIEW para eu estudar? Outras dicas são muito bem vindas.
    - Comparação dos dados:
    O último passo é usar alguma técnica de comparação de dados (como o Comparison Express) para comparar a vibração do motor com dados previamente armazenados em um arquivo de texto ou planilha, com a finalidade do LabVIEW identificar por conta própria qual é a falha presente no motor. Porém tive dificuldades em usar um arquivo como Input no Comparison Express, alguém já fez isso antes?
    Enfim, agradeço antecipadamente qualquer ajuda que receber. Como sou novo no LabVIEW, estou tendo várias dificuldades, mas espero conseguir atingir meus objetivos. Lembrando que estou com o LabVIEW 2010, se vocês puderem compartilhar VIs compatíveis vão me ajudar muito.
    Anexos:
    Data Aquisition.vi ‏37 KB

    Bom dia otaconlink. Tudo bem?
    Aquisição de dados:
    Gostaria de saber o que você gostaria de modificar no programa, são os dados de vibração?
    Tratamentos de dados:
     O seguinte link indica alguns exemplos aplicáveis ao seu programa:
    http://venus.ni.com/nisearch/app/main/p/bot/no/sn/catnav%3Aexample/ses/false/ap/global/q/fourier/lan...
    Comparação de dados:
    Você pode utilizar a estrutura de caso.
    Alguns exemplos de comparação de dados:
    http://zone.ni.com/devzone/cda/epd/p/id/4719
    http://zone.ni.com/devzone/cda/epd/p/id/5219
    https://decibel.ni.com/content/docs/DOC-12441
    http://zone.ni.com/devzone/cda/epd/p/id/5785
    Atenciosamente.
    Erick Yamamoto
    Application Engineer
    National Instruments Brazil
    Visite a nossa comunidade em PORTUGUÊS!!!

  • Confirmation of balance - urgent

    Hi,
    We are using print program SAPF130K and SAPF130D for vendor and customer respectively.
    My query is can we bring even the cleared items alongwith the open items in the same print program???
    Now we have line items of open line items only?? As per our exploration into the program... we get only open items..
    Also we are using SAP10 and SAP11 as the correspondence type.Kindly advise as to correspondence type should be changed so that it can print both the open and cleared items?
    Please reply ASAP as it is very urgent.
    Thanks in advance.
    Regards
    Karpagam

    Hi,
    Use T.Code F.42 FOR Vendor Balances
    and F.23 For Customer Balances
    Hope this will help u
    Regards,
    Sarfaraz

  • FUNCTION IS NOT WORKING WHEN RUN IN SRW.RUN_REPORT, URGENT

    Hi,
    I have a report. it has got 1 Query and 2 groups.
    Q1
    |
    |
    __G1__
    |F1 |
    |F2 |
    |F3 |
    |
    |
    |
    __G2__
    |Items|
    |Sales|
    | Qty|
    |Store|
    |Func4|
    |Func5|
    |Func6|
    The Query looks like above. Now In the report I have a 3 User parameters . For Each record in G2 the functions Func4,Func5 and Func6 adds the value to the user parameters at the report level.
    Now the Func1,Func2,Func3 takes the value of last 4 record for each item at each G1 Level and devides it by 4 and prints . As an example given below
    ITEMS-----SALES-------QTY-----------STORE
    10001-----10000-------200-------------100
    10001-----20000-------500-------------200
    10001-----15000-------350-------------175
    10001-----45000-------650-------------225
    10001-----50000-------700-------------300
    AVERAGE==>32500-------550-------------225 ==> Calculated by F1,F2,F3
    20001-----70000-------900-------------400
    20001-----30000-------600-------------350
    20001-----20000-------500-------------300
    20001-----25000-------450-------------275
    20001-----35000-------550-------------225
    20001-----65000-------800-------------400
    AVERAGE==>36250-------650-------------300 ==> Avg of last 4 records
    This report takes an parameter which is part of the Where condition of the Query Q1. If I run this report from the report builder and provide the value for the parameter then the report runs fine printing the exact values. If I run the report from another report(which I have to do, due to circumstances) using SRW.Run_Report and pass the parameter in the same command. The the function FUNC4, FUNC5, FUNC6 does not do the addition, as a result the Func1,Func2,Func3 returns 0. I dont know why this is happenning .
    This is very very URGENT, My project manager is on my head to finish it ASAP. Please help.
    Thanks
    Feroz

    Hi Toby and Danny,
    Thanks for the quick reply. I dont think I am having an interdependancy of the functions. Here is an sample what two functions do at each level
    Func6 =========> This function at group level G2
    begin
    -- To initialize the user parameter for each new item.
         If :CNT = 1 Then
              :Wk4_Pos_Qty := 0;
         End If;          
    -- to add the qty value to the user parameter for last 4 records. Uchange is the no of records for each item     
    If :CNT >= :UCHANGE - 3 Then
         :Wk4_Pos_Qty := :Wk4_Pos_Qty + :Qty;
    End If;     
    return 0;
    end;
    Func3 ======> this function at group level G1
    Begin
    -- if no of records are less than 4 then devide by the no of records or devide by 4.
         If :UChange < 4 Then
                   return((:Wk4_Pos_Qty + :Qty) / :UChange);
         Else
                   return((:Wk4_Pos_Qty + :Qty)/ 4);     
         End If;     
    end;
    Here Wk4_Pos_Qty is the User parameter created to hold the calue for the Um of last 4 records Qty.
    I tried to modify the Func3 so that it looks like this
    Func3
    begin
    srw.reference(:Wk4_Pos_Qty);
         If :UChange < 4 Then
                   return((:Wk4_Pos_Qty + :Qty) / :UChange);
         Else
                   return((:Wk4_Pos_Qty + :Qty)/ 4);     
         End If;     
    end;
    But it does not effect anything. I mean its the same. The Wk4_Pos_Qty returns 0 and Func3 returns 0.
    Any Suggestions .
    Thanks
    Feroz

Maybe you are looking for