Adjust Zero on Dnet MFC

So far, so good.  I have gotten fairly handy at running Dnet MFCs.  I open an explicit
message and open an IO then I can set and get parameters and the setpoint.  I can close my application and restart it w/o having to reset the NI-CAN board.  I have just one
more stumbling block...
I want to zero the MFC using the Analog sensor object(x31).  The documentation says this is
done by sending a service 0x4B to instance 1.  I tried doing this using the Write Explicit
Message.vi and I get:
Error -1074388978 occurred at Get DeviceNet Attribute.vi
Possible reason(s):
NI-CAN:  (Hex 0xBFF6200E) You called Read DeviceNet Explicit Message before the response
arrived. Solution: Wait for the Read Avail state prior to calling read; Make sure you call
Write DeviceNet Explicit Message before calling read (every response requires a request).
For sure I am missing something.  I have wired the explicit message handle into Write
Explicit Message.vi.  What am I missing?
Thanks,
Joe

Hey Joe,
First off does your literature state that after sending the the 0x4B service to instance 1, Instance 1 is supposed to return somethingback?  If it isn't supposed to then you are trying to read and nothing is thereto be read. 
If we know the after writing to the device we do expect a return message then I would go ahead and try to implement a Wait For State functionality prior to reading (get attribute).  PLease look at the following shipping example (ExplMsgWriteRead.vi)  and notice how they implement aWait for State.vi (you can find the shipping example Here: ...Program Files\National Instruments\LabVIEW 8.6\examples\nidnet\DeviceNet - Basic.ll)
Let us know if this helps!
Regards,
CharlesD
Digital MultimetersSchedule a Free 1 Hour LabVIEW Tutorial with an NI Applications Engineer

Similar Messages

  • How to set Dnet assembly object instance

    I have an MKS Dnet MFC (P6AO) that I want to connect to.  I have been able to connect to other MFCs using my Vi as long as the input assembly instance is set to 14 and the output assembly instance is set to 19.  I can explicitly message this MFC.  What class, instance and attribute do I use to set this assembly object?  What is the data type?
    I can communicate with other brands of MFCs as long as the I/O assemblies are set to 14&19.  Any help would be appreciated.
    Thanks,
    Joe

    The ODVA has a freeware EDS editor that will go a long way toward preventing typos and incorrect settings, and allows you to try "what if" settings as you learn EDS details.  The specification for an EDS file is part of the ODVA CIP standard and as far as I know, costs $300, but you will be able to do a lot of simple things just by surfing through example EDS files.
    www.odva.org then search for "EZ-EDS".  They require a quick email registration first.
    Here's a valid link as of this writing:
    http://www.odva.org/Home/CIPNETWORKSPECIFICATIONS/Order/Software/tabid/134/Default.aspx

  • NIST conformance tests using JUnit

    I haven't seen anyone from Oracle on the [email protected] mailing list, so I'm posting this here just to let you guys know.
    I've been working on recasting the NIST DOM test suite for Java to use JUnit and posted an initial release last night.
    The tests can easily be run against the beta XDK's parser (or any other JAXP compliant parser), but there were a substantial number test errors and failures. Some of these may be due to test problems, but I'd guess most of them are legitimate. However, I do not have time or the motivation to investigate them.
    It does seem that you take the position that the XML declaration is treated as a processing instruction (like MSXML does) which will cause 3 tests to fail, but you can adjust the tests to accept this using
    -Dnet.sourceforge.xmlconf.domunit.acceptXMLDeclPI=true
    I've made the source for my JUnit-hosted deriviatives of the NIST test suite available at http://xmlconf.sourceforge.net. You can either download the combined source and binary
    zip file from http://sourceforge.net/project/showfiles.php?group_id=8114&release_id=31676
    or you can access the source through the CVS (http://sourceforge.net/cvs/?group_id=8114)
    The tests run using JUnit 3.5 and can test JAXP 1.0 or JAXP 1.1 compliant DOM parsers.
    Xerces-J 1.3.1 does not report any test failures, crimson.jar and the other parser tested
    had a moderate amount of test failures, but no investigation has been performed to
    determine if those failures were problems with the tests or actual non-conformances
    with the spec.
    A JBuilder 4 .jpx project and an Ant 1.2 build.xml file are provided.
    ------- readme.txt from domunit 0.0.1 ---------
    domunit 0.0.1
    domunit currently contains equivalents of the NIST DOM 1 test written for
    the JUnit test framework (http://www.junit.org) and JAXP 1.1 or 1.0 compatible parsers.
    The tests were written to allow easy migration to JavaScript using JSUnit
    (http://www.jsunit.net) and CPPUnit (http://www.xprogramming.org/software)
    To run the full set of tests, place domunit.jar, junit.jar and one of the following
    combinations of jars in the same directory or on the class path.
    xerces.jar
    xml4j.jar
    jaxp.jar and parser.jar (from Sun's JAXP 1.0 Reference Implementation)
    jaxp.jar and crimson.jar (from Sun's JAXP 1.1 Reference Implementation)
    and run:
    java -jar domunit.jar
    To test Oracle's XML Processor, place jaxp.jar from the JAXP 1.0 (not 1.1) Reference Implementation
    and xmlparserv2.jar in the domunit.jar directory and run:
    java -Djavax.xml.parsers.DocumentBuilderFactory=oracle.xml.jaxp.JXDocumentBuilderFactory
    -jar domunit.jar
    The following options can adjust the tests:
    -Dnet.sourceforge.xmlconf.domunit.isExpandEntityReferences=true
    -Dnet.sourceforge.xmlconf.domunit.isCoalescing=true
    -Dnet.sourceforge.xmlconf.domunit.acceptXMLDeclPI=true
    To build the project, use either the JBuilder 4 .jpx file or
    the Ant 1.2 build.xml file.
    Curt Arnold http://xmlconf.sourceforge.net
    [email protected]
    18 April 2001
    domunit - DOM testing on the xUnit frameworks
    Copyright (C) 2001, Curt Arnold
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    null

    I haven't seen anyone from Oracle on the [email protected] mailing list, so I'm posting this here just to let you guys know.
    I've been working on recasting the NIST DOM test suite for Java to use JUnit and posted an initial release last night.
    The tests can easily be run against the beta XDK's parser (or any other JAXP compliant parser), but there were a substantial number test errors and failures. Some of these may be due to test problems, but I'd guess most of them are legitimate. However, I do not have time or the motivation to investigate them.
    It does seem that you take the position that the XML declaration is treated as a processing instruction (like MSXML does) which will cause 3 tests to fail, but you can adjust the tests to accept this using
    -Dnet.sourceforge.xmlconf.domunit.acceptXMLDeclPI=true
    I've made the source for my JUnit-hosted deriviatives of the NIST test suite available at http://xmlconf.sourceforge.net. You can either download the combined source and binary
    zip file from http://sourceforge.net/project/showfiles.php?group_id=8114&release_id=31676
    or you can access the source through the CVS (http://sourceforge.net/cvs/?group_id=8114)
    The tests run using JUnit 3.5 and can test JAXP 1.0 or JAXP 1.1 compliant DOM parsers.
    Xerces-J 1.3.1 does not report any test failures, crimson.jar and the other parser tested
    had a moderate amount of test failures, but no investigation has been performed to
    determine if those failures were problems with the tests or actual non-conformances
    with the spec.
    A JBuilder 4 .jpx project and an Ant 1.2 build.xml file are provided.
    ------- readme.txt from domunit 0.0.1 ---------
    domunit 0.0.1
    domunit currently contains equivalents of the NIST DOM 1 test written for
    the JUnit test framework (http://www.junit.org) and JAXP 1.1 or 1.0 compatible parsers.
    The tests were written to allow easy migration to JavaScript using JSUnit
    (http://www.jsunit.net) and CPPUnit (http://www.xprogramming.org/software)
    To run the full set of tests, place domunit.jar, junit.jar and one of the following
    combinations of jars in the same directory or on the class path.
    xerces.jar
    xml4j.jar
    jaxp.jar and parser.jar (from Sun's JAXP 1.0 Reference Implementation)
    jaxp.jar and crimson.jar (from Sun's JAXP 1.1 Reference Implementation)
    and run:
    java -jar domunit.jar
    To test Oracle's XML Processor, place jaxp.jar from the JAXP 1.0 (not 1.1) Reference Implementation
    and xmlparserv2.jar in the domunit.jar directory and run:
    java -Djavax.xml.parsers.DocumentBuilderFactory=oracle.xml.jaxp.JXDocumentBuilderFactory
    -jar domunit.jar
    The following options can adjust the tests:
    -Dnet.sourceforge.xmlconf.domunit.isExpandEntityReferences=true
    -Dnet.sourceforge.xmlconf.domunit.isCoalescing=true
    -Dnet.sourceforge.xmlconf.domunit.acceptXMLDeclPI=true
    To build the project, use either the JBuilder 4 .jpx file or
    the Ant 1.2 build.xml file.
    Curt Arnold http://xmlconf.sourceforge.net
    [email protected]
    18 April 2001
    domunit - DOM testing on the xUnit frameworks
    Copyright (C) 2001, Curt Arnold
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    null

  • Setting up Devicenet for first time.

    I am new to both LabView and DeviceNet. I am trying to evaluate a simple network and determine if it will suit my needs. I have a DeviceNet PCMCIA card that was identified and installed on XP. The Hardware Configuration utility recognizes it, but not my DNET MFC (which is an MKS 1179A MFC.) I have tried resetting the system and refreshing, but to no luck. The MFC has MSD set to "0" and the LSD set to "1".

    Hi Darin,
    With NI-DNET you can use the SimpleWho utility to detect any device connected to the network. The NI-DNET interface will query the device info of any attached device.
    I'm not sure what you mean by the MFC. Is it a device?. Is it detected by simple Who?.
    DiegoF.
    National Instruments.
    +

  • Microphone level adjusting itself (to zero) while skyp

    hi folks,
    I got an issue. When i start using the microphone via Skype, the microphone level mysteriously starts adjusting itself to zero. When I open the sound properties and the window where the microphone sound level is at, i can see the slider going down after having skyped a few seconds. The only way to overcome this problem at the moment is to 'grab' the slider (with pressed mouse button) and to adjust the volume level all the time manually while skyping. That's totally hillarious. How can i fix that?
    I got all other mics disabled and an Audigy 2 ZS with the newest drivers, Vista 32 bit clean install, a Sennheiser Headset.
    Please help!
    Greetings,
    F.

    Skype reduces vollume automaticall if its going to loud. And then Skype resets the position of this slider to this value as long Skype is running. Its a **bleep** crap thing of skype, not of your soundcard. And PS: Dont use skype. U dont know what it does with your system. The only thing, what is known: it uses your system as a peer to peer proxy. Sounds not that cool.

  • Zero key doesn't work or produces //..:: or adjusts volume

    I have a MacBook Air which is just over 6 months old and the zero key has stopped working properly.  I have not spilt anythingon the keyboard and it is not damaged.  I also plug the machine into an Apple screen and use an external keyboard which mimmicls the exact same problem.  Whe I pres the zero key it either doesnt owrk at all, adjusts the volume up and down or produces symbls such as /: etc.  Any ides?  Driving me crazy.

    Satellite C855D-S5320
    Downloads here.
    Have you upgraded to Windows 8.1? If so, did you do it this way?
       How to Update from Windows 8 to Windows 8.1
    I don't understand your situation. Can you boot to Windows?  If so, you can restore the hard disk to its original out-of-the-box contents this way in Windows 8.
       Settings > Change PC settings > General tab > Remove everything and reinstall Windows
    And this way in Windows 8.1.
       Settings > Change PC settings > Update and recovery tab > Recovery tab > Remove everything and reinstall Windows
    I don't see anything about a zero key in your User's Guide.
       Satellite/Satellite Pro C800/L800/S800 Series User’s Guide
    -Jerry

  • My ipod touch brightness just went to zero after charging it. i've tried adjusting it to 100% but it still does not changed. can anybody help me solve this problem? thankS!

    my ipod touch brightness just went to zero after charging it. i've tried adjusting it to 100% but it still does not changed. can anybody help me solve this problem? thankS!

    Have yu tried the standard fixes:
    - Resetting:
    Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Restoring the iPOd via iTunes.  First from backup and if problem persists, restore to factory defaults/new iPod
    - Make an appointment at the Genius Bar of an Apple store since you likely have a hardware problem

  • Borderless printing in Lightroom 5--Mac Yosemite, Canon i9900.  Selected 8.5x11 borderless media, but LR insists on printing with borders.  Tried adjusting cell size and margins, but LR won't allow setting to zero.

    LR won't allow me to adjust the margins below minimum values of about 0.25 in.  Borderless printing and 8.5x11 borderless media are selected.
    LR also won't allow me to increase the cell size.  It seems to have a maximum of 8x10.68.
    Aspect ratio of the image I'm trying to print is 8.5x11 so it should be a perfect fit.
    When I print the same image in Photoshop, it prints borderless just fine on the same printer.
    Mac, Yosemite, Canon i9900.

    I have had some more trials to print without boarders. This time, it was inside of iPhoto. I had made a greeting card and wanted to print to a custom size. but without the ability to select the size as a boarder less size, I was unable to print directly. So instead, I had to save as a pdf > save pdf to iPhoto and then print the image as a photo (instead of a card).

  • How to adjust Time zero

    Hello,
    I've a data file with a time history from -1 sec. to 4 sec.
    Is it possible to modify the time zero in such a way to have the T=0 at the beginning of a certain event?
    Thanks
    Solved!
    Go to Solution.

    Hi Giova,
    Sure.  First you need to find the row/time that the event occurs, then you need to subtract that time value from all the values in the time channel. You can use the ChnFind() function to find the row, then the ChD() command to find the time value for that row, then the ChnLinScale() function to subtract that time value to zero the time access at that point.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Resetting volume adjustment to zero...

    Hi,
    Is there an easy way to reset the volume bar on all songs to the default 0 setting? I've tried highlighting the entire libary and moving the bar but, despite taking a good long while to go through all the songs, that didn't work.
    Cheers if you can help!

    D'oh! I'd forgotten to 'tick' the box next to the volume bar. As you were all, no doubt, shouting at your screens.

  • Error while sending a setpoint via DeviceNET to Brooks MFC

    I was trying to send a setpoint to the Brooks MFC GF125CXXC via explicit messaging and I came up with this error.
    "<Set_Attribute_Single> Error Occurred DeviceID: 01, Service Code: 0x94 General Error Code: 0x20, Additional Error Code: 0xFF Error Description: Invaid Parameter ServiceID: 0x10, ClassID: 0x33, InstanceID: 0x01, AttributeID: 0x06"
    I notice set attribute in the error message and I looked into the attriute id for setting a point which is 6 and is standardised throughout all the DeviceNET devices. I also check for the service ID which is x10 to send the command. I checked if the vi was getting device ID(MAC) which was also not the reason( The vi was recering  the MAC ID). I also checked for the hex conversions and everything is fine. But the vi still fails to send commands to the MFC with the same error. I am attaching the screenshot of the vi. Please review the attachments. Any help on resolving this issue?
    Labview Learner
    Attachments:
    dneterror1.PNG ‏6 KB
    dneterror2.PNG ‏33 KB

    I am using NI-DNET and I am not familiar with the SST DeviceNet hardware and drivers, so I cannot comment on the code, but here are some questions:
    Does this same code work with other MFCs without errors?
    Can you successfully execute other explicit messages with this MFC, for example read the device type, serial number, etc... (data available via classID 0x30)
    If the answer of the questions above is 'yes', you may check if the data type, data units and full scale match your expectation (usually it is INT, Counts and 0x6000)

  • Adjust the width of a column in a report.

    Hi,
    How can we adjust the width of a column in a report.
    We have a report with around 10 columns.
    out of the 10 columns 1 column has a width of 500 char..
    we want to display only the first 150 chars of that column with 50 char on first line,next 50 on second line and last 50 on third line.
    i have tried using the the substr and <br> in the region source but it takes 3 lines by default even if it is not of 150 chars .I want to display it in 3 columns if it of 100+ chars.
    Thanks in advance.

    Hi,
    Using the col tag is the more proper way of fixing the width of a column.
    If you don't want to use the col tag, you should change your expression to:
    &lt;table style="width:500px"&gt;
    Firstly, you should use the unit of length (ie, "px") for any non-zero value and secondly because we are being encouraged to use the style attribute whenever possible as, as I understand it, this will become the standard.
    Regards
    Andy

  • Adjustment Accounts for GR/IR Clearing

    Hi,
    I am facing an issue with adjustment for GR/IR Clearing. I have done the config. in OBYP and assigned the relevant G/L accounts to the transaction keys BNG & GNB as under.
    Recon. a/c : assigned GR/IR clearing account
    Adjustment a/c: created another auto posting liab a/c as G/R IR accrual a/c and assigned the same to both BNG and GNB keys.
    Target A/c: created an auto post asset G/L and assigned to BNG and an auto post liab G/L and assigned to GNB.
    I am then following the below steps:
    1. Clearing the GR/IR a/c using t-code f.13
    2. creating batch session for the not cleared items to move to the GR/IR accrual account.
    However, when i process the batch session the documents are getting posted and the reversals as well, however if i try to see the impact in GR/IR clearing a/c it shows nothing. I undestand that off-set entry should be posted to the GR/IR clearing a/c. However, that is not getting posted to.
    Please let me know if i am correct, and let me how this transaction f.19 should post.
    Thanks in advance,
    Manish
    Edited by: Manish Singhi on Aug 19, 2008 6:13 PM

    Hello Manish,
    F.13 for GR/IR clearing will only clear open items in the GR/IR account based on the settings you have defined in customizing and only if the balance is zero.
    F.19 will create postings and reversals when you have "goods invoiced but not received" or "goods received but not invoiced" secnarios for the month end. This will adjust the B/S and P/L statement to reflect that we are expecting these invoice reciepts or goods receipts and hence the GR/IR account will not have any effect.
    Regards,
    Leela

  • Excise invoice posted with Zero duty value

    Hi,
    My client has an STO process where they will generate a proforma Invoice with Excise duties,
    Initially when proforma was created excise duties were not reflecting since condition records were not maintained, user was not aware of that and created a excise invoice also with 0 Duty value.
    After this condition records were maintained and invoice was updated with excise values. But we are unable to update the excise tables through the same excise invoice no. This transaction is a back dated one for which client has already filed excise returns with SAP Excise number series, Can we pass a JV through FI to adjust the entries or any other solution.
    Regards,
    Zehran.

    Client has done PGI with ZERO quantity
          also done billing
    if i go to cancel that cancel invoice in J1IIN
         it is not allowing to cancel
    If your copy control is in line with standard settings, first of all you cannot post the goods issue without any quantity and also generation of billing is not possible.
    Coming to your second issue, please try in J1IH instead of J1IIN.
    thanks
    G. Lakshmipathi

  • Is there a way of adjusting WEEKNUMs to match a financial year?

    Hi
    I am wondering if there is a way to have Numbers 09 adjust the WEEKNUMs so that they match the financial year, starting in the first week of April (UK). Given that I will have to do tax returns which match the financial year, it makes sense to match my accounts/Numbers files with the financial year.
    Thanks
    Nick

    nick_harambee wrote:
    I am wondering if there is a way to have Numbers 09 adjust the WEEKNUMs so that they match the financial year, starting in the first week of April (UK). Given that I will have to do tax returns which match the financial year, it makes sense to match my accounts/Numbers files with the financial year.
    I guess the place to start here is 'Which numbering system do you want to modify for this?'
    1) ISO Week: The International Organization for Standardization (ISO) ISO8601:2000 Standard
    All weeks begin on a Monday. Week one starts on Monday of the first week of the calendar year with a Thursday.
    2) (Not included as week starts on Sunday. Otherwise same as #3)
    3) Excel(and Numbers) WEEKNUM function with an optional second argument of 2.
    Week one begins on January 1st; week two begins on the following Monday.
    4) Simple week numbering.
    Week one begins on January 1st, week two begins on January 8th, and week 53 has only one or two days(for leap years).
    For modified system 1 (ISO), replace "calendar year" with "financial year". For modified WEEKNUM and Simple Week Numbering systems, replace "January" with "April"
    The nice thing about #4 is that it is "simple", and that simplicity extends to the ease of starting with any specific date. No correction factor is needed for the transition from one calendar year to the next.
    The shifting start dates of Week 1 of #1 and of Week 2 of #3 add a complication, but if these can be determined, the rest of the year can easily be numbered using the same formula as #4.
    Here are the three choices, with formulas below.
    SWN
    Start Date: April 1, constructed from A1.
    Table 1::B2: =INT(DATEDIF(DATE($A$1,4,1),A, "D")/7)+1
    (Results modeled on) WEEKNUM
    Start Date: Monday preceeding April 2
    Table 2::B2: =(DATE(Table 1 :: $A$1,4,1)-WEEKDAY(DATE(Table 1 :: $A$1,4,1),3))
    Table 1::C2: =INT(DATEDIF(Table 2 :: $B$2,A, "D")/7)+1
    (Modeled on) ISO
    Start Date: Monday preceeding first Thursday in April
    Table 2::B2: =IF(WEEKDAY(DATE(Table 1 :: $A$1,4,1),3)<4,(DATE(Table 1 :: $A$1,4,1)-WEEKDAY(DATE(Table 1 :: $A$1,4,1),3)),(DATE(Table 1 :: $A$1,4,1)+7-WEEKDAY(DATE(Table 1 :: $A$1,4,1),3)))
    Table 1::D2: =IFERROR(INT(DATEDIF(Table 2 :: $C$2,A, "D")/7)+1,53)
    Note: IFERROR traps the error that occurs when April 1 falls on a Friday, Saturday or Sunday, and assigns the days before the first Monday to Week 53. You may prefer to consider (and label) this Week 0. To do so, replace the 53 at the end of the formula with 0 (zero).
    None of the formulas will give 'correct' results beyond one year after the starting date.
    Regards,
    Barry
    EDIT: Noting your newest post, I think you may want to consider the Simple Week Numbering system, using a starting date of April 6.
    Barry
    Message was edited by: Barry

Maybe you are looking for

  • Invalid Directory Server

    When adding a new connector view I am receiving the following error message in the Meta-Directory console: Invalid directory server. Meta-Directory requires Sun ONE Directory Server 4.1 or higher. Please install and specify the correct version We are

  • I have updated iphone 4 to iOS 6 now itunes 10.7 on windows 7 does not recognize it

    Hi I have updated iphone 4 to iOS 6 and also updated itunes to 10.7, now when I connect my device via usb it does not appear in itunes. I have followed all the advice in troubleshooter including uninstalling and reinstalling itunes but it still doesn

  • DSN Problem

    Hi, Recently i have upgraded my database from oracle 9i to 10 g(10.2.0). The problem is when I am trying to connect the database through DSN using VB 6.0 I am getting an error "-2147467259 [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr f

  • Syn-Asyn Bridge and correlation

    Regarding Sync-Asyn ,I have gone thru these blogs... Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi - Use of Synch - Asynch bridge in ccBPM https://www.sdn.sap.com/irj/sdn/

  • YouTube n Safari

    even in the same network, YouTube videos is shown much slowly in iPhone than in PC/Macbook. Safari always crashes,even browsing Apple.com. How can we solve the above problem?