TOSLink output to Analog Issue
Hi All,
My ATV hooks up fine to my projector for video, (ATV GaffTaped to Projector, HDMI jumper, Point at BigAss Screen, Apply Power, Done).
The Audio is becoming a challenge.
I'd like, ideally, to take the Optical Output from the ATV via a TOSlink Cable to a "stripper/converter black box" & send Analog (L,R,Lr,Rr & Sub) outputs to my amp rack & out to speakers.
TOSLink in, 5 (or 7) Channel Analog Out.
This seems like a no-brainer solution, but I can't find that 'black box'.
Any Ideas for less than $500 ?
Thanks....
Thanks capaho,
I currently have that solution for the living room.
The ATV/Projector System is to be portable. I work with Standard PA gear in theater & music production. I guess I can try & come up with a Consumer AV Receiver that will split out the signals. I was looking for something simpler & more elegant to install in the rack, haul out to the Back Deck or tote around.
Hi, Alley_Cat,
Right now I have my old monitor rack w/4 Stereo 500w QSC Amps, (Line Level 1/4" & Balanced XLR Inputs, Banana Post Outs) & some assorted Monitor Wedges & Side Fill Cabinets, (JBL, EV, etc..). I may Cross Over & Bi-Amp them, maybe not.
@ the moment I only have the option, w/the ATV, to feed them a stereo signal.
It looks as if a new receiver is the answer, my surviving pair of RCA RC2250's only have Coax, TOSLink & 6 Channels of Line Level Surround Input. Six Channels of output would be nice.
I guess RCA thought someone had a way to get six discreet line level outputs out of of something and into their Receiver...
Hi tmartine ,
$500 was a high ballpark, $200 may be doable, 7.1 would be sweet in a big outdoor situation.
We have Gasparilla here in Tampa the week after the Superbowl & Pirate Movies the night before the Parade has become a household tradition. This year I'm going for a friend's used Spinnaker Sail in the Side Yard for a 15' x 20' Projection Surface, Big Image demands some big robust Rock & Roll sound gear. We burned up an RCA 2250 Surround Receiver last year.
Thanks again folks.
Similar Messages
-
Where do I find a TosLink, Optical to Analog Audio for the Optical Output on the Apple TV 2?
click here for information.
-
Output Cannot Be Issued.
when i give an outbound delivery in VL02N trasaction and tried to issue delivery output and select the messagetype-->printpreview. the information message is displayed saying OUTPUT CANNOT BE ISSUED.
Can anyone tell me where to make the changes so that i can see the preview of the form?Hello,
This is something to do with the settings.
However, if you want to check the Print Preview then simply use this T-code SP02 and in the Type...you can find a Document...try to DOuble click on It.
You can access your print Privew.
This will fix the issue....
If you still have any issues to access yoru Print Preview then please let me know.
Reward points if is very helpful
Regards,
Kittu
Edited by: Kittu on Jul 4, 2008 8:10 AM -
Creating output type for issuing print
hello friends
can anybody tell me the process or steps to create output type to issue printHI.
Goto NACE transaction.
Select the application for whch you want to create the output type. For ex. select v3 for invoice.
Click on 'Output Types' button on application toolbar.
Click on 'New Entries'.
Click on Processing Routines on the left-side to enter the driver program and SAPscript/Smartform name.
Regards.
Jay -
Can I convert the optical output to analog via a converter for zone 2 audio? I would continue using the HDMI for the main zone. Can I use both of these simultaneously? Zone 2 only supports analog on this receiver.
These will probably help.
[http://www.jsresources.org/examples/audio_conversion.html] -
how can i synchronize analog output and analog input timings to generate and measure voltage at the same time.
Read this Tutorial
http://zone.ni.com/devzone/cda/tut/p/id/3615#toc3
And also refer to this link where You have repeated this question.
PS: Please stick to one thread. That way, its easier to keep track of your query and answers -
Apple tv3 toslink output no sound
I have bough an Apple TV3 only to see the the audio output is toslink and not 3.5mm jack, which is what I have. All the sound systems I found with toslink wore too expensive so following a comment of another user here https://discussions.apple.com/thread/3083434?start=0&tstart=0
I bough a toslink to rca converter. So I´m sending the audio from toslink to the converter, then from the converter I have an RCA cable that turns into a 3.5mm jack.
I have my Apple TV3 connected to my projector thru HDMI, but it is sending the sound to the projector aswell (which has horrible sound quality). So how do I get it to send the sound thru the toslink exit instead?
thank youThe first thing to determine with the audio is to find out which device is a having a problem by using either one (or preferably both) with another known working device.
if your Mac can see 10 other networks it is without much doubt experiencing interference.
Intermittent problems are often a result of interference. Interference can be caused by other networks in the neighbourhood or from household electrical items.
You can download and install iStumbler (NetStumbler for windows users) to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
Refer to your router manual for instructions on changing your wifi channel or adjusting your multicast rate.
There are other types of problems that can affect networks, but this is by far the most common, hence worth mentioning first. Networks that have inherent issues can be seen to work differently with different equipment, doing different things, in different locations. You might also try moving the Apple TV away from other electrical equipment. -
No output sound from output port/analog audio: Need help
hello, I want to connect my analog audio equipment to my iMac. I have done this in the past with my old G3. I have connected the RCA cables to a 3.5 mm jack and put it into the audio input port, which was what worked on the G3. When I open the sound page for input & output, on Output I can see the volume bar thing moving in relation to the sounds from mic, turntable, etc: all the analog audio things. However, there is no actual output of sound through the iMac;s speakers or a headphone. The output page is pretty simple so I am real sure I have all the rigt things checked, unchecked etc. Any ideas? Thanks.
I had what sounds like a similar problem to jazzzrat. i had my macbook setup to a stereo and it worked for over a year. suddenly no sound came out of the stereo. in my case, it definitely was a software setup thing.
plug in your stereo jack into the audio out port. then go to system preferences-->sound-->output. on there you should see, under "device for sound output": Name=Headphones, port=built-in output. (if you see name=built in speakers, you plugged in the wrong plug). Now go down to the bottom of the window and UNcheck the "mute" box, and make sure the volume slider is midway or more.
For some reason, mac allows you to mute the "headphones" and "built in speakers" selectively. we have no idea how that box got checked, that remains a complete mystery. but when we eventually found -- and unchecked -- the box, our stereo output came back just fine.
i hope this works for you. good luck and have a good new year. -
SMARTFORMS: 'OUTPUT CANNOT BE ISSUED error
Hi,
I have designed a smartform for Delivery document. One of the delivery has 700 lines of Packing for 1 single line item. When I execute this delivery, the output is not displayed The error message is "the output could not be issued".
In debug mode I find that it is giving error in function module SSFCOMP_WRITE_TEXT for the 518th line of the packing list. The data in this line is similar to previous lines and there does not seem to be anything different in this line. The function module is returning sy-subrc = 2.
if i reduce the packings to 517lines, then the document gets printed correctly. Otherwise it gives an error.
I need to display the line item alongwith the entire packing lines.
Please help.
Thanks and Regards,
shilpaHi Shilpa,
First don't run thro the program.
u just activate the smartform and then execute the Smartform. then u see the exception. the error belongs to window size is not enough space to write the text. Maybe it is overlapping the other windows.
So correct the window size then u run thro the program.
Otherwise it is related to Alignment problem. That means check margins and positions.
- Selvapandian Arunachalam -
Media Encoder "Could not write XMP data in output file." issue
Greetings,
We have invested a great deal of money and time into a brand new editting system and we need some help with adobe media encoder. We are trying to export some of our projects and we keep getting the same error. Here is the entire log of errors:
Could not write XMP data in output file.
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_6.prproj
- Output File: M:\acura_rooftop_43_draft_1.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:17:23
2/4/2010 1:42:28 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_7.prproj
- Output File: C:\Users\Ramius\Desktop\acura_rooftop_43draft_1.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:02:09
2/4/2010 1:54:21 PM : Encoding Failed
The Operation was interrupted by user
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_9.prproj
- Output File: C:\Users\Ramius\Desktop\acura_rooftop_43draft_1.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:16:04
2/4/2010 2:19:49 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_10.prproj
- Output File: C:\Users\Ramius\Desktop\acura_rooftop_HD_draft_1.mp4
- Preset Used: HDTV 1080p 29.97 High Quality
- Video: NTSC, 1920x1080, 29.97 [fps], Progressive
- Audio: AAC, 160 [kbps], 48 kHz, Stereo
- Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
- Encoding Time: 00:01:38
2/4/2010 2:30:31 PM : Encoding Failed
The Operation was interrupted by user
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_11.prproj
- Output File: C:\Users\Ramius\Desktop\acura_HD.mp4
- Preset Used: HDTV 1080p 29.97 High Quality
- Video: NTSC, 1920x1080, 29.97 [fps], Progressive
- Audio: AAC, 160 [kbps], 48 kHz, Stereo
- Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
- Encoding Time: 00:00:38
2/4/2010 3:19:31 PM : Encoding Failed
The Operation was interrupted by user
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_12.prproj
- Output File: C:\Users\Ramius\Desktop\acura_HD.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:01:08
2/4/2010 3:31:37 PM : Encoding Failed
The Operation was interrupted by user
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_17.prproj
- Output File: C:\Users\Ramius\Desktop\acura_HD.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:15:31
2/4/2010 4:21:06 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_19.prproj
- Output File: M:\GRAPHICS\cow_graphics\acura_HD.mp4
- Preset Used: HDTV 1080p 29.97 High Quality
- Video: NTSC, 1920x1080, 29.97 [fps], Progressive
- Audio: AAC, 160 [kbps], 48 kHz, Stereo
- Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
- Encoding Time: 00:00:24
2/4/2010 5:16:54 PM : Encoding Failed
The Operation was interrupted by user
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_16.prproj
- Output File: C:\Users\Ramius\Desktop\mxf.mpg
- Preset Used: 1440 x 1080i 29.97 High Quality
- Video: NTSC, 1440x1080, 29.97 drop frame [fps], Upper, Quality 4.0
- Audio: 384 [kbps], 48 kHz, 16 bit, Stereo, MPEG
- Bitrate: VBR, 1 Pass, Min 4.00, Target 15.00, Max 18.50 [Mbps]
- Encoding Time: 00:05:08
2/23/2010 12:12:40 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_18.prproj
- Output File: M:\AVI\ihigh_avi\GAR\Marines\marinespromo_2009.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:04:00
2/23/2010 12:26:54 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_19.prproj
- Output File: M:\AVI\ihigh_avi\GAR\Marines\marinespromo_2009.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:05:08
2/23/2010 12:51:01 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_23.prproj
- Output File: C:\Users\Ramius\Desktop\allhdtest2.mpg
- Preset Used: 1440 x 1080i 29.97 High Quality
- Video: NTSC, 1440x1080, 29.97 drop frame [fps], Upper, Quality 4.0
- Audio: 384 [kbps], 48 kHz, 16 bit, Stereo, MPEG
- Bitrate: VBR, 1 Pass, Min 4.00, Target 15.00, Max 18.50 [Mbps]
- Encoding Time: 00:04:20
2/23/2010 4:23:46 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_27.prproj
- Output File: C:\Users\Ramius\Desktop\Sequence 07.mp4
- Preset Used: HDTV 1080p 29.97 High Quality
- Video: NTSC, 1920x1080, 29.97 [fps], Progressive
- Audio: AAC, 160 [kbps], 48 kHz, Stereo
- Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
- Encoding Time: 00:09:11
3/2/2010 3:21:19 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_28.prproj
- Output File: C:\Users\Ramius\Desktop\Sequence 07_1.mp4
- Preset Used: HDTV 1080p 29.97 High Quality
- Video: NTSC, 1920x1080, 29.97 [fps], Progressive
- Audio: AAC, 160 [kbps], 48 kHz, Stereo
- Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
- Encoding Time: 00:09:00
3/2/2010 3:34:47 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_29.prproj
- Output File: C:\Users\Ramius\Desktop\Sequence 07_2.mp4
- Preset Used: HDTV 1080p 29.97 High Quality
- Video: NTSC, 1920x1080, 29.97 [fps], Progressive
- Audio: AAC, 160 [kbps], 48 kHz, Stereo
- Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
- Encoding Time: 00:10:22
3/2/2010 4:41:03 PM : Encoding Failed
Error compiling movie.
Unknown error.
We absolutely need to fix this issue ASAP, we are in a major bind until we can resolve this issue. Thanks a bunch.We are using Windows 7
dual quadcore intel xeon processors 8gb ram
10000rpm internal drives. quadroefx 1800 video card
The drive is 4tb
We have tried exporting to many different locations with no luck
Its a very nice video editting system. We just need to figure out this exporter -
UTL FILE OUTPUT FILE FORMAT ISSUE ON ORACLE 11G
how to format util file output align with column value with proper format.
set serveroutput on
DECLARE
CURSOR h1
IS
select 'TOTAL_ACCOUNT_REJECTS' as TOTAL_ACCOUNT_REJECTS ,
'PC' as PC ,
'RT' as RT,
'SERIAL' as SERIAL
from dual;
-- l_app_nm := RTRIM( TRIM( l_line ), CHR(13) );
CURSOR c1
IS
SELECT
company ,
user,
app,
account
FROM account_auth
WHERE ROWNUM < = 5;
lc_file_handle UTL_FILE.file_type;
lc_file_dir VARCHAR2 (100);
lc_file_name VARCHAR2 (50);
gov_005_payment_rec VARCHAR2 (1000);
BEGIN
lc_file_dir := 'OUTB';
lc_file_name := 'test.txt';
lc_file_handle := UTL_FILE.fopen (lc_file_dir, lc_file_name, 'W',1024);
FOR i IN h1
LOOP
gov_005_payment_rec :=
i.TOTAL_ACCOUNT_REJECTS
||' '
|| i.PC
|| ' '
|| i.RT
|| ' '
|| i.SERIAL;
UTL_FILE.put_line (lc_file_handle, gov_005_payment_rec);
END LOOP;
FOR i IN c1
LOOP
gov_005_payment_rec :=
i.company
||' '
|| i.user
||' '
|| i.app
||' '
|| i.account;
UTL_FILE.put_line (lc_file_handle, gov_005_payment_rec);
END LOOP;
EXCEPTION
WHEN UTL_FILE.INVALID_PATH THEN DBMS_OUTPUT.PUT_LINE('Invalid
path!');
WHEN UTL_FILE.INVALID_MODE THEN DBMS_OUTPUT.PUT_LINE('Invalid
mode!');
WHEN UTL_FILE.INVALID_OPERATION THEN DBMS_OUTPUT.PUT_LINE('Invalid
operation!');
WHEN OTHERS
RAISE;
END ;
OUTPUT : issue with file format
TOTAL_ACCOUNT_REJECTS PC RT SERIAL
&&&&&846 000000000000 APPLICATION123 20570
&&&&284 000000000000 APPLICATION133 20570
&&&2&&846 000000000000 APPLICATION163 20570
EXPECTED output ==> please advise me , how to create proper formatted output file using utl_file? thanks in advance.
TOTAL_ACCOUNT_REJECTS PC RT SERIAL
&&&&&846 000000000000 APPLICATION123 20570
&&&&284 000000000000 APPLICATION133 20570
&&&2&&846 000000000000 APPLICATION163 20570Example of creating a fixed width format file for a dynamically provided query, using the DBMS_SQL package...
As SYS user:
CREATE OR REPLACE DIRECTORY TEST_DIR AS '\tmp\myfiles'
GRANT READ, WRITE ON DIRECTORY TEST_DIR TO myuser
As myuser:
CREATE OR REPLACE PROCEDURE run_query(p_sql IN VARCHAR2
,p_dir IN VARCHAR2
,p_header_file IN VARCHAR2
,p_data_file IN VARCHAR2 := NULL) IS
v_finaltxt VARCHAR2(4000);
v_v_val VARCHAR2(4000);
v_n_val NUMBER;
v_d_val DATE;
v_ret NUMBER;
c NUMBER;
d NUMBER;
col_cnt INTEGER;
f BOOLEAN;
rec_tab DBMS_SQL.DESC_TAB;
col_num NUMBER;
v_fh UTL_FILE.FILE_TYPE;
v_samefile BOOLEAN := (NVL(p_data_file,p_header_file) = p_header_file);
BEGIN
c := DBMS_SQL.OPEN_CURSOR;
DBMS_SQL.PARSE(c, p_sql, DBMS_SQL.NATIVE);
d := DBMS_SQL.EXECUTE(c);
DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
FOR j in 1..col_cnt
LOOP
CASE rec_tab(j).col_type
WHEN 1 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
WHEN 2 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_n_val);
WHEN 12 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_d_val);
ELSE
DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
END CASE;
END LOOP;
-- This part outputs the HEADER
v_fh := UTL_FILE.FOPEN(upper(p_dir),p_header_file,'w',32767);
FOR j in 1..col_cnt
LOOP
CASE rec_tab(j).col_type
WHEN 1 THEN v_finaltxt := v_finaltxt||rpad(lower(rec_tab(j).col_name),rec_tab(j).col_max_len,' ');
WHEN 2 THEN v_finaltxt := v_finaltxt||rpad(lower(rec_tab(j).col_name),rec_tab(j).col_max_len,' ');
WHEN 12 THEN v_finaltxt := v_finaltxt||rpad(lower(rec_tab(j).col_name),greatest(19,length(rec_tab(j).col_name)),' ');
END CASE;
END LOOP;
UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
IF NOT v_samefile THEN
UTL_FILE.FCLOSE(v_fh);
END IF;
-- This part outputs the DATA
IF NOT v_samefile THEN
v_fh := UTL_FILE.FOPEN(upper(p_dir),p_data_file,'w',32767);
END IF;
LOOP
v_ret := DBMS_SQL.FETCH_ROWS(c);
EXIT WHEN v_ret = 0;
v_finaltxt := NULL;
FOR j in 1..col_cnt
LOOP
CASE rec_tab(j).col_type
WHEN 1 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_v_val);
v_finaltxt := v_finaltxt||rpad(nvl(v_v_val,' '),rec_tab(j).col_max_len,' ');
WHEN 2 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_n_val);
v_finaltxt := v_finaltxt||rpad(nvl(to_char(v_n_val,'fm99999999999999999999999999999999999999'),' '),rec_tab(j).col_max_len,' ');
WHEN 12 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_d_val);
v_finaltxt := v_finaltxt||rpad(nvl(to_char(v_d_val,'DD/MM/YYYY HH24:MI:SS'),' '),greatest(19,length(rec_tab(j).col_name)),' ');
END CASE;
END LOOP;
UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
END LOOP;
UTL_FILE.FCLOSE(v_fh);
DBMS_SQL.CLOSE_CURSOR(c);
END;
This allows for the header row and the data to be written to seperate files if required.
e.g.
SQL> exec run_query('select * from emp','TEST_DIR','output.txt');
PL/SQL procedure successfully completed.
Output.csv file contains:
empno ename job mgr hiredate sal comm deptno
7369 SMITH CLERK 7902 17/12/1980 00:00:00800 20
7499 ALLEN SALESMAN 7698 20/02/1981 00:00:001600 300 30
7521 WARD SALESMAN 7698 22/02/1981 00:00:001250 500 30
7566 JONES MANAGER 7839 02/04/1981 00:00:002975 20
7654 MARTIN SALESMAN 7698 28/09/1981 00:00:001250 1400 30
7698 BLAKE MANAGER 7839 01/05/1981 00:00:002850 30
7782 CLARK MANAGER 7839 09/06/1981 00:00:002450 10
7788 SCOTT ANALYST 7566 19/04/1987 00:00:003000 20
7839 KING PRESIDENT 17/11/1981 00:00:005000 10
7844 TURNER SALESMAN 7698 08/09/1981 00:00:001500 0 30
7876 ADAMS CLERK 7788 23/05/1987 00:00:001100 20
7900 JAMES CLERK 7698 03/12/1981 00:00:00950 30
7902 FORD ANALYST 7566 03/12/1981 00:00:003000 20
7934 MILLER CLERK 7782 23/01/1982 00:00:001300 10
The procedure allows for the header and data to go to seperate files if required. Just specifying the "header" filename will put the header and data in the one file.
Adapt to output different datatypes and styles are required (this is currently coded for VARCHAR2, NUMBER and DATE) -
EDI/ALE output Post Goods Issue from ME2O
Dear experts,
I have to create an outbound IDoc (I assume MBGMCR03) of a Goods issue done with ME2O (mvt type 541).
So far I have read through:
http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=88113280
http://scn.sap.com/thread/3146742
http://scn.sap.com/thread/2056081
but they all talk about printing the message - I need to create an IDoc.
In NACE:
- Application "ME"
- but which condition record can I choose?
- output types are all set up with print parameters - no EDI/ALE as far as I can see. Do I have to create new ones?
Can you please help on how to set this up in NACE?
Next step would be MN21 for the output condition record I assume,
WE20 to define output for logical system.
Thank you for your help.
Best regards,
PeterDear experts,
I am a little further now.
I used output condition WA01 which is already set up in NACE and in MN23 I set up:
In SP01 I can see the created Spool entries after creating the Good issue with ME2O. So the print out would work. But I need an EDI output....
I created a new output condition ZWA1 in NACE and set "Processing routines" to EDI.
I set "Partner functions" to EDI and LS - logical system.
In MN23 I have:
I set Event Type to "WA" because when I look at a material document in MB03 it also shows WA:
In WE20 I have my LS - logicals system and set up the output for MBGMCR03:
What confuses me is: I have to send the EDI output to a LS - logical system. But in MN23 I can't set the LS - it gives error: "You cannot enter a partner function for output ZWA1"
No IDoc is created so far - please help. Thank you.
Best regarsd,
Peter -
Please help with C code to synchronize counter output to analog input
Hi All,
I am using NI DAQ USB-6353 with text-based C code to control it. I would like to send a continuous pulse train from the DAQ to pulse a power supply, which then activates an electron beam producing current to be read by the analog input port of the same DAQ. I would like to keep only the analog samples during the pulse peak and samples of a couple pulse widths right after. I am successfully to generate a pulse train using the sampled clock from a counter output channel, but fail to use the same clock to synchronize the pulse train with the analog input. DAQmxReadAnalogF64 is not called by the static function EveryNCallback set for the analog input task. Am I doing something wrong with the following codes? It would be great if it turns out only I am using the wrong sampled clock name of the counter ("dev1/PFI8") for the analog input. Or is something more fundamental that a counter cannot be sync. with an analog input?
Would someone be able to send me a link to an example in C or C++ or visual basic showing how to synchronize a buffered sample clocked digital pulse train from a counter output channel to an analog input? To simplify the post, the below codes do not include the static functions EveryNCallback and DoneCallBack, but I can send them if needed.
Many thanks in advance for your help,
Thuc Bui
//setting operation parameters
double initDelay = 0.0, freq = 10;
double dutyCycle = 0.0001; //thus pulse width is 10 microsec
unsigned highTicks = 4; //per period
unsigned numSamplesPerPeriod = highTicks / dutyCycle; //40000 samples/period
unsigned lowTicks = numSamplesPerPeriod - highTicks; //per period
unsigned sampleRate = 2*numSamplesPerPeriod*freq; //800000 samples/s
//create counter
TaskHandle counterTask;
int errCode = DAQmxCreateTask("", & counterTask);
errCode = DAQmxCreateCOPulseChanFreq(counterTask, "dev1/ctr0", "",
DAQmx_Val_Hz, DAQmx_Val_Low,
initDelay, freq, dutyCycle);
errCode = DAQmxCfgSampClkTiming(counterTask, "dev1/PFI8", sampleRate, DAQmx_Val_Rising,
DAQmx_Val_ContSamp, numSamplesPerPeriod);
//create analog input
TaskHandle aiTask;
double minVolt = 0.0, maxVolt = 1.0;
errCode = DAQmxCreateAIVoltageChan(aiTask, "dev1/ai0", "", DAQmx_Val_Diff,
minVolt, maxVolt, DAQmx_Val_Volts, "");
unsigned bufferSize = 10* numSamplesPerPeriod;
errCode = DAQmxSetBufInputBufSize(aiTask, bufferSize);
errCode = DAQmxCfgSampClkTiming(aiTask, "dev1/PFI8", sampleRate, DAQmx_Val_Rising, DAQmx_Val_ContSamp, numSamplesPerPeriod);
errCode = DAQmxRegisterEveryNSamplesEvent(aiTask, DAQmx_Val_Acquired_Into_Buffer,
numSamplesPerPeriod, 0, EveryNCallback, 0);
errCode = DAQmxRegisterDoneEvent(aiTask, 0, DoneCallBack, 0)
//start aiTask first
errCode = DAQmxStartTask(aiTask);
//then counterTask
errCode = DAQmxStartTask(counterTask);Hi Xavier,
Thank you very much for getting back to me. I really appreciate it. I followed your advice with the option 2 and simplified my code by using one of the NI C example templates to generate the below codes (also attached). I was able to see the pulses generated with an oscilloscope, and on the same oscilloscope I could see the ouput pulses of the electron beam probe. Unfortunately, the below code via DAQmxReadAnalogF64 reports of no data read from the probe and finally times out. Below is the error message given by this function. I did check the connection of the analog input wires to make sure they were connected to pin 1 (A0+) and 2 (A0-) because I was using the terminal configuration DAQmx_Val_Diff. Do you see any obvious errors I have made in my codes?
Thanks a lot for your help,
Thuc Bui
Task started, waiting for trigger...
Acquired 0 analog samples DAQmx Error: Some or all of the samples requested have not yet been acquired.
To wait for the samples to become available use a longer read timeout or read later in your program. To make the samples available sooner, increase the sample rate. If your task uses a start trigger, make sure that your start trigger is configured correctly. It is also possible that you configured the task for external timing, and no clock was supplied. If this is the case, supply an external clock.
Property: DAQmx_Read_RelativeTo
Corresponding Value: DAQmx_Val_CurrReadPos
Property: DAQmx_Read_Offset
Corresponding Value: 0
Task Name: _unnamedTask<1>
Status Code: -200284
End of program, press Enter key to quit
********************** C Code **************************************************
#include <stdio.h>
#include "NIDAQmx.h"
#include <math.h>
#define DAQmxErrChk(functionCall) { if( DAQmxFailed(error=(functionCall)) ) { goto Error; } }
int main(void) {
int32 error = 0;
char errBuff[2048]={'\0'};
TaskHandle taskHandleDig=0;
TaskHandle taskHandleAna=0;
double timeout=10;
double minVol = -1.0, maxVol = 1.0;
double initDelay = 0.0;
double freq = 10.0;
double pulseWidth = 1.0e-5; //10us
double dutyCycle = pulseWidth * freq;
unsigned hiTicks = 4;
double sampleRate = hiTicks/pulseWidth; //samples/s
unsigned lowTicks = ceil(sampleRate/freq) - hiTicks;
unsigned nSpPeriod = hiTicks + lowTicks;
unsigned numPulses = 1;
unsigned nSpCh = numPulses*nSpPeriod;
double sampleRate2 = ceil(2.0*sampleRate);
unsigned sampleMode = DAQmx_Val_FiniteSamps;
/*********************************************/ /*/ DAQmx Configure Code /*********************************************/
DAQmxErrChk(DAQmxCreateTask("", &taskHandleDig)); DAQmxErrChk(DAQmxCreateTask("", &taskHandleAna));
DAQmxErrChk(DAQmxCreateAIVoltageChan(taskHandleAna, "Dev2/ai0", "", DAQmx_Val_Diff, minVol, maxVol, DAQmx_Val_Volts, ""));
DAQmxErrChk(DAQmxCfgSampClkTiming(taskHandleAna, "/Dev2/Ctr0InternalOutput", sampleRate2, DAQmx_Val_Rising, sampleMode, nSpCh));
DAQmxErrChk(DAQmxCreateCOPulseChanFreq(taskHandleDig, "Dev2/ctr0", "", DAQmx_Val_Hz, DAQmx_Val_Low, initDelay, freq, dutyCycle));
DAQmxErrChk(DAQmxCfgSampClkTiming(taskHandleDig, "/Dev2/PFI12", sampleRate2, DAQmx_Val_Rising, sampleMode, nSpCh));
unsigned bufferSize = nSpCh;
DAQmxErrChk(DAQmxSetBufInputBufSize(taskHandleAna, bufferSize));
DAQmxErrChk(DAQmxSetBufOutputBufSize(taskHandleDig, bufferSize));
/*********************************************/ /*/ DAQmx Write Code /*********************************************/
DAQmxErrChk(DAQmxWriteCtrTicksScalar(taskHandleDig, 0, timeout, hiTicks, lowTicks, NULL));
/*********************************************/ /*/ DAQmx Start Code /*********************************************/
DAQmxErrChk(DAQmxStartTask(taskHandleAna)); DAQmxErrChk(DAQmxStartTask(taskHandleDig));
printf("Task started, waiting for trigger...\n");
/*********************************************/ /*/ DAQmx Read Code /*********************************************/
double* dataAna = new double[nSpCh];
int32 numReadAna = 0;
int errCode = DAQmxReadAnalogF64(taskHandleAna, -1, timeout, DAQmx_Val_GroupByChannel, dataAna, nSpCh, &numReadAna, NULL);
printf("Acquired %d analog samples\n",numReadAna);
if (numReadAna) {
unsigned nPts = (numReadAna < hiTicks)? numReadAna : hiTicks;
for (unsigned n = 0; n < nPts; ++n) {
printf("%6.3f ", dataAna[n]);
printf("\n");
delete [] dataAna;
DAQmxErrChk(errCode);
Error:
if( DAQmxFailed(error) ) DAQmxGetExtendedErrorInfo(errBuff,2048);
if( taskHandleDig!=0 && taskHandleAna!=0 ) {
/*********************************************/ /*/ DAQmx Stop Code /*********************************************/
DAQmxStopTask(taskHandleDig);
DAQmxClearTask(taskHandleDig);
DAQmxStopTask(taskHandleAna);
DAQmxClearTask(taskHandleAna);
if( DAQmxFailed(error) ) printf("DAQmx Error: %s\n",errBuff);
printf("End of program, press Enter key to quit\n");
getchar();
return 0;
Attachments:
Correlated DIO AI_Sample_Clock Dig Start.c 6 KB -
Email Output - Subject Line issue.
Hi,
I have an issue in changing the subject line of the billing output which goes as an email whenever newly created. I want to incorporate the subject line of the email as "ABCD Invoice for SO number '12345678' for Customer 'Customer Name' ". Here the SO number & Customer Name varies for diffenrent Billing document.
I can do this change to some extend in NACE Transaction but unable to bring the Customer Name in the subject line.
Can anyone please tell how this can be done?
Regards,
Banu.I don't believe this is feasible with the standard output program, but you should be able to do this if you create a custom (Z) version and make that modification there. Not sure if it's worth it, but that's for your business users to decide.
-
RoboHelp 9 Crashing on Generating Output (hyperlinked pdf issue?)
I have had RoboHelp 9 consistently crash (without warning) when trying to generate ANY type of output. I was evaluating a trial version (which has since expired). I could consistently and successfully generate the exact same content without any issue when using RoboHelp 8 on another computer and it would appear that the crashes related to updating hyperlinked pdf's. None of the suggested fixes solved this issue on my system (i.e.http://forums.adobe.com/thread/796237?tstart=0)
While Adobe contacted me twice by telephone during the evaluation phase to gauge my interest in purchasing TCS 3 I received no response whatsoever to my request for assistance in resolving this issue. The person with whom I spoke has not responded to my queries. Now my trial is expired so I can't do anything further but I would like to hear if any other people have had this issue and what they had to do to resolve it.
The ability to update hyperlinked pdf's is essential for my project and I would like to upgrade (I really am a proponent of the TCS workflow) but, in its current state, TCS 3 is unuseable for me.
Thanks in advance...ta-da! And here I am, at Peter's behest.
You situation with the PDFs is exactly what happened with me, although I had the advantage of Adobe tech support to actually be able to isolate the specific ogre PDF files. They suggested I rename/delete them and I did and everything compiled smoothly. Like you, these PDFs worked just fine in RH8, but choked RH9.
I then tried a different tact and went back to the source files and reprinted them with Acrobat 9 (I think they'd originally been printed with Acrobat 6 or so), and the project compiled just fine.
I understand you don't have the source files, but here is a suggestion that mightwork: open your PDFs with Acrobat 9 or X and either "Save as..." a new file or go to the Advanced menu and click PDF Optimizer... (maybe try both methods). I think either would have a similar effect to reprinting the source files and would "fix" whatever it was that's choking your project.
Let us know if that works.
Maybe you are looking for
-
Speed drops and lack of BT response
Hi, Just venting my rage really, I have been attempting to get BT to recognise that something has happened to my connection and all I get is "it matches your IP profile". The thing is I have had 2 distinct step changes in speed, latency etc and they
-
Using Standard DVD clips in a Blue Ray production
A few questions - Are there any tricks if I had a full HD project and I wanted to inset a few scenes from a standard DVD into this? Also I have a number of DVDs I made with a good quality DVtape camera some years ago and wondered if there would be
-
What is the most reliable external hard drive?
At the beginning of the month I almost lost everything on my computer. So I am now looking for an external hard drive to back everything up. So that never happens again. I'm just scared to get one that is not reliable.
-
How do I mix 2 pms colors to achieve a 3rd color?
I'm running Illustrator CS6 on a Win 64 bit PC. Seems there was a time, in earlier versions when I could pick a pms blue and a pms yellow and achieve a rudimentary green by mixing 20% pms blue and 60% pms yellow, as an example. I'm having a whale of
-
MMBE - Copy text in ALV display
Hi all, We are migrating to ECC 6.0 from 4.7. In ECC, transaction MMBE calls a new ALV display (we are aware that the old program can be called via MMBE_OLD). We have many users who are used to selecting and copying multiple text fields (such as a