FPGA output different to emulator

I've written a simple vi that outputs a sine wave using the FPGA sine generator. This passes through a half-wave rectifier setup (via a SCB-68 connector block) and back into the FPGA. When I set the execution target to the FPGA emulator the vi works perfectly. A full sine wave is displayed on one wave-chart, and a half wave on other. However, when I target the FPGA device and compile and download the vi, the output turns into what appears to be random noise. Both wave-charts show nothing like a sine wave. Whats going on?
Cheers,
Rob.

Actually i've just found the following in a help file, i'll give it a go...
Sine Generator Details
If you target an FPGA device emulator, the Sine Generator VI outputs every point of the generated sine wave, regardless of the rate at which LabVIEW calls the VI. To produce the same data while targeting an FPGA device emulator as when targeting an FPGA device, change phase increment to take into account the rate at which the FPGA VI calls the Sine Generator VI. The following equation determines the correction for using an FPGA device emulator.
phase increment (emulation) = phase increment (FPGA) * FPGA loop time (ticks)

Similar Messages

  • Output different data based on user select

    Hi everyone,
    Quick question, I would like to output different report columns based on user select, eg., users would be presented with two choices in a radiobutton list, eg., 1 and 2.
    I have query results that contain columns A, B, C, D, E, F, G.
    If user selects 1 then the output should be columns A, B, C, D, E.
    If user selects 2 then the output should be columns A, B, C, F, G.
    I am sure this is possible and easy? If so, what topic should I be reading/searching internet on?
    Please advise.
    Thanks!

    I would say that this is most often something that your user interface should be dealing with (i.e. which columns should be shown).
    There is no way to do that in SQL.
    In PL/SQL it is a simple situation of creating two cursors and simply deciding which one to open.
    <pre>declare
    l_cur sys_refcursor;
    begin
    if :user_selection = 1 then
    open l_cur for select A, B, C, D, E from tbl;
    else
    open l_cur for select A, B, C, F, G from tbl;
    end if;
    -- use the cursor
    close l_cur; -- or return to user interface
    end;
    /</pre>
    Hope this helps.

  • Output different if Device Type changed from SWIN  to HPLJ4

    Hi,
    I have a few problems here for my SAP smartform. Hope someone out there can help.
    1/ I am using font: Helvetica for my smartform. I realized that the output (on Print Preview as well as the actual Print output) shows a different font if I chose Device Type: HPLJ4. If I choose my actual printer HP4250 as the Device Type, the font is the same as that shown for SWIN as Device Type, but the spacing is a bit different. Is there any way I can make sure that the font type, spacing will not differ for a different Device Type?
    2/ The reason why I am not printing using SWIN as Device Type (which will ensure consistent output even if printer is changed) is becoz I need to use the PCL5 print control commands to rotate a certain section of text in my smartforms- which is only possible on HP PCL5 printers. Is there any way I could rotate text in smartforms without print commands and yet I can still use SWIN as Device Type? (pls do not suggest creating a bitmap picture for the text).
    <b>In short,</b> I need to know how can I ensure consistent output (same margin, same font, same font spacing) even if a different printer is used (any Device Type I can use?) and at the same time, enable me to rotate a certain section of text in my smartform(180 degrees)?
    Thanks very much for any help.

    Hi,
    For the first question, generally the output (spacing etc) changes when you change the device type. So you need to adjust the alignment according to your output type.
    Thanks,
    Nagendra

  • SAPScript output differently depending on who is running it

    We are running a SAP standard SAPScript.  When I run it, certain information is missing (box numbers which are 'hardcoded' in SE71) but when SAP log into our system and run exactly the same thing, they do see the data.  The problem exists for both printing the SAPScript and viewing it online.
    Any ideas?
    Thanks very much.
    Alison

    It may be because of the following.
    1) may be the user does not have autorizations to see the logo etc
    2) may be both might be testing in different client, note: SAPscript is client specific.
    3) Mostly output option, i.e. printers you are using is different. make sure, both try to view setting the same output device.
    Close the thread once question is answered.
    Regards,
    SaiRam

  • How do you output different waveforms on 2 channels with circular buffers?

    I'm trying to program the PCI-6711 to output two different complex waveforms on DAC0OUT and DAC1OUT using Visual Basic. I'm working from the VBasic WFMdoubleBuf example by expanding the number of channels and the ChanVect to the two channels and loading and transfering to two different channels. I am filling the initial buffers by inputing data from a file But instead of seeing separate but synchronized waveforms on the two channels, I'm seeing no waveform on DAC0OUT, and a combination of the two waveforms on DAC1OUT. What am I doing wrong?
    Attachments:
    frmRun7.frm ‏17 KB

    Roz,
    Calling the WFM_Load() function multiple times for multiple channels is useful only if you are not doing double buffering. When you do double buffering, the WFM_DB_Transfer() function requires that the two waveforms be interleaved. The KnowledgeBase linked below discusses this in more detail:
    Waveform Generation on Multiple Channels Using PCI E Series Boards
    Furthermore, I have included a code snippet that illustrates the process of interleaving the waveforms, etc.
    iStatus = NIDAQMakeBuffer(pdBuffer0, ulCount, WFM_DATA_F64);
    iStatus = NIDAQMakeBuffer(pdBuffer1, ulCount, WFM_DATA_I16);
    if (iStatus == 0) {
    /* If buffer was made correctly, then output it. */
    iStatus = WFM_DB_Config(iDevice, iNumChans, piChanVect,
    iDBmodeON, iOldDataStop, iPartialTransferStop);
    iRetVal = NIDAQErrorHandler(iStatus, "WFM_DB_Config",
    iIgnoreWarning);
    iStatus = WFM_Group_Setup(iDevice, iNumChans, piChanVect,iGroup);
    iRetVal = NIDAQErrorHandler(iStatus, "WFM_Group_Setup",
    iIgnoreWarning);
    iStatus = WFM_Scale(iDevice, piChanVect[0], ulCount, 1.0, pdBuffer0,piBuffer0);
    iRetVal = NIDAQErrorHandler(iStatus, "WFM_Scale",
    iIgnoreWarning);
    /****************INTERLEAVING OPERATION**************************/
    /*For analog output on multiple channels, the data should be interleavedbefore outputting.*/
    for (i=0;i{
    piBuffer[2*i]=piBuffer0[i];
    piBuffer[2*i+1]=piBuffer1[i];
    /****************INTERLEAVING OPERATION**************************/
    iStatus = WFM_Load(iDevice, iNumChans, piChanVect, piBuffer,ulCountTotal, ulIterations, iFIFOMode);
    iRetVal = NIDAQErrorHandler(iStatus, "WFM_Load",
    iIgnoreWarning);
    iStatus = WFM_Rate(dUpdateRate, iUnits, &iUpdateTB,
    &ulUpdateInt);
    iRetVal = NIDAQErrorHandler(iStatus, "WFM_Rate",
    iIgnoreWarning);
    iStatus = WFM_ClockRate(iDevice, iGroup, iWhichClock,
    iUpdateTB, ulUpdateInt, iDelayMode);
    iRetVal = NIDAQErrorHandler(iStatus, "WFM_ClockRate",
    iIgnoreWarning);
    printf(" The waveform should be output at a rate of %lf updates/sec.\n", dUpdateRate);
    iStatus = WFM_Group_Control(iDevice, iGroup, iOpSTART);
    iRetVal = NIDAQErrorHandler(iStatus,
    "WFM_Group_Control/START", iIgnoreWarning);
    Good luck with your application.
    Spencer S.

  • Why FSK demodulator output different bitstreams in case of the same inputs of different lengths?

    Hi everyone,
       Recently I was trying to do FSK demodulation with Labview and my USRP2.
       I did the following two tests, but found a strange phenomenon:
       In the first test, I use the demodulator to demodulate a waveform of 18399 samples, where the signal occupies about the first 12000 samples, and the FSK demodulator outputs a bitsream of 1116 bits.
       The input waveform is shown in the following figure.
       In the second test, I use the demodulator to just demodulate the first 12000 samples of the waveform,  and I found that the demodulator outputs a bitstream of 705 bits.
      The input waveform is shown in the following figure:
       According to my understanding, as the input of the 2nd test  is the same as the first part of the first 1st test, the output bitstream of the 2st test must be equal to the output of the 1st test. However, they looks very different. In the first test, even the sync  sequence of bits cannot be found. 
        Can any one  help me explain why?  Thanks in advance!  
       In the attachment, I post the program and my test data.
    Attachments:
    questions.zip ‏506 KB

    Hello Anthony F,
       Yes, I use the modulation toolkit.But I encapulate it into a subvi. Sorry for that I forget to attach it.
    Attachments:
    sub_demodulate_FSK_data.vi ‏21 KB

  • Output differs from Printpreview and Spool ?

    Hello All,
    Let me tell u my actual problem.
    1. When I see the output of the PO in the Print Preview it's coming perfectly.
    But when I see the output of the same PO in the Spool it's not the same.
    2. For this reason I want to Debug the PO in both the cases i.e Print Preview case and Spool Case.
    3. When I'm trying to debug in the Print Preview case it's going into the script and I'm able to check the values. But that'S not my Problem .
    My Problem is with the Spool case bcoz I'm getting a different output when compared to that of the Print Preview Output.
    4. SO I want to debug the script whn I choose the Spool Option .
    i.e Path is : ME22N --> GIve a PO --> Click on Messages Tab --> Select any of the Processed Record and Press Repeat output and --> SAVE.
    Before pressing the SAVE Button I pressed /h and started to debug .
    But It's not going into the script at all.Instead it is going to some other standard program and creating a spool request.
    5. My first Qn is : When viewed from the Spool will it go into the script or not ?
    My second Qn is : Hw to debug the script when we are seeing the output from a SPOOL i.e from the Path :
    ME22N --> GIve a PO --> Click on Messages Tab --> Select any of the Processed Record and Press Repeat output and --> SAVE.
    Hope I'm clear now in my Explanation.
    Regards,
    Deepu.K

    It seems to be an issue with the Output Device. For the Spool, try to print on a different printer/ or the default SAP output device (SAPWIN device type).
    If the output comes correctly, then the issue is with the Driver.
    Regards,
    abhishek

  • Smartform output different

    Hello,
    I have some smartforms, the output is different in my two systems. In the developpement system everything is ok, when I go in the consolidation system ... the text is not align, the gray is not the same, the tabulation are sometimes different ...
    I have no idea how to check if the smartforms in the two system are the both, and what could be different ..
    Any help are welcome
    Regards
    Frédéric
    PS: I have check the request order.

    Hi Wojtek,
    I have check the form style, but I see something strange in the table STXSADM, there is the same creation date, but not the same modification date (with the same version number).
    So I ask a new request order for this form style. I'm waiting the result.
    I have check the output device also, it's the same, I use local device of my Windows.
    Thanks for your answer
    Frédéric
    Message was edited by: Frédéric Girod

  • I'm using GarageBand 10.0.1. Do the built-in drum tracks only come in mono format, or is it possible to make them true stereo (i.e. Left and Right channels outputing different signals, to sound like the kit has been panned across the stereo field)?

    I'm using GarageBand 10.0.1. Do the built-in drum tracks only come in mono format, or is it possible to make them true stereo (i.e. Left and Right channels putting out different signals, to sound like the kit has been panned across the stereo field)?

    All the Drum Kits available for GarageBand are mixed in stereo.
    Logic provides the same 18 Drum Kits also as "Producer Kits", which are multi-track outputs,. Each Drum Kit Piece (Kick, Snare, HH, etc) and also room mice and overheads are routed to individual channel strips.
    Here is a screenshot of one Drum Kit in Logic Pro X with individual Channels Strips. Each Channel Strip can be loaded with individual effects (compressor) and adduced with individual sends, etc.
    What that means is that all the Drummers are professionally recorded and sampled with individual mics. The Stereo Drums Kits are just "stereo mix-downs" for easier handling and less CPU demand. I explain all the details about the Drummer ecosystem in my graphically enhanced manual "GarageBand X - How it Works"
    Hope that helps
    Edgar Rothermich
    http://DingDingMusic.com/Manuals/
    'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

  • Export Table Output and Print Output differing

    I am trying to:-
    export a table to excel.
    print the table data.
    The output of the export and print are differing,the print does not capture the commandlink. The segment that I am using is :-
    <af:group>
    <af:commandToolbarButton text="Export" immediate="true"
    shortDesc="Export All Rows" icon="/images/table.png">
    <af:exportCollectionActionListener type="excelHTML" exportedId="t2"
    filename="export-tasks.xls" title="Export"
    exportedRows="all"/>
    </af:commandToolbarButton>
    <af:commandToolbarButton text="Print" shortDesc="Print" icon="/images/print.png">
    <af:showPrintablePageBehavior/>
    </af:commandToolbarButton>
    </af:group>
    I tried including rendered="#{adfFacesContext.outputMode eq 'printable'}" in the af:outputText for rows & columns in the table,however, as a result the data in the Tableitself was displayed incorectly.
    I got to know about rendered from the following thread Regarding printing a command link using <af:showPrintablePageBehavior>

    I've also exported the document to IDML - and I've unzipped that folder. I've read the information for the colour - there's only 1 reference to Rubine Red and that's giving the same percentages as the InDesign file.
    I don't know where the 2nd shade of pink is coming from.
    But I suspect that it's from the print driver itself.
    Also - just occured to me, I lost my PDF settings a while ago, InDesign crashed and the PDF defaults were missing - I dowloaded a copy of a set from someone on these forums through a google search.
    But I no longer have PDF x4 export option - where can I retrieve these.
    How can I restore the original PDF settings for InDesign?

  • Smartforms output different in two systems

    Hi Gurus,
    I've a smartform in Q and Prd. Versions are same but the font and style look different in both systems. In Q, the form is in bold, but not in Prd. Is it related to printer settings? What to check in SPAD? Both systems use LOCL printer. I also noticed the device type in SPAD is different. Does it impact the font?
    Regards,
    Raj.

    Hello Raju.
         1) If you have used smartstyle for font, check if it is transported to PRD. It may still be in QAS.
         2) Get the smartform backup from PRD and upload it in DVT and transport to QAS.
         Now check the output in QAS.
    Regards.

  • Matlab script outputting different data

    Hello
    Fell into the problem of getting different output on graph from matlab script node.
    I apply welch function in matlab over a data and ouput 2D array onto waveform chart.
    however the output plooted by matlab plot command has different amplitudes than the labview graph.

    alpine_t wrote:
    however the output plooted by matlab plot command has different amplitudes than the labview graph.
    There are millions of ways things can be different, so you need to be a little more specific. Is it just a scaling issue? How different are they? What are the offset and multiplier settings for the y-axis of the graph?
    You use the terms "chart" and "graph" interchangeably but in LabVIEW they mean very different things. So what is it?
    LabVIEW Champion . Do more with less code and in less time .

  • Report output different in web mode

    Hi all,
    I've got a simple tabular report(Rows and columns without headers) which i deploy on the web and the report is displayed on a browser. The output i get from the browser is different from when i test and run it in report builder.
    When i deploy the report and view it on the browser, the rows do not start from a new line and each record is joined. How do i specify a line feed to start each row.
    For e.g, this is how it looks in report builder when i run it,
    record1 xxx xxx xxx
    record2 yyy yyy yyy
    This is what i get in web mode,
    record1 xxx xxx xxx record2 yyy yyy yyy
    note : The report is a character mode report.

    Hello,
    Another simple solution when you have simple text to show in a web and keep the presentation is to use the <PRE> tag. (see http://www.w3.org/TR/REC-html40/struct/text.html#edef-PRE)
    In you case
    <pre>
    record1 xxx xxx xxx
    record2 yyy yyy yyy
    </pre>
    Regards
    Tugdual

  • Outputting different analog signals across 4 outputs

    Hello All,
    I need some help outputting 4 different analog signals from the PCI 6711 board.  I plan to use the function waveform vi from the analog generation pallette.  My goal is to be able to enter in the 4 necessary functions, there sampling information, and then output them from the four available analog outputs available on the board.  I've seen the example code for outputting across multiple lines, but it doesn't seem like it is able to create unique waveforms across the outputs, they are all the same waveform.  I've attached what i thought would work, but i can't get my number of lines in data to match my number of lines in task. 
    Solved!
    Go to Solution.
    Attachments:
    Analog program.vi ‏34 KB

    More specifically, choose the polymorphic instance of Analog->Multiple Channels->Multiple Samples->1D Waveform.
    Your current instance that you chose is for just a single line.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Same Cursor Output - Different Query

    I am writing 2 cursors.
    Cursor 1 which gives me A,B,C,D columns as output.
    Cursor 2 gives me same A,B,C,D columns as output.
    But the Logic to calculate inside the cursor Select Query is different.
    I need to insert both A,B,C,D from Cursor 1 and Cursor 2 in same table by looping. Just curious to know do we have any way to insert the data by using same loop. Know it is impossible. Giving a try for any other solution.
    Because I have 5 different cursors with same columns to be fetched and to insert in same table.
    Planning to write a common insert script.

    select a,b,c,d from ... query 1 where code in ('AB','CD')...
    UNION ALL
    select a,b,c,d from ... query 1 where code = 'EF'...
    UNION ALL
    select a,b,c,d from ... query 1 where code NOT IN ('GH')
    But if only Code 'AB' is present, will that be fine to execute 'EF' query and 'GH' query also? All queries will have a minimum of 10 tables joins within 2 schema. If we write the condition before it will skip executing the 'EF' query and 'GH' query.
    Which option is better?I do not see any problem with including the CODE conditions in the Select queries until the tables in the query contains the CODE column. If there is no table with CODE column, then you may have to include it somehow (Assuming different tables for each query).
    Fine or not, it is for you to decide. If you use UNION/UNION ALL, all the queries shall be executed and the data, if present, shall be inserted into the target tables.
    Moreover
    select a,b,c,d from ... query 1 where code in ('AB','CD')...AND
    select a,b,c,d from ... query 1 where code NOT IN ('GH')Do you not think it will return Duplicate records? Query where CODE NOT IN ('GH') would include CODES 'AB', 'CD', right? And using UNION ALL does not eliminate duplicates. So, if you have a Primary/Unique key, you are almost certain to encounter an error. Isn't it?
    As an alternative, I think, you can use the Multitable Inserts as below:
    INSERT ALL|FIRST         ----------> Use as suitable. ALL will process each condition irrespective of its TRUTH value; FIRST will stop evaluating the conditions after first match. If you do not specify, Default is ALL.
      INTO target_table (column_list)
    VALUES (column_list_from_select_stmt)
    select column_list, CODE
      from source_table(s);For more information on MultiTable inserts, Read Here.
    Examples here.

Maybe you are looking for

  • Updating hybrid configuration failed - Kerberos authentication: The network path was not found

    I'm configuring Exchange 2010 SP3 as a Hybrid server with Exchange Online. This is a single server running Exchange roles Mailbox, Client Access, Unified Messaging and Hub Transport. When I run the Manage Hybrid Configuration, I receive the following

  • Complain to Adobe

    I've attempted to get help by calling Adobe customer service. After reaching someone with a very strong, foreign accent and spending 15 minutes giving information, my customer ID and so on, he put me on hold for 30 minutes. Then, another strongly acc

  • Migration from SQL Server to Oracle 8i

    Hi, what are the general issues to be considered when migrating a database from SQL server to Oracle 8i. Is it documented on the web/ or any publication Samit

  • PLEASE HELP I NEED HELP

    I logged in to my mid 2012 13" MacBookPro with Latest OSX Mavericks and my dock only appears if i click down on the bottom of my screen (I hide my dock so that it only comes up when I hover over where it would be) and when I do get the dock open if I

  • What is INVERTER BOARD?

    I sent my 17in MBP in for repair and they are in the process of shipping it back to my apple store. I had sent it in for the CPU whine and the applecare rep I just spoke with told me that they had replaced the INVERTER BOARD and not the Main Logic Bo