Converting from Rocky Mountain Basic to C to control a Vector Network Analyzer

I am trying to convert an extremely old program written in Rocky Mountain Basic to C (Visual Studio.net) using the GPIB controller, and have run into some problems. While calibrating I cannot get the program to wait for the ibwait command (leading to the program prompting the user to change ports before it is done with the first). What mask should I use in the ibwait command (if that is the correct command) to get the program to wait until the calibration is completed? I've tried 8 and 13, and neither work. Am I completely off base?
Thanks
Andy Kass
Colorado School of Mines

Hello Andy,
I am not exactly sure what signifies the end of the calibration. In any case, the best thing for you to do is to run NI-Spy in the background when you are running your Rocky Mountain Basic program to see what commands are executed with what parameters. Do the same with your C code. If both programs are the same, then the spy captures should also look the same.
NI Spy Tutorial
These two example programs may be of use to you when analyzing your spy captures.
Compare the Differences Between Two NI Spy Captures *requires MS Visual Studio* *Note: Use a simple compare*
Convert an NI Spy Capture into a Spreadsheet File
*helpful for reformatting spy capture for easier printing*
http://zone.ni.com/devzone/devzone.nsf/webcategories/BFEA3A69F40A9F8C862569FD006FFCF6?opendocument&node=DZ59203_US

Similar Messages

  • What is the proper way to convert a VHD from dynamic to basic without losing data?

    Hi,
    What is the proper way to convert a VHD from dynamic to basic without losing data?
    Our VM is running Windows Server 2008 R2 SP1
    Thanks in advanced

    Hi efebo,
    "After you convert a basic disk to a dynamic disk, you cannot change the dynamic volumes back to partitions. Instead, you must delete all dynamic volumes on the disk and then use the
    Convert To Basic Disk command. If you want to keep your data, you must first back it up or move it to another volume. "
    Please refer to following link:
    http://technet.microsoft.com/en-us/library/cc731274.aspx
    You can try to backup the dynamic volume via Windows Server Backup then restore it to a new basic VHD file ( the space is recommended to be   larger than or equal to the old one ) .
    Hope it helps
    Best Regards
    Elton Ji
    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.

  • Gdk-WARNING **: Error converting from UTF-8 to STRING

    I just installed Arch64 few days ago. In my old setup I was used to work with 2 softwares: Eclipse CDT and WingIDE.
    I tried to start these applications (they require java and python but they are binary releases) locally and I get this errors which I can't solve by myself googling... Reporting snapshots of my desktop too.
    [j_zar@Surprise eclipse]$ ./eclipse
    (eclipse:7864): Gdk-WARNING **: Error converting from UTF-8 to STRING: Impossibile aprire il convertitore da "UTF-8" a "ISO-8859-1"
    (eclipse:7864): Gdk-WARNING **: Error converting from UTF-8 to STRING: La conversione del set di caratteri da "UTF-8" a "ISO-8859-1" non è supportata
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: Failed to load Pango module '/usr/lib/pango/1.6.0/modules/pango-basic-fc.so' for id 'BasicScriptEngineFc'
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: pango_shape called with bad font, expect ugly output
    (eclipse:7864): Pango-WARNING **: pango_font_get_glyph_extents called with null font argument, expect ugly output
    (eclipse:7864): Pango-WARNING **: pango_font_get_metrics called with null font argument, expect ugly output
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    (eclipse:7864): Gdk-WARNING **: Error converting from UTF-8 to STRING: La conversione del set di caratteri da "UTF-8" a "ISO-8859-1" non è supportata
    (eclipse:7864): Gdk-WARNING **: Error converting from UTF-8 to STRING: La conversione del set di caratteri da "UTF-8" a "ISO-8859-1" non è supportata
    (eclipse:7864): Gdk-WARNING **: Error converting from UTF-8 to STRING: La conversione del set di caratteri da "UTF-8" a "ISO-8859-1" non è supportata
    (eclipse:7864): Gdk-WARNING **: Error converting from UTF-8 to STRING: La conversione del set di caratteri da "UTF-8" a "ISO-8859-1" non è supportata
    (eclipse:7864): Gdk-WARNING **: Error converting from UTF-8 to STRING: La conversione del set di caratteri da "UTF-8" a "ISO-8859-1" non è supportata
    (eclipse:7864): Pango-WARNING **: pango_cairo_font_get_scaled_font called with bad font, expect ugly output
    [j_zar@Surprise wingide]$ ./wing
    (wing.py:7922): Gdk-WARNING **: Error converting from UTF-8 to STRING: Could not open converter from 'UTF-8' to 'ISO-8859-1'
    (wing.py:7922): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported
    Anybody can help in this???
    Last edited by J_Zar (2007-10-30 11:48:28)

    There has been talk about adding these config files, that fixes this kinda problems, to a separate pkg with a helper script you run 32bit programs with.
    for quick fix
    Link
    Grab the 3 pango files, throw them somewhere, edit pangorc to corresponding paths for the 2 other files.
    Start program with
    export PANGO_RC_FILE="/path/to/pangorc"
    program
    for the string error, if its iconv
    export GCONV_PATH=/opt/lib32/usr/lib/gconv
    to previous command
    Note, you cant start 64bit programs that use pango/iconv from the terminal you exported the variable.

  • Keys lost in converting from sybase to oracle

    I am trying to convert from sybase 12 to oracle 10 using the migration workbench.
    The oracle data base created does not have the primary keys that were in the sybase data base. I used the tool to create migration scripts, Create.sql and Drop.sql. These scripts create the tables but do not have primary keys in them.
    Another question is I have user types from the sybase database. Is it possible to change them in the tool? Right now it looks like I can only change the basic database types as in smallInt.

    Hi <Please Supply Your Name>,
    What version of SQL Developer are you using?
    "Create.sql" and "Drop.sql" sound like old OMWB names, Just want to double check.
    Thanks
    Dermot.

  • How tedious is it to convert from windows to mac?

    My windows (sony vaio running XP) is dying.  Got the dreaded 3 beeps on start up today...so will be shopping for a new desktop soon.
    I have an ipad and iphone that I've owned for about a year now...and I must say I REALLY like them.  Have been contemplating going all mac....but EVERYTHING i do on my desktop is obviously windows based.  My biggies are quicken....i have files that go back 10 years and all my excel docs.  Has anyone recently made the jump from windows to mac...how hard is it really to convert everything over?

    Millions have done what you are contemplating, most don't have any issues at all. I f you haven't already go to your local Apple Store and ask your questions and you will get honest replies, I did when I made the switch 7 years ago. I converted from Quicken to iBank which imported my Quicken data extremely easily. As for MS Office, simply get MS Office for Mac and you're set. It's compatible with the Windows version and opening files is the same across platforms.
    I would also STRONGLY recommend you look at this Apple Mac Basics article:
    http://www.apple.com/support/macbasics/pctomac/
    Also when you get a Mac and turn it on for the first time, one the steps it has is asking if you are migrating from a PC to the Mac. Simply choose yes and follow the on-screen prompts and you're set. You can also Google Migration Assistant for Windows for more detailed info if you want.

  • Bug? Accessibility Tags Converting from Word 2007

    This seems like a minor issue, but it's one that could create a lot of frustration for a disabled person using a screenreader to read tabular data in a PDF.
    As you know, Acrobat plays nicely with Office apps allowing users to create tagged (structured), accessible PDF documents from MS Office files. I just created a simple docx file with a table (attached), and when I converted it to PDF, I noticed a difference in the tags it creates compared to conversion from Word XP. As you see in the Word file, the table is very basic, except that one of its column headers is split into two cells. This is actually a very common technique for presenting table data. In order to automatically tag the header rows as table header cells <TH> in the PDF, I set the first two rows to "Repeat Header Rows."
    Converting from Word 2007 with the "Save as Adobe PDF," or any other method that uses the Acrobat plugin, creates a tag tree that is missing a <TH> tag. I found the problem when I was testing a file with JAWS screenreading software. Using the JAWS "current cell" command (Ctrl-Alt-Numpad 5) to announce the column headers. It reads the wrong header for the current cell due to the missing <TH>. So, in my example file, it announces $2 and $5 as 2010 amounts rather than 2009. That could be pretty confusing to a screen reading user, to say the least.
    I then compared the result to the new Word 2007 "Save as PDF or XPS" feature. That feature tagged the file properly and the header columns match up.
    Compare the attached "save-as-adobe-pdf.gif" to"save-as-pdf-xps.gif". Note the empty (but necessary) <TH> tag in the latter image.
    Just as a sanity check I had a coworker with Word XP convert the file. Those tags were correct too. So, this must be a problem between Acrobat and Word 2007.
    Anyone have other observations on this? I'm going to be leading some accessibility training and right now, it looks like using the Word 2007 conversion feature is the way to go.
    I'm using Acrobat 9 Pro.
    Thanks,
    Joe

    Hi Joe,
    I sense your frustration. For any organization that has to or wants to engage in providing accessible online information
    a serious logistics support issue raises its head. To do PDF, HTML, whatever the proper way (and it can be done)
    requires more resources (training, knowledge, hardware, software, changes to work flows, perhaps some more staff).
    The is no "work smarter with less & pump out more" in this venue.
    Yes, it is helpful (and necessary) to "be one" with the S508 "paragraphs" - WCAG 1.0 - WCAG 20.
    However, once anyone begins to provide PDFs that must be "accessible" the first, single most important reference is ISO 32000.
    The Adobe PDF References that preceded PDF becoming an ISO Standard are useful; but, ISO 32000 is the standard.
    In this documentation there is full discussion of what *must* be done to provide an accessible PDF.
    Without a firm understanding of this content, other information tends to bring about a defused opacity of focus which can
    contribute to major conceptual errors vis-a-vis accessible PDF.
    Leonard Rosenthol's AUC blog entry provides a link to the ISO permitted Adobe version (free) of ISO 32000-1.
    http://www.acrobatusers.com/blogs/leonardr/adobe-posts-free-iso-32000
    Additional, useful information is found in these two documents:
    (1) - PDF Accessibility API Reference (from the Acrobat SDK)
    https://acrobat.com/#d=J7bWW4LvNoznh8fHCsfZDg
    (2) - Reading PDF Files Through MSAA
    https://acrobat.com/#d=uIOvkVTP74kag3bXFJLIeg
    About JAWS - Yes, much used. However, not the exlusively used AT application.
    If I use Windows Eyes, NVDA, a braille reader, or something else then what?
    JAWS *does not* define "it is accessible"...
    re: (1)
    "Game away and if it ...."
       Consider "Stop before right on red".
       "Compliance" is Stop on Red - Turn Right
       "Intent" (aka usability) is Stop on Red -  Look Good for on coming traffic that has the right of way - Yield - when clear, turn right.
    But, at least we are not talking about "left on red" 8^)
    re: (2)
    Just an observation. A defective product that claims to be "whole" can get entities (individuals/businesses) into a sticky wicket.
    Putting a high volume of defective products on one's selves only increases the probability that one gets 'busted'.
    Quantity replacing Quality just is not a success precursor.
    Case in point - Target and the national class action legal action that was taken against it with regards to "accessibility" of online information/services.
    Resolved now - see NFB's web site.
    re: (3)
    Ah, but what would Judge Judy or Judge Marily say?
    Efficiency does not preclude providing a "whole" product.
    I doubt that there will ever be a seamless "one-click" between products of any of the dominant software houses.
    They are intense competitors. That this is the case does not abrogate others from providing a "whole" product, no?
    So, if the organization wants the "we do accessible PDF" label then it pays the freight - Adobe Pro, training, appropriate work flows, etc
    that permit delivery of PDFs that meet the standards for what a well formed tagged output PDF is (accessible is a sub-set of this).
    For PDF there is no other way.
    If this cannot be done then there is always HTML as an acceptable method (to some it is the preferred and only "true" way).
    However, HTML, done "right" for accessiblilty is just as demanding in its own way.
    With each AT version / dot version release, JAWS - Windows Eyes - NVDA & others hone in closer on utilizing PDF ISO Standard 32000.
    That means if you deploy "accessible" PDF you need to provide PDF that live to the ISO standard.
    Keep in mind that S508's paragraphs began when, effectively, HTML was "it". In software terms that was geologic eons ago.
    For contemporary AT to effectively parse PDF, the PDF must be a well formed Tagged PDF having a format/layout that reflects a logical hierarchy.
    Creation of all this must start in the authoring environment with the content author.
    The post-process PDF output then assures that the PDF elements (tags) are the correct type, have the requisite attributes, etc.
    Without this, AT will not be able to provide the end-user effect utilization of the PDF.
    So, for AT to properly 'work' the PDF, <TH> elements *must* have the Scope attribute's value defined, Row and Column Span values defined, etc.
    Scope, Row Span, Column Span, Table IDs and Headings must be added as part of the post-processing of a PDF using Acrobat Professional.
    An alternative is the Netcentric CommonLook plug-in for Acrobat Professional. What it does, Acrobat Pro can do; however, the CommonLook
    provides a robust user interface. Downside: at some $1k per seat it is not 'cheap' and it has a *steep* learning curve (Sitka Pass?).
    Two table related resources are at this AUC thread (in post 3 and 4). They may be of some usefulness.
    http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=23178
    When the "smelly stuff" gets feed into the maw of the fan it's prudent to not be directly down stream, eh.
    Consider Target and the situation they put themselves in.
    Consider submittal of accessible PDF to fedgov or stategov agencies.
    They won't be in front of the fan if usability of the PDFs becomes an issue.
    Rather, it will be those submitting. After all the agency did say "accessible".
    Better to slow down and do it right or ramp up resource loading to support "schedule" than to stake oneself out as someones "feed" tomorrow, no?
    In the final analysis, for PDF, HTML, or any 'format',  Accessibility is the Usability + Compliance.
    Does it take improvements in professional development/training, adequate hardware/software, *time*?
    Yes. But, it all comes down to "where the rubber hits the road" - what tires are you on?
    It can be done. I do it one small step at a time every day. Often, that's what it takes.
    Deliverables are provided; but, with no mis-labeling and the incremental progress is identified, celebrated and the whole thing continues until
    the "road" is completed properly.
    Don't want wash outs, bridge collapse or what not tomorrow <g>.
    (But then I'm a fan of "Holmes on Homes" which may go a long way towards understanding my point of view when it comes to accessible PDF.)
    re: function(){Return ....
    Good question.
    My guess - either from the cut & paste I initially performed from the application I'd been using to assemble write up and screenshots or something associated with the Adobe Forum application.
    It can't be that I'm 'special'; if that was the case one of my occassional lotto quick picks would have been a big $ winner long ago <G>.
    fwiw -
    You'll find a number of "Accessible PDF" related resources in the threads at the AUC Accessibility Forum.
    http://www.acrobatusers.com/forums/aucbb/viewforum.php?id=18
    Two Accessible PDF related on demand eSeminars are also available.
    Look for Duff Johnson's and Charlie Pike's (on page 2) eSeminars.
    http://www.acrobatusers.com/learning_center/eseminars_on_demand
    Be well...

  • How long does it normally take to convert from PDF to Excel files?

    How long does it normally take to convert from a PDF to Excel files?

    Sara-
    I did see your response.  Thanks.  The other thing that happened was after I enabled Adobe on my Dell it apparently knocked out my Mozilla.  Now I can't get internet connection unless I use Internet Explorer which I would prefer not to.  I'm going to visit our IT folks tomorrow and see if I can get some of this resolved.
    The PDF files I obtained that I am trying to transfer to Excel may be too complex because there is a great deal of extraneous text information in the basic document that lies outside of the tables I want to transfer.  I'm going to try and highlight the tables only and see if this works.
    Thanks for taking the time answering.
    Best,
    Henry

  • Converted from 32 BIT to 64 BIT

    I have a difficult problem
    Download the new Mountain Lion system, a system that supports fully 64 bit which is very good and the system supports two
    But the problem lies in the usb FIFA Online, a company does not support 64
    Operate on 32, but when it turned the device to 64 did not work
    Tried to delete the program and inauguration did not operate purely Internet I can not find a clear answer
    Is there a way I can reach them in order to operate piece or converted from 32 to 64
    Here is a picture showing the problem

    I have no knowledge of that program and can't comment on its specific features and deficiencies. But since 64-bit is the way of the future and Apple has made it abundantly clear after putting out two successive 64-bit systems, all software companies will have to accommodate if they want to stay competitive. Whether the upgraded versions of the programs remain free to their customers is a whole other matter.
    Along the same lines, how much RAM does your Mac have? If it has more than 4GB, that may be the issue until a 64-bit version of your program becomes available. You see, with 32 bits only 4GB can be addressed and some programs get lost when facing more RAM than that.

  • Convert Dynamic Disk to Basic Disk Witout Data Loss

    I think I goofed somewhere and am in need of some advice.
    This Windows 8.1 home server had two identical 160GB drives that at one point were mirrored.  One of the drives failed but so I added a larger replacement hard drive (Disk 0 = 160GB, Disk 1 = 250GB) and was able to recover.  However now, not only
    is the mirror broken, but the configuration is crazy:
    Disk 0 contains 1 100MB System Reserved Parttion (System)
    Disk 1 contains 1 120GB partition where the OS is installed (Boot, Page File, Crash Dump)
    Since its much quicker to move 100MB vs 120GB, I was thinking I'd copy the 'System Reserved' partition on Disk 0 to Disk 1 using a third-party utility, but because both disks are Dynamic Disks, this isn't possible.
    So at this point I can only think of two options:
    Recreate the 'System Reserved' partition on Disk 1 (Is it as easy as running bootrec /scanos or /rebuildbcd or /fixmbr or /fixboot?) > Wipe Disk 0 > Confirm Windows 8.1 boots > Then create a new mirrored volume on Disk 0
    Mirror Partition 1 (120GB) on Disk 1 (where Windows is installed) to the available space (149GB) on Disk 0 > Break the mirror > Wipe Disk 0 > Confirm Windows 8.1 boots (maybe I'll need to run bootrec with some switch here?) > Then create a new
    mirrored volume on Disk 1
    Thoughts?

    See:
    How to Convert Dynamic Disk to Basic Disk without Data Loss?
    Carey Frisch
    Thanks for the reply.
    I've seen that post, among others, and they all require buying an application.  None of the product pages, like the one you linked indicate that a purchase is required.  It wasn't until I downloaded the aplications, (and I've tried several) that
    I discovered a purchase was required.  Really disappointed they weren't upfront about that on the guides.
    So maybe a different approach can be taken:
    Disk 1 just contains the System Recovery partition - the rest of the disk is blank (not partitioned)
    Create a new partition
    Copy the OS data from Disk 2 to Disk 1
    Update the System Recovery and/or the Boot Configuration Data file to point to the OS that's now on Disk 1
    Once updated, reboot
    The system should boot properly from Disk 1 and the OS should also be running from Disk 1
    Convert Disk 2 to a basic disk
    Once Disk 2 has been converted back to a basic disk, can I just do the opposite?
    Create 2 partitions on Disk 2: one for System recovery and another for OS
    Copy the System Recovery partition (partition on Disk 1) to partition 1 of Disk 2
    Copy the OS partition (partition 2 on Disk 1) to partition 2 of Disk 2
    Update the System Recovery and/or the Boot Configuration Data file to point to the OS that's now on Disk 2
    Once updated, reboot, the system should boot properly from Disk 2 and the OS should also be running from Disk 2
    Convert Disk 1 to a basic disk
    This is bonkers, believe me, but I feel silly shelling out $40-$50 for a single feature of an application.  If I were going to use it regularly, or even periodically, I would do it.
    I'm not very comfortable with bcdedit and bootrec so I need a little help with steps 4 in both sections.

  • Cannot convert from ImageIcon to Image

    Please tell me why I'm getting error: I have seen many example of this both in this forum and other places.
    Type mismatch: cannot convert from ImageIcon to Image[b]
    Thanks in advance
    here's my code, I m using fileupload to load my images:
    <%@ page import="java.util.List"%>
    <%@ page import="java.util.Iterator"%>
    <%@ page import="java.io.File" %>
    <%@ page import="java.io.IOException"%>
    <%@ page import="java.io.*"%>
    <%@ page import="java.awt.image.ImageFilter"%>
    <%@ page import="java.awt.Color"%>
    <%@ page import="java.awt.image.ImageProducer"%>
    <%@ page import="java.awt.image.ReplicateScaleFilter"%>
    <%@ page import="java.awt.image.FilteredImageSource"%>
    <%@ page import="javax.swing.*"%>
    <%@ page import="java.awt.image.BufferedImage"%>
    <%@ page import="java.awt.Image"%>
    <%@ page import="java.awt.Graphics"%>
    <%@ page import="java.awt.Toolkit"%>
    <%@ page import="com.sun.image.codec.jpeg.JPEGCodec"%>
    <%@ page import="com.sun.image.codec.jpeg.JPEGImageEncoder"%>
    <%@ page import="org.apache.commons.fileupload.servlet.ServletFileUpload"%>
    <%@ page import="org.apache.commons.fileupload.disk.DiskFileItemFactory"%>
    <%@ page import="org.apache.commons.fileupload.*"%>
    <%@ page contentType="text/html;charset=UTF-8" language="java" %>
       <center><table border="2">
            <tr><td><h1>Your files  uploaded </h1></td></tr>
       <%
        //setting the target w + h
         int targetWidth=0;
        int targetHeight=0;
         //session values used to rename loaded image.
         String adID = "EM225";
         session.setAttribute("adID", adID);
         String fileName = null;
      // String imageid = request.getParameter("imgageID");
         boolean isMultipart = ServletFileUpload.isMultipartContent(request);
         if (!isMultipart) {
         } else {
            FileItemFactory factory = new DiskFileItemFactory();
            ServletFileUpload upload = new ServletFileUpload(factory);
            List items = null;
            try {
                 items = upload.parseRequest(request);
            } catch (FileUploadException e) {
                 System.out.println("Unable to load image" +  e.getMessage());
            Iterator itr = items.iterator();
            while(itr.hasNext()) {
                   FileItem item = (FileItem) itr.next();
                   if (item.isFormField()) {
                        //String name = item.getFieldName();  //This will get the field names. for eg. if u have a hidden field this line will get the hidden filed name.
                    //value = item.getString();
                        //out.println(value);
                   } else {
                 try {
                      File fullFile  = new File(item.getName());
                      fileName = fullFile.getName();
                      String id = (String)session.getAttribute("adID");
                      String newName =  id+fileName;
                      //passing renamed uploaded image.
                      Image sourceImage = new ImageIcon(Toolkit.getDefaultToolkit().getImage(newName));
                      // Calculate the target width and height
                      float scale = 50/100;
                      targetWidth = (int)(sourceImage.getWidth(null)*scale);
                      targetHeight = (int)(sourceImage.getHeight(null)*scale);
                      BufferedImage resizedImage = this.scaleImage(sourceImage,targetWidth,targetHeight);
                      ByteArrayOutputStream baos = new ByteArrayOutputStream();
                   JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(baos);
                      encoder.encode(resizedImage);
                   byte[] b = baos.toByteArray();
                     // File tosave = new File(getServletContext().getRealPath("/"),resizedImage);
                     // item.write(tosave);
                 } catch (Exception e) {
                      System.out.println("Unable to save the image" + e.getMessage());
       %>
       <%!
       private BufferedImage scaleImage(Image sourceImage, int width, int height){
            ImageFilter filter = new ReplicateScaleFilter(width,height);
            ImageProducer producer = new FilteredImageSource
            (sourceImage.getSource(),filter);
            Image resizedImage = Toolkit.getDefaultToolkit().createImage(producer);
            return this.toBufferedImage(resizedImage);
        private BufferedImage toBufferedImage(Image image){
            image = new ImageIcon(image).getImage();
            BufferedImage bufferedImage = new BufferedImage(image.getWidth(null),image.getHeight(null),BufferedImage.TYPE_INT_RGB);
            Graphics g = bufferedImage.createGraphics();
            g.setColor(Color.white);
            g.fillRect(0,0,image.getWidth(null),image.getHeight(null));
            g.drawImage(image,0,0,null);
            g.dispose();
            return bufferedImage;
       %>
        </table>
       </center>
        </table>
       </center>

    Hello. So, it's difficult to say, but the following line is probably the cause of the problem.:
    Image sourceImage = new ImageIcon(Toolkit.getDefaultToolkit().getImage(newName));Basically, you are making an ImageIcon by passing an image, but perhaps you can just replace the line with this:
    Image sourceImage = Toolkit.getDefaultToolkit().getImage(newName);I use ImageIcon when reading from files, such as:
    BufferedImage image = ImageIO.read(file);
    Icon icon = new ImageIcon(image);However, if you already have an Image, I don't see why you just can't just use the Image reference. Perhaps someone more wise will have a more concise answer. Good luck.

  • Convert from Managed to Referenced

    Greetings,
    I posted this question once before, just wanted to try again.
    I followed Sierra Dragon's recommendation on upgrading my library (over 300GB in size). I am about to convert from managed to referenced, but I have a specific filing structure in Aperture that I would like to maintain on my FW800 drive.
    Basically, every folder starts with the year, the 2 digit month followed by the name of the month, (2010 10 October). Within each of these folders are my projects. This sorting helps me keep track of my favorite subjects.... (My family).
    That being said, when I convert, it would appear that Aperture will keep each picture in the project but not do so by folder. I want to maintain the folder structure. Does anyone have any input on how this is accomplished.
    My thanks to all.
    De Colores...
    Michael

    Hi Michael,
    I don't have time this morning for a thorough (or, apparently, concise) response. See if this is in any way helpful.
    I followed Sierra Dragon's recommendation on upgrading my library (over 300GB in size). I am about to convert from managed to referenced, ...
    Good. Moving your Masters off your system drive (assuming that's where they are) should give you a performance boost as well as allowing you to expand your holdings.
    but I have a specific filing structure in Aperture that I would like to maintain on my FW800 drive.
    Why (I mean that)? What advantages do you get from this unique filing structure? Can those advantages be had with anything simpler, more standard, or easier-to-implement?
    That being said, when I convert, it would appear that Aperture will keep each picture in the project but not do so by folder. I want to maintain the folder structure.
    This is, ime, a waste of your time. Aperture already doesn't store your digital negatives this way. (Right-click your Aperture Library in Finder and select "Show Package Contents to see how Aperture stores your files. Look but don't touch.) When you convert from a Managed Masters to a Referenced Masters Library, your Library structure remains untouched: your Image Folder structure is not altered. All that happens is that digital negatives are moved, and the pointers in your Library are pointed to the new locations outside the LIbrary instead of the current locations inside the Library.
    One of the powerful but odd things which Aperture does is to separate image management from file management. File management structures are fixed (and unwieldy). Aperture frees the user from those confines (and for many users, keeps this secret). You surely know this already, but now as you convert from a Managed Masters Library to a Referenced Masters Library is a good time to examine it again. You want to view your Projects by date? Go to Projects View and sort by date. You can group by year and drill down. With effective Project-naming, your can filter by type (e.g.: family, personal, work, birds). Your tools for image viewing are much more powerful. Want to see all shots of your dog during the first year of its life? No problem (as long as you've keyworded well). You can even set up Smart Albums -- as many as you like -- for this or (almost) any imaginable sub-set of your images. And when your interests change, you can delete the Smart Album (or Album) and not worry at all about losing your images.
    I realize none of that is new to you. The point I'm trying to make is that your Library structure can and should be designed foremost to meet your image retrieval needs (and not your file storage needs). Each digital negative lives in one and only one Project. Beyond that, you are free. In your case, it may make sense to create a structure based on family rather than one based on date. The date structure is hard-coded into Aperture -- you can't lose it, you can always use it, and you don't have to reproduce it in your Library.
    My suggestion is to treat separately your file storage from your image storage (don't use your file storage structure as your image storage structure), and develop an image storage structure which works great for you that is not based on "when shot". (And again, "when shot" is very valuable -- so valuable, it's irremovably hard-coded into your images and into Aperture, which is why you needn't recreate it.)
    Back to your question: if Aperture won't create the Finder folder names you want, use the great Name Mangler to batch rename your Finder folders. At most you'll have to run it through twelve times, once for each month. This would be a one-time change. After that, you'll have to manually create new folders (might as well do them in sets of twelve), and then when you Import point to the storage folder.
    None of that is, respectfully and imho, worth the effort.

  • Has anyone converted from forms 4.5 to 6.0 ?

    If anyone converted from forms 4.5 to 6.0,
    can you please tell me:
    1 - what were the steps
    2 - what was your experience
    Thanks,
    Wayne
    null

    We converted forms from 4.5 to 6.0. Basically all you have to do is recompile the forms. but, the very first thing you have to do is recompile all the libraries. The forms will not work if you don't recompile the libraries first. So, open and compile the libraries in 6.0, then open and compile the forms in 6.0. They should then work fine. If they do not, try deleting and reattaching the libraries and compile again.
    Good luck.

  • How to convert dynamic disk into basic, with OS installed in C drive????

    Hi,
    I want to convert all volumes of my current hard drive (which includes OS installed in it) into basic from dynamic. 
    I read the tutorial of microsoft, in which they said that delete all volumes one by one and then finally convert the disk into basic.
    So I deleted 2 volumes, but OS did not let me delete C drive, as windows 8 was installed in it.
    So now how to convert my hard disk into basic disk from dynamic disk???

    Hi,
    I want to convert all volumes of my current hard drive (which includes OS installed in it) into basic from dynamic. 
    I read the tutorial of microsoft, in which they said that delete all volumes one by one and then finally convert the disk into basic.
    So I deleted 2 volumes, but OS did not let me delete C drive, as windows 8 was installed in it.
    So now how to convert my hard disk into basic disk from dynamic disk???
    find another hard disk, backup and wipe the old disk, then use windows to make sure any partitions remaining are gone
    windows will automatically allocate the disk as required on a new install
    Corsair Carbide 300R with window
    Corsair TX850V2 70A@12V
    Asus M5A99FX PRO R2.0 CFX/SLI
    AMD Phenom II 965 C3 Black Edition @ 4.0 GHz
    G.SKILL RipjawsX DDR3-2133 8 GB
    EVGA GTX 6600 Ti FTW Signature 2(Gk104 Kepler)
    Asus PA238QR IPS LED HDMI DP 1080p
    ST2000DM001 & Windows 8.1 Enterprise x64
    Microsoft Wireless Desktop 2000
    Wacom Bamboo CHT470M
    Place your rig specifics into your signature like I have, makes it 100x easier to understand!
    Hardcore Games Legendary is the Only Way to Play!

  • Grainy Image when converting from PAL to NTSC...

    Hi,
    I'm using Compressor 2.0.1 to convert a PAL movie to NTSC. I find that the output is extremely Grainy, the blacs are Muddy and the Highlights are colored.
    Any suggestions?
    Thanks and Regards,
    Rajnesh

    There are many options when converting from PAL to NTSC with Compressor's Frame Controls panel. Have you tried other settings? Note, however, that the highest quality settings are pretty slow so be prepared for a fairly long wait even on your Power Mac G5.
    Otherwise, you might want to try the freeware utility JES Deinterlacer (available on VersionTracker.com). JES Deinterlacer is pretty fast at PAL <-> NTSC conversion and the results are better than you will get with the basic settings in Compressor 2.

  • How to convert from SQL Server table to Flat file (txt file)

    I need To ask question how convert from SQL Server table to Flat file txt file

    Hi
    1. Import/Export wizened
    2. Bcp utility
    3. SSIS 
    1.Import/Export Wizard
    First and very manual technique is the import wizard.  This is great for ad-hoc and just to slam it in tasks.
    In SSMS right click the database you want to import into.  Scroll to Tasks and select Import Data…
    For the data source we want out zips.txt file.  Browse for it and select it.  You should notice the wizard tries to fill in the blanks for you.  One key thing here with this file I picked is there are “ “ qualifiers.  So we need to make
    sure we add “ into the text qualifier field.   The wizard will not do this for you.
    Go through the remaining pages to view everything.  No further changes should be needed though
    Hit next after checking the pages out and select your destination.  This in our case will be DBA.dbo.zips.
    Following the destination step, go into the edit mappings section to ensure we look good on the types and counts.
    Hit next and then finish.  Once completed you will see the count of rows transferred and the success or failure rate
    Import wizard completed and you have the data!
    bcp utility
    Method two is bcp with a format file http://msdn.microsoft.com/en-us/library/ms162802.aspx
    This is probably going to win for speed on most occasions but is limited to the formatting of the file being imported.  For this file it actually works well with a small format file to show the contents and mappings to SQL Server.
    To create a format file all we really need is the type and the count of columns for the most basic files.  In our case the qualifier makes it a bit difficult but there is a trick to ignoring them.  The trick is to basically throw a field into the
    format file that will reference it but basically ignore it in the import process.
    Given that our format file in this case would appear like this
    9.0
    9
    1 SQLCHAR 0 0 """ 0 dummy1 ""
    2 SQLCHAR 0 50 "","" 1 Field1 ""
    3 SQLCHAR 0 50 "","" 2 Field2 ""
    4 SQLCHAR 0 50 "","" 3 Field3 ""
    5 SQLCHAR 0 50 ""," 4 Field4 ""
    6 SQLCHAR 0 50 "," 5 Field5 ""
    7 SQLCHAR 0 50 "," 6 Field6 ""
    8 SQLCHAR 0 50 "," 7 Field7 ""
    9 SQLCHAR 0 50 "n" 8 Field8 ""
    The bcp call would be as follows
    C:Program FilesMicrosoft SQL Server90ToolsBinn>bcp DBA..zips in “C:zips.txt” -f “c:zip_format_file.txt” -S LKFW0133 -T
    Given a successful run you should see this in command prompt after executing the statement
    Starting copy...
    1000 rows sent to SQL Server. Total sent: 1000
    1000 rows sent to SQL Server. Total sent: 2000
    1000 rows sent to SQL Server. Total sent: 3000
    1000 rows sent to SQL Server. Total sent: 4000
    1000 rows sent to SQL Server. Total sent: 5000
    1000 rows sent to SQL Server. Total sent: 6000
    1000 rows sent to SQL Server. Total sent: 7000
    1000 rows sent to SQL Server. Total sent: 8000
    1000 rows sent to SQL Server. Total sent: 9000
    1000 rows sent to SQL Server. Total sent: 10000
    1000 rows sent to SQL Server. Total sent: 11000
    1000 rows sent to SQL Server. Total sent: 12000
    1000 rows sent to SQL Server. Total sent: 13000
    1000 rows sent to SQL Server. Total sent: 14000
    1000 rows sent to SQL Server. Total sent: 15000
    1000 rows sent to SQL Server. Total sent: 16000
    1000 rows sent to SQL Server. Total sent: 17000
    1000 rows sent to SQL Server. Total sent: 18000
    1000 rows sent to SQL Server. Total sent: 19000
    1000 rows sent to SQL Server. Total sent: 20000
    1000 rows sent to SQL Server. Total sent: 21000
    1000 rows sent to SQL Server. Total sent: 22000
    1000 rows sent to SQL Server. Total sent: 23000
    1000 rows sent to SQL Server. Total sent: 24000
    1000 rows sent to SQL Server. Total sent: 25000
    1000 rows sent to SQL Server. Total sent: 26000
    1000 rows sent to SQL Server. Total sent: 27000
    1000 rows sent to SQL Server. Total sent: 28000
    1000 rows sent to SQL Server. Total sent: 29000
    bcp import completed!
    BULK INSERT
    Next, we have BULK INSERT given the same format file from bcp
    CREATE TABLE zips (
    Col1 nvarchar(50),
    Col2 nvarchar(50),
    Col3 nvarchar(50),
    Col4 nvarchar(50),
    Col5 nvarchar(50),
    Col6 nvarchar(50),
    Col7 nvarchar(50),
    Col8 nvarchar(50)
    GO
    INSERT INTO zips
    SELECT *
    FROM OPENROWSET(BULK 'C:Documents and SettingstkruegerMy Documentsblogcenzuszipcodeszips.txt',
    FORMATFILE='C:Documents and SettingstkruegerMy Documentsblogzip_format_file.txt'
    ) as t1 ;
    GO
    That was simple enough given the work on the format file that we already did.  Bulk insert isn’t as fast as bcp but gives you some freedom from within TSQL and SSMS to add functionality to the import.
    SSIS
    Next is my favorite playground in SSIS
    We can do many methods in SSIS to get data from point A, to point B.  I’ll show you data flow task and the SSIS version of BULK INSERT
    First create a new integrated services project.
    Create a new flat file connection by right clicking the connection managers area.  This will be used in both methods
    Bulk insert
    You can use format file here as well which is beneficial to moving methods around.  This essentially is calling the same processes with format file usage.  Drag over a bulk insert task and double click it to go into the editor.
    Fill in the information starting with connection.  This will populate much as the wizard did.
    Example of format file usage
    Or specify your own details
    Execute this and again, we have some data
    Data Flow method
    Bring over a data flow task and double click it to go into the data flow tab.
    Bring over a flat file source and SQL Server destination.  Edit the flat file source to use the connection manager “The file” we already created.  Connect the two once they are there
    Double click the SQL Server Destination task to open the editor.  Enter in the connection manager information and select the table to import into.
    Go into the mappings and connect the dots per say
    Typical issue of type conversions is Unicode to non-unicode.
    We fix this with a Data conversion or explicit conversion in the editor.  Data conversion tasks are usually the route I take.  Drag over a data conversation task and place it between the connection from the flat file source to the SQL Server destination.
    New look in the mappings
    And after execution…
    SqlBulkCopy Method
    Sense we’re in the SSIS package we can use that awesome “script task” to show SlqBulkCopy.  Not only fast but also handy for those really “unique” file formats we receive so often
    Bring over a script task into the control flow
    Double click the task and go to the script page.  Click the Design script to open up the code behind
    Ref.
    Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/

Maybe you are looking for

  • How do I move or copy a page from one pages doc to another?

    I used to frequently move or copy a page from one multiple-page Pages document to another just but dragging and dropping the thumbnail.  Since I upgraded I can't do this anymore.  How can I do it now?

  • External hard drive does not work

    I bought an external USB hard drive. At first, it worked. I could see an icon on my desktop and could load some stuff onto it. Then I unplugged it (probably the wrong way, I just unplugged it) and when I replugged it, I could not see the icon anymore

  • Java 6u24 won't launch signed JNLP app with classes compiled with JDK 1.4.2

    Anyone else having a problem launching a JNLP app compiled with Java 1.4 using Java 6u24 on the client? Anyone have a Java 1.4-compiled app that does launch with Java 6u24? I am, and I have isolated the problem to some change in 6u24's java web start

  • Xorg.conf.d not created? [SOLVED]

    Ok, I'm new to Arch from Ubuntu/Mint/Crunchbang.  I'm sure that I'm missing something easy here but I can't seem to find any clue as to what.  I'm trying to get a working system going, and everything seems fine, but when I run startx or xinit to star

  • Protected song used in slide show?

    If I use a song bought from the iTunes store (hence protected) and use it in a slide show, burn it to disc as a movie with iMovie or iDvd will unauthorized computers playing the disc be able to play the audio track? thanks