Send / input array to 8753 Network Analyser

I am trying to use the Agilent 8753 drivers to write an array to the network analsyer.
The GPIB command is  given by :  INPUCALC<num><array>;   
I have viewed the documentation and I don't understand exactly how to write data arrays to the instrument things. 
To start with num is 01.  So I have INPUCALC01.  Does anyone
know how to write the array?  Is it just a massive string of
binary data that is concatenated with "INPUCALC."  Actually the
problem could be more generalized to how do I pass data to any of the
INPU * GPIB commands?
Regards,
Bryan

I don't know if the attached VI will be of help, as I never finished it
to use INPUCALC. You may be able to use it as a starting point, though.
I know the VI works for error-corrected data (INPUDATA), as I use it in
my application. Just be sure to set the data format (FORM) command
before doing a data transfer.
Attachments:
8753ES - Input Data.vi ‏52 KB

Similar Messages

  • Generate output based on the analysis of a input array

    Hello!
    I would appreciate some help with this:
    - I have an input array X. It is a phase array, in other words, it has values from -pi to pi. 
    - I want to create digital pulses that match with certain values of phases in X. Example: If a value of X, in position "5", is -3*pi/2, i would like to generate , in the output array Y, a value of 1 in its position "5".
    My problem here is that i am not being able to detect the position of the array where my condition is met. I tried to use a case structure and a for to do this, without success.
    I hope i was clear enough, thank you very much.

    Ok, now that i Got the phases, i have to generate the output. Knowing the period of the phases wave and the timing of a certain phase, i want to generate a digital output in a future time that falls in the specified phase. It's a closed-loop of stimulation. What i'm trying to do is this:
    - First of all, I get the phases like Altenbach said.
    - Then, i do the time calculus to predict time intervals that i would wait to generate my pulse, and that pulse should fall in the specified phase of the input waveform, since its a closed-loop system.
    I'm attaching the current vi that i designed, and I appreciate any help. 
    The real trouble now is generate the output pulse/ boolean in the right time, with a duration of, i dont know, 10ms, just to make it work. something like this: _______|              |________
                                                                                                                                                                                                                                                <--10ms-->
    Best Regards,
    Attachments:
    PLOT_SIGNAL_ALTERNATIVA.vi ‏67 KB

  • How do i send an array of clusters with variable size over TCP/IP?

    Hi,
            I'm trying to send an array of clusters with varible size over TCP/IP,. But I'm facing the following problems:
    1) I need to accept the size of array data from the user and increase the size dynamically.
    I'm doing this using the property node but how do I convey the new size to my TCP read?
    2) I need to wire an input to my 'bytes to read' of the TCP read.
    But the number of bytes to read changes dynamically
    How do I ensure  the correct number of bytes are read and reflected on the client side?
    3) Is there anyway I can use global varibles over a network such that their values are updated just as if they would on one computer?
     Will be a great help if someone posts a solution!
    Thank you...

    twilightfan wrote:
    Altenbach,
     ... xml string. ...number of columns that I'm varying using property node s... I solved these problems by using a local variable as the type input ...o TCP read is creating a problem.... second TCP read gets truncated data because
    its no longer just the first four bytes that specify the length of the data, it could be more as my array of cluster can be pretty huge.
    Instead of writing long and complicated sentences that make little sense, why don't you simply show us your code? 
    What does any of this have to do with xml strings???? I don't see how using a local variable as type input changes anything. The user cannot interact with "property nodes", just with controls. Please clarify. Once the array of clusters is flattened to a string you only have one size that describes the size of the data, no matter how huge it is (as long as it is within the limits of I32). Similarly, you read the string of that same defined length and form the array of clusters from it. How big are the strings? What is your definition of "huge"?
    Here's is my earlier code, but now dealing with an array of clusters. Not much of a change. Since you have columns, you want 2D. Add as many diensions you want, but make sure that the control, diagram constant, and indicator all match.
    The snipped shows for a 1D array, while the attached VI shows the same for a 2D array. Same difference.  
    Message Edited by altenbach on 01-31-2010 01:13 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    FlattenArrayOfClusters.vi ‏12 KB
    ioclusters3MOD.png ‏25 KB

  • A simple network analyser.

    Hi,
    I am going to achieve impedance in labview. For development work, I will work with a 6220 DAQ and a small RC circuit, generating the voltage from the DAQ, and recording the output voltage in the inputs of the DAQ.
    Therefore, I am looking for a network analyser vi.
    Does anyone have something I could start with?
    Best regards,
    Kentmey
    Kentmey

    Hi Benjamin,
    This part of the project is just development, the main part is impedance on fuel cells with Labview (electrochemical devices generating voltage and current).
    1) RC : I don't have it yet, but I think a simple 10kohm resistor with a 0.1microF capacitor. This circuit is ONLY for development work, to develop the network analyser.
    2) I have a vi  (not finished though, I don't have the DAQ yet), generating a sinwave (see file attached), which will generate the AC component. Why can't I use this signal as an output signal? (my expertise in electronics is not huge, but growing...) 
    My idea was to send this signal to the DAQ. As it is for development work, I am choosing the simplest option possible.
    - For the project, I have a load unit Agilent 6060B, and GPIB cable (to control the AC and DC compenent) of the current. And I will record current and voltage input with the DAQ card. Using the network analyser to have the frequencies with different amplitude, and generate nyquist.
    Does this make sense to you?
    Best regards
    Kentmey
    Kentmey
    Attachments:
    SineWave 161211.vi ‏120 KB

  • How to store the data coming from network analyser into a text or excel file

    Hii everyone
    I'm using Agilent 8719ET network analyser and wish to store the data coming from netowrk analyser into a text file/ excel file.
    Presently I'm able to get the data on Labview graph using GPIB . Can anyone suggest how to go ahead after collect data sub vi. How can the data be stored into a file apart from showing on the graph?
    Attached is the vi for kind consideration...
    Looking for help
    Regards
    Rohit
    Attachments:
    Agilent 87XX Series Exceed Max Meas.vi ‏43 KB

    First let me say that your code really looks pretty good. The data handling could be made more efficient by calculating the number of datapoints that are going to be in the completed dataset and preallocating the entire array -- but depending upon your answer to my questions, the logic in the lower shift register may be going away - so we won't worry about that right now.
    The thing I need to know before addressing the data storage question is: Each time you call "Collect and Display Data.vi", how many element are in the array? Are you reading single data points, or a group of data? (BTW: if the answer to that question is obvious based on the way the other VIs are setup, I don't have the drivers so I can't tell what the setup values are.) Second, how fast does the loop iterate? Are we talking msec per loop?, seconds? fortnights?
    The issues here are two-fold: how much data? and how fast is it coming? The answer to these will tell you how to save the data.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Problem in sending Input to next JSP page

    Hi all,
    i am having problem with some JSP code. I have a JSP page that take some user input and send it to the next page. Now in those inputs there are some input fileds that needs to be added by the user if he wants to submit those input otherwise he can send the other default inputs. Now the problem is i have some String Array variable for those optional inputs in the next JSP page where they will be redirected. Now if i want to send input other than those optional ones then i get errors saying:
    org.apache.jasper.JasperException
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:367)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    root cause
    java.lang.NullPointerException
         org.apache.jsp.store_jsp._jspService(store_jsp.java:85)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:320)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)I tried to test the empty string on that page as well but it failed. Please help me

    if (request.getParameter("yourParameter") != null)
    use the variable
    else
    ignore the variable or assign a default value
    Also be careful with
    String yourSingular = request.getParameter("yourParameter");
    String[] yourArray = request.getParameterValues("yourArray")
    String newSingular = yourSingular;
    String fromYourArray = yourArray[0];

  • Network Analysis Module - Capture File Download

    Hello,
    we have
    NAM Moduels Network Analysis Module 3 WS-SVC-NAM-3-K9
    installed in
    6506-E
    software version 6.0
    We have generated some Capture files, that we now would like to Download at once. Not by clicking each file and make a single download.
    There are some 2000 files, thats why :-)
    Does anyone have an idea how to do that? Is there any direct access to the internal Hard Drive? I could not find anything in CLI or GUI Guides.
    Thanks

    I attached a file with the 6509 config, sh snmp user and sh snmp result.
    When I go to :
    Setup > Managed Device > Device Information
    I've got :
    Access to the managed device failed. This may be due to
          1. Incorrect managed device IP address.
          2. Incorrect managed SNMP community string.
          3. The managed device's SNMP access control list is enabled.
    If the managed device's IP address or community string is incorrect, please use the input
    fields below to set the correct IP address and SNMP read-write community string.
    Otherwise, check if your managed device's SNMP access control list is enabled
    and make sure that the NAM's IP address shown in the Test popup
    window is included in the access control list.
    I've got this result when I test SNMP connectivity on the 2220. I tested snmpv3 with authpriv, authnopriv, noauthnopriv.
    Test Connectivity :
    SNMP read from managed device:     Failed    
    SNMP write from managed device:     Failed
    So I was thinking at some small license requirement for SNMPv3 as no packet were transmitted from the 2220. Unlike in SNMPv1 where I could capture the management packet.

  • How can I acquire trace data from Agilent(HP)8510c Network Analyser in VB6 using PCI-GPIB and NI-488.2.

    I am developing an application in VB6 for measurements with Agilent (HP)8510C network Analyser using NI-488.2 and National Instrument PCI-GPIB card. I want to take data for the whole 51 points. In HPBASIC which used to be employed for this purpose it is done using OUTPDATA command and the data is in a 2-dimensional array. How can I do this in VB6 with the hardware above.
    kapil

    Hi Kapil:
    Please refer to a previous post on the same topic:
    http://forums.ni.com/ni/board/message?board.id=140&message.id=7758#M7758
    Although this is for C++, the basic functionality should be the same. Since OUTPDATA is from a specific instrument driver, your best bet will be comparing it to the instrument drivers mentioned in the previous post.
    Thank you,
    Emilie S.
    National Instruments
    Applications Engineer

  • Error while executing SSIS package - Error: 4014, Severity:20, State: 11. A fatal error occurred while reading the input stream from the network. The session will be terminated (input error: 109, output error: 0)

    Hi,
    We are getting the following error when running our SSIS packages on Microsoft SQL Server 2012 R2 on Windows Server 2008 R2 SP1:
    Error: 4014, Severity:20, State: 11.   A fatal error occurred while reading the input stream from the network. The session will be terminated (input error: 109, output error: 0)
    SQL Server Data Tools and SQL Server Database Engine reside on the same server.
    We tried the following:
    Disabling TCP Chimney Offload
    Installed Windows Server 2008 SP1
    Splitting our SSIS code into multiple steps so it is not all one large continuous operation
    The error occurs during a BulkDataLoad task.
    Other options we are investigating with the engineering team (out-sourced, so delayed responses):
    Firewall configurations (everything is local, so this should not make a difference)
    Disabling the anti-virus scanner
    Are there other things we can try?
    Any insight is greatly appreciated.
    Thanks!

    Hi HenryKwan,
    Based on the current information, the issue can be caused by many reasons. Please refer to the following tips:
    Install the latest hotfix based on your SQL Server version. Ps: there is no SQL Server 2012 R2 version.
    Change the MaxConcurrentExecutables property from -1 to another one based on the MAXDOP. For example, 8.
    Set "RetainSameConnection" Property to FALSE on the all the connection managers.
    Reference:
    https://connect.microsoft.com/SQLServer/feedback/details/774370/ssis-packages-abort-with-unexpected-termination-message
    If the issue is still existed, as Jakub suggested, please provide us more information about this issue.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to send input parameters to a file adapter module

    Hi all,
    i have a requirement like , i need to pick a file from a file server based on a condition. that condition we write in adapter module (in file sender channel).
    the condition needs some input , so how can we send input parameters to adapter module.
    please suggest me some way,
    thanks in advance
    jhansi

    hi jhansi,
    u define the parameters to send to a module in 'module configuration' (in module tab) by giving the key to identify the module for which u r giving giving the parameters.
    for details refer this:
    Adapter module
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02706f11-0d01-0010-e5ae-ac25e74c4c81
    This is all u have to do
    http://help.sap.com/saphelp_nw04/helpdata/en/8b/895e407aa4c44ce10000000a1550b0/content.htm
    [reward if helpful]
    regards,
    latika.

  • Send an array to php

    I have to send a large number of variable to php and want to
    avoid having to repeatedly call the php script, so I thought the
    way to do this would be to send an array. I generally use code
    similar to the following to receive individual variables in php:
    $count = mysql_real_escape_string($_GET["count"]);
    Unfortunately, I don't know how to accept an array from Flex
    into PHP. I realize that this is more of a php question than a Flex
    question, but am hoping that someone has done this before. Here's
    how I want to send the array from Flex:

    These links might help:
    link1
    link2
    link3

  • Sending  and recieving packets across network

    In my work, I had to send raw packets across the network. I had developed a program in Java using Socket class. It is sending packets but not recieving any.
    Please give me a solution for the same.

    import java.net.*;
    import java.io.*;
    public class SocketExample
    public static void main(String args[]) throws UnknownHostException
    try{
    byte b[] = new byte[20];
    b[0] = 0x00;
    b[1] = 0x6e;
    b[2] = 0x04;
    b[3] = 0x7f;
    b[4] = 0x74;
    b[5] = 0x5b;
    b[6] = 0x7e;
    b[7] = 0x72;
    b[8] = 0x59;
    b[9] = 0x7a;
    b[10] = 0x00;
    b[11] = 0x0e;
    b[12] = 0x50;
    b[13] = 0x00;
    b[14] = 0x24;
    b[15] = 0x00;
    b[16] = 0x73;
    b[17] = 0x2a;
    b[18] = 0x00;
    b[19] = 0x00;
    InetAddress inet = InetAddress.getByName(args[0]);
    Socket skt = new Socket(inet,1025);
    skt.getOutputStream().write(b,0,19);
    System.out.println("Written the bytes");
    DataInputStream dis = new DataInputStream(skt.getInputStream());
    byte c[] = new byte[20];
    int k = dis.read(c,0,19);
    System.out.println(k);
    for(int i=0;i<20;i++)
         System.out.println(c);
    }catch(IOException ioe){System.out.println(ioe);}
    Hello ejb, is it now as you told? This code is also not working fully. Printing wtiittenbytes, then continous loop.
    Prasanth.r

  • [BUG]: Dll modifies input array constant

    Hi,
    Not really an important one, but some of you (Ben might like it... Tested
    in LV6, 6.1, 7.0 and 7.1.
    When a dll function modifies more (1d or 2d) input arrays, one constant is
    used to initialize them and less then all indicators are wired, LV
    overwrites the constant values...
    To reproduce this, I created a two dlls (one in assembler and one in
    LabVIEW, assembler one is attached). The dll fills the array with the number
    2.
    Run the VI, update the diagram (close and open again, or scroll). The values
    in the constant array now have the same values as the output array!
    This behavior is reproducible with (at least) 1d and 2d arrays, and (at
    least) U32 and DBLs.
    I'm sure other array data types (SGL, U8, I8 etc.) s
    how the same behavior,
    but pointers to scalar values do not. Perhaps strings also do this?
    Try putting a flat sequence frame around it, and put a few seconds wait
    before and after it. You can see the constant changing while the vi is
    running.
    Regards,
    Wiebe.
    [Attachment Callbug.dll, see below]
    [Attachment Callbug.vi, see below]
    Attachments:
    Callbug.dll ‏3 KB
    Callbug.vi ‏13 KB

    Ben,
    The topic from the advanced course does seem to be describing this. So this
    behavior doesn't seem to be a bug. I couldn't find anything about this in
    the "Using External Code in LabVIEW" manual.
    When pointers to values are used, the constants are not updated, so that is
    inconsistent, but it does say "may receive", so that is covered...
    Perhaps the only bug is the fact that the block diagram is not refreshed
    properly, after the values are changed... Just kidding...
    Next question is how to make use of this?
    Regards,
    Wiebe.
    "Ben" wrote in message
    news:50650000000500000078D30100-1079395200000@exch​ange.ni.com...
    > Hi Wiebe
    >
    > Your question reminds me of a phrase from proverbs
    >
    > "A wise man goes into his store house and brings forth treasures both
    > old and new".
    >
    > I was not able to find documentaion on the the call library function
    > that talks about this issue but I did find the following in the
    > "LabVIEW Advanced 1 Course Manual, August 1998 Edition, part number
    > 321366C-01 page 242".
    >
    > "If you do not wire an indicator to the output terminal of a terminal
    > pair, LabVIEW assumes that the CIN will not modify the value you pass
    > to it. If another node uses the input data, LabVIEW does not make a
    > copy of the data.
    >
    > Note: If you don't wire the output terminal, the source code should
    > not modify the value passed into the terminal. Nodes connected to the
    > input terminal wire may receive the modified data.
    > "
    >
    > This topic brought our class to a stand still when we(those who were
    > still awake) realized that data could flow backwards through a wire!
    >
    > I believe the behaviour you have observed is correct and the quote I
    > cited above.
    >
    > I will venture a guess that the requirement from the CLA exam
    > "CLD-VPP-03-04 ...Review a LabVIEW application for run-time behavoiur
    > and memory management issue, ....Destructive and non-destructive
    > buffer reads on branched wires"
    >
    > had the behaviour in mind.
    >
    > I posted a Q re:this req years ago but never got a definative answer.
    >
    > All of the above is just my opinion.
    >
    > I would love to hear from others.
    >
    > What do you think?
    >
    > Ben
    >
    > BTW: I do not think they teach that anymore.

  • Sending a array of integer to client

    Hi all,
    I'm new to socket programming and i had read many tutorials on sending files from server to client using DataOutputStream. Is it possible to send a array of integer out using DataOutputStream? If so any example or tutorial that i can read on? Thanks.

    Alternatively, can i convert the array of integer to byte and transfer to the client and covert it back to array of integer again?
    Can someone help me with this?
    Example:
    //I have a array of integer
    testArray = new int[10];
    int i;
    for(i=0;i<10;i++) {
    testArray[i] = i;
    //I need some code to send this array of integer to a client.

  • Node failed to join the cluster because it ould not send and receive failure detection network messages

    One of my customers has a Windows Server 2008 R2 cluster for an Exchange 2010 Mailbox Database Availability Group.  Lately, they've been having problems with one of their nodes (the one node that is on a different subnet in a different datacenter) where
    their Exchange databases aren't replicating.  While looking into this issue it seems that the problem is the Network Manager isn't started because the cluster service is failing.  Since the issue seems to be with the cluster service, and not Exchange,
    I'm asking here. 
    When the cluster service starts, it appears to start working, but within a few minutes the following is logged in the system event log.
    FailoverClustering
    1572
    Critical
    Cluster Virtual Adapter
    Node 'nodename' failed to join the cluster because it could not send and receive failure detection network messages with other cluster nodes. ...
    It seems that the problem is with the 169.254 address on the cluster virtual adapter.  An entry in the cluster.log file says: Aborting connection because NetFT route to node nodename on virtual IP 169.254.1.44:~3343~ has failed to come up. 
    In my experience, you never have to mess with the cluster virtual adapter.  I'm not sure what happened here, but I doubt it has been modified.  I need the cluster to communicate with its other nodes on our routed 10. network.  I've never experienced
    this before and found little in my searches on the subject.  Any idea how I can fix this?
    Thanks,
    Joe
    Joseph M. Durnal MCM: Exchange 2010 MCITP: Enterprise Messaging Administrator, Exchange 2010 MCITP: Enterprise Messaging Administrator, MCITP: Enterprise Administrator

    Hi,
    I suspected an issue with communication on UDP port 3343. Please confirm the set rules for port 3343 on all the nodes in firewall and enabled all connections for all the profiles
    in firewall on all the nodes are opened, or confirm the connectivity of all the node.
    Use ipconfig /flushdns to update all the node DNS register, then confirm the DNS in your DNS server entry is correct.
    The similar issue article:
    Exchange 2010 DAG - NetworkManager has not yet been initialized
    https://blogs.technet.com/b/dblanch/archive/2012/03/05/exchange-2010-dag-networkmanager-has-not-yet-been-initialized.aspx?Redirected=true
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • Upgrading Flex Builder 3 Standard to Flash Builder 4 Premium

    Hi there, Purchased Flex Builder 3 Standard back in January. Came to enjoy (and depend on) the memory profiling functions in the beta 2. Anyhow, Flash Builder 4 has been released, and I see there is no memory profiler in the Standard edition. I see s

  • I Don't Know Which Files to Download

    I'm looking at the , "Microsoft SQL Server 2012 Express" download site, and am completely snowed about which of the 11 files I need to download.  We're a one and a half person company that does pre-employment criminal background screening - I'm the h

  • Change account ID

    we want to change default account ID from citibank to HSBC in F110 proposal list, payment method is C, should I change the rank order or anything others?

  • BI Java SDK: Bex query in Webdynpro java

    Hi, I want to know is it possible to view a Bex query output in a webdynpro java application. There is a Bex query defined i just want to get the report of this query or atleast the output of this query. Also how will be the output structure? i am no

  • Moving, brush glitch in illustrator CC (moves to random places)

    When I use anything in illustrator CC ( hand, move, pencil, brush) the tool goes to a consistently random point on the far left or off the illustrator field completely has anyone had this issues?? very frustrating