Re: How to send LF,CR and EOI in VISA Write function of LabView?

Our 2012 does not seem to remember the settings to VISA in MAX.

Jordan can you pop this to a new thread? replying to a unrelated thread over a decade old wont help much.
Tech1 do you by any chance have a PXI chassis with a MXI in your system?  can you give us steps to follow to duplicate the issue?
Jeff

Similar Messages

  • How to send a request and get a response through xml

    How to send a request and get a response through xml files?

    This is the code that works for me. Hope you find it useful.
         public static String sendHttpGetRequest(String endpoint, String requestParameters){
              String result = null;
              // Send a GET request to the servlet
              try{
                   // Send data
                   String urlStr = endpoint;
                   if (requestParameters != null && requestParameters.length () > 0){
                        urlStr += "?" + requestParameters;
                   URL url = new URL(urlStr);
                   HttpURLConnection conn = (HttpURLConnection) url.openConnection();
                   conn.setRequestProperty("Accept", "application/xml");
                   // Get the response
                   BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
                   StringBuffer sb = new StringBuffer();
                   String line;
                   while ((line = rd.readLine()) != null){
                        sb.append(line);
                   rd.close();
                   result = sb.toString();
              } catch (Exception e){
                   e.printStackTrace();
              return result;
         }

  • How to send automatic mail and put attache file on batch file ?

    how to send automatic mail and put attache file on batch file ?
    START MAILTO:[email protected]?SUBJECT=PHONE%CALL^&BODY=Testing

    Hi,
    Do you want to use a batch file to create new email message (including recipients, subject and email body) with attachments? If so, I'd recommend you post your question in the Scripting Guys forum for further assistance:
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Please feel free to let me know if I've misunderstood something.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • HOW TO SEND THE REPORTS AND  THROUGH XI TO NON -SAP SYSTEM

    Hi Experts,
                 I want to know how to send the reports and  smartform through xi to another system. All the post blogs are   just explaning only about the FILE-TO-FILE, FILE-TO-IDOCS scenarios only.

    Hi,
    XI is the middleware that to be used to transfer the data between various systems and even you could design the Business Processes with it.
    In R/3 the smartforms, are generally converted to PDF and then  have to send it across to Non SAP systems. Similarly you can convert the smartforms to pdf format and keep it on application server. XI will pick up that pdf and will send it to Non SAP system either as mail or as an attachments.
    ABAP reports are normally used to re-present the data. If you need to transfer this data across the Non SAP systems then you have the IDOCs to be generated, RFC or ABAP Proxy to integrate this data with Non SAP system.
    XI is not restricted only upto file to file or file to IDOC scenarios. It have enormous capabilities to involve various Business Processes as well integrate various SAP or Non SAP systems.
    If need anymore  specific details, please let us know.
    Thanks
    Swarup

  • HT201290 how fail send Airdrop Photos and Videos to and from OS X 10.10.2 and iOS 8.

    how fail send Airdrop Photos and Videos to and from OS X 10.10.2 and iOS 8.

    Airdrop Photos and Videos to and from OS X 10.10.2 and iOS 8.

  • How can I send multiple string commands into a VISA write?

    Hi Fellow LabVIEW users
    I am very new to LabVIEW (2.5 months) so please forgive me if my lingo is not up to par.
    How can I send multiple string commands to a VISA write. For example each string command looks like this
    1) 3A00 0000 0000 FFFF FFFF FFFF 0000 0000 FF00 0000 0000 0000 0000 0033 (Scenario 1)
    2) 3A01 0000 0000 FFFF FFFF FFFF 0000 0000 FF00 0000 0000 0000 0000 0034 (Scenario 2)
    3) 3A01 0000 0000 33FF FFFF FFFF 0000 0000 FF00 0000 0000 0000 0000 0067 (Scenario 3).
    and so on and so forth. And there are a number of scenarios.
    Each String scenario will give a different string output which will be interpreted differently in the front panel.
    Right now I have to manually change the string commands on the front panel to give me the desired output. How can I do this without manually changing the commands i.e. hard coding each scenario into the block diagram?
    Thanks, any feedback will help.
    mhaque

    Please stick to your original post.

  • How to read the date and time information of a file by labview

    how to read the date and time information of a file by labview? for example, created time and modified time.
    Solved!
    Go to Solution.

    if you need to know the last modification date of file:-
    "Functions->File I/O->Advanced File Functions->File/Directory Info.vi"
    This vi returns the value of file's last modification date. This is returned as U32 number. To see it in MM/DD/YY format you must create the indicator, right-click on it and select "Format & Precision" item from drop-down menu. Then select "Time and Date" format there.
    Thanks as kudos only

  • In Applet  how to send an ' image' and 'string' as parameter

    Hi,
    In web application, how to use post method in applet to send an ' image' and 'string' as a parameter, I can able to send the image alone form applet to servlet.

    869665 wrote:
    Hi,
    In web application, how to use post method in applet to send an ' image' and 'string' as a parameter, I can able to send the image alone form applet to servlet.One way to do this is to convert your binary image data to base64 (convert it to plain text) and send it along with your other String parameter, delimited with a & of course.
    Edited by: maheshguruswamy on Aug 2, 2011 11:59 AM

  • Any idea how to send stereo 8 bit data to SO write.vi and make it work?

    I have two sine wave.vi's generating two different tones, I need to send them as stereo to the SO Write.VI and create left and right tones to someones ears.
    Attachments:
    Stereo_Test_[1].llb ‏303 KB

    You're almost there. You just need to transpose your stereo 2d array. See attached screenshot.
    Tim
    Attachments:
    transpose_2d_stereo.gif ‏4 KB

  • How to send/read bits informatio​n via visa

    Hello people.
    I've bought an encoder that reads a datamatrix adhesive tape and returns information like x and y position and velocity. It communicates via serial 485, and i need control it trought labview, i don't know how to do that. The protocol of communication consists in sending a request telegram and recieving an response telegram.
    To send the request telegram has 2 bytes: one containing 8 bits of information plus a parity bit, and the other byte has the parity bit and the same 8 bits of information sent in the first byte, but here they're inverted. For example byte1 is 110000100 and byte2 is 101111011 (this is requesting x position)
    The response telegram contains 6 to 9 bytes (all of them have 8 bits plus the parity bit). The 2nd to 5th bytes contains the x position, so i need to read them and convert to a decimal number.
    The issue is that visa functions work with strings, so i don't really know how to properly convert the informations from those 2 bytes to send the request, neither how to convert the string read from the instrument to binary and finally to decimal number. Do you have any ideia?
    Greetings,
    Vitor
    Solved!
    Go to Solution.

    Vitor Soares wrote:
    I made two arrays of bits, one for byte1 and one for byte2, and converted them to strings and concactenated those strings and sent to the encoder, but i had no response... am i on the right trail?
    Partially. This is a frequently asked question. You need just one array of U8, containing the 2 bytes you want to send, and then you can just use the Type Cast function or a Byte Array to String to get a string that you can feed to VISA Write.
    Attachments:
    Example_VI_BD.png ‏2 KB

  • How to send the path as a parameter of a function

    how i can write the path in library for send it like paraméter in function.
    give me the steps
    thanks

    this is what I have:
                   beginStep("[1] No Title", 0);
                   ft.loadObjectLibrary("script", "script.properties",
                        LibraryLocation.ScriptLibraries);
                   getDatabank("csvvv").getNextDatabankRecord();
                        web.window( "/web:window[@index='0' or @title='about:blank']")
                        .navigate("http://localhost/qademo");
                        getScript("said").callFunction("InputData1", "{{obj.script.login_user_id}}", "{{db.csvvv.login_user_id}}");
    function call'd:
    public boolean InputData1(@Arg("vObjPath")
                   String vObjPath, @Arg("vValue")
                   String vValue) throws Exception {
                        web.textBox(vObjPath).setText(vValue);
                        return true;
    to send the path as a parameter to the function InputData ?????? my problem is in {{ obj.script.login_user_id}}
    how to set up paths in library
    give me all of steps !
    thank you
    Edited by: 850244 on 18 avr. 2011 05:33

  • How do I input multiple string constants into VISA Write

    I am trying to put in multiple string commands into VISA Write to control a motor arm. However, when I use "concatenate strings" to link together my multiple string constants, only the first command is executed, and neglects the other commands below it. Should I be using something other then "concatenate strings" or do I need to use a delay so that the next command executes when the one before it is finished? Help.

    Concatenate strings should work or just use one string constant with multiple lines. The problem you're having could be that the instrument requires some sort of delay but without details on the instrument, only you or the vendor can answer that. Some instruments will have a queue and others won't. The other possiblity is that you need some kind of termination character between commands. This might be a carriage return for a serial instrument or the ; character for a GPIB one. Check the instrument manual or provide the make and model and maybe someone here has some experience with it.

  • How to send TTL output AND acquire AI voltage data using USB-6211

    Hello,
    I am relatively new to Labview, so please bear with me.  I have a research application involving 2 pressure transducers and a high-speed camera.  I wish to acquire analog voltage data from the 2 pressure transducers.  However, at the start of the acquisition, I will need to send a single TTL output to trigger the camera.  This TTL pulse must be sent out at exactly the same time that the AI acquisition begins, in order to ensure that my 2 pressure measurements and camera images are 'synchronized' in time.
    Is this possible on the USB-6211 running with LabView 8.20?  I currently have a fairly simple LabVIEW vi that uses a software trigger to start an AI acquisition - I have attached it with hopes that it may help anyone willing to assist me.  I would prefer to be able to simply add something to it so that it will output a TTL pulse at the start of the acquisition.  
    Thank you in advance.
    Regards, Larry
    Message Edited by Larry_6211 on 12-19-2008 11:24 AM
    Attachments:
    USB6211_v1.vi ‏212 KB

    Hi All,
    I'd like to clear a few things up. First, you'll find that if you try to set the delay from ai start trigger and delay from ai sample clock to 0, you'll get an error. Due to hardware synchronization and delays, the min you can set is two. Note that when I say two, I am referring to two tick of the AI Sample clock timebase, which for most acquisitions is the 20MHz timebase. I modified a shipping example so you can play around with those delays if you want to - I find that exporting the signals and looking at them with a scope helps me visualize what is going on. The Manual has some good timing diagrams as well but it looks like you've already hit that. The defaults would give you a delay of  250ns from the start trigger - is this too high for your situation? What is an acceptable delay? I tend to think that "exactly the same time" is a measure of how precise rather than an absolute (think delays in cable length making a difference.)
    With all that in mind, I see a few options:
    Start your camera off of the AI start trigger (an internal signal) and just know it is 250 ns before your first convert. 
    Export the convert clock to use as a trigger. This assumes your camera can ignore the next set of convert clocks.
    More complicated option: Internally you have an ai start trigger, sample clock and convert clock. From your start trigger to the first convert is 250ns but if you export your convert clock you're going to get future convert clocks as well. One option would be to generate a single triggered pulse using a counter (start with the  Gen Dig Pulse-Dig Start.vi example) with the AI start trigger as the trigger for the counter, an initial delay of 250 ns, and a high time of whatever you want it to be. This should give you a singe pulse at very close to same time (on the order of path delays) as your first convert clock. 
    Hope this helps, 
    Andrew S
    MIO DAQ Product Support Engineer
    Getting Started with NI-DAQmx
    Measurement Fundamentals
    Attachments:
    Acq&Graph Voltage-Int Clk.vi ‏37 KB

  • How to send data (file and text both) from jsp to servlet

    upload JSP 
    case 1>> if i am using this  <form enctype="multipart/form-data" the file value is comming on the servlet side
             and other vales are not comming when i am using request.get parameter(....);
    case 2>>  if i am using this <form  type="text/html" the "submissionperiod" and "Types" value is comming on the servlet but the file is not comming ........
         How to resolve this issue .  i need to send all the three parameter on single submit and retrieve the parameter values  in my servlet .
    please help !
    <form enctype="multipart/form-data" name="form" method="post" action="Upload" >
                    <table font size="3" style="color:brown;font-family:Arial" >
                    <tr>
                    <td>Submission Year:    </td>
                    <td><select  name="submissionperiod">
                         <option value="">--select--</option>
                         <option value="2000">2000</option>
                         <option value="2001">2001</option>
                         <option value="2002">2002</option>
                         <option value="2003">2003</option>
                         <option value="2004">2004</option>
                         <option value="2005">2005</option>
                         <option value="2006">2006</option>
                         <option value="2007">2007</option>
                         <option value="2008">2008</option>
                         <option value="2009">2009</option>
                    </select><label class="Required">*</label></br></td>
                    </tr>
                    <tr>
                    <td>Submission Type :    </td>
                    <td><select  name="types"   onchange="showDescription()">
                         <option value="">--select--</option>
                         <option value="CRF">CRF</option>
                         <option value="NIR">NIR</option>
                         <option value="NC">NC</option>
                         <option value="SEF">SEF</option>
                    </select><label class="Required">*</label></br></td>
                   </tr>
                   <tr><td></td><td>
                   <div id="divTypeDetails">
                    <textarea  id= "subTypeDes" name="subTypeDes"  value=""></textarea></br></br>
                  </div>
                  </td>
              </table>     
              <td>Select a file (< 100 MB):   </td>
              <td><input id="importFile" name="importFile" type="file"></br>          
              </td>
              <input type="hidden" name="types">
              <input type="hidden" name="submissionperiod">
              <input type="submit" id="submitButton" name="submit" value="Upload" onclick = "checkUploadValidity();"/>
              <input type="button" name=btncancel id=btncancel value="cancel" onclick= "btncancel_click()"/>
    </form> 

    Both the file and text values are included in the binary inputstream of the request. The parametermap is always empty.
    There exist 3rd party API's to parse multipart/form-data streams, such as [Apache Commons FileUpload API|http://commons.apache.org/fileupload].
    Read at least the 'User Guide' and 'Frequently Asked Questions' sections.

  • How to send a bold and coloured text as an email text using forms.

    Hi
    I am using oracle 9i as database and forms 10g .
    I have wriiten a procedure in database to send email.
    In the form on button click I am calling this procedure and sending email.
    But I am not able to set the font, colour, style (bold,italic etc..) of the email text (that I am sending from forms).
    Could you please tell me how can I do that?
    regards

    If you wrote your database send mail package to support different MIME Types, then you need to change the MIME Type to HTML before you add the HTML tags to your email message body. Check out this article (Sending Email from the database with UTL_SMTP package) and look at the "maildemo.sql" package provided in the article. This package will show you how to set the MIME Type to support HTML message bodies.
    Hope this helps,
    Craig B-)
    If a response is helpful or correct, please mark it accordingly.

Maybe you are looking for

  • Oracle EPM 11.1.2.2

    Hi , We installed EPM 11.1.2.2 on server 2008 with SQL Server 2008 as backend database. I am able to login Shared services and workspace We able to start all services except Hyperion EPM Server - Web Application and Hyperion EPMA Server .. I am getti

  • How can I get my new mac air to recognize my old iPod nano?

    My new mac air does not recognize my old ipod nano.  How can I fix this?

  • Report Server Installation Problem

    hi we have installed java web server and dev6 server and deployed our application (which was coded on Forms 5 later converted to 6) it is working fine in the web browser but we have problem in running developer report server as nt service. we have fo

  • IWeb won't Publish Site

    Hi, Everything works fine until I add a flash music video or any video to the page then it won't Publish. But if I remove the videos from the page it will Publish. (this is not an embed code but instead a link set up from the hyperlink menu when I cl

  • Developer Certification beta exam

    I signed up a few weeks ago for the "beta" exam, but I have yet to hear anything from Sun about it. Has anybody else heard anything from them? I'd just as soon save $400, but I'm also ready to roll vis-�-vis developer certification, so it'd be nice t