TCP Read blocks remote Port

HI,
I want to read a NMEA string(update rate 1 Hz) from a server. The original NMEA(serial, 4800 Baud) is converted by a MOXA to TCP.
Here is my minimal program, I have normally a "wait until 1000ms" timer inside.
The problem is that the MOXA closes its port every other minute. I still can read but every one else is blocked.
Other terminal programs work. The network guy tells me that he sees a lot of traffic coming from my adress and he thinks that at some point the MOXA is confused and closes its ports.
Is there a possibility that TCP read sends a status or failure string?
Solved!
Go to Solution.

azavarsky wrote:
HI,
I want to read a NMEA string(update rate 1 Hz) from a server. The original NMEA(serial, 4800 Baud) is converted by a MOXA to TCP.
Here is my minimal program, I have normally a "wait until 1000ms" timer inside.
The problem is that the MOXA closes its port every other minute. I still can read but every one else is blocked.
Other terminal programs work. The network guy tells me that he sees a lot of traffic coming from my adress and he thinks that at some point the MOXA is confused and closes its ports.
Is there a possibility that TCP read sends a status or failure string?
How fast does this device send its strings? Does it simply spew data without any query command having to be send? If so your Moxa may have a problem too, as it may not know what to do with the data if there is no client connected to read it. Also your Moxa converter may have trouble to serve more than one TCP client on the same port anyhow. What should it do if several clients try to access the same port? Send the same message to each? Or send the incoming message randomly to one of them?
Do you get errors from your TCP Read once Moxa "closes" the port as you say? If so you should terminate your loop on any error except possibly a timeout error and reopen the port in a second outer loop until your program wants to exit. Your loop never stopping on errors will prevent the TCP Close to execute which will keep the socket open and prevent the Moxa from seeing the proper handshaking that the connection has been properly closed by the client, which will likely prevent the Moxa device from being able to accept new connections. Network communication can be tricky and one of the first things you have to learn is proper error handling. Just about any error anywhere in the network connection, except usually a timeout error on read, should be handled by closing the connection and trying to reconnect.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • Error 56 in TCP Read

    Hi,
    I have TCP Read in a loop  expecting data from some Micropchip boards connected to it. The problem I have is the boards do not send data all the time, hence I cannot wire in a specific constant to the number of bytes to read in, in the TCP read block.
    Am I right in saying the only option is to clear the error 56 when it occurs?
    Thanks,
    Harshil

    That should solve the problem.  See this post...
    There is a VI that you can use to clear this error.  look fo rexamples\comm\UDP.llb\no timeout error.vi
    The VI is located in an LLB named UDP, but the function only checks the error code, it has nothing to do with the connection.
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • TCP read error 57

    Hi, everyone:
    In my graduation design,  I need to acquire the data of biscuits from a video and then send it to a VC program. I've achieved the sending process correctly and the program can receive the data. But when I wanted to send a message from the VC program to LabVIEW, the TCP  read error 57 occurred.
    The TCP write VI and the TCP read VI are in different loops, and they use the same refnum. In the picture, the case structure in top while loop is the data acquiring program so I don't show them.
    Can anybody teach me how to correct this program so it can receive data from the VC program? Thanks and forgive my poor English!

    Hi,
    Today i haven't any problem on the connection. The file is not changed. I think the system held some processes those use the tcp connection. I didn't think to watch in the task manager. It is the only explanation that I can pop out. Anyway I put above the program that gave me that problem. Please, check if the application is bad-built and suggest to me an alternative. Thanks
    The block linked over is send-receive packet, opened above. In the first frame the block above send a message on the tcp connection, then it waits 1 second, finally it waits for the answer on the same connection (8 seconds).
    The tcp reading block returns error 57. No other request on the same connection is active. I let the timeout of the block to end every 50 ms, I ignore error 56 (timeout) end I terminate the loop execution if:
    - a message of a least 5 character is received (application protocol specification).
    - the timeout of the receiving block ends (8 seconds)
    - a tcp error different from 56 turns out.

  • Stop tcp listen and tcp read

    Hi all,
    if i use the tcp listen and tcp read blocks with a time out of -1, how can i stop their execution if they are waiting for incoming connection or data?
    The tcp read block is in a while loop and the stop button state isn't evaluated, since the read block is in wait. 
    some one can tell me a solution to this problem compatible with S-RIO target device?
    thanks
    Solved!
    Go to Solution.

    i try to explain better with an example.
    1) run the server
    2) run the client
    3) try to stop the server without stopping the client --> the server never stops due to the infinite timeout on the reader.
    note: the client doesn't  close the connection after sending "hallo" 4 times.
    the question is: is it possible to have the server waiting for data and the stop but evaluated when pushed?
    Attachments:
    example.zip ‏15 KB

  • Wrong remote port number with TCP listener

    Hi
    I am sending data from a dsp with a network card over TCP/IP to my pc running labview7express. The data is received correctly, I use a 'TCP create listener' followed by a 'TCP wait on listener' to establish the connection, followed by a while loop with 'TCP read' in it.
    The port returned by 'TCP create listener' is correct (1001), but somehow 'TCP wait on listener' returns 57345 as remote port!?
    Also when using another port eg 1003 it still returns 57345..
    Anyone knows how this erroneous portnumber is achieved?

    stino wrote:
    > Hi
    > I am sending data from a dsp with a network card over TCP/IP to my pc
    > running labview7express. The data is received correctly, I use a 'TCP
    > create listener' followed by a 'TCP wait on listener' to establish the
    > connection, followed by a while loop with 'TCP read' in it.
    > The port returned by 'TCP create listener' is correct (1001), but
    > somehow 'TCP wait on listener' returns 57345 as remote port!?
    > Also when using another port eg 1003 it still returns 57345..
    > Anyone knows how this erroneous portnumber is achieved?
    Nothing wrong with that. A TCP/IP connection has ALWAYS two connection
    ends with each of them using a port number. 1001 is the port of the
    local listen socket (which needs to be fixed so that clients can connect
    to a know
    n server) in your LabVIEW application. 57345 is the port number
    used by your software running on your DSP board. A client usually has no
    fixed port number but allocates any port number not already in use. When
    the listen socket receives a connection request it connects and passes
    the connection with the local port 1001 and the remote port 57345
    through TCP Wait On Listener to your application. Since you set up the
    Listen Socket in Create Listener you already know its port number so TCP
    Wait on Listener does only return the port number of the remote
    connection end of your connection.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Compact Fieldpoint TCP/IP remote port

    i am working on cFP 2120 / cFP 2020 and for TCP/IP connection i have to use remote port number. so can all you guide me that what remote port nu. or service name i have to use.
    waiting for your reply
    Prashant Soni
    LabVIEW Engineer

    The port number can be whatever you want it to be, as long as the server and the client have the same one specified. Generally, you have a server publishing data to a port and some client reading data on that port. I believe there is a TCP communication example in the Example Finder, just search for TCP and look for TCP Communication.lvproj. It's actually set up with a real-time target as well.
    Good luck!
    Misha

  • Angular app localhost:9000, all broswers except FF works. get error Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource a

    Hello dear mozilla team,
    recently I faced with problem developing angular app with firefox.
    I have an angular app and locally run with grunt which starts on port 9000.
    The application send oauth authorization request on a server which is not on my local, in other words CROSS request
    For all browsers (Safari, Maxthon, Chrome) it opens pages without any error on firefox it is blank page with few error in console.
    I re-installed firefox, delete all add-ons, re-create profile nothing help me.
    here the errors from console.
    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at my-server.com
    The connection to ws://localhost:35729/livereload was interrupted while the page was loading.
    I would be very happy if you can help me, as FF is my beloved browser for all inspect and test staff
    Attached please find console screen shot

    Websockets don't use CORS since you're always talking to a different origin by definition (even on the same host it's a different port).
    What version of the browser are you really using? That error message doesn't look like the CORS errors I see in Firefox 36. We changed CORS reporting in Firefox 38 (splitting errors into a dozen different cases) but what you quoted above doesn't match those, either. See [https://bugzilla.mozilla.org/show_bug.cgi?id=1121824 bug 1121824]

  • How to read bytes at port in TCP/IP communication

    Hiii
    I am having 1 doubt in visa we knows bytes at port by using the property node...
    but for TCP/IP how should i get  bytes at port .... i want to read how many bytes are available in that port.....
    can any 1 suggest answer...... 

    Would you please explain why you need this?
    I always use TCP Read instead of VISA Read for TCP/IP communications. If you send a package, you can first send the length of the package and then the package itself. If you read you read first 2 or 4 bytes, where the length of following package is, and than the whole package.
    It works fine.
    LabVIEW Portal

  • AirPort Extreme FTP port is open when doing Remote Port Scan

    I have a question regarding the AirPort Extreme Base stations running firmware 7.7.3.  Currently the AirPort is not port-mapping any services, however when I do a remote port scan of that particular AirPort I have noticed some TCP ports are open from the outside, such as FTP port 21, RTSP port 554 and ARCP port 7070. Why is that? I thought the AEBS blocks these services by default, unless otherwise configured to be open.  Is this a vulnerability with the firmware?

    TCP and UDP ports used by Apple software products - Apple Support
    Your 554 and 7070 may be open due to links to itunes store. It is not a big vulnerability since it is for streaming.
    Port 21 is more a concern.. It is used internally by the AE apparently.. but I really do not know why. FTP as a protocol is not offered to the outside world. so you cannot connect to it and get info for files.. even if you have a hard disk plugged in. Why it should be open to the outside world I am not sure.
    Do you have BTMM turned on? It may be involved with remote services.
    If you are concerned it is not hard to fix.. port map those ports to a non-existent client in the network.. however your itunes store connection might stop working as well as some other things... that need those ports open.. There is also a good chance you cannot map them when they are used.. so do a factory reset and before you setup other applications or BTMM do the port map and see what happens.
    You can also post the details to apple directly but I honestly doubt you are facing any big issues here.

  • [Solved] SSH not working (ISP blocks my port 22)

    OK full story:
    I want to be able to connect to my home arch linux box from school. The setup there are winxp machines whit putty on my usb or the pc itself. I know that my school is not blocking any ports as my friend can connect to his linux box at home. (also ssh)
    These are things i did and can think of i need to to do get ssh working:
    Before everything else i started to configure my Linsys router.
    My ISP gives me an Dynamic IP so i need to use the dyndns.org service. I made an account and configured my linsys router DDNS tab to work with the account. I got into the port forward tab an putted in ssh port forwarding (on port 22 TCP for my ip 192.168.1.102 => did ifconfig to be sure). Port forwarding for port 9091 is also on for my transmission webgui i'm saying this here because this works when i'm at school.
    1. Installed openssh
    # pacman -S openssh
    All installed fine.
    2. I've put the sshd into the daemon part of my rc.conf file.
    DAEMONS=(syslog-ng network netfs crond @alsa @g15daemon @samba @sshd dbus hal)
    3. Hosts.allow file =
    # /etc/hosts.allow
    SSHD: ALL
    # End of file
    4. Hosts.deny =
    # /etc/hosts.deny
    ALL: ALL: DENY
    # End of file
    5. sshd_config file =
    # This is the sshd server system-wide configuration file. See
    # sshd_config(5) for more information.
    # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
    # The strategy used for options in the default sshd_config shipped with
    # OpenSSH is to specify options with their default value where
    # possible, but leave them commented. Uncommented options change a
    # default value.
    #Port 22
    #AddressFamily any
    ListenAddress 0.0.0.0
    #ListenAddress ::
    # Disable legacy (protocol version 1) support in the server for new
    # installations. In future the default will change to require explicit
    # activation of protocol 1
    Protocol 2
    # HostKey for protocol version 1
    #HostKey /etc/ssh/ssh_host_key
    # HostKeys for protocol version 2
    #HostKey /etc/ssh/ssh_host_rsa_key
    #HostKey /etc/ssh/ssh_host_dsa_key
    # Lifetime and size of ephemeral version 1 server key
    #KeyRegenerationInterval 1h
    #ServerKeyBits 1024
    # Logging
    # obsoletes QuietMode and FascistLogging
    #SyslogFacility AUTH
    #LogLevel INFO
    # Authentication:
    LoginGraceTime 120
    PermitRootLogin yes
    #StrictModes yes
    #MaxAuthTries 6
    #MaxSessions 10
    #RSAAuthentication yes
    #PubkeyAuthentication yes
    #AuthorizedKeysFile .ssh/authorized_keys
    # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
    #RhostsRSAAuthentication no
    # similar for protocol version 2
    #HostbasedAuthentication no
    # Change to yes if you don't trust ~/.ssh/known_hosts for
    # RhostsRSAAuthentication and HostbasedAuthentication
    #IgnoreUserKnownHosts no
    # Don't read the user's ~/.rhosts and ~/.shosts files
    #IgnoreRhosts yes
    # To disable tunneled clear text passwords, change to no here!
    #PasswordAuthentication yes
    #PermitEmptyPasswords no
    # Change to no to disable s/key passwords
    ChallengeResponseAuthentication no
    # Kerberos options
    #KerberosAuthentication no
    #KerberosOrLocalPasswd yes
    #KerberosTicketCleanup yes
    #KerberosGetAFSToken no
    # GSSAPI options
    #GSSAPIAuthentication no
    #GSSAPICleanupCredentials yes
    # Set this to 'yes' to enable PAM authentication, account processing,
    # and session processing. If this is enabled, PAM authentication will
    # be allowed through the ChallengeResponseAuthentication and
    # PasswordAuthentication. Depending on your PAM configuration,
    # PAM authentication via ChallengeResponseAuthentication may bypass
    # the setting of "PermitRootLogin without-password".
    # If you just want the PAM account and session checks to run without
    # PAM authentication, then enable this but set PasswordAuthentication
    # and ChallengeResponseAuthentication to 'no'.
    UsePAM yes
    #AllowAgentForwarding yes
    #AllowTcpForwarding yes
    #GatewayPorts no
    #X11Forwarding no
    #X11DisplayOffset 10
    #X11UseLocalhost yes
    #PrintMotd yes
    #PrintLastLog yes
    #TCPKeepAlive yes
    #UseLogin no
    #UsePrivilegeSeparation yes
    #PermitUserEnvironment no
    #Compression delayed
    #ClientAliveInterval 0
    #ClientAliveCountMax 3
    #UseDNS yes
    #PidFile /var/run/sshd.pid
    #MaxStartups 10
    #PermitTunnel no
    #ChrootDirectory none
    # no default banner path
    Banner /etc/issue
    # override default of no subsystems
    Subsystem sftp /usr/lib/ssh/sftp-server
    # Example of overriding settings on a per-user basis
    #Match User anoncvs
    # X11Forwarding no
    # AllowTcpForwarding no
    # ForceCommand cvs server
    6. ssh_config file=
    # $OpenBSD: ssh_config,v 1.25 2009/02/17 01:28:32 djm Exp $
    # This is the ssh client system-wide configuration file. See
    # ssh_config(5) for more information. This file provides defaults for
    # users, and the values can be changed in per-user configuration files
    # or on the command line.
    # Configuration data is parsed as follows:
    # 1. command line options
    # 2. user-specific file
    # 3. system-wide file
    # Any configuration value is only changed the first time it is set.
    # Thus, host-specific definitions should be at the beginning of the
    # configuration file, and defaults at the end.
    # Site-wide defaults for some commonly used options. For a comprehensive
    # list of available options, their meanings and defaults, please see the
    # ssh_config(5) man page.
    Host *
    # ForwardAgent no
    # ForwardX11 no
    # RhostsRSAAuthentication no
    # RSAAuthentication yes
    # PasswordAuthentication yes
    # HostbasedAuthentication no
    # GSSAPIAuthentication no
    # GSSAPIDelegateCredentials no
    # BatchMode no
    # CheckHostIP yes
    # AddressFamily any
    # ConnectTimeout 0
    # StrictHostKeyChecking ask
    # IdentityFile ~/.ssh/identity
    # IdentityFile ~/.ssh/id_rsa
    # IdentityFile ~/.ssh/id_dsa
    # Port 22
    # Protocol 2
    # Cipher 3des
    # Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
    # MACs hmac-md5,hmac-sha1,[email protected],hmac-ripemd160
    # EscapeChar ~
    # Tunnel no
    # TunnelDevice any:any
    # PermitLocalCommand no
    # VisualHostKey no
    HashKnownHosts yes
    StrictHostKeyChecking ask
    7. Im sure SSH is running i even did => /etc/rc.d/sshd restart
    8. I have never installed any firewall on my arch box (that i know off). I can connect to it using my other linux laptop
    ssh -p 22 192.168.1.102 => works
    ssh -p 22 xxxxxx.dyndns.org => works (xxx replaced by my dyndns.org domain)
    ssh -p 22 9x.xxx.xxx.xx5 => works (xxx is my normal WAN ip offcourse)
    Keep in mind that transsmission port forwarding is working fine. I can connect from everywhere to my webgui wich is on port 9091. Anyone can help me get whats wrong?
    Last edited by Redostrike (2010-02-25 17:06:14)

    Wild guess but:
    # /etc/hosts.allow
    SSHD: ALL
    # End of file
    I don't know if this is case-sensitive, but if it is: it should be "sshd".
    If it doesn't work, doesnt hurt to try.

  • Error 56 occurred at TCP Read in MB Ethernet Receive.vi

    My sensor uses MODBUS TCP and operates as a slave device.  Currently I'm using Labview 7.1 on my PC and would like to communicate w/ sensor as a Master.  I downloaded MODBUS library from ni developer zone.  I want to read 14 discrete outputs (coils).  I believe MB Ethernet Master Query.vi is most appropriate to use for my application.  I put this block into my *.vi inside of a while loop, hooked up the connection ID, configured it with address start/quantity, and ran.  The error I got says: "Error 56 occurred at TCP Read in MB Ethernet Receive.vi->MB Ethernet Master Query.vi->...*.vi".  I have confirmed that TCP is working with Labview because I can receive other non-MODBUS sensor data from my device via TCP/IP using a different *.vi I created.  However this data is received though a different port than the typical 502 MODBUS port.  I have also confirmed MODBUS is working on my device using a 3rd party Polling Utility that reports register status.
    I currently do not have NI-VISA 3.0.1, VISA Server 3.0.0, or Measurement & Automation Explorer (MAX) version 3.1.1 installed on my PC.  Do I absolutely need these products to do what I need to do?
    Any thoughts why I am not able to get this setup working?
    Also, I am embarking on developing several MODBUS applications after this.  Would it be a good idea to upgrade my version of Labview to gain more MODBUS functionality w/ Labview?  I'm somewhat new to Labview and am a little confused on which products would really help me for working on MODBUS applications and if those products are compatible with my 7.1 version.

    Hi cwallis2,
    If you  can use  TCP/IP in Labview then you should be okay as far as that is concerned.  The Ethernet Modbus VIs use LabVIEW TCP VIs underneath; the Serial Modbus VIs use VISA underneath.  So unless you want to try the serial VIs if that's a possibility, then you should be okay without VISA.
    The error 56 is a time-out error and is generated when an operation
    exceeds the user-specified time limit. This error is caused by the
    LabVIEW code not receiving a network response in the defined time
    limit. The default time-out limit is 5 seconds, which should be enough,
    although you can increase this time-out value as an input for the MB
    Ethernet Master Query.vi. Since you get the time-out when you are
    reading instead of the initialization lets us know that you are able to
    open the TCP port correctly.
    What is the address you entering into the MB Ethernet Master Query.vi in the Modbus Command constant?  You may need to use relative addressing instead of absolute addressing, or vice versa. 
    Hope this helps!
    Adam W
    Applications Engineering
    National Instruments 

  • Remote port forwarding to a local port

    I'm not sure if this is possible with verizon routers, but I know some routers will allow you to forward a remote port to a local port.
    can this be done with the verizon MI424WR-GEN3I router?

    viafax999 wrote:
    andrewjs18 wrote:
    anyhow, I'm trying to get port 1194 to work without redoing a bunch of configs because it appears that verizon is blocking port 1194 (openvpn), so what I was trying to accomplish was using 1195 as an external port which would then get forwarded to port 1194 internally.
    when I port scan the IP, I get this: Port 1195 is closed on 173.62.X.X.
    Verizon blocks NO ports
    Do you have a listern on port 1194 at 192.168.1.31  ?
    Source port should be Any
    You need TCP for 1194 also TcpAny -> 1194
    Edit is only an option once you've created a rule
    You are trying to create a VPN tunnel to one of your internal devices?
    Edit
    I see you don't need TCP, it's eithe UDP or TCP
    I got it working.
    I think I was forwarding tcp by mistake rather than udp for openvpn.
    thanks

  • Block All Ports for a Host

    We are using BM 3.9 (no SP1 yet).
    I'm trying to block a Windows Media Player stream. If I put the URL that WMP uses into a deny rule, the BM log shows the html page is forbidden, yet the media still comes through.
    So I tried blocking all ports on the host. I put in a Deny rule that blocks All TCP&UDP on both the IP address and the host name. Yet, when I type the URL into WMP, I still get the stream. How do I block this with BM?
    Incidentally, after All ports didn't work, I tried specifying ports 0-65535. But I got an error that that was an invalid range. It did let me use 1-65535, though.

    David,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Is there a way to open a remote port programmatically in java code

    Hi,
    I'm trying to open a remote port which is closed by the windows firewall in a java code. I want to know weather this is possible?
    If yes, tell me a way to do this?
    Thanks.
    Buddhika

    Because, that port should be kept closed and I want to open it when i need it in runtime. Also i have full privileges to access that remote machine. So i >want to change the firewall setting while application running.Can't you have a application running on the remote PC that makes use of two ports, and Admin port and a General port?
    The Admin port will be created on startup and use some authentation to make sure that a the application that connects to it will have admin rights
    Use that application to tell the "Server" to open and close the General port.

  • Sysgen : How to read the input port data type, width and rate dynamically in a masked subsystem ?

    Hello everybody,
         I am designing a general purpose block in system generator. I pass the user parameters to the block through masking it. Some user parameters can change the block configuration. The input port data type, width and rate can also affect the block configuration.
         The problem is that these values (input port data type, width and rate) are subject to change. So I should read them dynamically, then change the block configuration through programming the "Initialization Commands" field. But unfortunately there is no straight way to read the input port information.
         There are some methods in for example the "Black Box". these are:
    input_width = this_block.port('din').width;
    input_rate = this_block.port('din').rate;
    But these methods are not applicable to a masked subsystem.
    I have tried other ways also. You can find them below. None of them worked.
    Does anybody know how can I solve this problem?
    Other ways I tried:
    1)
    design_name([],[],[],'compile')                                       
    q=get_param(gcb,'PortHandles');
    get_param(q.Inport,'CompiledPortDataType')
    get_param(q.Inport,'CompiledPortWidth')
    get_param(q.Inport,'CompiledPortDimensions')
    design_name([],[],[],'term')
    2)
    ssGetInputPortDataType
    3)
    ts = Simulink.Block.getSampleTimes([gcb '/Input'])
     

    Today we rely on Simulink to perform parameterization of your designs in two ways:
    Parameterizable Subsystems and Blocks : Parameters themselves can be MATLAB expressions that need to be evaluated for which we need the MATLAB interpreter
    The very useful Rate and Type propagation or Simulink compilation that allows us to specify types & rates in one location that gets systematically propagated to all.
    To truly make the HDL Netlist that is generated from SysGen parameterizable, we would have to implement some of this capability in the HDL netlist itself by:
    Using Generics(VHDL) or Parameters(Verilog) - We would have to capture the bit width(type) propagation through levels of hierarchies and finally parameterize the IP itself based on this value
    Since IP itself does not have this capability through generics, we would have to package a separate tcl script that updates the IP parameterization appropriately in response to top level parameters(or GUI parameters)
    Interpreting MATLAB expressions and translating them into VHDL/Verilog expressions (alternatively tcl expressions of IP). In simulink, mask parameters can be passed from one level to the next. Also parameterization of a block can be composed of Matlab expressions using variables from ancestor masks & the MATLAB interpreter – so we will need to somehow capture that as well.
     

Maybe you are looking for

  • Using Oracle Stored Proc as Data Source for PowerBuilder Data Window Object

    Hi, I'm trying to use an Oracle stored procedure as the data source for a PowerBuilder data window object. I'm using the following (which is a variation of an example given on Sybase's web site, with the appropriate database/column name changes and u

  • .swf question

    I'm creating an object movie and I can output it as a Quicktime movie (.mov) of Flash movie (.swf). One plays using Quicktime and the other Flash (I thought). When I try to play the .swf it wants to open up in Photoshop CS ImageReady and tells me Ima

  • OSx Mountain Lion - lagg/slow in moving desktops/places

    Hello, After i upgrade to ML my iMAC 2011 is running with lagg or you can see the desktops how it vibrate. Those things i never experienced with lion, everythink was smooth. Probably they have to improve the drivers for video card. Anyone has a solut

  • Is it possible to turn off the 'Heat map' in Calendars

    I have searched advanced settings in Calender and don't have a setting to check or uncheck . Any suggestions would be appreciated.

  • LMS 3.2 crash

    Hi, I have CWLMS 3.2 installed and running. It was working perfectly until recently. It stopped sending mails. I logged into the server and discovered that the DCR server was said to be down or inaccesible. What can be the problem?