VISA series operation does not work when the PC software performs

Hello everyone.

I'm using LabVIEW to communicate with a control via VISA series. I can communicate with this box in most areas very well, as surveillance data function I use without any problem. The only thing I have a problem with the unit is calibrated. Calibration is achieved by opening a binary file and transfer the data of 16 bytes at a time during the series with the help of a 16-byte write the command that has this structure: [command, in this case 'P'] [2 bytes from 3800 HEX address] [16 bytes of data] [checksum 1 byte]. I'm correctly calculate the checksum, and the documentation says that the box must respond to all orders less than 100 milliseconds.

When I try to do, the zone responds with one E several times (E is supposed to say checksum error, even if I am calculating correctly), then no longer responds to nothing. The strange thing is that this box comes with a software that allows to calibrate it and that the software has no problem with him!

I tried using SuperMon to capture what the software sends on the series and compare it to what I pass, and from what I see, it sends the same data that I do, only he works and mine is not. I also tried using SuperMon to manually send the writing 16 bytes of a calibration function at a time, and he seems to have the same problem.

It seems that their software works, I do something wrong. Here is a screenshot of my code that I am using. Any help would be greatly appreciated!

I contacted officials of the control box and have solved the problem. Control box delay needs 5 to 10 milliseconds between each byte, not all orders than I had initially thought. Thanks for all the useful answers, and especially the number of split tip, which really cleans my code!

Tags: NI Software

Similar Questions

  • LAN does not work when the Cisco E1000 router hangs

    Original title: Download sp3

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! I bought recently a new Cisco E1000 router. My computer is a laptop model Lenovo 0769.

    I am running windows XP with sp2. The cisco software requires sp3. I called support of cisco and even they couldn't get to download sp3. My network is wireless on the router and I had to install from another laptop computer on the system. My LAN does not work when hooked. What do you suggest to me.

    Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Hi mdenrique,

    1. what exactly do you mean by LAN (Local Area Network) does not work? You get the error message?

    If you have not installed Service Pack 3, try the following steps:
    Step 1: Download Service Pack 3
    see How to obtain the latest Windows XP service pack .
    b. scroll the window and click on "Download now the Windows XP Service Pack 3 package" to download the service pack.
    c. save the file on the desktop.

    Step 2: Install Service Pack 3
    a. open the file downloaded and follow the instructions in the wizard to complete the installation.
    b. restart the computer once the installation is complete.

    For more information, see steps to take before you install Windows XP Service Pack 3

    Note: Once you have installed service pack 3, install the router and check if the problem persists.

    Step 3: To troubleshoot LAN, run home and small Office Networking Troubleshooter
    a. Click Start and then click Help and Support.
    b. under Pick a help topic, click Network and Internet.
    c. under network and the Web, click on resolution of networking or Web problems and then click on home and small Office Networking convenience store.
    d. answer the questions in the troubleshooter to try to find a solution.

    For more information, see the following articles:
    1 see How to troubleshoot a network in Windows XP
    2 see two resources to solve the problems of connection network in Windows XP

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Camileo P30 does not work when the 8 GB SDHC card is inserted

    Hello
    I just got a new camcorder Camileo P30.
    I also bought a card 8 GB class SDHC 6 100 'Lexar Premium' x
    And it does not work with the card inserted.

    Here are the symptoms:
    (1) when the card is not inserted I can do everything OK - take pictures and video, use the menus, it turn on and off.
    (2) when the card is inserted, the following occurs:
    2.1) I can't take pictures or video - it does not meet the pressed buttons.
    2.2) I can't access menus.
    2.3) I can't shut off again.
    2.4) I do not identify the amount of memory is available (shows only 0 recording time remaining).
    (3) I have tried different combinations of:
    3.1) Insert the card so that the camera is turned off.
    3.2) Insert the card so that the camera is turned on
    3.3) Insert the card while the device is switched on and in one of the menus.
    (4) the camera doesn't always work if I take the card again.

    During these expriments (#3), I was sometimes able to get a record time correct left (#2.4), but still #2.1 to 2.3 # were a problem.
    At one point, I was also able to "format" the card and subsequently, he showed a record very long time available (not matching only not to the size of the map) and #2.1 to 2.3 # were still in force (i.e. I couldn't use the camera or turn it off).

    Note to work around the #2.3 I took the battery.

    I was not yet looking for updated firmware, or connect it to the PC.

    Has anyone of you has met with such a problem?
    What did you do to solve it?

    Thank you.

    Hello

    Have you tried another card SDHC?
    I m not very well what is happening here, but I recommend you another card in this camcorder.
    I m P30 not owner but I have a: 30 and the camcorder reads without problems for 16 GB SDHC card. It works perfectly.

  • VerticalAlign VBox does not work when the child has the height in %

    Hello

    I got the code like this:

    <mx:VBox id="vb1" verticalAlign="middle">
    <mx:CheckBox .../>
    <mx:VBox id="vb2" height="50%">
    ...
    </mx:VBox>
    </mx:VBox>
    

    Effect is that verticalAlignment does not work for the 1st VBox (it seems to me that it is set to the default value - 'top'). It works when I remove property "height" of the 2nd VBox (or when I change to "50%" to "50" or any other number).

    Hi Ibarim,

    verticalAlignment won't work for VBox when you have two or more children and who are direct children. When you have only a single direct children of the VBox, then it will work. Normally we use verticalAlignment = "middle" HBox and VBox. As VBox sets out its children vertically this property does not work when you have children over 1.

    You can try this

    width="200" height="50%">
    
    
    
         
    
    
    

    The above two combinations work correctly you only have immediate children... But if you see the bottom of case...

         width="200" height="50%" backgroundColor="yellow" verticalAlign="middle">                                  
    

    Now, in the case above, you can see that VBox vb2 is vertically aligned middle in the vb1 vb2 VBox is the only direct child of VBox vb1. Whereas it is now in the vb2 VBox box and VBox vb3 are not aligned vertically in the VBOx vb2 as because VBox vb2 contains now two children.

    Hope this is clear and make you understand the problem.

    Thank you

    Jean Claude

  • Problem - VGA output VGA or HDMI port does not work when the connection to the input of your TV

    Problem of VGA output - using an acer aspire 5520-5912 trying to connect it to the TV input - connect S-Video works well - port however VGA or HDMI does not work - 1 when I plug the VGA cable that goes to an entry of RD Gr Bl on TV, my screen goes black - as soon as I unplug the cable and press FN + F5 I get the screen back - if I restart the computer in order to have the computer to identify the external screen it will just a black screen when the priming. Troubleshooting using no external monitor is identified unless I use the S-video connection.  The Hdmi connection gives me the same result that the VGA - convenience store attempt will identify the computer screen.  OPSYS Vista. Thank you

    Hi cdk14031


    You have set display up-to-date drivers installed?

     

    Step 1 :
    To resolve the problem, you can check if the uninstall and reinstall so help display drivers.
    Also check if you have any exclamation point or cross the marks on the sides of display devices listed in Device Manager.

    a. click Startand then click Control Panel.

    b. click system and Maintenance, click Systemand then click on Device Manager.
    Note If Control Panel is in Classic view, double-click System, and then click Device Manager.
    If you are prompted for an administrator password or a confirmation, type the password, or click allow.

    c. in the Manager device, expand display driver, display devices, right-click and then click on Properties and on the driver tab, click Uninstall.

    d. When you are prompted to confirm that you want to remove the device, click OK.

    e. restart the computer.

    After the computer restarts, the drivers will be installed automatically.

    Step 2:

    If the problem persists I suggest you to check if you install the latest updated driver on the manufacturer's Web site to help you.

     

    You can also check out the link below and check if you get an updated video driver. You can install updates in optional updatesvideo card driver.
    http://Windows.Microsoft.com/en-us/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly


    You can also check the support link and check if these help - below

    http://Windows.Microsoft.com/en-us/Windows-Vista/connect-your-computer-to-a-TV

    I hope this helps.

  • Microphone does not work when the headset is connected (Windows 7 with Realtek HD Audio).

    I am a user in advance, but this got to be one of the funniest problems ever. First, I had 2 headphones with microphone.

    1. An old helmet specified with microphone
    2. A new headphones A4Tech HS-100 with microphone that I just bought
    Problem:
    • Using the new helmet I bought, when I plug the microphone (pink jack even) it works, but also when I plug in the headphones (same headphone jack), the microphone no longer works (cannot receive all the sounds, even if it is detected clear as already plugged) and only the work of helmet.
    The most funny thing is:
    • The old headset works fine when I plug the microphone (jack Pink) and headphones (headphones) to my ASUS N81V laptop.
    • When I plug the microphone on my laptop and plug the headphones to my iphone, the microphone and the headphones work!
    • To experiment more, my laptop has a HDMI output connected to an external HDMI monitor, when I connect the microphone on my laptop, only it works, but as soon as I connect the headphones to the headphone jack on the external HDMI monitor, the microphone works again!
    Things, I tried and does not work:
    • Maximize the microphone amp
    • Separate entry made in the audio Panel
    • Ensure the microphone is not dumb anywhere
    • Install the latest drivers from the manufacturer and realtek Web sites
    I want to get both my mic and headphones works when plugged the laptop, what exactly is the problem? Any help? Thank you very much.

    I have a similar problem with my netbook a built-in microphone running Windows Starter, that's how mine to get the fix:

    Control Panel - his - recording tab - click on Configure button - set up micro - Configuration of the Microphone Wizard.

    You'll see three choices 1. Headphones Microphone 2. Table microphone 3. Others.

    All what I have to do to fix my netbook is to select the desktop instead of headphones with Microphone Microphone (it has been revived somehow).

  • U3014, DDM does not work when the value of DP to 1.2 (this is normal)

    The AMD Radeon HD 7700 supports DP1.2, but if I do it with the OSD menu, the DDM (Dell Display Manager) does not work? But the return to normal if defined DP1.2 on disable. Is this a bug or I made a mistake?
    Serial number U3014 P1V6N42N444L
    AMD Radeon HD 7700 Series
    Windows 7

    * Found the answer. Open the MDD for the U3014 Manual:

    FTP://FTP.Dell.com/manuals/all-products/esuprt_electronics/esuprt_Display/Dell-u3014_User%27s%20Guide2_en-us.PDF

    * "NOTE: MDD is not supported in DP1.2 / STD (Daisy Chain).

  • Smartphones blackBerry BUG: camera does not work when the lamp is on

    BlackBerry PRIV model STV100-1
    AAE016 (aospl-msm8992 69 qc8992_sfi-user output software version
    Android version 5.1.1
    Last updated on 1st March.

    Previous version of the software had the same problem and can be reproduced like this:

    (1) to any application other than the camera, drag down twice from the top and turn on the flashlight.
    2) press the squarre and switch to the camera application, which says now: "camera not available."
    3) slide down twice, turn off the flashlight and switch camera to the photo app, now there is no message, but the camera still does not work.

    (4) use the table to any other application, then the table to return to the camera application, which now works fine now that the lamp is off.

    If you attempt to try the above, when you are in the camera app, once you drag down twice, there is no icon to turn the flashlight.

    Hmm, that's an interesting and scary use case, please provide

    Someone else see this thread, if you want this functionality please like this post to express interest

  • V11.0.12 XI and IE11 Acrobat. Hyperlink inside the PDF does not work when the PDF file is opened with any browser.

    V11.0.12 XI and IE11 Acrobat. Hyperlink inside PDF is a blue rectangle and links to another PDF. When PDF is opened in Acrobat, the link works. When opened in any browser (IE, Firefox, Chrome) the link does not work. How can I get the link to work in browsers?

    I think it is a bug. I uninstalled Acrobat and reinstalled Acrobat v11.0.0. I tried the link and it works properly. Then, I installed each both updated and tested the hyperlink. Update 1-10, that the link works. However, when the 11.0.11 update is installed, the "Go to a page in another document" hyperlink stops working in browsers. V11.0.12 installation does not solve the problem. If I uninstall Acrobat and install v11.0.0 with updated v11.0.10, everything works fine.

  • AS the operator does not work with the DATE

    Hello
    I have a simple select statement and in the WHERE clause if I use AS with a date field it doesn't but it works with a string field. For example:
    --does not work. does not bring any rows
    Select * From MyTab
    Where  time_period Like '%';
    --works and brings ALL data
    Select * From MyTab
    Where  level_code Like '%';
    Where time_period is of data type DATE and VARCHAR2 level_code.

    Hello

    That's how AS is supposed to work.

    x LIKE y
    

    won't be TRUE if x is ZERO, no matter what.

    If you want an expression which returns TRUE when x is NULL and y '%', then use NVL to map NULL to an appropriate value.
    For example:

    Select  *
    From      Mytab
    Where       NVL ( TO_CHAR ( time_period
                          , 'MM/DD/YYYY HH:MI:SS AM'
                    )
             , ' '     -- One space
             ) Like '%';
    

    TO_CHAR to explicitly create a string based on a DATE, in the format that you want. Do not rely on implicit conversions.

  • "Wireless radio does not work" when the Diagnostic tool is run

    Recently, I unplugged my C309a HP Photosmart Premium and he moved to a new Tablet next to my main computer.  Wireless network card works perfectly before the move, and now it does not detect networks to connect to.  I have run the wireless network test report and it says "Wireless Radio does not work.  Contact HP support. "I can do here to help solve this problem, or I have to pay for repairs somewhere?  I want to believe that this HP product can support more than a simple passage of one shelf to another...

    Any suggestions would be greatly appreciated!

    * Note * I know my network works correctly (because I'm connected to it now...).  My computer detects my network as well as several others in the neighborhood.

    Is the printer still under warranty?  If yes you can not he repaired, but it can cost almost what a new printer costs.  Here is how to contact HP.

    Your printer must be able to work with USB and it should also be able to be connected to your router with an Ethernet cable.

  • addInstance does not work when the table has no rows

    I am trying to add a line to an empty table (no line) and it seems that addInstance does not work.

    table. Row. instanceManager.addInstance (1);

    Is there a different syntex if the table has no line?

    Thank you

    Try to use the shortcut to underscore for the instance Manager, it allows you to get items that do not yet exist.

    Then

    table.row.instanceManager.addInstance (1);

    becomes

    table._Row.addInstance (1);

  • Music app does not work when the screen is closed!

    Android6.0.1

    Compact Z5.

    When I listen to the music in the music of sony and closed the screen app, music will play a minute and stop, even when I turn the offshore endurance and add it to the white list, but it doesn't work.

    Other applications that can play music also encounter this problem. Some applications of music need wifi, they cannot work when the screen is too closed.

    What can I do about it?

    I think also ultra endurance disables many apps, so my guess is that you have a 3rd party app that close somehow your applications when the phone goes to sleep.

  • "mouseout/mouseouthandler()" does not work when the mouse leaves the scene

    AnimateCC. How to detect what mouse leave banner?

    Button has the same size as the banner

    Canvas_mouseOut

    Try switching the mouse banner cursore, Panel of exploration

    My code can't handle this problem:

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

    This.Stop)

    frequency of var = 20

    stage.enableMouseOver (frequency);

    this.btn.addEventListener ('mouseover', mouseOverBanner.bind (this));

    this.btn.addEventListener ("mouseout/mouseouthandler()", mouseOutBanner.bind (this));

    function mouseOverBanner() {}

    this.buynow.gotoAndPlay ('over')

    }

    function mouseOutBanner() {}

    this.buynow.gotoAndPlay ('out')

    }

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

    The solution is to target the whole canvas instead of a button to fill the canvas; This also works when the ad inside an iFrame:

    .addEventListener canvas("mouseover", mouseOverBanner.bind (this));

    .addEventListener canvas("mouseout/mouseouthandler()", mouseOutBanner.bind (this));

     

    function mouseOverBanner() {}

    this.buynow.gotoAndPlay ("over");

    }

     

    function mouseOutBanner() {}

    this.buynow.gotoAndPlay ("out");

    }

  • Satellite P205: Touchpad does not work when the new adapter is connected

    I got a replacement charger for my Satellite P205 but put it has A 4.19 instead of 3. 95 has, they said that it didn't matter, but since I use the charger, I have the following problems:

    -Does not load properly and turns off after an hour.
    -The touchpad has a mind of its own when the charger is connected (windows opens if hovering over button, through the screan jumps when I try to move it, freezes and disappears)
    -Charger Word to say the laptop plugged in but not charging

    What can I do to remedy these problems, the laptop works perfectly when the charger is not plugged in?

    See you soon!

    Hello

    I guess that the touchpad worked correctly in the past with the former sector adapter.
    Is this good?

    Well, it seems that these questions are related to the new power adapter and I would recommend using a 100% compatible adapter.

    Check the AC adapter s old part number and if the issues could be resolved using this adapter.

Maybe you are looking for

  • Satellite P200D-139 - out the fan

    Hello just want to clean the fan, for fear that it might be a bit too much dust in there. Stuck on how to take the portable hand washing.Someone can tell me how to disassemble the laptop or is there a manual on the laptop?Thank you

  • E1P04AV: Back cover for HP ENVY 15 notebook PC

    The back cover of the laptop becomes loose.  the screws do not have the plastic back case. I think I need a new back case. HP sells laptop parts? HP ENVY 15 Notebook PC Series: [personal information] Product: E1P04AV

  • Property with table input node

    Hello I have a table, and I would get the unique values. Then I would put the unique values as input my digital order. On the diagram below, the user should be able to choose the following numbers: 1,2,3,5,7; given that th is the unique values In a W

  • Windows7: Execution of Dungeon Siege 2 broken world

    I'm trying to get Dungeon siege 2/bw to work on windows 7. It installs just fine even, I went and said that she could play by using windows xp sp2-3 it does not start until... my screen gets really small and that the colours yellow and green towers r

  • Error 646 when trying to install updates

    Original title: error 646 When you try to download updates it allows updates to day run but unable to install, read error646