Imaq buffer limitation

Hi
I'm having problems with the imaq sequence.vi. It seems that the number of
buffer is limited to 50. It gives a physical memory limitation. I doubled
the memory on my HP PII 450MHz to 256 and I still get the error message.
This does seem to be a physical memory problem. I am using a pci 1408, while
I'm still waiting for my pci 1411.
Anybody has experience with the use of hign numbers of buffers?
Thanx

For those following...
You need to specify the maximum number of image buffers in the imaq utility
tools.
Thanks for the prompt response from the guys at Natinst.
Champlain Landry wrote in message
news:7yra3.10695$[email protected]..
> Hi
>
> I'm having problems with the imaq sequence.vi. It seems that the number of
> buffer is limited to 50. It gives a physical memory limitation. I doubled
> the memory on my HP PII 450MHz to 256 and I still get the error message.
> This does seem to be a physical memory problem. I am using a pci 1408,
while
> I'm still waiting for my pci 1411.
>
> Anybody has experience with the use of hign numbers of buffers?
>
> Thanx
>
>
>
>

Similar Messages

  • IMAQ user palette not updating outside video loop

    I'm trying to implement a program with a separate video loop and am having issues with changing the user palette. I'm not sure right now, but I think it might be because I'm changing it in another non-video dedicated loop. Does LabVIEW have a problem with copying an image from an IMAQ buffer and trying to simultaneously change the user palette for an image control? My initial guess would be no, but then I don't think I'd be having this problem. Here's a little example of what I mean. Off-line, you can change the image palette to any of the default palettes, but trying to change to the custom user palettes (which do work under any other circumstances) while running video and it does nothing.
    Any ideas as to why the property nodes aren't working?
    Attachments:
    PaletteTest.llb ‏178 KB

    dear lanmat,
        I may need some clarification on what your application is, and what is not behaving as expected.  I'm assuming that by "separate video loop" you mean that there's a secondary loop in your program acquiring video.  What kind of video is it acquiring?  I also am assuming that your user palette is not being used to effect the video, but another image display entirely, is that correct?  I can see some of these in your program, but I want to be sure.
        LabVIEW should have no trouble copying from a buffer while changing the image control.  Are they for different images or the same image?  Also, you say that "off-line" you can change the image palette to any of the defaults -- what do you mean by off-line?  Any more specifics you can give me as to your application and what exactly is going wrong would be helpful, thank you.
    -Allison S.
    Applications Engineering
    -Allison S.
    Calibration Services
    Product Support Engineer

  • Want to know the buffer size on the 5SD mk3...

    ... and/or the number of full res raw files it can hold. Wondering if I usually shoot a max of six shot bursts, does the card write speed even matter?
    Solved!
    Go to Solution.

    dbltapp wrote:
    ... and/or the number of full res raw files it can hold. Wondering if I usually shoot a max of six shot bursts, does the card write speed even matter?
    At 6 shots it doesn't matter.
    See:  http://www.learn.usa.canon.com/resources/articles/2012/eos_understanding_burst_rates.htmlp
    The conservative estimate for the buffer size (in RAW mode) is that the buffer will hold about 13 shots before the camera has to wait for data to write out in order to clear enough buffer space for another shot.   I've actually tested this with my 5D III and have found that in practice the number is a bit higher -- having about 18 shots before it slowed down due to buffer limits.
    Tim Campbell
    5D II, 5D III, 60Da

  • Was the max buffer of 30.000px or mask feather of 1000px upped in CC?

    Hi,
    I work a lot for companies doing big media installations (auto motor shows for example) where we have huge resolutions, which often exceed the maximum comp size of 30.000px in width.
    Is this limitation still there in CC? And if so, why can't it be set higher? With LED technology getting better the resolutions are skyrocketing (I already worked on 3mm pixel pitch LED panels)
    Also something that goes in conjunction with this: Mask Feather size,  which is limited to 1000px in AE CS6 and lower.
    Any change there in CC?
    If this limitations would be removed, it would be a good argument for CC.
    Thanks in advance
    Dino

    That's sad to hear.
    The company I'm working for is specialised to work with such high resolutions, as I am for about 5 years.
    We had a resolution of about 28.218px * 15.600px for the Volkswagen Beijing Auto Motor Show in 2008.
    I also had a 48.000*720 project 2 years ago and now we have one with about 57.000px*224px
    When we have resolutions higher than 30k in width we split them up, but sometimes we would rather like to have them in one comp. The machines could handle it (albeit very slow at full resolution) but the 30k limit makes our work very problematic sometimes.
    Since we are workin in 16bit/32float a banding problem is not ocurring when you know how to handle it.
    A mask feather on an adjustment layer that is controlling for example exposure on 3D renderings can go higher than 1000px to look good, but here again, we have to make workarounds to achieve certain looks because we are limited by AE here.
    Oh and we are working in 50p, not 24p, but the final renderings are getting splitted for the final output in the end.
    The 1000px feather and 30.000 buffer limits are artificially set and I wonder why there is no (hidden) option to change it.

  • Buffer limit running procedure

    I am having an issue with buffer limits when running procedures. If I set the output limit to unlimited in the Dbms Output tab, I can then open a worksheet and write a piece of sql to run the procedure and the output is spooled to the tab.
    The problem is when I have the procedure open and choose the run option in that window (not the run script option from a worksheet) the limit (default: 20000) appears to come back as the output no longer spools to the Dbms Output tab, it now spools to a log file in the Messages tab.
    Is there a way to increase the output limit on these logs so I can get debug behaviour along with an unlimited output spool? I can always run these procedures from a standalone script but it would be really nice to have the option to run it from the edit procedure window.
    Thanks,
    Daniel

    This works, but I have to put this in to the run window myself, I was hoping for a setting that would stick. I will mark this helpful for now as it now allows me to do what I needed to do. I will upgrade it to correct if I don't get a better solution within a few days.
    Thanks,
    Daniel

  • String literal too long error while invoking a package with clob variable

    I have a package.One of the input variables of the procedure in packae is clob.
    I want to invoke this package with a huge clob as input.
    when i invoke this package like that i am getting following error
    PLS-00172 string literal too long
    can't we pass clob(huge clob) as input .is there any solution for that ?
    Thanks
    Pramod Garre

    842802 wrote:
    If insert this data into a table , from sql prompt still i get the same error.Do you mean SQL*Plus? Then there is buffer limitation and it is better to split literal into, let say 1000 character chunks:
    SQL*Plus: Release 10.2.0.4.0 - Production on Tue Mar 29 16:17:26 2011
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> select 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'
      6  from dual;
    from dual
    ERROR at line 6:
    ORA-01489: result of string concatenation is too long
    SQL> select to_clob('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'
      6  from dual;
    TO_CLOB('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    SQL> SY.

  • FTP/SFTP/FISH (etc) slow file transfer rate over LAN

    Hi everyone,
    I have a problem with transferring files over my home network that has been bothering me for quite some time.
    I have a 802.11n router which should provide me with the transfer rate up to 150 Mbps (afaik). When I download files from the Internet, 3 MB/s data transfer rate is of no problem.
    However, when receiving or sending data over LAN, the transfer rate is much slower (1.8 MB/s).
    My rough guess is (after reading some papers on this topic) that TCP protocol is causing this (its flow control feature to be exact), since TCP max window size is too small on Linux by default.
    So, setting TCP max window size to a greater number should solve this.
    I tried putting this:
    # increase TCP max buffer size setable using setsockopt()
    # 16 MB with a few parallel streams is recommended for most 10G paths
    # 32 MB might be needed for some very long end-to-end 10G or 40G paths
    net.core.rmem_max = 16777216
    net.core.wmem_max = 16777216
    # increase Linux autotuning TCP buffer limits
    # min, default, and max number of bytes to use
    # (only change the 3rd value, and make it 16 MB or more)
    net.ipv4.tcp_rmem = 4096 87380 16777216
    net.ipv4.tcp_wmem = 4096 65536 16777216
    # recommended to increase this for 10G NICS
    net.core.netdev_max_backlog = 30000
    # these should be the default, but just to be sure
    net.ipv4.tcp_timestamps = 1
    net.ipv4.tcp_sack = 1
    in /etc/sysctl.conf but to no avail.
    So either there is no problem with the max window size setting, or the Linux kernel ignores it (maybe because /proc is no longer supported?).
    Thanks for any neat ideas.
    Last edited by Vena (2012-06-01 21:48:14)

    Bump? No ideas whatsoever?

  • Cover Flow issues w/ iPod Nano 3G

    Anyone else experience issues when browsing albums/music via the Cover Flow feature on an iPod Nano 3G? This is my second 8 gig unit (received directly from Apple) that's exhibiting the same symptoms of freezing/hanging when sifting through my album artwork. Believe it might have to do w/ buffer limitations w/ a large library as I find the feature seems to work more reliable w/ a smaller musical library. Also having troubles syncing contacts and calendars if my music library exceeds over half the capacity of the device (4+ gigs) - very annoying Any solutions/suggestions out there?

    Okay! cover flow is working fine after replacing jpg. Its easier than I described above to replace the songs and associated cover art.
    Click on your iPod in iTunes (Left Menu) Select Summary Tab at the top. Check "Manually Manage Music And Videos" (you may want to uncheck it later, to automatically sync your library) (Also check "Convert to 128 AAC" to save space on your iPod) Click "Apply" lower right corner.
    Next click the Music Tab and uncheck "Sync Music". Click "Apply", (lower right corner). If it says its going to erase all on iPod then just leave it.
    Click the small down arrow beside your iPod in iTunes left menu. Click on Music. It shows the songs on your iPod. Click on the songs to delete. (Use Shift click first and last song to select a bunch (control click to select some but not all)
    Now Go to Library --> Music (left menu) and select the songs to replace (with the new reduced art) and drag and drop them on your iPod (left menu) (Use Shift Click / Cntrl Click to select multiple songs and then just drag one they will all be copied). You can also use Copy/ Paste if you dont want to drag and drop.
    This works, and takes less time than replacing your whole library by syncing. Good luck!

  • Processing a cursor of 11,000 rows and Query completed with errors

    So I have 3rd party data that I have loaded into a SQL Server Table. I am trying to determine if the 3rd party Members reside in our database by using a cursor and going through all 11,000 rows...substituting the #Parameter Values in a LIKE statement...trying
    to keep it pretty broad. I tried running this in SQL Server Management Studio and it chunked for about 5 minutes and then just quit. I kind of figured I was pushing the buffer limits within SQL Server Management Studio. So instead I created it as a Stored
    Procedure and changed my Query Option/Results and checked Discard results after execution. This time it chunked away for 38 minutes and then stopped saying
    Query completed with errors. I did throw a COMMIT in there thinking that the COMMIT would hit and free up resources and I'd see the Table being loaded in chunks. But that didn't seem to work.
    I'm kind of at a loss here in terms of trying to tie back this data.
    Can anyone suggest anything on this???
    Thanks for your review and am hopeful for a reply.
    WHILE (@@FETCH_STATUS=0)
    BEGIN
    SET @SQLString = 'INSERT INTO [dbo].[FBMCNameMatch]' + @NewLineChar;
    SET @SQLString = ' (' + @NewLineChar;
    SET @SQLString = ' [FBMCMemberKey],' + @NewLineChar;
    SET @SQLString = ' [HFHPMemberNbr]' + @NewLineChar;
    SET @SQLString = ' )' + @NewLineChar;
    SET @SQLString = 'SELECT ';
    SET @SQLString = @SQLString + CAST(@FBMCMemberKey AS VARCHAR) + ',' + @NewLineChar;
    SET @SQLString = @SQLString + ' [member].[MEMBER_NBR]' + @NewLineChar;
    SET @SQLString = @SQLString + 'FROM [Report].[dbo].[member] ' + @NewLineChar;
    SET @SQLString = @SQLString + 'WHERE [member].[NAME_FIRST] LIKE ' + '''' + '%' + @FirstName + '%' + '''' + ' ' + @NewLineChar;
    SET @SQLString = @SQLString + 'AND [member].[NAME_LAST] LIKE ' + '''' + '%' + @LastName + '%' + '''' + ' ' + @NewLineChar;
    EXEC (@SQLString)
    --SELECT @SQLReturnValue
    SET @CountFBMCNameMatchINSERT = @CountFBMCNameMatchINSERT + 1
    IF @CountFBMCNameMatchINSERT = 100
    BEGIN
    COMMIT;
    SET @CountFBMCNameMatchINSERT = 0;
    END
    FETCH NEXT
    FROM FBMC_Member_Roster_Cursor
    INTO @MemberIdentity,
    @FBMCMemberKey,
    @ClientName,
    @MemberSSN,
    @FirstName,
    @MiddleInitial,
    @LastName,
    @AddressLine1,
    @AddressLine2,
    @City,
    @State,
    @Zipcode,
    @TelephoneNumber,
    @BirthDate,
    @Gender,
    @EmailAddress,
    @Relation
    END
    --SELECT *
    --FROM [#TempTable_FBMC_Name_Match]
    CLOSE FBMC_Member_Roster_Cursor;
    DEALLOCATE FBMC_Member_Roster_Cursor;
    GO

    Hi ITBobbyP,
    As Erland suggested, you can compare all rows at once. Basing on my understanding on your code, the below code can lead to the same output as yours but have a better performance than cursor I believe.
    CREATE TABLE [MemberRoster]
    MemberKey INT,
    FirstName VARCHAR(99),
    LastName VARCHAR(99)
    INSERT INTO [MemberRoster]
    VALUES
    (1,'Eric','Zhang'),
    (2,'Jackie','Cheng'),
    (3,'Bruce','Lin');
    CREATE TABLE [yourCursorTable]
    MemberNbr INT,
    FirstName VARCHAR(99),
    LastName VARCHAR(99)
    INSERT INTO [yourCursorTable]
    VALUES
    (1,'Bruce','Li'),
    (2,'Jack','Chen');
    SELECT * FROM [MemberRoster]
    SELECT * FROM [yourCursorTable]
    --INSERT INTO [dbo].[NameMatch]
    --[MemberNbr],
    --[MemberKey]
    SELECT y.MemberNbr,
    n.[MemberKey]
    FROM [dbo].[MemberRoster] n
    JOIN [yourCursorTable] y
    ON n.[FirstName] LIKE '%'+y.FirstName+'%'
    AND n.[LastName] LIKE '%'+y.LastName+'%'
    DROP TABLE [MemberRoster], [yourCursorTable]
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Understanding teardown from log

    Is the Reset-I always from the device on the higher security level interface (in this case 172.16.112.10/3389?
    In the second case, what conclusions can be drawn from the teardown information "TCP FINs" - who is it that send the first FIN?
    I'm strugglig to find the reasons for connections "freezing" or closing, but no errors that I can relate to the connection ids what so ever.
    asa.log:2014-02-03T15:04:32.186954+01:00 10.1.4.1 %ASA-6-302013: Built inbound TCP connection 1730891653 for wan:195.195.195.195/49624 (195.195.195.195/49624) to vlan547:172.16.112.10/3389 (212.112.9.209/3389)
    asa.log:2014-02-03T17:21:36.585964+01:00 10.1.4.1 %ASA-6-302014: Teardown TCP connection 1730891653 for wan:195.195.195.195/49624 to
    vlan547:172.16.112.10/3389 duration 2:17:05 bytes 35781464 TCP Reset-I
    asa.log:2014-02-03T13:14:51.660321+01:00 10.1.4.1 %ASA-6-302013: Built inbound TCP connection 1729135626 for wan:195.195.195.195/50005 (195.195.195.195/50005) to vlan547:172.16.112.10/3389 (212.112.9.209/3389)
    asa.log:2014-02-03T18:05:02.785968+01:00 10.1.4.1 %ASA-6-302014: Teardown TCP connection 1729135626 for wan:195.195.195.195/50005 to vlan547:172.16.112.10/3389 duration 4:50:14 bytes 36231472 TCP FINs

    Hi,
    The TCP Reset-I and TCP Reset-O should refer to the TCP RST coming from either higher or lower "security-level" interface.
    There are some other things affected by the "security-level" also in the output of the ASA. For example when you check the output of "show conn" command the host on the lowest "security-level" interface is listed first. Same goes for log messages. The host on the lowest "security-level" interface is mentioned first in the log messages for Building and Teardown the connection.
    To my understanding there is no way to determine the side which normally closed the connection from the log message itself. I would presume that the Client would usually do this but can't be 100% sure that its always like this.
    If there is not a clear indication that the firewall is doing something to the connection then I would suggest capturing traffic to find out what is happening to the connection. You can either attach some host to the network to capture all the traffic from some port or perhaps capture traffic on the ASA itself.
    You could for example configure a capture for your RDP connection like this
    access-list RDP-CAP permit tcp host host
    access-list RDP-CAP permit tcp host host
    capture RDP-CAP type raw-data access-list RDP-CAP interface outside buffer 33500000 circular-buffer
    If you are expecting a lot of data you will either have to do the capture on some other device (ASAs buffer limited to approx the above amount of Bytes) or you can either create a capture for each direction separately to maximize the amount of traffic that can be captured.
    You could also leave out the Data in the actual packets and only capture the headers by using this command
    capture RDP-CAP type raw-data access-list RDP-CAP interface outside buffer 33500000 circular-buffer headers-only
    You can naturally use both of the above commands. Naturally you will have to use a different name for the "capture", I am not sure do you have to use a different ACL.
    You can then use this command to check if there is traffic captured
    show capture
    If you wish to show capture contents on the CLI then you can use this command
    show capture RDR-CAP
    Then again you might want to load the capture to your host/server and open it with Wireshark then you could use this command
    copy /pcap capture:RDP-CAP tftp://x.x.x.x/RDP-CAP.pcap
    You can remove the capture with the command
    no capture RDP-CAP
    You will have to remove the capture ACL separately.
    I am not sure how much information can be gotten from the RDP server itself. I dont have to deal with the IT side at all usually so I don't really know to what extent you would be able to log what the actual server does during those connection issues. A traffic capture would certainly tell what happens to the data/connection.
    Hope this helps
    - Jouni

  • Cisco WS-C4948 missing qos commands

    Hi all,
    I've hunted high and low and cannot seem to be able to enable shaping, bandwidth or priority under a class in a policy-map on a Cisco WS-C4948.
    All documentation I have read on this switch on the Cisco website says that all these commands are possible.
    Example : http://www.cisco.com/en/US/docs/switches/lan/catalyst4500/12.2/50sg/configuration/guide/qos.html#wp1436874
    Switch# configure terminal
    Switch(config)# policy-map policy1
    Switch(config-pmap)# class class1
    Switch(config-pmap-c)# shape average 256000
    When I try to replicate I get:
    Switch# configure terminal
    Switch(config)# policy-map policy1
    Switch(config-pmap)# class class1
    Switch(config-pmap)# ?
    Policy-map class configuration commands:
      dbl              Dynamic buffer limiting
      exit             Exit from QoS class action configuration mode
      netflow-sampler  NetFlow action
      no               Negate or set default values of a command
      police           Police traffic matching current class
      service-policy   Configure QoS Service Policy
      set              Set QoS values
      trust            Set trust value for the class
      <cr>
    Am I missing a global command to enable shaping?
    Thanks guys.

    Hi Leo,
    Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500-ENTSERVICESK9-M), Version 12.2(54)SG1, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2011 by Cisco Systems, Inc.
    Compiled Thu 27-Jan-11 11:39 by prod_rel_team
    Image text-base: 0x10000000, data-base: 0x123FB194
    ROM: 12.2(31r)SGA7
    Dagobah Revision 226, Swamp Revision 5
    Switch uptime is 3 days, 19 hours, 59 minutes
    System returned to ROM by power-on
    System restarted at 19:06:24 AEST Thu Nov 28 2013
    System image file is "bootflash:cat4500-entservicesk9-mz.122-54.SG1.bin"
    This product contains cryptographic features and is subject to United
    States and local country laws governing import, export, transfer and
    use. Delivery of Cisco cryptographic products does not imply
    third-party authority to import, export, distribute or use encryption.
    Importers, exporters, distributors and users are responsible for
    compliance with U.S. and local country laws. By using this product you
    agree to comply with applicable laws and regulations. If you are unable
    to comply with U.S. and local laws, return this product immediately.
    A summary of U.S. laws governing Cisco cryptographic products may be found at:
    http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
    If you require further assistance please contact us by sending email to
    [email protected]
    cisco WS-C4948 (MPC8245) processor (revision 0) with 262144K bytes of memory.
    Processor board ID FOX1205G7TQ
    MPC8245 CPU at 266Mhz, Fixed Module
    Last reset from PowerUp
    3 Virtual Ethernet interfaces
    48 Gigabit Ethernet interfaces
    511K bytes of non-volatile configuration memory.
    Configuration register is 0x2102
    Thanks

  • SICK Ranger Camera Toolkit - Cannot see Image on indicator

    Hey,
    I understand the SICK Ranger Camera toolkit is not supported by NI and is a 3rd party toolkit, but I'm wondering whether anyone has used the toolkit to create their own applications with a SICK Ranger Camera?
    I am having troubles integrating the toolkit's functions to simply grab an image from the camera. I have run the examples on the example finder, and they return an error code 400226: Framegrabber is empty and the wait has expired (due to timeout or external wake-up)".
    So I developed a very simple VI, which still doesn't quite work. I get all the camera status' and information about the camera so I know the connection is established, but for the image indicator, it comes up empty. Has anyone had this problem before? When I keep the image indicator as an I/O indicator, it does display the name of the image. But when I replace it with an image display, it displays nothing. 
    I was thinking it may be to do with a palette display type, but I've tried all of them, which results in a blank indicator.
     In this image, you can see the Image I/O indicator is indicating there is an image reference
    Same indicator, just replaced the I/O image indicator with a Vision Image display, and run the code... nothing appears?
    I've attached the code for reference.
    Thanks,
    Hans T

    Hi Ed,
    Thanks for the response.
    My main aim is to get the examples up and running before I develop my own code in LabVIEW. My initialisation cluster has the right settings, I set this to Image mode, instead of Measurement just to simplify things, as this will output a quicker response (as it needs no onboard processing) - the camera just functions as a camera where it outputs just a grayscale image.
    You are correct in saying that the camera is connected over the network. It is a GigE standard camera and I have the camera directed connected to the ethernet port in the back of my PC. I have calibrated the device (Coordinator), configured the device (iCon Device Config) and used Ranger Studio to ensure the camera is working as it should.
    I have already used highlight execution and gone through the necessary debugging steps to see what is going on. If I set dispose of image to false, theoretically, the image should still be in the IMAQ buffer. I monitored the buffer using a VI which showed me that the reference to the image was still there. However the image has a xres and yres of 0 (which is very strange!). But I know the camera is working fine as it is acquiring images in the 3rd party application, Ranger Studio, so there is nothing wrong with the connection between the PC and camera.

  • Screen capture of Tektronix MSO4104B using LabVIEW

    I am trying to acquire a screen capture from a Tektronix MSO4104B oscilloscope using LabVIEW. I currently am able to collect data from the device, and have a waveform displayed on my VI front panel. However for various reasons, our preference is to capture the actual screen shot from the scope.
    I have reviewed the programmers reference for this device, and have made countless searches on Google for an answer, but haven't been able to find a solution. It appears that a few people have been able to accomplish this on OTHER Tek scopes by sending a hardcopy through the communications port (GPIB, USB, Ethernet, etc...) however according to the programmers reference for this particular device, it appears that it will only send a hard copy to an installed printer, rather than simply as a data stream to the port that can be read using VISA commands.
    The other solution I have seen is to save the screen shot to a flash drive, then copy the file through the port to the PC. However, neither of these solutions seem to be available on this device...this is one of the most advanced scopes that Tek makes...I can't believe this is so difficult!? Please help!
    Solved!
    Go to Solution.

    I used a TDS3000 series scope from Tek and had success using the Hardcopy command.  Note that I used the GPIB.  Here are the commands I used.
    HARDC:PORT GPIB;
    HARDC:INKS ON;
    HARDC:FORM PNG;
    HARDC START
     I also had fun because I had to recieve the data in chunks since an entire png file could not be transfered in one chunk due to buffer limitations.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Attachments:
    tek screen capture.png ‏19 KB

  • Is NI-Vision 16-bit BCG subvi incorrect?

    I am attempting to do a BCG adjustment on a 16-bit image. I downloaded the 16-bit version of the NI-vision BCG adjust subvi, but I believe it to be working incorrectly. From the documentation, it seems that values of 0,45, and 1 for brightness, contrast, and gamma respectively should yield the exact same image as previously. This does not happen.
    I have attached a little library containing an example of this and the BCG subvi. I picked a random image from my data and threw it in there. Also, I'm sure I could find some BCG values to make the output image the same as the input image, however these values do not stay constant from image to image.
    Attachments:
    BCG_incorrect.llb ‏389 KB

    Christos,
    Just a couple of things that I'd like to clarify...
    At issue are two points:
    1) Whether or not your acquired image is unsigned 16-bit, IMAQ only supports a signed 16-bit format. You'll see that the IMAQ buffer you're passing into the LUT VI in your code is actually a signed 16-bit image buffer.
    2) It seems that you'd like to redefine "brightness" in a different way in which it was "defined" in the previous VI. This is fine, but we have to change the formulas a little bit.
    Notes:
    If I understand you correctly, you'd like to input a brightness of 0 and have your image be entirely dark. And you'd like to input a brightness of 65,535 and have the image be entirely light. That is not the way the VI has currently been set up. (Right now, the VI accepts a brightness input such that an input of 0 corresponds to a normal distribution of pixel values. Meaning that a 0 pixel value comes through the LUT as 0. If you increase the brightness to 1, at the input pixel value of 0 the output of the LUT is 1. Hence, the image is brighter. If you set the brightness to 32,767, then the input pixel value of 0 has an output of the LUT of 32,767. This is the brightest value in the signed 16-bit format. Every pixel value greater than 0 would rail at the 32,767 value.)
    So if you're wanting to adjust the "definition" of brightness per my interpretation above (0=totally dark and 65,535=totally bright), you'd need to do the following:
    * Brightness=65,535: The darkest pixel value (0 in the unsigned 16-bit format) would need to get the lightest LUT output (32,767 in the signed 16-bit format) for a brightness of 65,535. This would correspond to the lightest pixel value (65,535 in your unsigned 16-bit format) getting an LUT output value of 98,302. Values greater than 32,767 are coerced to 32,767 in the signed 16-bit format. Hence all pixel values would be the most bright possible.
    * Brightness=0: The lightest pixel value (65,535 in your unsigned 16-bit) needs to get the darkest LUT output (-32,768 for signed 16-bit) at a brightness of 0. This would make the darkest pixel value (0 in your unsigned 16-bit) get an LUT output of -98,303. As above, pixel values less than -32,768 are coerced to -32,768 in the signed 16-bit format.
    Code:
    I've gone through your code as attached in your previous message and altered it slightly to where it will now exhibit the brightness behavior as described above. I've included some new text notes on the block diagram that kind of explain what's going on.
    I hope this is helpful to you. And I hope this explanation is somewhere close to clear. It's a little involved, but ultimately do-able. Best of luck in getting this implemented...
    Jim Laudie
    Applications Engineer, National Instruments
    Attachments:
    bcg16bit-test adjusted for Christos.vi ‏327 KB

  • Mouse / screen edge = hotkeys (as compiz replacement)?

    Hi!
    I'm looking for something that lets me configure commands / keyboard shortcuts to be executed when I move my mouse to the screen edges / corners
    P.E.: "top edge + mouse4 => [meta+x]; "top edge + mouse5" => [meta+y]; hover / touch top right corner: [alt+something]
    (... because compiz lets me configure plugins like this but kde doesn't. And I need to replace compiz with something for a long while now because It's been falling apart more and more over the last few years. )

    Thanks!
    Regarding shell implementations: It's been a while, but I'll try to remember some of the problems I ran into and which made me come to the conclusion that a script isn't the right angle to tackle the problem:
    - The poll intervall that is needed so button presses aren't missed is too low to be cpu friendly
    - Mouse wheel is even worse. Needs some kind of buffer + limiter too, because otherwise something between the program that sends the keyboard events and the window manager or whatever it is that catches them might oveflow / freeze / something
    - Leads to all kind of weird behaviour when applications try to grab raw input
    - Goes totally nuts / needs to kill itself if an application sets mouse to that wrap around mode thing that I don't know how it's called or works...
    - Various weird behaviour on resolution changes need to be considered depending on which shell tools are used and how
    - Also there were lots of other small issues
    - And the more problems I solved, the more cpu it needed until in the end it was absolutely unviable and I had to start over / quit
    And regarding a potential xlib c (or is that c++?) implementation: I'll needs to look at that snippet for a few hours before I can tell for sure, but on a first glance I'm almost sure I'm falling about 2 years worth of regular C / graphical / whatever programming experience short of being able to work with xlib + raw input stuff or whatever that is and reading some xlib docs for a few hours probably won't put a dent in that. I briefly tried modifying "xev" to suit my needs about a year ago and that didn't go too well - gave up because I was fairly certain that by the time I'd be finished learning x + xlib stuff everyone'd be using wayland. (I'm NOT that sort of "programmer"; more of a "scripter" if at all. As a rule of thumb: if it's supposed to be run on a headless server, parses text, moves files or writes into a database, I might be able to modify it or even write it. If on the other hand it has "pointers" or "h-files", then as soon as I change the code in any way it will never ever compile again no matter for how long I google the error message. :3 )
    So... I guess that means noone knows if there's a "hot-bar-panel" or anything that captures mouse input on the screen edge hiding somewhere in AUR or on github?
    Last edited by whoops (2014-09-13 19:06:38)

Maybe you are looking for

  • Integrating SQL Server 2005 with OBIEE 11g

    Dear Gurus, Is there any documentation about how to using SQL Server 2005 as datasource combined with OBIEE 11g? Clear steps with pictures will be very helpful. Thank so much Regards JOE

  • Sending email from a simple JSF Form

    Hi, Sorry if this is a very basic question. I have a simple JSF (with ADF BC) form that collects information and I store the submitted values in the backing bean. I am even able to display the input values in a than you page. I just want a pointer on

  • Send a link via email that will start a workflow on a sharepoint online list

    I am trying to send a hyperlink in an email that will start a workflow on a sharepoint online list. I am unable to use javascript because the end-user will be clicking this link on their mobile device. I have found many articles that get me almost th

  • Update 5.0.1 problems?

    Ive been hearing about alot of issues with this update such as the battery,freezing and ect. But on my ipod touch 3g 32 GB my wifi is horrible i turn on my ipod and it will connect for a min then loose signal then get it back and loose it again then

  • Where is the forum for Windows 10 Windows Media Player?

    Where do I ask questions about the Windows 10 version of Windows Media Player? http://www.saberman.com