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.

Similar Messages

  • 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 do you merge multiple pdf's into one document?

    How do you merge multiple pdf's into one document?

    Hi pharmovative,
    You can use the Combine PDF feature of Adobe PDF pack to combine multiple PDF files into one document. (Or, if you have the full version of Acrobat, you an do it there as well by choosing Create > Combine Files into a Single PDF.)
    Please let us know if you need further assistance.
    Best,
    Sara

  • How do i combine multiple pdf file into a single pdf file?

    how do i combine multiple pdf files into a single pdf file?

    The thread was started in early March and it's Mid-April, I know this very well. The OP of this thread posted a very common and simple question or maybe he/she would have resolved this. For an Adobe Acrobat user it's not at all difficult to combine multiple PDF files into one. But to combine PDF files full version of Adobe Acrobat is mainly required, otherwise PDF files can't be combined. For example, I'm using Adobe Acrobat 9 Pro. These simple steps are mainly required to combine PDF files:
    Open Adobe Acrobat.
    Click on Combine and click on Merge files into a single PDF.
    A window will be appearing, click on Add Files and select the PDF files you want to combine.
    Arrange the selected files in any order with the help of Move Up and Move Down button.
    Now click on Combine File and the selected PDF files will be combined within a few seconds.
    A new PDF file will be created. Click on Save As and name this new PDF file. Then, click on Save.
    A new PDF file will be created and all the selected PDF files are combined in it. The steps shown above might be different in other versions of Adobe Acrobat. Other than this, some third-party PDF merge software are also available. Most of them are available with a demo version for free evaluation. I've heard much about SysInfoTools PDF Merge software on other forums and directories and it's demo version is freely available. One may check its demo version if Adobe Acrobat (full version) is not available.
    Regards

  • How do I merge multiple pdf documents into 1 with my iPad ?

    How do I merge multiple pdf documents into 1 with my iPad ? We are required by our customer 1 document that includes 4 different documents from different departments. Currently with our PC we can merge PDF files, excel or word files in to 1 PDF document. How can I do the same with our iPads and iPad minis using adobe?

    blogs.adobe.com We are excited to announce that Adobe CreatePDF application is now available on iOS. With this, Adobe brings rich, high-fidelity and Acrobat-like PDF creation to the iOS devices. You can now convert all your documents on iPad, iPhone & iPod touch devices to PDF for reliable, secure sharing and viewing across PCs, tablets & Smartphones.
    Robert Monsalve
    [signature removed by host]

  • How can I combine multiple icloud calendars into a single published calendar?

    I have several calendars in Ical where I map my activities and schedules. Like many I need several calendars to categorise events.
    Now, I'd like others to see when I'm free and when I'm unavailable. For this, I'd need to find a way to copy multiple Icloud calendars into a single one for publishing - and the published calendar would also have to sync to any update I make in the original calendar.
    Any way to make this happen? Any third party app? Tried a couple - they were outdated and / or cumbersome.
    If only there was a "smart calendar" tool in Ical …

    It worked - up to the crucial point: after combining icloud calendars into one "on the machine" calendar, the latter is ready for going public. But of course - this public calendar will only contain the .ics files and will not sync for updates from the icloud calendars.
    And that's what I want.
    If this problem is not possible to solve with the software available in the Mac - is there any known third party solution for this?
    (Apple: "smart calendars" please!)

  • How do I bind multiple PDF Documents into one single document?

    I am trying to bind multiple PDF documents into one single document can anyone please help me?

    You would need Adobe Acrobat to do that. Reader doesn't have the ability.

  • Inputting Multiple Search Fields into Query String??

    hey guys and gals
    quick question...i am building a little widget that allows a
    user to type in keyword(s) into one input field and then a zip code
    into another
    when the user clicks submit, it plugs them into the search
    url
    i have it working for one input field, but i am not sure how
    to append the script for the second field...what would i need to
    change to the below script to add a second field into that query
    string?
    btn.onRelease = function(){
    getURL("
    http://www.google.com/search?q="+myInputField,"_blank");
    any help is much appreciated...thanks for your time!

    Try looking at the methods of the String class. If you locate
    the characters that need replacement, split the string into two
    separate strings each without the special character, and substitute
    the hex equivalent, that should do the trick.
    original:String=new String(input);
    for(var i=0; i<original.length; i++){
    if(original.charAt(i)==" "||/*insert as many cases as you
    need here*/){
    //insert your replacing code here
    special
    characters reference

  • How to get input from keyboard scanner into an array

    This is probably a very basic question but I'm very new to java..
    My task is to reverse a string of five digits which have been entered using keyboard scanner.
    E.g. - Entered number - 45896
    Output - 69854
    I used the StringBuffer(inputString).reverse() command for this, but i need a more basic method to do this.
    I thought of defining an array of 5
    int[] array = new int [5];
    and then using,
    Scanner scan = new Scanner(System.in);
    to enter the numbers. But I can't figure out how to get the five input numbers into the array.
    If I can do this I can print the array in reverse order to get my result.
    Any other simple method is also welcome.

    Hey thanks for the quick reply,
    But how can I assign the whole five digit number into the array at once without asking to enter numbers separately?
    E.g. - if entered number is 65789
    Assign digits into positions,
    anArray [0] = 6;
    anArray [1] = 5;
    anArray [2] = 7;
    anArray [3] = 8;
    anArray [4] = 9;
    I'm really sorry but I am very new to the whole subject.

  • How to save input from radio buttons into textfiles, Help

    Below is my code. Currently it gets the input from the textbox "Date" and places it into a textfile using "getText"
    How do i get the input from a radio button?
    i think getselected only works on JLists.
    String a = bookNo.getText();
              out = new PrintWriter(new FileOutputStream("" + a +".txt"));
    out.println("Date: " + tDate.getText());
    out.close();
    catch(IOException ex)
    System.out.println("Error");
    Your help is appreciated

    Sorry, here's my code. The point of the system is to write information from the page, onto the textfile named "something.txt"
    public void write() {
    String fullfile = "something.txt";
    try {
    BufferedWriter out = new BufferedWriter(new FileWriter(fullfile));
    out.write("");
    out.write("HOLIDAY BOOKING SYSTE,");
    out.write("");
    out.write("SECTION 4.0 DESITNATION");
    out.write("");
    out.write("Holiday Destination: " + list.getSelectedValue());
    out.write("Duration of holiday: ");
    out.write("");
    out.write("SECTION 5.0 TRAVEL RESERVATION DETAILS");
    out.write("Airport for depature and return");
    out.write("Depature Date: " + txtDateD.getText());
    out.write("Depature Time: " + txtTimeD.getText());
    out.write("Arrival Date: " + txtDateA.getText());
    out.write("Arrival Time: " + txtDateA.getText());
    out.write("Holiday Destination: " + txtbookingno.getText());
    out.write("Customer Booking Information");
    out.close();
    } catch (IOException f) {
    //end of file writer
    The code below is for the radio buttons, The choice is to either pay for an "Economic" ticket, or a "First Class" ticket. If a customer selects the economic ticket radio button, what line of coding do i add to the write method above, to show "Economic ticket"
    Also i ran into another slight problem, theres a textbox called "Fine" in another form called "page1", how do i call it's value i.e. what line of code do i place for it in the method above?

  • 10GR2 - How can I load multiple row values into one field?

    Hi
    Can anyone please help with a problem I'm having with merging data.
    The source table has multiple entries for the same Id e,g,
    ID Code
    1 123
    1 234
    2 123
    2 567
    The output should only have one row per ID e.g.
    ID Code_List
    1 123;234
    2 123;567
    Do you know what operator I could use that would allow me to do this? I've looked at unpivot but I think I would need multiple output fields (one for each Code). I have to concatinate the codes and separate with a semi-colon.
    Thanks
    GB

    Q) Input data
    =============
    COL_0,COL_4
    1235,"G0123,G124,G25,G6"
    1236,"G01,G23,G124,G25,G6"
    1237,"G0123,G1,G24,G25,G6"
    1238,"G,G0123,G124,G25,G6"
    1239,"G0123124,G256"
    Output
    ======
    TEST_ID,TEST_VAL
    1235,G0123
    1235,G124
    1235,G25
    1235,G6
    1236,G01
    1236,G23
    1236,G124
    1236,G25
    1236,G6
    1237,G0123
    1237,G1
    1237,G24
    1237,G25
    1237,G6
    1238,G
    1238,G0123
    1238,G124
    1238,G25
    1238,G6
    1239,G0123124
    1239,G256
    I wrote this procedure...
    declare
    rcd_cnt number;
    test_id123 number;
    junk_1 number;
    cd_occurences number;
    child_count number;
    str_abc varchar2(200);
    char_pos     number default 0;
    cd_temp_str varchar2(50);--:= 'G0123,G124,G25,G6';
    begin
    select nvl(count(col_4),0) into rcd_cnt from test_ee where col_4 is not null;
    for aa in 1 .. rcd_cnt loop
    select col_0,rownum rn,nvl(trim(col_4),0) into test_id123,junk_1,cd_temp_str from (select col_0,rownum rn,col_4 from test_ee where col_4 is not null) where rn = aa;
    --dbms_output.put_line('...I am in for loop...' || cd_temp_str);
         --dbms_output.put_line('===================' || rcd_cnt || '.................' ||aa);
    cd_occurences := length(cd_temp_str) - length(replace(cd_temp_str,','));
    dbms_output.put_line(cd_temp_str || '...Str Occurences are ...'||cd_occurences ||'**************'||test_id123);
    child_count :=0;
    for z in 1..length(cd_temp_str)+1 loop
    child_count := child_count+1;
         if(instr(cd_temp_str,',') > 0) then
         char_pos := instr(cd_temp_str,',',1,1);
              str_abc := substr(cd_temp_str,1,char_pos-1);
         dbms_output.put_line('..Partial String of..'|| z ||'..is.....' || str_abc);
              insert into test_xx(test_id,test_val) values(test_id123,str_abc);
         end if;
         cd_temp_str := substr(cd_temp_str,char_pos+1,length(cd_temp_str));
         if(cd_occurences=child_count) then
         dbms_output.put_line('..Partial String of..is.....' || cd_temp_str);
              insert into test_xx(test_id,test_val) values(test_id123,cd_temp_str);
         end if;     
    end loop; -- close for of z */
    --dbms_output.put_line('...I am in end for loop...');
         end loop; -- close for of aa
    end;
    instead of procedure,is there any way from sqlqery.

  • How do I join multiple mp3 files into one mp3 file?

    Hello,
    I have multiple mp3 files that I would like to join into one mp3 file and to use it as an audio book. This explains how to do it, but in iTunes 12, I do not see an option called "Part of a Compilation" option.
    Is there a way to do it in iTunes without installing a new app?
    Thank you.

    Eugene,
    Those instructions, if I read them correctly, are about how to collect several MP3s into a single audiobook.  They will not create a single continuous MP3.
    iTunes does not have the ability to combine multiple MP3s into a single MP3.  The best it can do is if you burn them to audio CD and then rip back with "Join Tracks" enabled.  The better way is to use an audio editor such as Audacity, or a special purpose combing tool such as MP3 Joiner.

  • How Can I Convert Multiple TextEdit Files Into A Single Giant File?

    For example. I have multiple chapters for my new book each saved as individual files, and I want to combine all the chapters into one single continual file that I can work with in either Text Edit or Word. How can I do this? It's hundreds of files... ∆
    Thanks!

    Hi Bruce, Tex-Edit Plus for OS X...
    http://www.tex-edit.com/
    It can Merge files then Sort them easily, even has a remove duplicate lines script available.
    If the version you get doesn't have the sort perchance, here's a link, put sort in the search scripts box, get the second one, Sort Selection...
    http://dougscripts.com/texedit/

  • How to pass a Dynamic String value into a Form..???

    Hi all...,
    I'm trying to use a JSP to search "audios" stored in a "Audios" table & display the result list in another JSP. (This task was successful).
    Now I want to "Rate" these by taking the "Audio Name" as the key. My coding looks as follows...
    List myList = (List)request.getAttribute("SongList");
    Iterator itr = myList.iterator();
    while(itr.hasNext())
    String mySongName = (String)itr.next();
    out.println("<form name="SongRatingForm" action="ControllerServlet.java" method="post" >");
    out.println("<input type="What is the type here? (is there something like a LABEL)" name="MySongList" value="How can I insert 'mySongName' here">");
    out.println("</form>");
    Thanks in advance..,
    - Asela -

    Hi, please use the 'code' tags; select the text and click the code button when you're posting, it makes things easier to read.
    > out.println("<input type="What is the type here? (is
    there something like a LABEL)" name="MySongList"
    value="How can I insert 'mySongName' here">");
    Where do you want to print this? If it is to appear in a text-box, then the input type should be "text". If it is a button ( really?? ) it should be "button" or "submit" or "reset".
    If you just want the text to print, then you don't need to create and <input/> tag. Just print it out like
    <%=mySongName%>It could be the contents of a <td> of a <table>
    Or you could use a <label> tag:
    <label> <%=mySongName%></label>

  • How to import a multiple page pdf into Pages

    is there a simple and efficient (not every single page by itself) way to convert/copy/insert a multiple page pdf document into Pages?
    Thank you.

    I will try to be more precise.
    I have a multiple page document that I scanned into a pdf format.
    I want to be able to view - not edit - it on my iPhone via iCloud.
    I do not know of any way to get a pdf up to my iCloud so I thought that if I could convert it to a Pages document that I could then upload it (the Pages document) to my iCloud and thus be able to view it on my iPhone.
    So what I really want to do is be able to view a pdf document that is on my iCloud on my iPhone 5.
    Perhaps my question should have been - How do you get a pdf document up to iCloud?
    Thank you.

Maybe you are looking for

  • Can't view folder

    I have a RAID mirror in my Mac Pro. I created a directory named 'Documents' in the root of this drive, then made an alias of this directory and put it on my desktop. Now when I click the RAID drive icon I don't see the Documents folder in Finder. How

  • Confused about wheather to use session or some other technology

    i have two jsp pages one is index.jsp and other one is display.jsp,from index.jsp i am passing a string value and collecting it in display.jsp ,after collecting it i am making use of that value in a sql query to display the result from the data base,

  • Difference using HDMI or DVI cable to plug into monitor?

    hey guys, i just noticed that the Mac Mini doesn't come with a cord to connect to my monitor. i don't have a DVI or HDMI cable so it's up to me which one i choose. i was just wondering if there's a quality difference between either one so i can decid

  • Changing user's name as shown on iPod

    My daughter has given me her old iPod following me giving her a new one. When I open it up to download from iTunes, it shows her name. How do I change that name to mine? Thanks for any help.

  • EssBase Studio Hierarchy Issues

    How can I add a dimension or alternate hierachy to an existing Essbase cube without having to re-create the model and reset all of the dimension properties? I am using 11.1.3.