How does FGEN demo program (SFP) identify input file formats?

The FGEN Soft Front Panel (SFP) application allows users to select an input file containing waveform data for demonstration. Files of various formats are listed in a popup prompt window. How does SFP identify the type of the data in the files? Does the file extension (.bin, .lvm) indicate what's inside?

If you installed NI-FGEN in the default directory, then C:\Users\Public\Documents\National Instruments\NI-FGEN\examples\Waveforms\Waveformdescription.txt should have descriptions of each of the example waveforms and what is inside the file.
The NI Signal Generators Help file (Start > All Programs > National Instruments > NI-FGEN > Documentation) has the Waveform File Specifications under Interactive Tools > FGEN Soft Front Panel > Waveform File Specifications.
The SFP does use the file extension to determine the file type. As a simple test, I renamed the fgMode-square.bin example file to fgMode-square.lvm. When I tried to load the renamed file, it gave me an error declaring that the file is not a valid LabVIEW Measurement File (lvm), thus proving the software checks the file extension to determine the contents.
Thanks,
Joel C
National Instruments

Similar Messages

  • How does a standalone program running in JDeveloper connects to Oracle

    Hi,
    Can anybody please answer me how does a standalone program running in JDeveloper10G is getting connected to Oracle ? Normally it should go and check the host address and DB service name in TNSNames.ora file and go ahead. With JDeveloper10 ever after changing the TNSNames.ora file name to some other name the program running in Jdeveloper is getting connected to database. Seems weird ? I was actually doing some testing with that. Anybody please tell me how does JDeveloper handles such situations...
    Regards
    CTR
    Edited by: user8325217 on Oct 9, 2008 2:54 PM

    Yes, it depends on the type of JDBC driver you are using. Oracle has two JDBC drivers for Java clients. The oci driver requires an installation of Oracle Client on each machine running the Java app, and has the potential to use the tnsnames.ora entries. The thin driver is pure Java, does not require Oracle Client, and therefore is not aware of tnsnames.ora files.
    You want to look in your code for the part that's establishing a connection to the db, and look at the URL, which will tell you the type of driver being used, for example "jdbc:oracle:thin" or "jdbc:oracle:ociX".
    You might want to check out the following FAQ on JDBC:
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm
    Brian
    Product Manager, JDeveloper

  • How does the email program in the suite compare with Google GMail especially in handling spam or are both about the same?

    How does the email program in the suite compare with Google GMail especially in handling spam or are both about the same?

    Firefox doesn't include an email client. Are you asking about the Seamonkey suite? The Seamonkey support options are over here: http://www.seamonkey-project.org/community

  • How does one add a personal recorded M4R file to the ring tones in the UK system for iPhone 3GS

    How does one add a personal recorded M4R file to the ring tones in the UK system for iPhone 3GS.
    I have tried all sorts of ways of adding my personal M4R file but can't find the place (within the UK versions of iTunes} to transfer this file so that I can select it as a ring tone.
    I've tried also changing to the US version of iTunes and still can't find a way of doing it, although I have heard that it can be done.

    You should be able to just drop it into the library within iTunes.
    http://cnettv.cnet.com/create-free-iphone-ringtones-using-itunes-8-0/9742-1_53-5 0003920.html
    Check out the video above for a lot good info. The ringtone must be less than 35 seconds.

  • How does final cut pro x export a file if it has not finished rendering?

    How does final cut pro x export a file if it has not finished rendering?
    So today I finished a project: Share >Export > as a pro res 422 and I'm now burning with iDVD as we speak. FCPX is still doing background rendering! I hope my DVD turns out ok....

    You don't need to render before export.
    Rendering is for playback.
    If your project plays OK from the storyline, you can safely turn off rendering in preferences.
    Andy

  • Error when trying to re-mount a VHDx (the version does not support this version of the file format)

    Hi,
    I have a vhdx on a NAS that I use for server backup. I created the VHDx via disk management, mounted it and assigned drive letter X. I now created a script that gets triggered upon startup via task scheduler to remount the VHD. If I try to mount it however,
    it tells me this:
    No matter what I try, I can't mount it. Double clicking just says this:
    Eventviewer spits out error 137: The default transaction resource manager on volume X: encountered a non-retryable error and could not start.  The data contains the error code.
    How do I trouble shoot this? oO Originally I had created the VHD as expanding, where now I recreated it at it's full size of 900GB. Maybe that will make a difference.
    Thanks for the help
    Cheers
    Maike

    Hi Maike,
    Do you mean that you can mount the VHDX via disk management but cannot mount it via a script? If so, please provide the diskpart’s mount commands in the script.
    In the meantime, check if destination partition is NTFS formatted.
    Problem with Attach VHD function: The version does not support this version of the file format
    http://www.paulauskis.lt/2010/03/problem-with-attach-vhd-function.html
    Please Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]
    Hi Mandy,
    I can not mount it after a reboot. So I create the VHDx via disc management and attach it afterwards without problem. After the server reboots and the attached VHDx dropps, I can't remount it. Gives me the errors I posted above.
    As I had mentioned above, I recreated the VHDx at it's full size this time, rather than expanding. That worked just fine and I can remount after reboot.
    So I consider this dealt with ;)
    Thanks anyway!

  • ? How does a G4 Powerbook or Qwksilver input S-video from an S video VCR ?

    ?? How does a G4 Quicksilver 2002 input S-video from an S video VCR ??
    I want to use some pre-miniDV S-video footage
    in an upcoming small Final Cut production.
    ?? Is there a conversion from S-video to firewire400 ??
    Best regards, Ken

    Ken,
    Simplest way? Use a digital camcorder to play the VCR's output through the camcorder, passing it to the Mac via FireWire, importing the converted DV with iMovie or another application. Most camcorders will do this, performing the conversion without needing to otherwise use a separate, dedicated hardware encoding device.
    Gary

  • How can i get program to wait until file is loaded?

    Hi all,
    I keep getting a null pointer exception error thrown when it shouldn't. I'm 99% certain that its being generated because the program speed is faster than the load file time. Is there any way to make the program wait until the file is finished loading? I know you can set up a for loop that will take up some time but I wanted it to be more accurate so that no errors will occur on any machine. Here is the code
    RunMainProg();
              String[] TempHolder = new String[HowMany*2];
              try
                  BufferedReader readerOne = new BufferedReader(new FileReader("TempMDLFile.txt")); // file just save from RunMainProg()
                  String lineOne;
                  int i=0;
                       while ((lineOne = readerOne.readLine()) != null)
                            if(i>=TempHolder.length)
                            break;
                             TempHolder=lineOne;
                             i++;
              readerOne.close();
                   catch (IOException f)
                        MakeDialog ErrorDialog = new MakeDialog(TopWindow, "Load Error", "Error - The file you entered does not exist", "Error", "OK", "OK", 0, 0);
                   for(int i=0; i<TempHolder.length; i++)
                        if(TempHolder[i] == null)
                        i=0;
                   FormatData TestSequences = new FormatData(TempHolder); // problem occurs at this line
    I have looked all over and can't seem to find a way to verify if the file is loaded, or to get it to wait until it has. Any help would be much appreciated. Especially if you can supply some code snippets :)
    Much obliged
    Drb2k2

    okay, I added some test code that I was using to try and iron out the problem. Perhaps its best if I run through what happens.
    1. I get the data from the text box, and an external program is run which generates some text files. These files are then loaded and examined and some new data is appended to the old. This is the process
    FormatData TestSequences = new FormatData(TempHolder); Now every time its run first time around its fine.
    2. When I try and do exactly the same thing with the new appended set of data the null exception is thrown. Now Dr Clap, I thought exactly the same as you did, but... If i add the following bit of code before the FormatData call..
    for(int i=0; i<TempHolder.length; i++)
    System.out.println(TempHolder);
    It will produce the data without the appended info, and some null sequences.
    The size of TempHolder is adjusted depending on the amount of data submitted, so somewhere along the line its just not working.
    3. Now for the fun part, eventually if you put the call in a loop it will correct itself and produce the outcome, but needless to say i'd rather not have my program catching a load of nullpointerException errors.
    Finally as for the code
    for(int i=0; i<TempHolder.length; i++)               {                    if(TempHolder[i] == null)                    i=0;               }That was an attempt to stall the program until no null sequences were found. Sort of getting around the problem in 3.
    Dr Clap is a legend on these posts and his advice is well recieved but I have no idea how to view a stack trace or what benefit it has. Any tips on this would be great.
    Thanks for your help so far
    drb2k2

  • How to change the layout of an input file and write to an output file

    Hi
    I have a .csv file which has a layout as schoolNo. , county1,county2,county3,county4,county5
    It will need to go into an output file as schoolNo. repeated and a county on each record .
    ie., schoolNo.,county1
    schoolNo.,county2
    schoolNo.,county3
    schoolNo.,county4
    schoolNo.,county5
    I wrote the java program as follows ..which results in this error
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
    BECAUSE :--
    i know bec., the first record doesnot have county3,county4,county5 . So when the if loop for county3 lenght is checked it gives this exception .
    Pls help me write this program ..thanks in advance .
    /Here I open the input file and read in record by record                                                                                                                        
              BufferedReader readin;
              try {
                   readin = new BufferedReader(new FileReader(InFile));
                   String firstLine = readin.readLine();
                   String[] headers = firstLine.split(",");
                   columnCount = headers.length;
                   System.out.println("Columns in ZIP Master File: "+columnCount);
                   for(String input ;(input = readin.readLine()) != null; ){
                        recCount++;
                        input = input.substring(1);               
                        String[] column = input.split(",");
                        if(columnCount == 10){
                             eachIP++;
    //                               OUTPUT FILE
                                    if(column[1].length()> 0) {
                                       String mainStr = column[0] + "," + column[1] ; 
                                       Count++;
                                       totalcolumns++;
                                       writeOutFile.write(mainStr);
                                       writeOutFile.newLine();
                                  else{
                                  bypassedCount++;
                                    if(column[2].length()>0){
                                         String mainStr = column[0]+ "," + column[2];
                                         Count++;
                                         totalcolumns++;
                                       writeOutFile.write(mainStr);
                                       writeOutFile.newLine();
                                  else{
                                  bypassedCount++;
                                    if(column[3]..length()>0){
                                         String mainStr = column[0]+ "," + column[3];
                                         Count++;
                                         totalcolumns++;
                                       writeOutFile.write(mainStr);
                                       writeOutFile.newLine();
                                  else{
                                  bypassedCount++;
                                 }

    There are two split( ... ) methods; check the other one (the one with two arguments), it allows for empty entries to be counted, i.e. split(inputString, -1) gives you the wanted results.

  • How to write an inputter for a custom input file format?

    On a project I'm working on I've got a custom capture log of driver communications between user-mode to system drivers.
    I've been trying to figure out how I can use Windows Message Analyzer to input my custom capture format and visualize the result (it is not a text logfile). I've had a look through the OPN extensions and I can't find the implementation of each file format
    it can handle other than the logfile handlers. Am I crazy to be using Windows Message Analyzer to navigate non-network packets? I'm just looking for a good framework to navigate messages which have destinations, sources, and data:
    timestamp
    src_pid
    src_name
    dst_hdevice
    dst_name
    buffer
    After inputting this data, I may explore writing parsers for particular drivers.
    Any thoughts or pointers on where to start and if this is the right framework?

    Yes, this is possible today.  You can write OPN to parse a text file. There are some examples in :\Users\yourname\AppData\Local\Microsoft\MessageAnalyzer\OpnAndConfiguration\TextLogConfiguration\DevicesAndLogs.  You can add your own, but be warned
    they might not be backed up when you upgrade.  So I would save a backup.
    The examples there should serve as a good start.  I also just wrote another response regarding how to handle timestamps that might vary from our strict format.
    If you are still stuck, please ask more questions.
    Paul

  • How does the Oracle DBMS locate the Oratab file?

    I'm new to the Oracle environment. I have also successfully installed Oracle 11g on a Red Hat Enterprise Linux 5.3 platform. How does the DBMS locate the oratab file? My oratab is located under the "/etc" sub-directory. How does the DBMS know to look their? If I wanted to change the location of my "oratab" file how do I point the DBMS to the new location?
    Thanks

    The RDBMs does not care of the oratab file. (why should it?)
    But some other scripts/utilities does. dbca, dbstart, dbshut and possible a lot others.
    So if you want, you can delete or move this file without affecting any RDBMS, but you have to modify all scripts you use if they rely on oratab, and you have to accept some tools will provide unexpected results without it.
    My personal suggestion: move oratab somewhere in your $ORACLE_BASE and create a symbolic link from this location to /etc/oratab.
    hth,
    Martin

  • With PS 7  create new  Place two objects on the new file  then you may cut copy and paste Cs2  create new  place two object on the new file Cut is not available how does one cut and paste in new file

    With PS 7
    create new
    Place two objects on the new file
    then you may cut copy and paste
    Cs2
    create new
    place two object on the new file
    Cut is not available how does one cut and paste in new file

    If your using File>Place then photoshop cs2 creates what's known as Smart Objects, which photoshop 7 didn't have.
    In photoshop cs2 you can rasterize the smart objects and that should make the Cut function available.
    Select both placed layers, right click on the area to the right of the tumbnail and select Rasterize Layers.
    If in photoshop cs2 you to Help>Photoshop Help and look under Layers>Smart Objects, that should give you a good overview of what smart objects are.

  • How to remove a char in the  Input file?

    Hi All,
    I need to remove a particular char in the input file
    before it is read into an Internal table.
    Is there any way to do such processing in file?
    Plz guide me reg this.
    Thanks,
    albert.

    Hi albert,
    1. We cannot do directly.
    2. we can do this logic
      a) make another extra internal table
         of just one field say abc(250) type c.
      b) read the full file in binay format,
        in this internal table,
        using gui_upload
      c) then LOOP at the internal table,
        and replace the char.
      d) AGAIN write this internal table using
       GUI_DOWNLOAD.
    2. Then we can use norma gui_upload
       for our final table.
    regards,
    amit m.

  • File adapter input file format

    Here the communication scenario is as follows: read a file and send a message via XI to an inbound interface.
    A file adapter service has been defined. Message protocol 'file content conversion' has been chosen for the file adapter service. Next the file format has to be defined in communiction channel settings.
    Is it possible to define the input record structure in the file to be red itself?
    The first line will list all column names. The data records will follow in line two up till end of file.
    Regards
    Klaus

    Now I can add some more information to the facts.
    In XI 2.0 the adapter engine was used to connect the integration engine to external systems. The adapter engine converted input file contents to a XML message. The structure of the records in the input file has to be defined. There was one option to read this structure from the first line of the file itself. This option was called 'fromFile'.
    Now the current situation in XI 3.0 is that the integration engine reads the input file. Conversion of file contents is still available but the option to read the record structure from the input file doesn't exist anymore.
    Does anybody know whether I am right and this functionality isn't available anymore or how to achieve the desired system function in XI 3.0.
    Regards
    Klaus

  • How to handle comma in DMEE when your file format is CSV

    Does anyone knows how DMEE handles comma when its part of the field value and when the file format requirement is CSV?
    Thanks all in advance.
    Aloy

    Wrong forum.
    You should be here.
    Oracle Application Express (APEX)

Maybe you are looking for

  • Issue in Gratutity Exemption

    Dear Folks, Please advise, here is a scenario of exemption of grautity. The client is calculate grautity amuont manually and proces thru Addtional payment thru custom wage type. The amount of grautity is add to w.type /130 for exemption purpose. Acco

  • IWeb "Original Size" download option? -- Not Even Close!

    Unless I'm doing something very wrong -- which I sincerely hope is the case -- then iWeb's photo prefs are guilty of seriously false advertising. I'm trying to create a "My Albums" page, such that the photos in the various albums it indexes can be do

  • How to perform a bottom of the application toolbar by codding?

    Hi. I tried to found info about this, it seems to be easy, but i couldn't found it. I have a ALV Report (with funtion module not OO). I copied a gui status from program saplkkbl status gui: standard_fullscreen. In the ALV i have one column editable,

  • Future Update? - Web Highlighting/Commenting

    I have recently written a web application that displays a pdf  in the web browser using Adobe Reader X.  Needless to say, I was dissapointed to learn that the highlight and comment features are not available when viewing through the web. So, my quest

  • How to Manage SMS on iPhone 3G

    how can i manage SMS on iPhone, like making folders to put in it my private SMS, save drafts, see my sent SMS separetly. is there a 3rd party application to do this or i can do it in iPhone Thanks