Communication for Counter

Hello

I need to write a program that reads an Omega Counter DPF940120. I want to read/commuincate using a serial RS-485 connection. I'm not sure if I have to use Modbus for this. Can someone help me?

Thank you
Ebiosa

I can write and read using the measurement and automation; but am having a hard time about where to start. If I don't need read/write VISA, GPIB or Modbus. Any idea?

Thank you

Tags: NI Software

Similar Questions

  • Is NEITHER-Industrial Communications for IEC 61850 covered by all NI Developer Suite?

    Hello

    I downloaded OR-Industrial Communications for IEC 61850 14.0 and tried to activate it using my serial number for NI Developer Suite. However, I was said, "the following order numbers are not valid or do not correspond to their corresponding products.

    The same serial number was accepted for activation of OR-Industrial Communications for Ethernet/IP, so I thought that I would have access to all communication, including IEC 61850 toolboxes. Is it not the case? How can I check the toolkits are covered and which are not?

    Thank you!

    Hi JKSH,

    1. the NO-Industrial Communications for EtherNet/IP is included in the Developer Suite, as mentioned JDizzle: http://sine.ni.com/nips/cds/view/p/lang/en/nid/202469

    2. the IEC 61850, DNP3 and IEC 60870 toolkit are not part of the Suite of developer.

    3. However, you can buy Electrical Power Suite Pro + amulet of usefulness of the protocols and it has the EPS Pro and IEC 61850 and DNP3.

    http://www.NI.com/download/LabVIEW-electrical-power-suite-2015/5380/en/

    4. or you can buy each (IEC 61850, DNP3 and IEC 60870) toolkit separately

  • NI9403 for counting of pulses

    How to use the NI9403 module for counting of pulse device? We test engine GE ECM and provides a signal of 32 pulses per revolution.

    Hi Change_Air,

    In short, you might want to consider another module (probably a 9401 or 9402 according to the type of desired connector and/or the number of lines required).

    Modules with 8 lines or less (e.g. 9401, 9402) use a dedicated line to transfer the data from each of its inputs on the chassis backplane and are therefore capable of routing of external signals such as timing/triggering signals (for example one of the counters on a backplane cDAQ).  However, modules with more than 8 lines must transfer the data serial to chassis backplane and so tickets are not available for routing.

    Assuming you are using a bottom of basket cDAQ newest (any carrier except the x 9172 or 916 cDAQ), from 9.3 DAQmx you can configure a sample clock and acquire a digital input buffered on modules that transfer data in series (I think the 9403 can taste up to 1/7 US = ~ 142 kHz).  So you could end up with a table in the data buffer (for example [0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 1 1 1...]) which you could then analyze to determine the number of edges.  Of course, the impulses must stay high for at least a period of your sample clock to ensure that you are able to detect.

    If you're on cRIO you could set up something similar, but the same restriction applies always - the limit is the maximum rate that data can be transferred in series of the 9403 inside of basket.

    Thus, although it is probably possible to get what you want with the 9403 (according to your pulse width), a "parallel" module would be much more effective in the detection of the short pulses (if it was a requirement) and would be simpler to program as well - you could just set up a task of edge with a meter count (assuming that the cDAQ).  There's a Developer Zone article containing a list of all series C, but it seems to be incorrect for several modules (perhaps an employee NOR will see this) about the nature of the series/parallel data transfer for the DIO modules.   I am not aware of any exceptions (and do not think that there should be none) to the rule that modules DIO with 8 lines or fewer are 'parallel modules' and DIO modules with more than 8 lines are "serial modules" (there are rows of data exactly 8 connector d - SUB between each module and chassis).

    Best regards

  • How to choose destinations for counter/timer signals in NOR-DAQmx?

    In the document M Series DAQ
    M series user manual
    622 x, NI 625 x and the materials NOR x 628
    M series user manual
    July 2008
    371022K - 01

    appears on page 7-30:

    Counter/Timer default pinout
    By default, NEITHER-DAQmx routes counters/timers and outputs inputs to the PFI pin, shown in table 7-4.
    Table 7-4. 68 peripheral pins by default Counter/Timer pines NOR-DAQmx
    Counters/timers fail-safety connector 0 PIN (name)
    0 2 CTR (PFI 12)

    You can use these default settings or select other sources and destinations for the
    counters/timers of NOR-DAQmx signals. Refer to the connection counter signals
    in the NOR-DAQmx help or the help of LabVIEW in version 8.0 or later for
    more information on how to connect your signals for common counter
    measures and generations.

    I couldn't find any hint to the appropriate command of DAQmx in the "NOR-DAQmx C reference Help" to select other destinations for counter/timer signals in NOR-DAQmx.
    Please can you tell me the DAQmx command right? Thank you very much.
    I use the NI USB-6259 M material Series DAQ, BNC end unit.

    datafriend,

    If I remember correctly, you can "free" the output terminal of default counter by calling DAQmxSetCOPulseTerm and passing an empty string in the 'data '.

    Hope that helps,

    Dan

    Edit: You can also set this to any other valid terminal (IE... "Dev1/PFI0") and to send the output to.

  • Help with code for counting

    Hi I am new to coding and, at school, they give us builders of the project before assignment, they are usually much more difficult but for the practice and trial and error. This one I'm completely lost. They provide a code for counting MEAC, a load of cookie that was reversed when you press on and the user needs to count spilled cookies and enter the number. The wrong number does not work so it has a loop function in I think. Here's the code that provided things needs added.

    Stop();

    var numberOfCookies:Number = 0;

    startBtn.addEventListener (MouseEvent.CLICK, getCookies);

    function getCookies(Event:MouseEvent)

    {

    numberOfCookies = (Math.floor (Math.random () * (10)) + 1);

    var n: Number = 0;

    }

    Now the long instructions on what needs to be done.

    1. Complete the getCookies function by typing the following code before the closing brace on the right:
      1. Add a line under the last line of the code and before the right fence reinforcement to create a while loop that loops while n is less than numberOfCookies.
      2. Define all looped as follows and place the code inside the left and right hooks:
        • Type a line that creates a variable named cookieInstance that has a cookieMC data type. Create a new instance of the cookieMC.

    Note: cookieMC is the video clip that contains an image of the cookie.

    • Add another line of code that uses the method addChild to add cookieInstance to the display list and places it in a random place.

    Hint : Your text contains an illustration that represents the format of line addChild . The values of x must be 200 and 20, and values there must be 150 and 220. This will ensure that the cookies will be overlapping with the cookie jar!

    • Add another line of code that increments n to 1.
    • Check both the time watching the block of code and the function block getCookies end of code with right brace (}).
    • After the right brace for functions getCookies, typed an event listener that calls a function when it is clicked on the goBtn object. Name of the function checkNumberTyped.
    • Definition of the function as an if-else statement. If the number entered by the user in the input box (checkBox.text) equals the number of cookies (numberOfCookies) generated by the random function, have the playhead go and play frame 2; or else have the playhead go and play frame 3.
    • Check the format of syntax and code auto.
    • Click on frame 2 in the timeline. Click on the area of dynamic text under the heading on the stage and give it an instance name of right.
    • Click on the image on the layer 2 actions. Then view the Actions Panel.

    Note : The code in line 2 adds an event listener that "listens" for an event ENTER_FRAME and appoints a (correct) function. The causes of event frame enter the named function correct to run when the playhead moves to frame 2

    1. Type the line of code between the braces ({}) left and right which takes the value in the numberOfCookies variable and it changes to string data type and then assigns it to the dynamic text box named right.

    Hint : the format to change a digital var to a string is: Textboxname.text = String (var);

    1. Check the format of syntax and code auto.
    2. Click on the image 3 on the Timeline and click on the area of dynamic text on the stage and give it an instance name of the lot.
    3. Click on the image on the layer 2 shares and copy the code for the listener of events and the called function OK. Click on the image on the layer 3 actions and paste the code on a new line after stop();
    4. Change the code pasted into the image 3 on the layer actions so the function name is incorrect and does not name text box.
    5. Check the format of syntax and code auto.
    6. Test the animation several times by entering the correct and incorrect numbers for the number of cookies displayed.

    Now, it's my first Flash class, and I've been in 7 weeks, I feel it is a lot to know already, but if anyone could tell me what I need to add and why would I have a great understanding until the project that happens I need this practice will last.

    the following code fills the coding part of your task.  you will need to pick up line "check the syntax and the auto format code".

    ///////////////////

    Stop();

    var numberOfCookies:Number = 0;

    startBtn.addEventListener (MouseEvent.CLICK, getCookies);

    function getCookies(Event:MouseEvent)

    {

    numberOfCookies = (Math.floor (Math.random () * (10)) + 1);

    var n: Number = 0;

    While (n<>

    var cookieInstance:cookieMC = new cookieMC();

    addChild (cookieInstance);

    cookieInstance.x = 20 + Math.floor (181 * Math.random ());

    cookieInstance.y = 150 + Math.floor (71 * Math.random ())

    n ++ ;

    }

    }

    goBtn.addEventListener (MouseEvent.CLICK, checkNumberTyped);

    function checkNumberTyped(e:MouseEvent):void {}

    {if (Number (CheckBox.Text) == numberOfCookies)}

    gotoAndPlay (2);

    } else {}

    gotoAndPlay (3)

    }

    }

  • Where the community for ios?

    Maybe I'm blind, but I'm looking through the communities for the IOS community and don't see one.  I see Community IOS Apps, but where the hell is the community to ask questions about IOS itself?

    It is not a global forum of iOS. If necessary, use Using iPad, Using iPhoneor iPod touch .

    TT2

  • Industrial communications for CANopen - interface create error

    Hello

    I am trying to run a few basic examples, I found with the finder example in communication industrial directory - NOR - for CANopen-> cRio-> FPGA bitfiles-> CANopen_cRio_heartbeat.vi.

    But the block 'create an Interface' gives me the error 2147136667.

    I work with with module NI 9881 cRio. The module is connected to the robot from Festo.

    You please any idea what can cause this error?

    The text of says error:

    Possible reasons:

    You try to start an interface that is missing the bus for the transceiver power. Some physical layers on the material OR CANopen are fed internally, but others require an external power supply so that the port to operate. This error occurs when starting an interface on the equipment that requires an external power supply when no power is detected. Power supply right to your transceiver. Refer to the material of the NOR-Industrial communication CANopen Book for CANopen help for more information.

    See you soon

    Ivo

    Hello T.t,

    The 9881 must be fed outdoors. You can do with a CAN of junction box or with a Câble CAN.

    Concerning

  • Support for triggers in PCI-6602 for counter input / output meter opearions


    I'm sorry, it took a lot of time to test my application in a real NI PCI-6602 map. I am now convinced that put off against channels support start trigger, arms and relaxing break start trigger. But the input meter channels use pause trigger and trigger start of arms only.

    I designed the app so that counter 0 is used as a channel of the meter and meter 1 serves as an output of the meter channel. The two channels are configured to use triggers to start of arms. Arms start triggers should come from a line of the RTSI. Using the terminal line 0 RTSI route connect API to arm the trigger for the start of the two channels. So when a pulse comes to line 0 in the RTSI two counter starts counting.

    One last thing, I'd like to know, is how RTSI signals are generated? I know that RTSI is used for synchronization of several cards of NOR.

    If there is only Board can we use the signal of the RTSI?

    Can the hardware PCI 6602 itself generates all signals to the RTSI lines?

    Thanks in advance.

    Johnson

  • HP15-r063tu: Bluetooh, wireless, controller PCI simple communication for win7 professional drivers is not available

    Drivers for the following materials are not available for win7 on site.

    Bluetooth controller

    Hardware ID

    PCI\VEN_1814 & DEV_3298 & SUBSYS_18EC103C & REV_00
    PCI\VEN_1814 & DEV_3298 & SUBSYS_18EC103C
    PCI\VEN_1814 & DEV_3298 & CC_0D1100
    PCI\VEN_1814 & DEV_3298 & CC_0D11

    Network controller

    Hardware ID

    PCI\VEN_1814 & DEV_3290 & SUBSYS_18EC103C & REV_00
    PCI\VEN_1814 & DEV_3290 & SUBSYS_18EC103C
    PCI\VEN_1814 & DEV_3290 & CC_028000
    PCI\VEN_1814 & DEV_3290 & CC_0280

    PCI simple communication controller

    Hardware ID

    PCI\VEN_8086 & DEV_9C3A & SUBSYS_2211103C & REV_04
    PCI\VEN_8086 & DEV_9C3A & SUBSYS_2211103C
    PCI\VEN_8086 & DEV_9C3A & CC_078000
    PCI\VEN_8086 & DEV_9C3A & CC_0780

    Please help me to get it.

    Thank you

    Anshul

    Hello:

    See if they work...

    Bluetooth controller:

    http://h20566.www2.HP.com/hpsc/SWD/public/detail?swItemId=ob_130390_1

    Network controller:

    http://h20566.www2.HP.com/hpsc/SWD/public/detail?swItemId=ob_131223_1

    PCI simple communication controller:

    http://h20565.www2.HP.com/hpsc/SWD/public/detail?sp4ts.Oid=6943827&swItemId=ob_143127_1&swEnvOid=4058

  • Error for counter - write frequency

    I get the following error in Labview trying to write property of the duty of a meter lifecycle:

    Error - 200301 occurred to DAQmx Write (counter frequency 1Chan 1Samp) .vi:1

    Possible reasons:

    Measurements: Unable to update the generation of pulses property.

    The generation of pulses with previous property settings must complete a full cycle before the property can be updated.

    The code consists of a loop running every 100 milliseconds, which adjusts the operating via a property node factor, and then performs a DaqmxWrite on the same channel to force the new property settings to take effect.

    There is an initialization step before the loop where the meter channel is created, synchronization is set to continuous and the task to begin, followed by a 500 MS delay (I thought maybe initialization has not been completed before the writing of the 1st loop).

    There are actually 2 separate channels / counters in the loop, each with their own task.

    Generally, the code works fine. Sometimes, when I download the new code to the machine, this error occurs.

    Any ideas?

    Thank you

    Kevin T.

    Hey Kevin,

    The error you get is expected in the way that you program your application. For another way to implement the property node and to avoid the error, please see the Developer Zone program example: output frequency of meter to change on the fly.

    In this example, you will find this implementation:

    I recommend you put it in your code and see if it is able to resolve the error you see.

    In your program, as useless the DAQmx property and DAQmx writing during the definition of the duty cycle and frequency. You must just writing DAQmx to set these attributes.

    Also, as a note, I noticed in your code that you never clear the task. Don't forget to end the application with a Task.vi claire DAQmx. I saw one in your program.

  • 7940 phone AND IP Communicator for Agents?

    We use the IPCC Express 3.5.3. Our call centre agents currently 7940 phones with a 2nd line of the agent. They would like to keep their physical phone and also have IP Communicator on their laptops in case they need to work from home and take calls. Can IP Communcator be installed on their laptops with lines shared for their person and their agent of lines? Can IPCC Express party lines, as long as the RM Jtapi user is associated with the physical phone and the IP Communicator?

    Thoughts? Thank you.

    These URLS should help you:

    http://www.Cisco.com/en/us/products/SW/custcosw/ps1846/products_data_sheet09186a008019ade0.html

    http://www.Cisco.com/en/us/products/SW/voicesw/ps556/prod_tech_notes_list.html

  • Script for counting both Yes and no in a column and returning the number of Yes on the Total

    (Acrobat Pro)

    I have 5 fields (DRDropdown1-5), who have 3 options (Y, N, NA). I only
    want to count the number of Y and N, then return the number of Y on the
    total of Y + N

    Any help is appreciated. I tell myself that if I see enough code, I'll get
    It is up.

    Thank you

    We are usually complete solutions, given a description or example of how to make the more difficult part, you should be able to take your knowledge of JavaScript and add the missing pieces. If you are not familiar with JavaScript, treat yourself and watch an introductory part (I like this for JavaScript in Acrobat: Beginning JavaScript for Adobe Acrobat ).

    Looking at your script, you already have most of the features in place. You should be able to edit the output (assuming that your domain may take a string and is not just a numeric field), by simply changing the last line:

    Change "event.value = total / total;" to the following:

    event.value = totalY + " of " + total;
    

    For easier reading, you can reformat the last two lines like this:

    if (total==0)
        event.value = "";
    else
        event.value = totalY + " of " + total;
    
  • Query analysis for count lines

    The scenario is - I have two table Table1 and Table2
    Table1 (key1, key2 fieldname)   
    
    key1,      key12              fieldname  
    
    1            1             'ABC'   
    1            2            'DEF' 
    2            1            'FGH'
    
    Table2(key1, Key2, Itemname, amount) -- (key1, key2 - -Primarykey)
    
    Key1 , key2, Itemname  , amount 
    
    1   ,   11 ,   'Item11' ,  100
    
    1   ,   12  ,   'Item12',  200
    
    2   ,   21 ,    'Item21' ,  300
    
    2   ,   22  ,   'Item22' ,  400
    When I run the only select statement following I get all the 4 rows of table2
    select Table2.* from Table1, Table2 where Table1.key1 = Table2.Key1 
    My question is how can I use the count() over (partition by...) analytical query on the query above so that I might get the count of Parent lines of table1.


    If the output should look like-

    {code)

    Key1, Key2, Itemname, amount row_count
    11 1 Item11 2 100
    1 12 Rep.12 200 2
    11 1 Item11 2 100
    1 12 Rep.12 200 2
    2 21 Item21 300 1
    2 22 Item22 1 400

    -- Arizal
    
    Edited by: ARIZAL on Mar 18, 2010 2:05 PM
    
    Edited by: ARIZAL on Mar 18, 2010 2:16 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    Hello

    ARIZAL wrote:
    Thanks Frank for the entry.

    But I had to re - edit the post since I guess I missed to include the specific scenario and expected results.

    Okay, so now you want the fucntion analytical COUNTY:

    SELECT       t2.key1,  t2.key2,  t2.itemname,  t2.amount
    ,       COUNT(t1.key1) OVER (PARTITION BY t2.key1)
                                AS row_count
    FROM              table1  t1
    RIGHT OUTER JOIN  table2  t2     ON     t2.key1     = t1.key1     -- or t1.key2; you didn't say, and the data is ambiguous
    ;
    
  • Web statistics for counter

    I have a beautiful counter built with the help of these forums. It works beautifully. Now, I'll build the web statistics page. (no I am just using CF7 and still haven't CFStat of CF8) I would like to display the total for the month (which I've got), then daily breakdowns with the count for each day. I know there must be a dynamic way to create queries to do this without having to build queries of 30 or more. I also want to continue through the years without having to change the dates me.

    Right now my simple query looks like this.
    < cfquery datasource = "" #dsn # "name ="7">"
    Select the referer, date from website_hits
    where page like '% home.cfm '.
    "date and > = 1 September 08"
    "and date < = 30 September 08"
    < / cfquery >
    and the result is correct with < cfoutput > #sept.recourdcount # < / cfoutput >

    But I know that's not good coding. I have to be submerged or in a brain fog. Any thoughts?
    Thank you, Wendy

    Thanks Ian,

    You have reason - I was not even consider SQL - here is the SQL code if others need a good solution

    Select date, Count (date) as website_hits thedatecount
    where page like '% home.cfm '.
    "and date > = 1 September 08"
    Group by date

    This will display the date and the number of the date that can be used in the table

  • What is communication for 3D Active shutter technology?

    Hello

    I buy Toshiba 3D 46tl438 screen, the TV comes with 3D glasses active two model: FPT-AG02G.
    I watch almost everywhere (including the manual and on the glasses themselves) what is the technology of communication? IR, RF or BP?
    I also try Web of Toshiba, but without success.

    Thanks in advance,

    Kobi

    I think its IR because the module is placed in the middle of the glasses and the same info on IR can be found on other Web pages.

Maybe you are looking for

  • Some Web sites do not show text correctly but only in Firefox

    Firefox does not display text on some web sites, all I get are |, of arrows, points etc and yet I can see very well in Chrome or IE pages. IV removed my FF, disabled theme Add ons and check if everything is updated and still nothing. Its really annoy

  • X 1 carbon Adaptive keyboard (2014)

    I received the new X 1 carbon. My COMPUTER store must have the image with picture Windows 8 (which I quickly upgraded to 8.1). Now my Fn keyboard is basically useless. I press the Fn button and it does nothing. I press the "configuration" button and

  • keep a selected chart

    I have a file which is of 32 columns and I need to treat some one way columns and other columns in other words and then print to a file. The data for each column are also displayed on individual graphics. My problem is that I can only do a routine to

  • Write Protection

    How to remove 'write protection' from a SD card?

  • Conversion of Raid 1 configuration to 1 normal hard drive with Windows XP Professional

    I have a Dell Precision Workstation 380, which has been set up at the factory in Raid 1 with 2 Seagate 160 GB hard drives.  The operating system is Windows XP Professional.  I would like to delete the Raid 1 configuration and that the computer is a n