How to Decrease Pixelations on WMV Output with PE3, PE4, or PE7? Settings?
Hi everyone, Hope someone has a reason for this.
Doing some .MOV conversion to WMV. I have found some variations depending on computer and platform. I'm not satisfied with the results using Flip4Mac, PE3 or PE7 (see below).
I have found the best results by using QT pro to first convert the .MOV file to .MP4. Then using PE4 on my quad-core Desktop to convert to WMV with the following settings:
Video Tab:
Codec: WMV 9
Allow interlaced processing box (unchecked)
Encoding passes: 2
Bitrate: Variable unconstrained
Width: 640
Height 480
Frame Rate 12
Pixel aspect: square 1.0
Decoder Complexity: Auto
Keyframe interval: 5
Buffer Size: Default
Average Video Bitrate 928
Audio Tab:
Audio Codec: WMA 9.2
Encoding Passes: 2
Bitrate Mode: Variable Unconstrained
Audio format: 48kbps, 44khz stereo VBR
Audiences tab
Compressed
Average kbps: variable
The big question is that I'm trying to repeat this quality using PE7 or PE3. I have been unable to do this despite using the exact same settings with a trial version of PE7 with the Windows XP on my BootCamp and VMWare. I've gone line by line with the Export Settings. I even downloaded the WMP 11 to make sure that wouldn't change the encode.
The only thing that is different is the audio codec (9.2 on PE4 and 9 on PE7).
Any thoughts as to why the PE4 would be pretty good (not as good as the original .MOV of course) but the PE7 would be very pixelated and grainy with the same settings? Also Flip4Mac is not very good either.
Just trying to avoid creating the .MOV on MacBook, then needing to run the conversion on desktop and then move back.
Thanks.
That's strange. I responded earlier and the whole message got trashed. Hence the test post before retyping the entire thing again.
Thanks for the reply.
The video clip is a single screen capture video clip. This is what I've found by playing around with this more.
The original clip resolution is greater than 640x480. If I use QT Pro to convert the original clip to 640x480 and then use either Flip4Mac or PE7, then the resolution looks good.
Just trying to figure out if should keep all workflow on the MacOS side. There are several different version of Flip4Mac. $49 gives me 640x480, but if I ever want to make it slightly larger then I would need to go with the $99 or HD version.
I also tried to export to AVI with QT Pro and the import with Windows MovieMaker but it didn't work really good. I liked the simplicity (since PE7 hogs a lot of resources especially through VMWare).
Similar Messages
-
How do i run an external monitor with my macbook and change settings so that when i close the lid the signal to the monitor is not lost and i can continue using the mac with a mouse and a wireless keyboard?
No, nothing will prevent the computer from going to sleep when you close its display except third-party hacks that are designed to do exactly that. I strongly advise against using any of those, as they may interfere with successful entry into clamshell mode (and they carry other downside risks as well). Just wait until the computer is asleep (with its sleep light pulsing), then press any key on the keyboard. It sounds as though your setup is working as it's designed to do.
-
How to synchroniz​e two analog output with USB-6353 sharing a trigger
I'm have the need to synchronize two analog output on the same device (USB 6353) sharing a trigger signal on PFI0.
The programming environement is Visual C++ , and the code I wrote is as following:
DAQmxCreateTask ("", &Ao0TaskHandle); // is the task handle for the analog output Ao0
DAQmxCreateVoltageChan((Ao0taskHandle,"Dev1/Ao0","",-5.0,5.0,DAQmx_Val_Volts,NULL);
DAQmxCfgSampClkTiming(Ao0taskHandle,5000.0,DAQmx_Val_Rising,DAQmx_Val_ContSamps,1000);
DAQmxCfgDigEdgeStartTrig(Ao0taskHandle,"/Dev1/PFI0",DAQmx_Val_Rising);
DAQmxCreateTask ("", &Ao1TaskHandle); // is the task handle for the analog output Ao1
DAQmxCreateVoltageChan((Ao1taskHandle,"Dev1/Ao1","",-5.0,5.0,DAQmx_Val_Volts,NULL);
DAQmxCfgSampClkTiming(Ao1taskHandle,5000.0,DAQmx_Val_Rising,DAQmx_Val_ContSamps,1000);
DAQmxCfgDigEdgeStartTrig(Ao1taskHandle,"/Dev1/PFI0",DAQmx_Val_Rising);
DAQmxWriteAnalgF64(Ao0taskHandle,1000,FALSE,10.0,DAQmx_Val_GroupByChannel,AOdata,NULL,NULL); AOdata is a buffer containing a sinwave
DAQmxWriteAnalgF64(Ao1taskHandle,1000,FALSE,10.0,DAQmx_Val_GroupByChannel,AOdata,NULL,NULL);
DAQmxStartTask(Ao0taskHandle);
DAQmxStartTask(Ao1taskHandle);
What happen as result of the code is that only the Ao0 channel get the sinwave output , but not the Ao1 . It seems the two channels are not synchronized.
What is wrong in my code?
Please any help non referred to a LabView soloution , first because I'm not a LavView programmder and secondly the project impose C++ as the unique environement.
Thanks
EnkyIt will depend on what you are programming the NI 5112 device with.
If you are using LabVIEW, you can use the example program attached below. In it, it will show you how this is done.
If you are using VB, VC++ or CVI, you can look at one of the NI 5112 shipping examples that are installed on your computer. These are located in the VXIPNP folder. For example, the VC++ example would be located here:
C:\VXIpnp\WinNT\NISCOPE\Examples\c\MStudioC++\5112Sync
These examples will show you how to synchronize the two digitizers.
Let me know if you have any questions about these examples.
Brian
Attachments:
Multiple_NI_PXI-5112_Synchronization_Demo.llb 151 KB -
How to change '2 Outputs' to '1 Stereo' in Sequence Settings
Any ideas how to change audio to '2 Outputs' to '1 Stereo' in Sequence Settings of FCP5.1.4? I'm always having to render my audio after importing!
My about-box reads:
"Studio Edition Version 10.1.3.1.0.3984"
"Build JDEVADF_10.1.3.1.0_NT_061009.1404.3984" (arrgh, please make an option to copy/paste this...)
Have you accidentally switched 2 ciphers, Frank? By the way, I found the reason for this - I had set the "J2SE version" under "Libraries" to "1.4.2_06" earlier to make sure about 1.4.2 compatibility - but since we soon don't need this any longer, I'm switching this value to 1.5.0 to be able to fully utilize 1.5 options in my code.
So... I guess we can say, that this was my own fault.
Thanks,
Jacob -
hello everybody
is it possible to tell me how i can make program in labview that take pixels of black and withe image and give coordinate of black or white pixels back to me.
Solved!
Go to Solution.Here's a slightly simpler version.
(Depending how you want to process the output, you might not need to traspose and/or reverse. Boolean to 0,1 works directly on the 2D array if needed )
amkamyab wrote:
it is good. i could enter 1bit image in and show it in array. now i want to take pixels coordinates. i meen i want to have (x,y) of each pixel to send it pixel coordinate to another program i wrote for steppers motor.
Can you be a bit more specific on how the output is supposed to look like? Initially you wrote "black or white", and since all pixels are either black or white, do you want to send all pixels? In what format? In what order? Please clarify?
LabVIEW Champion . Do more with less code and in less time .
Attachments:
BW-Pix.png 8 KB -
How to download alv grid output(with field catalog) into excel file format
Hi all,
How to download alv grid output(with field catalogs) into excel file format and same file has to download to application server.
Please help.
Regards,
Satya.Hi,
On list where alv is displayed, select export icon( green color -> ),select spread sheet.
This will display records in Excel sheet. -
PLD: How to decrease Header along with PLD.
How to Decrease Header along with paper size from A4 to half (Width= 648 Hight= 432),
I am sorry, but I don't know the solution for your problem - like apparently the rest of the SDK community here.
This Forum is (mainly) for SAP Business One SDK.
For questions related to the B1 application itself and around customization the "Implementation" forum in the Channel Partner Solution Network (http://p2p.sap.com/businessoneforum) - or a message to SAP Support - would IMHO be the best options.
Thanks,
Frank
Message was edited by:
Frank Moebius
...but THANKS for the excellent subject you used! I am glad to see someone giving such precise information in the subject! -
How to decrease the latency with flash+http+camera video?
I build a HTTP server between live camera and flash player. The flash player connect http server with NetStream. But i find there is a long latency and NetStream doesn't decode frames when the buffersize reach a special value. So i want to know, how to decrease the latency in those environment?
And why the frame cannot be decoded when the buffersize reachs a special value. I find the buffersize*framerate is about 64. Can i low this value?Would you mind reposting this question over on the Flash Professional forums? This forum is primarily for end users, the Pro forums will get you in touch with a wider developer audience.
Thanks,
Chris -
How to replace a "notfound" output with a null value?
hi,
I'm just getting a output of "Rows Notfound" for a script..
instead of this , i just need to show the output with a record as null value or some value..
do we have any option to use this in oracle..Apart from capturing with an exception in PL/SQL code, if you're wanting something in a script as pure SQL, you'd have to generate an additional row and only select that where no data is found e.g...
SQL> ed
Wrote file afiedt.buf
1 select ename from emp where ename = 'FRED'
2 union all
3* select 'No Data' from dual where not exists (select * from emp where ename = 'FRED')
SQL> /
ENAME
No Data
SQL>Of course this does effectively double-up on the queries being executed, so if you're dealing with a heavily complex query, it may be best just just have the regular exception come out, but then this will also depend on your actual requirements and why you want to do this in the first place. -
How to get ALV Output with selected Layout
I have a program which displays the output in ALV list format and i changed the layout and saved
In the selection-screen i have a field to select the layout after selecting the layout it output is not coming with that layout
can anyone tell me what is the problem
or give me a sample code
Thank youHi,
Check this code.
Hope it helps.
*& Report zSALES_ORDER
report z_sales_order.
type-pools: slis.
*DATA DECLARATION.
types: begin of i_vbak,
vbeln type vbeln_va,
augru type augru,
erdat type erdat,
end of i_vbak.
types: begin of i_vbap,
vbeln type vbeln_va,
augru type augru,
posnr type posnr_va,
matnr type matnr,
zmeng type dzmeng,
end of i_vbap.
types: begin of i_makt,
matnr type matnr,
maktx type maktx,
end of i_makt.
types: begin of i_lips,
posnr type posnr_vl,
matnr type matnr,
lfimg type lfimg,
end of i_lips.
types: begin of i_reason,
spras type spras,
augru type augru,
bezei type bezei40,
end of i_reason.
types: begin of i_vbpa,
vbeln type vbeln,
parvw type parvw,
kunnr type kunnr,
end of i_vbpa.
types: begin of i_kna1,
kunnr type kunnr,
name1 type name1_gp,
end of i_kna1.
types: begin of i_final,
vbeln type vbeln_va,
posnr type posnr_va,
matnr type matnr,
zmeng type dzmeng,
maktx type maktx,
lfimg type lfimg,
spras type spras,
augru type augru,
bezei type bezei40,
parvw type parvw,
kunnr type kunnr,
name1 type name1_gp,
end of i_final.
*INTERNAL TABLES
data: it_vbak type standard table of i_vbak.
data: it_vbap type standard table of i_vbap.
data: it_makt type standard table of i_makt.
data: it_lips type standard table of i_lips.
data: it_vbpa type standard table of i_vbpa.
data: it_kna1 type standard table of i_kna1.
data: it_final type standard table of i_final.
data: it_reason type standard table of i_reason.
data : v_flag.
*WORK AREA
data: wa_vbak type i_vbak.
data: wa_vbap type i_vbap.
data: wa_makt type i_makt.
data: wa_lips type i_lips.
data: wa_vbpa type i_vbpa.
data: wa_kna1 type i_kna1.
data: wa_final type i_final.
data: wa_reason type i_reason.
*DATA DECLARATION.
data: v_progname type sy-repid.
data: v_vbeln type vbak-vbeln.
data: v_gridtitle type lvc_title.
*PARAMETERS: D_VARI LIKE DISVARIANT-VARIANT.
data: i_variant like disvariant.
data: p_vari like disvariant-variant.
*DATA DECLARATION FOR CATALOGS LAYOUT SORT EVENTCATALOG TOPOFPAGE.
data: i_fieldcat type slis_t_fieldcat_alv.
data: i_layout type slis_layout_alv.
data: i_sortinfo type slis_t_sortinfo_alv.
data: i_listheader type slis_t_listheader.
data: i_eventcat type slis_t_event.
*INITIALIZATION - First point of execution of program
To initialize Any variables that are to be
used in the program, even before selection screen
appears.
initialization.
v_progname = sy-repid.
v_flag = space.
perform z_default_variant.
*SELECTION SCREEN
selection-screen begin of block blk1 with frame title text-002.
select-options: s_vbeln for v_vbeln.
selection-screen end of block blk1.
*Variable for ALV Variant
selection-screen begin of block b_var with frame title text-020.
parameters: d_vari like disvariant-variant.
selection-screen end of block b_var.
*AT SLECTION-SCREEN.
at selection-screen.
perform z_validations.
*AT SELECTION SCREEN.
at selection-screen on d_vari.
CHECK FOR THE EXISTENCE OF THE VARIANT SELECTED
perform zf_check_var_exist.
at selection-screen on value-request for d_vari.
PROVIDE THE F4-HELP.
perform zf_variant_f4.
*START OF SELECTION.
start-of-selection.
perform z_select.
perform check_validation_flag.
perform z_fieldcat using i_fieldcat.
perform z_layout.
perform z_sortinfo using i_sortinfo.
perform z_eventcat using i_eventcat.
perform z_gridtitle.
perform z_listheader using i_listheader.
perform z_display.
*& Form Z_VALIDATIONS
text
--> p1 text
<-- p2 text
form z_validations .
select vbeln into v_vbeln
up to 1 rows
from vbak
where vbeln in s_vbeln.
endselect.
if sy-subrc <> 0.
message i002(sy) with 'No Records'.
v_flag = 'X'.
endif.
endform. " Z_VALIDATIONS
*& Form Z_FIELDCAT
text
-->P_I_FIELDCAT text
form z_fieldcat using p_i_fieldcat type slis_t_fieldcat_alv.
data: i_fieldcat type slis_fieldcat_alv.
*VBAK-VELN
i_fieldcat-col_pos = '1'. " POSITION OF THE COLUMN.
i_fieldcat-fieldname = 'VBELN'. " FIELD FOR WHICH CATALOG ID FILLED.
i_fieldcat-tabname = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD BELONGS TO.
i_fieldcat-key = 'X'. " SO THAT THIS FIELD IS NOT SCROLLABLE AND HIDDABLE.
i_fieldcat-just = 'C'. " FOR JUSTIFICATION.
i_fieldcat-lzero = 'X'. " OUTPUT WITH LEADING ZEROS.
i_fieldcat-seltext_l = 'SALES ORDER'. " LONG TEXT FOR HEADER.
i_fieldcat-outputlen = 15. " SET THE OUTPUT LENGTH.
i_fieldcat-ref_tabname = 'VBAK'. " FOR F1 & F4 HELP AS REFERNCED TO THE DDIC TABLE.
append i_fieldcat to p_i_fieldcat.
*VBAP-SPRAS
i_fieldcat-col_pos = '2'. " POSITION OF THE COLUMN.
i_fieldcat-fieldname = 'SPRAS'. " FIELD FOR WHICH CATALOG ID FILLED.
i_fieldcat-tabname = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD BELONGS TO.
i_fieldcat-lzero = 'X'. " OUTPUT WITH LEADING ZEROS.
i_fieldcat-seltext_l = 'LANGUAGE'. " LONG TEXT FOR HEADER.
i_fieldcat-outputlen = 5. " SET THE OUTPUT LENGTH.
i_fieldcat-ref_tabname = 'TVAUT'. " FOR F1 & F4 HELP AS REFERNCED TO TABLE.
append i_fieldcat to p_i_fieldcat.
*VBAP-AUGRU
i_fieldcat-col_pos = '3'. " POSITION OF THE COLUMN.
i_fieldcat-fieldname = 'AUGRU'. " FIELD FOR WHICH CATALOG ID FILLED.
i_fieldcat-tabname = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD BELONGS TO.
i_fieldcat-lzero = 'X'. " OUTPUT WITH LEADING ZEROS.
i_fieldcat-seltext_l = 'REASON'. " LONG TEXT FOR HEADER.
i_fieldcat-outputlen = 5. " SET THE OUTPUT LENGTH.
i_fieldcat-ref_tabname = 'VBAK'. " FOR F1 & F4 HELP AS REFERNCED TO TABLE.
append i_fieldcat to p_i_fieldcat.
*VBAP-bezei
i_fieldcat-col_pos = '4'. " POSITION OF THE COLUMN.
i_fieldcat-fieldname = 'BEZEI'. " FIELD FOR WHICH CATALOG ID FILLED.
i_fieldcat-tabname = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD BELONGS TO.
i_fieldcat-lzero = 'X'. " OUTPUT WITH LEADING ZEROS.
i_fieldcat-seltext_l = 'DESCRIPTION'. " LONG TEXT FOR HEADER.
i_fieldcat-outputlen = 20. " SET THE OUTPUT LENGTH.
i_fieldcat-ref_tabname = 'TVAUT'. " FOR F1 & F4 HELP AS REFERNCED TO TABLE.
append i_fieldcat to p_i_fieldcat.
*VBAP-POSNR
i_fieldcat-col_pos = '5'. " POSITION OF THE COLUMN.
i_fieldcat-fieldname = 'POSNR'. " FIELD FOR WHICH CATALOG ID FILLED.
i_fieldcat-tabname = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD BELONGS TO.
i_fieldcat-lzero = 'X'. " OUTPUT WITH LEADING ZEROS.
i_fieldcat-seltext_l = 'ITEM'. " LONG TEXT FOR HEADER.
i_fieldcat-outputlen = 8. " SET THE OUTPUT LENGTH.
i_fieldcat-ref_tabname = 'VBAP'. " FOR F1 & F4 HELP AS REFERNCED TO TABLE.
append i_fieldcat to p_i_fieldcat.
*VBAP-MATNR.
i_fieldcat-col_pos = '6'. " POSITION OF THE COLUMN.
i_fieldcat-fieldname = 'MATNR'. " FIELD FOR WHICH CATALOG ID FILLED.
i_fieldcat-tabname = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD BELONGS TO.
i_fieldcat-lzero = 'X'. " OUTPUT WITH LEADING ZEROS.
i_fieldcat-seltext_l = 'MATERIAL'. " LONG TEXT FOR HEADER.
i_fieldcat-outputlen = 10. " SET THE OUTPUT LENGTH.
i_fieldcat-ref_tabname = 'VBAP'. " FOR F1 & F4 HELP AS REFERNCED TO TABLE.
append i_fieldcat to p_i_fieldcat.
*VBAP-ZMENG
i_fieldcat-col_pos = '7'. " POSITION OF THE COLUMN.
i_fieldcat-fieldname = 'ZMENG'. " FIELD FOR WHICH CATALOG ID FILLED.
i_fieldcat-tabname = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD BELONGS TO.
i_fieldcat-lzero = 'X'. " OUTPUT WITH LEADING ZEROS.
i_fieldcat-seltext_l = 'QUANT'. " LONG TEXT FOR HEADER.
i_fieldcat-outputlen = 10. " SET THE OUTPUT LENGTH.
i_fieldcat-ref_tabname = 'VBAP'. " FOR F1 & F4 HELP AS REFERNCED TO TABLE.
append i_fieldcat to p_i_fieldcat.
*MAKT-MAKTX
i_fieldcat-col_pos = '8'. " POSITION OF THE COLUMN.
i_fieldcat-fieldname = 'MAKTX'. " FIELD FOR WHICH CATALOG ID FILLED.
i_fieldcat-tabname = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD BELONGS TO.
i_fieldcat-lzero = 'X'. " OUTPUT WITH LEADING ZEROS.
i_fieldcat-seltext_l = 'DESCRIPTION'. " LONG TEXT FOR HEADER.
i_fieldcat-outputlen = 20. " SET THE OUTPUT LENGTH.
i_fieldcat-ref_tabname = 'MAKT'. " FOR F1 & F4 HELP AS REFERNCED TO TABLE.
append i_fieldcat to p_i_fieldcat.
*LIPS-VBELN
i_fieldcat-col_pos = '9'. " POSITION OF THE COLUMN.
i_fieldcat-fieldname = 'VBELN'. " FIELD FOR WHICH CATALOG ID FILLED.
i_fieldcat-tabname = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD BELONGS TO.
i_fieldcat-lzero = 'X'. " OUTPUT WITH LEADING ZEROS.
i_fieldcat-seltext_l = 'DELIVERY'. " LONG TEXT FOR HEADER.
i_fieldcat-outputlen = 15. " SET THE OUTPUT LENGTH.
i_fieldcat-ref_tabname = 'LIPS'. " FOR F1 & F4 HELP AS REFERNCED TO TABLE.
append i_fieldcat to p_i_fieldcat.
*LIPS-LFIMG
i_fieldcat-col_pos = '10'. " POSITION OF THE COLUMN.
i_fieldcat-fieldname = 'LFIMG'. " FIELD FOR WHICH CATALOG ID FILLED.
i_fieldcat-tabname = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD BELONGS TO.
i_fieldcat-lzero = 'X'. " OUTPUT WITH LEADING ZEROS.
i_fieldcat-do_sum = 'X'.
i_fieldcat-seltext_l = 'LFIMG'. " LONG TEXT FOR HEADER.
i_fieldcat-outputlen = 18. " SET THE OUTPUT LENGTH.
i_fieldcat-ref_tabname = 'LIPS'. " FOR F1 & F4 HELP AS REFERNCED TO TABLE.
append i_fieldcat to p_i_fieldcat.
*parvw
i_fieldcat-col_pos = '11'. " POSITION OF THE COLUMN.
i_fieldcat-fieldname = 'PARVW'. " FIELD FOR WHICH CATALOG ID FILLED.
i_fieldcat-tabname = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD BELONGS TO.
i_fieldcat-lzero = 'X'. " OUTPUT WITH LEADING ZEROS.
i_fieldcat-seltext_l = 'PARTNER FUN'. " LONG TEXT FOR HEADER.
i_fieldcat-outputlen = 18. " SET THE OUTPUT LENGTH.
i_fieldcat-ref_tabname = 'VBPA'. " FOR F1 & F4 HELP AS REFERNCED TO TABLE.
append i_fieldcat to p_i_fieldcat.
*KUNNR
i_fieldcat-col_pos = '12'. " POSITION OF THE COLUMN.
i_fieldcat-fieldname = 'KUNNR'. " FIELD FOR WHICH CATALOG ID FILLED.
i_fieldcat-tabname = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD BELONGS TO.
i_fieldcat-lzero = 'X'. " OUTPUT WITH LEADING ZEROS.
i_fieldcat-seltext_l = 'SHIP'. " LONG TEXT FOR HEADER.
i_fieldcat-outputlen = 18. " SET THE OUTPUT LENGTH.
i_fieldcat-ref_tabname = 'VBPA'. " FOR F1 & F4 HELP AS REFERNCED TO TABLE.
append i_fieldcat to p_i_fieldcat.
*NAME1
i_fieldcat-col_pos = '13'. " POSITION OF THE COLUMN.
i_fieldcat-fieldname = 'NAME1'. " FIELD FOR WHICH CATALOG ID FILLED.
i_fieldcat-tabname = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD BELONGS TO.
i_fieldcat-lzero = 'X'. " OUTPUT WITH LEADING ZEROS.
i_fieldcat-seltext_l = 'NAME'. " LONG TEXT FOR HEADER.
i_fieldcat-outputlen = 18. " SET THE OUTPUT LENGTH.
i_fieldcat-ref_tabname = 'KNA1'. " FOR F1 & F4 HELP AS REFERNCED TO TABLE.
append i_fieldcat to p_i_fieldcat.
endform. " Z_FIELDCAT
*& Form Z_SELECT
text
--> p1 text
<-- p2 text
form z_select .
select vbeln
augru erdat into corresponding fields of table it_vbak
from vbak
where vbeln in s_vbeln.
loop at it_vbak into wa_vbak.
wa_vbak-erdat = '99991231'.
modify it_vbak from wa_vbak transporting erdat.
endloop.
select * from vbak into corresponding fields of table it_vbak
for all entries in it_vbak
where erdat = it_vbak-erdat.
if sy-subrc = 0.
select vbeln
posnr
matnr
zmeng into corresponding fields of table it_vbap
from vbap
for all entries in it_vbak
where vbeln = it_vbak-vbeln.
if sy-subrc = 0.
select spras
augru
bezei into corresponding fields of table it_reason
from tvaut
for all entries in it_vbak
where augru = it_vbak-augru.
if sy-subrc = 0.
select vbeln
parvw
kunnr into corresponding fields of table it_vbpa
from vbpa
for all entries in it_vbak
where vbeln = it_vbak-vbeln.
if sy-subrc = 0.
select kunnr
name1 into corresponding fields of table it_kna1
from kna1
for all entries in it_vbpa
where kunnr = it_vbpa-kunnr.
if sy-subrc = 0.
select posnr
matnr
lfimg into corresponding fields of table it_lips
from lips
for all entries in it_vbap
where posnr = it_vbap-posnr.
if sy-subrc = 0.
select matnr
maktx into corresponding fields of table it_makt
from makt
for all entries in it_vbap
where matnr = it_vbap-matnr.
endif.
endif.
endif.
endif.
endif.
else.
message i002(sy) with 'No Data found'.
leave list-processing.
endif.
if sy-subrc = 0.
loop at it_vbap into wa_vbap.
read table it_vbak into wa_vbak with key vbeln = wa_vbap-vbeln binary search.
if sy-subrc = 0.
*MOVE DATA INTO IT_FINAL.
move: wa_vbak-vbeln to wa_final-vbeln,
wa_vbak-augru to wa_final-augru,
wa_vbap-posnr to wa_final-posnr,
wa_vbap-matnr to wa_final-matnr,
wa_vbap-zmeng to wa_final-zmeng.
endif.
read table it_lips into wa_lips with key posnr = wa_final-posnr binary search.
if sy-subrc = 0.
move: wa_lips-lfimg to wa_final-lfimg.
endif.
read table it_reason into wa_reason with key augru = wa_final-augru binary search.
if sy-subrc = 0.
move: wa_reason-spras to wa_final-spras,
wa_reason-bezei to wa_final-bezei.
endif.
read table it_makt into wa_makt with key matnr = wa_final-matnr binary search.
if sy-subrc = 0.
move: wa_makt-maktx to wa_final-maktx.
endif.
read table it_vbpa into wa_vbpa with key vbeln = wa_final-vbeln binary search.
if sy-subrc = 0.
move: wa_vbpa-parvw to wa_final-parvw,
wa_vbpa-kunnr to wa_final-kunnr.
endif.
read table it_kna1 into wa_kna1 with key kunnr = wa_final-kunnr binary search.
if sy-subrc = 0.
move: wa_kna1-name1 to wa_final-name1.
endif.
append wa_final to it_final.
clear wa_final.
endloop.
endif.
endform. " Z_SELECT
*& Form Z_LAYOUT
text
--> p1 text
<-- p2 text
form z_layout .
i_layout-zebra = 'X'.
i_layout-totals_text = 'Total'(a00).
i_layout-subtotals_text = 'SubTotal'(a01).
i_layout-box_tabname = 'IT_FINAL'.
endform. " Z_LAYOUT
*& Form Z_SORTINFO
text
-->P_I_SORTINFO text
form z_sortinfo using p_i_sortinfo type slis_t_sortinfo_alv.
data: i_sortinfo type slis_sortinfo_alv.
clear i_sortinfo.
i_sortinfo-spos = '1'.
i_sortinfo-fieldname = 'VBELN'.
i_sortinfo-tabname = 'IT_FINAL'.
i_sortinfo-up = 'X'.
i_sortinfo-group = 'UL'. " I.E UNDERLINE AFTER EVERY GROUP
i_sortinfo-subtot = 'X'.
append i_sortinfo to p_i_sortinfo.
endform. " Z_SORTINFO
*& Form Z_EVENTCAT
text
-->P_I_EVENTCAT text
form z_eventcat using p_i_eventcat type slis_t_event.
data: i_event type slis_alv_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = p_i_eventcat
exceptions
list_type_wrong = 1
others = 2.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
clear i_event.
read table p_i_eventcat with key name = slis_ev_top_of_page into
i_event.
if sy-subrc = 0.
move 'TOP_OF_PAGE' to i_event-form.
append i_event to p_i_eventcat.
endif.
read table p_i_eventcat with key name = slis_ev_pf_status_set into i_event.
if sy-subrc = 0.
move 'SET_PF_STATUS' to i_event-form.
append i_event to p_i_eventcat.
endif.
clear i_event.
read table p_i_eventcat into i_event with key name = slis_ev_user_command .
if sy-subrc = 0.
move 'USER_COMMAND' to i_event-form.
append i_event to p_i_eventcat.
endif.
endform. " Z_EVENTCAT
*& Form Z_DISPLAY
text
--> p1 text
<-- p2 text
form z_display .
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = v_progname
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
i_callback_top_of_page = 'TOP_OF_PAGE'
i_grid_title = v_gridtitle
i_save = 'A'
is_layout = i_layout
it_fieldcat = i_fieldcat[]
it_sort = i_sortinfo
it_events = i_eventcat
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
tables
t_outtab = it_final
exceptions
program_error = 1
others = 2
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
endform. " Z_DISPLAY
*& Form Z_GRIDTITLE
text
--> p1 text
<-- p2 text
form z_gridtitle .
v_gridtitle = 'ALV FOR SALES ORDER DISPLAY'.
endform. " Z_GRIDTITLE
*TOP OF PAGE.
form top_of_page.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = i_listheader.
endform. "TOP_OF_PAGE
*MENU SETTINGS.
form set_pf_status using rt_extab type slis_t_extab.
set pf-status 'ALV_MENU'.
endform. "SET_PF_STATUS
*USER-COMMAND
form user_command using p_ucomm type sy-ucomm
rs_selfield type slis_selfield.
data : vbeln type vbeln_va.
case p_ucomm.
when 'BACK'.
leave program.
when '&IC1'.
clear : vbeln.
vbeln = rs_selfield-value.
set parameter id: 'AUN' field vbeln.
call transaction 'VA03' and skip first screen.
endcase.
endform. " USER_COMMAND
*& Form Z_LISTHEADER
text
-->P_I_LISTHEADER text
form z_listheader using p_i_listheader type slis_t_listheader.
data: l_listheader type slis_listheader.
refresh p_i_listheader.
clear l_listheader.
l_listheader-typ = 'H'.
l_listheader-info = text-001.
append l_listheader to p_i_listheader.
clear l_listheader.
l_listheader-typ = 'H'.
l_listheader-info = text-002.
append l_listheader to p_i_listheader.
endform. " Z_LISTHEADER
*& Form check_validation_flag
text
--> p1 text
<-- p2 text
form check_validation_flag .
if not v_flag is initial.
leave list-processing.
endif.
endform. " check_validation_flag
*& Form Z_DEFAULT_VARIANT
text
--> p1 text
<-- p2 text
form z_default_variant .
i_variant-report = v_progname.
call function 'REUSE_ALV_VARIANT_DEFAULT_GET'
exporting
i_save = 'A'
changing
cs_variant = i_variant
exceptions
wrong_input = 1
not_found = 2
program_error = 3
others = 4.
if sy-subrc = 0.
p_vari = i_variant-variant.
D_VARI = P_VARI.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endform. " Z_DEFAULT_VARIANT
*& Form ZF_CHECK_VAR_EXIST
text
--> p1 text
<-- p2 text
form zf_check_var_exist .
data: l_variant like disvariant.
if not p_vari is initial.
clear l_variant.
l_variant-report = v_progname.
l_variant-variant = p_vari.
call function 'REUSE_ALV_VARIANT_EXISTENCE'
exporting
i_save = 'U'
changing
cs_variant = l_variant
exceptions
wrong_input = 1
not_found = 2
program_error = 3
others = 4.
if sy-subrc = 0.
clear i_variant.
move: l_variant-variant to i_variant-variant,
l_variant-report to i_variant-report.
else.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
endif.
endform. " ZF_CHECK_VAR_EXIST
*& Form ZF_VARIANT_F4
text
--> p1 text
<-- p2 text
form zf_variant_f4 .
data: x_variant like disvariant.
call function 'REUSE_ALV_VARIANT_F4'
exporting
is_variant = i_variant
I_TABNAME_HEADER =
I_TABNAME_ITEM =
IT_DEFAULT_FIELDCAT =
i_save = 'U'
i_display_via_grid = 'X'
importing
E_EXIT =
es_variant = x_variant
exceptions
not_found = 1
program_error = 2
others = 3
if sy-subrc = 0.
p_vari = x_variant-variant.
d_vari = p_vari.
clear i_variant.
move: x_variant-variant to i_variant-variant,
x_variant-report to i_variant-report.
else.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
endform. " ZF_VARIANT_F4
Regards,
Pritha. -
How to enable NI PXI-5645 IQ outputs with niRFGS SFP
How do I enable the IQ outputs on the PXI-5645R VST using the RFSG SFP?
Like Jason said, at this point there are no test panels for the IQ In or Out ports of the PXIe-5645R. It is good to hear that's something you would have found useful, as that helps us prioritize better that task.
To use the IQ ports, you can use the Sample Project that Jason refers to if you want to program using the Instrument Design Libraries. Alternatively, you can use the IQ ports directly from the RFSG and RFSA drivers if you want.
If you want to go the RFSA/RFSG route and do not have reference code on how to use the IQ ports, here is some information about where to find the properties to enable and configure the IQ Out port in RFSG. Please refer to the documentation of those properties for more information. RFSA has very similar properties which are also accessible from within the Device Specific category.
I wish I could point you to an example, but unfortunately RFSA and RFSG do not currently ship an example on how to use them. That's something we need to work on.
JMota - NI R&D -
I need to know how to copy
pictures to a cd with the captions showing, elements 8, windows 7Here are some suggestions. Perhaps others will have even better ideas.
1 -- for viewing on a Windows computer, you can experiment with making a PSE Organizer slide show creation in which you specify to show the captions. Then save the Output of the slide show as a WMV file that the recipient could play on a computer with Windows Media Player.
If you have a DVD burner on your PC, you can also use that WMV file as input to the Windows 7 DVD Maker program for making a TV playable DVD. And if your recipient(s) who will view on a computer have DVD readers, you could make video DVDs playable on computers or TV DVD players instead of using CDs.
The limitations of this approach are that this wmv file you create is really a video file so
-- it advances photo slides at the rate specified when you create the slide show
-- the choices to save a wmv file are not very high resolution so that recipients who have high resolution monitors will not see the photo images are not getting the benefit of seeing the photos at their best
-- your recipients can't print from this video slide show
2 An entirely different approach is to
-- For each individual photo, make a copy of the photo file and depending on how high resolution your originals you might want to resize down to monitor viewing sizes.
-- Then use the PSE Editor Text Tool to place the caption on a layer above the photo. (I think that you could display the existing caption and then do a copy and paste so that you don't need to retype everything.)
-- You should save this photo copy with the text as a uniquely named JPEG file. Use the file names to control the sequence in which you want the viewer to see the photos. (Don't save as a PSD because others probably can't read the PSD format).
-- Then use your computers CD burning software to burn a folder containing all those jpeg files with the captions to CD
This approach is a bit of work for each photo and you did not say how many photo files you will be doing. However,
-- computer users should be able to display the jpegs as high resolution photos on their computer as well as optionally print from those photo files
-- many TV DVD players can play (display) jpg files from a CD disc which also gives recipients the opportunity to view the photos on their larger TV screen
Process 2 may seem complicated but once you get started I think it will be more of a production line.
ADDITION
Do you have any portrait orientation photos included with those you wish to send ? If yes, we might need to discuss some additional processing for them. -
How to maintain pixel size when exporting?
When exporting an edited image (ex: 20 MB) from Aperture to a desktop folder, I choose file>export>versions>jpeg original. When I open the exported image in the desktop folder (it opens in preview), the Tools/Inspector window says that the image is now only 2MB. This has not always happened. Can someone tell me what I might be doing or not doing that is causing this, or what settings I need to change?
Thank you.golindy,
JPEG is a lossy format that relies on two ways of reducing the file size. The first is the lossy part that throws away data that is percieved to be unimportant for human vision, the resulting data is then further compressed losslessly using the same type of compression zip uses (this is why zipping a JPEG doesn't lead to further size reduction).
The more you throw away in the first part, the more likely the image is to suffer from 'compression artefacts'. The number you select on export determines how much data gets thrown away.
I don't know what '12' officially means for Apple, but from eyeballing files, it seems like it throws away pretty close to zero. So a file output with 12 is top quality.
Aperture has always worked the same way here, it hasn't changed during any update.
However, some things that may affect it are:
1) The effeciciency of the both compression algorithms seems to improve over time.
So a year ago, a 20 Mega Pixel image might compress down to a 5MB file using a quality setting of 10. Today that very same file may compress down to a 4MB file at quality 10. But it's important to note, the quality of the file will be the same, quality 10. All that has happened is the more efficient algorithm has allowed an extra 1MB of file space saving.
2) The raw converters periodically get improved with new rendering. One area that has continually improved in Apeture is noise supression and more natural sharpening.
These impact the first part of the compression process. A noisy image with harsh shapening will compress less than a clean image with more subtle sharpening. So better raw processing can also impact the exported size. Note, this one works in both directions, an improved conversion that resolves more details will output a larger file size, whereas an improved conversion that gives less noise will output a smaller file size.
So in your case, I think what was happening was you were not losing quality, just gaining file size efficiency, and now you have changed to quality 12, you are exploiting that file space saving by now outputting higher quality files.
Andy -
Hp pavilion ms235 how do I connect to a tv with a HDMI input?
how do I connect to a TV with a HDMI input? Can I use a USB graphics adapter?
Here are the specs for your HP Pavilion All-In-One MS235 Desktop Computer. Based on the specs, your computer doesn't appear to have a video output of any kind. A USB-to-video adapter such as the EVGA UV Plus+ UV39 will be required to connect your HDTV to your computer.
Frank
{------------ Please click the "White Kudos" Thumbs Up to say THANKS for helping.
Please click the "Accept As Solution" on my post, if my assistance has solved your issue. ------------V
This is a user supported forum. I am a volunteer and I don't work for HP.
HP 15t-j100 (on loan from HP)
HP 13 Split x2 (on loan from HP)
HP Slate8 Pro (on loan from HP)
HP a1632x - Windows 7, 4GB RAM, AMD Radeon HD 6450
HP p6130y - Windows 7, 8GB RAM, AMD Radeon HD 6450
HP p6320y - Windows 7, 8GB RAM, NVIDIA GT 240
HP p7-1026 - Windows 7, 6GB RAM, AMD Radeon HD 6450
HP p6787c - Windows 7, 8GB RAM, NVIDIA GT 240 -
How do I take 300 dpi photos with my iPhone 4s?
And how do I export them to my MacBook Pro at 300 dpi to use as I want to print photos.
I have been using the standard camera on the iPhone and require 300 dpi to create photo books as the photos are resized according the layout.
Your time and assistance in appreciated.
ThanksThanks Tonefox!
After looking at a few of the links I found a mathematical equation that assisted me.
Inches = Pixels/DPI
eg: 3 inches = 300 pixels/100 DPI
Using this equation and the fact that iPhone 4s takes photos that are 3264 x 2448 I was able to work out the largest print I could make with 300 DPI.
Width 3264 pix/ 300 DPI = 10.88 inches
Height 2448 pix/ 300 DPI = 8.16 inches
Therefore, the largest print (with 300DPI) I can make of these photos is 10.88 inches x 8.16 inches.
Which is great!
So is it critical for me to change the dpi in say photoshop or does it not matter as long as I don't go above the 10.88 inches x 8.16 inches?
From what I can gather the smaller I resize the photo the higher the DPI and the bigger I stretch the photo the lower the DPI?
Further clarification will be much appreciated. Thanks
Maybe you are looking for
-
Question on functions etc.
Say for instance I declared in a function called Function1 an array e.g. int [] sumarr = new int [4]; Then I filled the array with values. How can I use this array(with contents) in another function, say function2. How do I call it in main if it hasn
-
How can i get process id of the java program being executed in the unix environment programatically .
-
Yes, I am working. I work for a 3rd party insurance company as a work at home agent. I have attempted on several try to shadow some one in the IT department at the company on my on time and that was not granted. I have sent out several resumes applyi
-
Nokia 6111 camera flash wont turn off
Hello, can someone help, ive got a nokia 6111 and the flash wont turn off. I've went into the camera function and turned the flash off but its still on! its very annoying can someone help?
-
i bought fifa 11 for my ipod touch 4g but it doesnt install. it says "resource modified". what to do?