Need help to make the adjustments to TCP between Labview 2011 and webrelay

Hello

I'm using Labview 2011 and trying to establish communication with webrelay (X-WR-4R1-l) to control its relay.

I downloaded a www.ni.com example but it does not work.  (he was tied with this thread as well)

I did no changes in the example program, that I do not really understand much codes XML.

I turned ON all 4 relays this webrelay, but in labview, it reads that the relays are turned OFF.

and when I click the button on the front panel, it does nothing.

There are several toolkits labview installed in my PC, namely:

-labview development system

-application builder

-recording of data and control module

-Database connectivity kit

-internet Toolbox

-report generation toolkit for Microsoft office

I'd appreciate it if someone could guide me in this configuration process.

Thank you

OK, we're making progress...

Something seems truncated. Is there something after realy4state in the received string? Because the string is longer, you will need to adjust the number of bytes read. It's more than the 157, which corresponds to the current setting.

In all cases, their example LabVIEW is a unique feature of relay. You need to look at section 3.2 of the manual that you set for the correct orders. Now there is always a number between 'relay' and 'State' for example:

1State = 1 for relay activate relay 1.

You must do two things:

Write a trainer who composed the correct channels based on the selected relay.

Write a parser that retrieves the status of all four relays relay. (the offsets will be different, for example)

I recommend you to treat the four relays as an array of four Boolean values.

Tags: NI Software

Similar Questions

  • Need help to make the movie to burn to dvd with Microsoft movie maker

    I don't know whether or not we have a DVD burner on our computer. It only gives me the ability to burn on a dvd when I try to publish a movie in movie maker from microsoft. is this in any way about this? I can download something and or transfer the work I have already done to media player somehow and do it? Also is there any kind of CD that I can burn that would play the pictures and sound on the dvd player?

    To burn a movie to a DVD and be able to play on a normal DVD player, you need WindowsDVD Creation.
    Windows DVD creation is included in the system IF you have either
    Vista Home Premium, Ultimate
    Windows 7 Edition Home Premium or higher.

    If your version of Windows is not one of the above, you will need to google for a 3rd party DVD Maker.

    t-4-2

  • Need help to make the complex calculation "period of coverage"...

    dear team,
    I am stuck up at one point where i cant seem to be finding any logic to implement the following piece of request...
    
    I hope i can come assistance from the forum members,here...
    
    any idea would be helpful :-)
    
    The situation is explained below...
    
    1..The data set...
    
    Select *
    From 
    (SELECT 25048189 ITEM_NO,  '2011_35' DEL_WEEK,  352811.406 FINISH_ON_HAND,  7188.621  DEMAND,  5.654 POC from dual union all
    SELECT 25048189,          '2011_36',           -83977.656,                 436789    ,        0         from dual union all
    SELECT 25048189,          '2011_37',           -448155,                    64177.406  ,       0         from dual union all
    SELECT 25048189,          '2011_38',           2012206,                    430095.406,        0         from dual union all
    SELECT 25048189,          '2011_39',           1612299,                    399907.094,        0        from dual union all
    SELECT 25048189,          '2011_40',           1612516,                    402966.406,        0        from dual union all
    SELECT 25048189,          '2011_41',           1612732,                    402966.406,        0        from dual union all
    SELECT 25048189,          '2011_42',           1615767,                    403183    ,        0        from dual union all
    SELECT 25048189,          '2011_43',           2837452,                    403183    ,        0        from dual union all
    SELECT 25048189,          '2011_44',           2434269,                    403183    ,        0        from dual union all
    SELECT 25048189,          '2011_45',           2031086,                    403183    ,        0        from dual union all
    SELECT 25048189,          '2011_46',           1624869,                    406217.594,        0         from dual union all
    SELECT 25048189,          '2011_47',           1563112,                    1624868    ,       0        from dual union all
    SELECT 25048189,          '2011_51',           1605986,                    1563112    ,       0        from dual union all
    SELECT 25048189,          '2012_03',           1976204,                    1605986    ,       0        from dual union all
    SELECT 25048189,          '2012_07',            0.25  ,                    1976204    ,       0        from dual union all
    SELECT 25048189,          '2012_08',            1568796,                   0          ,       0        from dual union all
    SELECT 25048189,          '2012_12',            1647070,                   1568796    ,       0        from dual union all
    SELECT 25048189,          '2012_16',            1971510,                   1647070    ,       0        from dual union all
    SELECT 25048189,          '2012_20',            0.25  ,                    1971510    ,       0        from dual union all
    SELECT 25048189,          '2012_21',            1613356,                   0          ,       0        from dual union all
    SELECT 25048189,          '2012_25',            1564118,                   1613356    ,       0        from dual union all
    SELECT 25048189,          '2012_29',            1983125,                   1564118    ,       0        from dual union all
    SELECT 25048189,          '2012_33',             -0.125,                   1983125    ,       0         from dual
    );
    
    
    Now if you notice carefull the POC (Period of cover) = 0 which i need to calculate...
    
    2..Logic for POC... (tried hard to format :-( )
    
    Now forumula for calculaing POC = FOH (FINISH ON HAND) of current week - DEMAND (next week) 
    IF THIS IS -ve then POC = FOH / NEXT WEEK DMD * 7....
    
    IF FOH -VE then POC = 0
    
    IF FOH (FINISH ON HAND) of current week - DEMAND (next week) > 0 then use this balance to satisfy the next week demand...and so on...
    Once balance qty - next week demand = 1 or 0 then stop there....count the no of weeks in between...the current week is always 0, next week 1, the week after next week, 1 and so on...
    
    if balance qty - next week demand = 1 -->> take current FOH / NEXT week demand + count the no of weeks in between...
    
    I have given one example which shows this situation...for weeks 2011_35 and 2011_38
    
    ITEM_NO          DEL_WEEK     FINISH_ON_HAND     DEMAND          POC     = FOH (curr wee ) - Demand (next week)     formula                    value
    25048189     2011_35          352811.406     7188.621     5.654     -83977.594                    = FOH / NEXT WEEK DMD * 7     5.654171332
    25048189     2011_36          -83977.656     436789          0     0                         """'---"               """'---"
    25048189     2011_37          -448155          364177.406     0     0                         """'---"               week counter
    25048189     2011_38          2012206          430095.406     7     1612298.906                    current week 38               0
    25048189     2011_39          1612299          399907.094     6     1209332.594                    current week + 1 = 39          1
    25048189     2011_40          1612516          402966.406     0     1209549.594                    current week + 2 = 40          1
    25048189     2011_41          1612732          402966.406     0     1209549                         week 41                    1
    25048189     2011_42          1615767          403183          0     1212584                         week 42                    1
    25048189     2011_43          2837452          403183          0     2434269                         week 43                    1
    25048189     2011_44          2434269          403183          0     2031086                         week 44                    1
    25048189     2011_45          2031086          403183          0     1624868.406                    week 45                    1
    25048189     2011_46          1624869          406217.594     0     1                         week 46                    6.15435E-07 
    25048189     2011_47          1563112          1624868          0     0                         week 47                    7.000000615 -->total
    25048189     2011_51          1605986          1563112          0     n/a                         n/a                    n/a
    25048189     2012_03          1976204          1605986          0     n/a                         n/a                    n/a
    25048189     2012_07          0.25          1976204          0     n/a                         n/a                    n/a
    25048189     2012_08          1568796          0          0     n/a                         n/a                    n/a
    25048189     2012_12          1647070          1568796          0     n/a                         n/a                    n/a
    25048189     2012_16          1971510          1647070          0     n/a                         n/a                    n/a
    25048189     2012_20          0.25          1971510          0     n/a                         n/a                    n/a
    25048189     2012_21          1613356          0          0     n/a                         n/a                    n/a
    25048189     2012_25          1564118          1613356          0     n/a                         n/a                    n/a
    25048189     2012_29          1983125          1564118          0     n/a                         n/a                    n/a
    25048189     2012_33          -0.125          1983125          0     n/a                         n/a                    n/a
              
    
    TOTAL POC OF WEEK 2011_35 = 5.65          
              
    TOTAL POC OF WEEK 2011_38 = 7.000000615          
    
    I know this is complex issue and may not be correct to post here also...but any kind of inputs as how to achieve this..would be help full...
    
    let me know i am clear in my question...i tried to format. but no use :-(
    Published by: W Nicloei on June 10, 2011 12:54 AM

    Published by: W Nicloei on June 10, 2011 01:11

    Hello

    There is something you can do with analytic functions, but it's a little complicated.

    Howevere, I have always not understant why POC is 0 2011_40 of the week?

    Kind regards
    Sylvie

  • Need help to make the field required, based on the drop-down menu ' YES/NO' other please field

    field 'A' - drop down, YES/No.  Field 'B' must be entered if 'A' = 'YES '.  If 'A' = 'NO', then 'B' as a default of 0. If "A" = "-", then "B" is "-".

    Really, I hope someone can help, Ive tried java, etc. action buttons.

    Thank you

    To set the property of the EmployeeID field B use the following that the validation of your menu script drop-down:

    this.getField("B").required = (event.value == "YES");

    As noticed TSN, the required field only comes into play when the record is submitted (and only when it is done using the built-in command to submit, do not use a script).

    However, it is possible to use a script to inform him that the use that the file is not correctly filled in when the file is printed/saved and even to reset the form entirely in this case.

  • Need help to make the page Web to open in the same window

    Hello. I want to menu page load in the same window. Right now, if you click on the index page, it will open the menu page in a new window. I know I should use _self, _parent or. But I could not understand where to insert it. Help, please. Thank you.

    in the case of your mentioned function, it would be just like:

    inv_btn.addEventListener (MouseEvent.CLICK, buttonClickHandler);
    function buttonClickHandler (event: MouseEvent): void {}
    navigateToURL (new URLRequest (" http://www.detailshardware.com/menu.html"), '_blank');
    }

    That's all.

  • Need help to remove the small white lines between attached forms. Still visible even after aligning anchor points.

    Hey, I'm new here, so many apologies if the community has been asked this question several times before. I do a quick search, but couldn't find an answer to my problem anywhere. Would be very grateful for help.

    I'm quite a beginner with Illustrator, so this may be something embarrassing simple!

    But as the title says, I have a very frustrating problem, trying to create an image of polygon. I've been using the pen tool to make triangles, then join all my anchor points with the horiz/vertical align Center. Roads joined look good, until I have add color... Triangles have a very light white line on them, I have tried to delete the anti alias, which solves the problem, but then the triangles look pixelated. Even when you import into Photoshop the pale lines are visible, as well as when the file is merged or saved as a JPG file.

    I've seen some very impressive polygon art and forms look seamless when joined.

    Here is an example of the problem. Ideally, I'd like that forms merged without rough lines.

    See you soon! Any suggestion would be appreciated.

    poly 1.jpg.

    BRI,

    I just read it again.

    align the center of horiz/vertical

    works on objects, rather than Anchor Points.

    You can have triangles which fail to assemble completely.

    Try this, smart guides are your friends:

    Starting with the last triangle (you can see the stacking order in the layers palette), click the path to find) and work your way upward as follows:

    1) click on the lower triangle with the selection tool.

    2) click on one of the neighbors, and move it to the bottom to be second in the stacking order, then move it a little far, then ClickDrag back by one of the Anchor Points to be aligned corresponding to the lower anchor (Smart Guides say anchor when you are there).

    (3) with the ClickDrag Direct selection tool other anchor Point to snap (you can drag a bit far and back until the Smart Guides say anchor);

    Who should ensure a full adjustment between the two less triangles

    4) continue until you are finished with the other triangles.

  • Need help to install the network on laptop drivers

    I have a laptop of HP 2000-239WM and recently erased due to trying to sell. However, when I reinstalled everything back on the PC, no network drivers have been installed, so I have no access to the internet, wireless and wired. Should what programs I install via USB in order to solve this problem?

    The network adapter driver specifically requests the Ethernet, wifi and it...

    Hello McKinley,

    Thank you for visiting Microsoft Community and we provide a detailed description of the issue.

    According to the description, I understand that you need help to install the network drivers into the laptop.

    Certainly, I understand your concern and will try my best to help you.

    In order to install the NIC drivers in the system, I suggest to visit the link below and check if that helps.

    http://support.HP.com/us-en/drivers/selfservice/HP-2000-200-notebook-PC-series/5091493/model/5119030

    Note: Make sure you have access to the internet to another computer and download the network drivers using the USB and install on your laptop.

    I hope this information is useful.

    Please let us know if you need more help, we will be happy to help you.

    Thank you.

  • Need help to make calls in blackberry

    Hello friends,

    I need your help to make calls in blackberry OS version 6.0 and later versions.

    I write code to use, it works very well below 6.0 but on 6.0 and above all he does not.

    When I try this code on 6.0 I receive "cannot connect, call in progress.

    According to my research, this is a specific problem of the OS, but I'm not satisfied with this research.

    Actually I do an application that will dial a specific number again and again for 5 times ({at least} chosen by the user).

    Code: -.

        Application.getApplication().invokeLater(new Runnable() {
    
                public void run() {
                    try {
                        ApplicationManager.getApplicationManager().requestForeground(appProcessId);
                        Invoke.invokeApplication(Invoke.APP_TYPE_PHONE, new PhoneArguments(PhoneArguments.ARG_CALL, phoneNumber));
                              } catch (Exception ex) {
    //                    ex.printStackTrace();
                    }
                }
            });
    

    To resolve this problem, I tried for a few weeks, but no luck.

    Please help me.

    Thanks guys,.

    I found the solution to this problem,

    to fix this, I maintain a difference of 10 seconds on each call, I did.

    Thank you once again

  • Hi need help I get the error message "Download error, Undefined" in the applications tab to install Apps. Can someone help?

    Hi, I need help, I get the error message "Download error, Undefined" in the applications tab to install Apps. Can someone help?

    Follow the procedure below and check:


    End Adobe partner all tasks in the Manager of tasks like creative cloud, CoreSync, AAMUpdater... etc.

    Uninstall Adobe Creative Cloud application.

    If you face any problem try CC Uninstaller:

    Using creative cloud | Uninstall the creative cloud desktop application

    After removing Adobe Creative Cloud applications, follow these steps:

    Step 1:

    Open the c: drive and navigate to C:\Program Files (x 86)------\Adobe " common files".

    Open the Adobe folder and delete folders named Adobe Application Manager and OOBE.

    Step 2:

    Navigate to C:\Program Files (x 86) \Adobe.

    Open Adobe file and if present the file to remove Adobe Creative Cloud . [* important]

    Impossible to remove?

    Rename it as Adobe Creative Cloud-old.

    Step 3:

    Press Windows button (located between Ctrl and Alt buttons) with the key R together at once, you will get a command window.

    Type below command and press the enter"" key.

    AppData

    Then go to the Local > Adobe.

    Open the Adobe folder and delete folders named AAMUpdater and OOBE.


    Step 4:

    Temporarily disable anti-virus and firewall.


    (1) open Control Panel and then click on the network and Internet"" option.

    2) click on Internet options, click on the tab "connections".

    (3) in the 'Connections' tab, select 'LAN' settings, you will be able to view the LAN settings box.

    (4) check the box-"automatically detect settings" and then "uncheck" all the other boxes as "configuration Script auto use", "Use a proxy server," proxy server ", then click on the ok button."

    5) click on the "Network settings" button once again, make sure that "Automatically detect settings" is the only option you select, the window of properties of LAN so clear.


    Step 5:

    Make sure that Adobe Creative Cloud is not listed in the control panel > programs and features. list.

    Then, download and install the Adobe Creative Cloud app and check.

    https://ccmdls.adobe.com/AdobeProducts/KCCC/1/Win32/CreativeCloudSet-up.exe

  • I NEED HELP Please im having a problem to forget my password and when I plug it it says its locked with a password he try to put the itunes thing but

    NEED HELP Please im having a problem to forget my password and when I plug it it says its locked with a password he tried to put the itunes thing but it says enter password I put in what I rember, then said lokced for five minutes help me pls

    Without knowing the password for your iPhone, there is no way to unlock it, bring even you to the Genius Bar. If you continue to enter the wrong password, you will be locked out of your iPhone, and your data will be unaccessable.

  • Need help to diagnose the regular system analysis on iMac - processors maxed out

    I need help to identify the cause of a problem that occurs at least 2 - 3 times per day using my iMac (27-inch, mid 2010) running 10.11.5.

    I will use my iMac and then all at once things will start to really trolling. To the point of being completely unusable. Even if I'm able to move my cursor, then click to drag the windows around the screen nothing does really.

    I have iStat menus running so that can see graphics in my menu bar that all 4 cores are completely overfished. Occasionally, I was fast enough to launch the activity monitor to try to see what applications / services are responsible for, the use of % CPU column is completely empty of values, so I can't identify the culprits in a reliable way. I try to keep that column sorted by % CPU use in the hope that he could reveal something and normally it's the kernel_task who is up there.

    I use a Wacom Bamboo dated Tablet (MTE - 450 has) instead of a mouse, and at one point, I was convinced the pilot of PenTabletDrive it is based on was to blame. I contacted Wacom on this subject, and although there is no known issues they pointed out that although the latest drivers will allow me to use the tablet that they no longer support older devices. I was wondering if there was a problem of communication between the device and a driver that is no longer supported. I installed the latest driver supported for my tablet, but the problems persist.

    It may be interesting to note that, when my computer is in this semi-frozen state, I am able to launch the window enough force and quit all open applications leaving me with only the Finder. I guess that means that there are none of my apps running and it is probably one of the services. If I restart the Finder system grinds to a completely enclosed holt.

    I hope someone can let me know what I can find in the Console or elsewhere to help me finally zero in on what is to blame. I can share a log if that helps.

    Thank you in advance!

    Information that might be useful:

    Kept by I tend to be running: Adobe InDesign, Photoshop, Acrobat (all CC 2015), Mail, Safari with several tabs & Dropbox sync constantly.

    Download and run EtreCheck, created by one of his own assistants here in CSA. It is a diagnostic tool that is very useful for us to find problems. It will also give us additional specifications on your Mac. After his execution after the logfile here. It will never contain any personal information.

  • Need help to remove the zeros on the right

    Hello.

    I need help to replace the zeros in the string.

    I have a string which is the output of the network packet. There are a few trailing zeros in the package.

    I don't see them in normal mode, but the size of the string tells me that it's bigger then it looks like.

    When I pass in hexadecimal mode, you can see zeros.

    I tried to use the find/replace function allows you to search for 0 and replace it with an empty string constant. But, for some reason any, that he took no zeros.

    I need to stop the string that follows * 69.

    Show your code.  You won't find and replace with all zeroes.  These 00 in hex mode they are null characters.  (not printable byte with a value of zero).  You need search and replace on that character.  (replace string should look like 00, when it is set to display the hexadecimal code.

  • cq57: need help cq57 enter the password administrator or power on password... deisabled system 58555314

    need help cq57 enter the password administrator or power on password... deisabled system 58555314

    Thank you!!!

    @clatimer

    Enter 47433930

    REO

  • Need help in using the ActiveX to retrieve a VARIANT

    Need help in using the ActiveX to retrieve a VARIANT.

    Variant is shown as var {VT_Ul1, 1} in debugging

    By using the following

    HR = CA_VariantGetShort (& var, &value);)

    I get 0 for my answer instead of 1.

    Answered my own question.

    VT_Ul1 is an unsigned char and not a short.

  • I need help to Flash the bios. I have an Aspire 5810TZ. I start and it just says: "acer".

    I need help to Flash the bios. I have an Aspire 5810TZ. I start and he just says "acer" and goes no further. I went to the download page for BIOS on us.acer.com and it has a zip file with 5 files:
    JM4151135.exe
    IN FLORIDA...
    GPC_V135.bin
    Readme.txt
    FLASH. BAT
    What should I do? I tried to copy the files on a USB key and turn on/off with Fn + ESC key. After the release the power button and pressed Fn - Esc another screen appears after 30 seconds. I gave up and gave her 30 minutes but it does nothing. I read another person that should be flashing power button online. I have to rename one of the files. Help, please!

    Aspire 5810TZ menu of frozen startup.

    I finally understand it.

    I couldn't start a back b/c drive, it me did not start anything.

    I followed this chain of logic:

    -Downloaded the bios (2.35 is the one that worked for me)
    -Find the exe file in the winflash file.
    -Extract the files in archive exe using the 7-Zip program
    -Find the .fd file and rename it to JM41X64. FD (I read in a forum was unique in my laptop)
    -Copied JM41X64. FD and FLASH it is. EXE on a USB
    -A the battery and the hard drive out.
    -With its trendy diet I supported Fn + Esc and that you press the power button once while ensuring that the Fn + Esc has been always held down.
    -J' waited 6 seconds and release the Fn + Esc and seen the flashing flash player
    -After about 10 minutes, restarted the machine and the bios as like new.

    Later, I found that there was a hard drive problem.

    I want you guys should help more. All I needed was the name of the JM41X64 file. FD and you don't know how many hours I put into trying to find how simpy bios flash. It is not that difficult for someone with a b.s. in computer science to learn how. Couldn't we a m.s. back b/c the bios drive was messed up. F12 didn't work.

Maybe you are looking for