How do I send modulated FSK Data using modulation toolkit
I am trying to create modulated FSK data using the Modulation toolkit.
I found the example VI "MT RFSG Generate FSK.vi".
This example sends continuous CW data.
I need to control the data that is being sent.
Sending data from a file or an array in LabVIEW would be great.
I would also like to be able to be able to continually stream known data such as "55" or "AA" hex.
I'm trying to do a receive sensitivity test, so I want to stream known data out to my DUT. Then
keep reducing the power until the DUT that is receiving the data starts dropping BITS.
Hi
The bit stream use to generate the FSK signal in this example is a pseudo random sequence. If you go inside the custom subvi “mod_Create Continuous FSK” you can see how the example generates the bit stream.
As you can see in the picture the subvis use to generate the FSK signal are called “MT Generate Filter Coefficients”: Calculates filter coefficients for pulse shaping and matched filters applied by the digital modulation and demodulation VIs. The calculated filter coefficients are used during modulation to reduce the bandwidth of the transmitted signal, and during demodulation to reduce intersymbol interference. The other function is call “MT Modulate FSK”: Inputs a sequence of data bits, performs FSK modulation, and returns the modulated complex baseband waveform in the output complex waveform parameter.
A similar case liek yours was addressed by one of my partners. He developed a simple example that generates the FSK signal from an 8 bit integer array. Please take a look at the examples.
A very good resource is the article in Devzone: RF Hardware Example: Frequency Shift Keying.
Message Edited by Jaime F on 02-13-2008 07:07 PM
Jaime Hoffiz
National Instruments
Product Expert
Digital Multimeters and LCR Meters
Attachments:
fsk01.png 115 KB
fsk02.png 112 KB
Similar Messages
-
How do I Send HTML formatted email using class in javax.mail pkg
How do I Send HTML formatted email using javax.mail pkg class ?i mean is thr any class available in this package to do this ?
Please see
http://javaalmanac.com/egs/javax.mail/SendApp.html
for Quintessential Program to Send E-Mail.
Then substitute line
msg.setText(content);
/with this one
msg.setContent( content , "text/html");
it should do in simplest form. -
How to send te XML data using HTTPS post call & receiving response in ML
ur present design does the HTTP post for XML data using PL/SQL stored procedure call to a Java program embedded in Oracle database as Oracle Java Stored procedure. The limitation with this is that we are able to do HTTP post; but with HTTPS post; we are not able to achieve because of certificates are not installed on Oracle database.
we fiond that the certificates need to be installed on Oracle apps server; not on database server. As we have to go ultimately with HTTPS post in Production environment; we are planning to shift this part of program(sending XML through HTTPS post call & receiving response in middle layer-Apps server in this case).
how i can do this plz give some solutionIf you can make the source app to an HTTP Post to the Oracle XML DB repository, and POST contains a schema based XML document you can use a trigger on the default table to validate the XML that is posted. The return message would need to be managed using a database trigger. You could raise an HTTP error which the source App would trap....
-
I have created a group in my address book, but when I try to use it to send mail, only a comma shows up. How can I send mail using my new group? I have an IMac with OSLion.
I will agree with you on this one. Version 31 and all the fixes so far are a mess. Since I have been here answering questions for a little more than a year now I have learned to wait to upgrade until all the dust settles. I see no end to the dust storm version 31 has caused. I am still on version 24.6 and plan on staying there for the duration. At least until the developers comes to their senses and put out a working product.
-
How to resolve error while importing data using IDoc method in LSMW ?
Hi
I am trying to import my data using IDoc method in LSMW.
But after completing the whole LSMW process, when I look into the IDOC generated, the error description is as this.
It talks about the process code and other stuff.
Function module not allowed : APPL_IDOC_INPUTI
Message No. B1252
Diagnosis :
The function module APPL_IDOC_INPUTI and the application object type which were determined are not valid for this IDoc.
I am not able to resolve the problem.
Please help.
Regards,
Rachesh Nambiarcheck the below link.
/people/stephen.johannes/blog/2005/08/18/external-data-loads-for-crm-40-using-xif-adapter -
How to get EKBE-BUDAT (GR Date) using data of BSEG
hI ,
My requirement is to get the GR date from EBKE which is in the field BUDAT.
my report already has BSEG data , using that i want to get the EKBE-BUDAT.
One of the Function person suggested this:
Select LFBNR
LFPOS
LFGJA
From EKBE
into it_ekbe_temp
where EKBE -EBELN = EKBEBSEG-EBELN
AND EKBE-EBELP = EKBEBSEG-EBELP
AND EKBE-BELNR = EKBEBSEG-BELNR
AND EKBE-BUZEI = BSEG-BUZEI
once we get these 3 fields, again put a query on EKBE and get the GR date BUDAT
select a~ebeln
a~ebelp
a~budat
a~lfbnr
a~lfpos
a~lfgja
into table it_ekbe
from ekbe as a
inner join bseg as b on
b~ebeln = a~ebeln
and b~ebelp = a~ebelp
for all entries in it_ekbe_temp
where a~gjahr = it_ekbe_temp-lfgja
and a~belnr = it_ekbe_temp-lfbnr
and a~buzei = it_ekbe_temp-lfpos.
endif.
Can anyone suggest me how to get the GR date from EKBE using BSEG data.Hi Mayank,
You can get through by hitting MSEG table first , get the required key info. and then hit EKBE and get BUDAT.
Pass ebeln,ebelp to mseg and get the key info. ...
Hope this helps.
Thanks,
Amresh -
How do i send pictures from iPhoto using other email provider
How do I send pictures from I photo and use another email provider Charter.net
Thanks for the help I figured it out . DonaldfromWI
-
How can I send a .pdf attachement using maildemo_sql.txt
Hi
I have created a PL/SQL package using the following link.
Could you plese tell me how can I send a .pdf as an attachement using the follwing package?
http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/maildemo_sql.txt
regardsWhen using the "MailDemo" package, in order to send email attachements, the document you attach MUST reside on the Database Server or UTL_SMTP or UTL_MAIL Oracle packages won't be able to find the file. I recommend you define a location (directory) on the database server file system where all email attachements must be stored and reference this location using an Oracle Directory object. You will need to modify the BEGIN_ATTACHMENT procedure to add the file location referenced by the Oracle Directory object to the filename parameter. For example:
/* Create the Oracle DIRECTORY */
CREATE OR REPLACE DIRECTORY FILE_ATTACHMENTS as '/temp/attachments/';
/* Modification to MAILDEMO */
PROCEDURE begin_attachment(conn IN OUT NOCOPY utl_smtp.connection,
mime_type IN VARCHAR2 DEFAULT 'text/plain',
inline IN BOOLEAN DEFAULT TRUE,
filename IN VARCHAR2 DEFAULT NULL,
transfer_enc IN VARCHAR2 DEFAULT NULL) IS
BEGIN
write_boundary(conn);
write_mime_header(conn, 'Content-Type', mime_type);
IF (filename IS NOT NULL) THEN
IF (inline) THEN
write_mime_header(conn, 'Content-Disposition',
/* 'inline; filename="'||BFILENAME('filename||'"'); */ /* Line BEFORE */
'inline; filename="'||BFILENAME('FILE_ATTACHMENTS',filename)||'"'); /* Line AFTER */
ELSE
write_mime_header(conn, 'Content-Disposition',
/* 'attachment; filename="'||filename||'"'); */ /* Line BEFORE */
'attachment; filename="'||BFILENAME('FILE_ATTACHMENTS',filename)||'"'); /* Line AFTER */
END IF;
END IF;
IF (transfer_enc IS NOT NULL) THEN
write_mime_header(conn, 'Content-Transfer-Encoding', transfer_enc);
END IF;
utl_smtp.write_data(conn, utl_tcp.CRLF);
END;If you have to send the file attachment from the User's workstation, then I suggest you either add the ability to FTP a file from a users workstation to the Database Server; use a javabean to send email directly from the client workstation or use WebUtil to open an Outlook message and attach the file using Outlook. I personally prefer using the database package to send email because you have a central point that all processes use and that makes the process easier to maintain. If you opt to try the Java Bean or WebUtil options, here are some great links that work really well also.
Java Option:
Send email with html body and local file attachments
WebUtil Option:
Sending Email via Outlook via forms
Re: Sending email from Oracle Forms with attachments
I cannot confirm the WebUtil options work as I have not tested these myself, however, I have tested the Java option and it works fine.
Hope this helps,
Craig B-)
If a response is helpful or correct, please mark it accordingly. -
How to- Log Changes in Plan Data Using Datastore Object
Hi,
I followed the u201CHow tou2026 Log Changes in Plan Data Using Datastore Objectu201D in order to trace the changes made in Planning.
Although it is working fine, Iu2019m only being able to write the changes made by users that have SAP_ALL.
Do you know what kind of authorization is missing on other users?
Best regards,
João ArvanasHello João
I would recommend you to use the authorization logn on RSECADMIN to
trace what is the authorization missing for the user who you are using.
Also you can try to set break-points on the introduced code and check
where the issue is raised and check that is the authorization system is
looking for.
Let me know if this helps, otherwise I will give you other updates.
Also you may post here what is the error that you are getting. That can
help us to giving more specific answers.
Best regards
Lucimar -
Hi Experts,
I have this scenario,
SFTP > Process Orchestration > AS2(non-seeburger)
My interface is not using Message Mapping and I want to use the source Filename as my Receiver Filename.
Sender
orders_1234 - source filename
Receiver
orders_1234 - target filename
How to do it in Process Orchestration without Seeburger.
Thanks and Best Regards,
OrlanHi Orlan - So are you using SAP AS2 adapter?
If you so i think you can make use of dynamic configuration bean.
Unknown use case of DynamicConfigurationBean: Store file name to JMS header without mapping
Enable adapter specific attributes in sender SFTP channel and in the receiver AS2 channel use the above module to swap the dynamic attributes.
Dynamic attributes
http://sap.com/xi/XI/System/SFTP ,FileName
http://sap.com/xi/XI/AS2/AS2: AS2Filename -
How does JDBC sender adapter reads data from DB
Hi ALL,
I have scenario where the JDBC adapter has to read the data once every month. now how would JDBC adapter know that it has to select data which has been updated after last months select only and not the old data?
XIerHey
in the sender JDBC adapter you give the select statement as well as update statement.
what you do is that once you select the data from data base you use an update query to set a flag to false,so that you dont select that data again next time.
have a look at this blog
/people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
in this he has used both select and update query on the sender side
Thanx
Aamir suhail
Message was edited by:
Aamir Suhail -
How to create a report with data using the Crystal Reports for Java SDK
Hi,
How do I create a report with data that can be displayed via the Crystal Report for Java SDK and the Viewers API?
I am writing my own report designer, and would like to use the Crystal Runtime Engine to display my report in DHTML, PDF, and Excel formats. I can create my own report through the following code snippet:
ReportClientDocument boReportClientDocument = new ReportClientDocument();
boReportClientDocument.newDocument();
However, I cannot find a way to add data elements to the report without specifying an RPT file. Is this possible? I seems like it is since the Eclipse Plug In allows you to specify your database parameters when creating an RPT file.
is there a way to do this through these packages?
com.crystaldecisions.sdk.occa.report.data
com.crystaldecisions.sdk.occa.report.definition
Am I forced to create a RPT file for the different table and column structures I have?
Thank you in advance for any insights.
Ted JenneyHi Rameez,
After working through the example code some more, and doing some more research, I remain unable to populate a report with my own data and view the report in a browser. I realize this is a long post, but there are multiple errors I am receiving, and these are the seemingly essential ones that I am hitting.
Modeling the Sample code from Create_Report_From_Scratch.zip to add a database table, using the following code:
<%@ page import="com.crystaldecisions.sdk.occa.report.application.*"%>
<%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
<%@ page import="com.crystaldecisions.sdk.occa.report.document.*"%>
<%@ page import="com.crystaldecisions.sdk.occa.report.definition.*"%>
<%@ page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
<%@ page import = "com.crystaldecisions.report.web.viewer.*"%>
<%
try {
ReportClientDocument rcd = new ReportClientDocument();
rcd.newDocument();
// Setup the DB connection
String database_dll = "Sqlsrv32.dll";
String db = "qa_start_2012";
String dsn = "SQL Server";
String userName = "sa";
String pwd = "sa";
// Create the DB connection
ConnectionInfo oConnectionInfo = new ConnectionInfo();
PropertyBag oPropertyBag1 = oConnectionInfo.getAttributes();
// Set new table logon properties
PropertyBag oPropertyBag2 = new PropertyBag();
oPropertyBag2.put("DSN", dsn);
oPropertyBag2.put("Data Source", db);
// Set the connection info objects members
// 1. Pass the Logon Properties to the main PropertyBag
// 2. Set the Server Description to the new **System DSN**
oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_LOGONPROPERTIES, oPropertyBag2);
oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_SERVERDESCRIPTION, dsn);
oPropertyBag1.put("Database DLL", database_dll);
oConnectionInfo.setAttributes(oPropertyBag1);
oConnectionInfo.setUserName(userName);
oConnectionInfo.setPassword(pwd);
// The Kind of connectionInfos is CRQE (Crystal Reports Query Engine).
oConnectionInfo.setKind(ConnectionInfoKind.CRQE);
// Add a Database table
String tableName = "Building";
Table oTable = new Table();
oTable.setName(tableName);
oTable.setConnectionInfo(oConnectionInfo);
rcd.getDatabaseController().addTable(oTable, null);
catch(ReportSDKException RsdkEx) {
out.println(RsdkEx);
catch (Exception ex) {
out.println(ex);
%>
Throws the exception
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.NullPointerException---- Error code:-2147467259 Error code name:failed
There was other sample code on SDN which suggested the following - adding the table after calling table.setDataFields() as in:
String tableName = "Building";
String fieldname = "Building_Name";
Table oTable = new Table();
oTable.setName(tableName);
oTable.setAlias(tableName);
oTable.setQualifiedName(tableName);
oTable.setDescription(tableName) ;
Fields fields = new Fields();
DBField field = new DBField();
field.setDescription(fieldname);
field.setHeadingText(fieldname);
field.setName(fieldname);
field.setType(FieldValueType.stringField);
field.setLength(40);
fields.add(field);
oTable.setDataFields(fields);
oTable.setConnectionInfo(oConnectionInfo);
rcd.getDatabaseController().addTable(oTable, null);
This code succeeds, but it is not clear how to add that database field to a section. If I attempt to call the following:
FieldObject oFieldObject = new FieldObject();
oFieldObject.setDataSourceName(field.getFormulaForm());
oFieldObject.setFieldValueType(field.getType());
// Now add it to the section
oFieldObject.setLeft(3120);
oFieldObject.setTop(120);
oFieldObject.setWidth(1911);
oFieldObject.setHeight(226);
rcd.getReportDefController().getReportObjectController().add(oFieldObject, rcd.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0), -1);
Then I get an error (which is not unexpected)
com.crystaldecisions.sdk.occa.report.lib.ReportDefControllerException: The field was not found.---- Error code:-2147213283 Error code name:invalidFieldObject
How do I add one of the table.SetDataFields() to my report to be displayed?
Are there any other pointers or suggestions you may have?
Thank you -
How can i send the chinese sms using java J2EE(web application)
hi,
i have the difficulty on sending chinese sms using J2EE application.i try to input the chinese word to jsp and send the plain text sms. i received the sms with plenty of question mark "?????". i think it is regarding to the conversion of String to some kind of format that supported by mobile phone. below are some code the send the sms to recipient. i need someone help in order to have the solution.
thanks a lot
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ page import="se.sapio.rta.service.MPMService"%>
<%@ page import="java.util.Locale"%>
<%
Locale.setDefault(Locale.UK);
Context ctx;
MPMService mpmservice;
ctx = new InitialContext();
mpmservice = (MPMService) ctx.lookup("BC/Service/RTAMPM");
LSUser user = null;
boolean ok = true;
try {
if (ok) {
String sender = request.getParameter("sender");
String phonenr = request.getParameter("phonenr");
String sendmsg = request.getParameter("sendmsg");
if(bError) {
byte[] bytes = message.getBytes("UTF-8");
message = mobileclientservice.ByteEncode(bytes);
response.sendRedirect("send_sms.jsp?s="+request.getParameter("s")+"&msg="+message+"&phonenr="+request.getParameter("phonenr").replaceAll("\\+","%2B")+"&sender="+request.getParameter("sender")+"&sendmsg="+request.getParameter("sendmsg").replaceAll("\\+","%2B"));
String resp = "";
if(mpmservice.sendPlainTextSMS(sender, phonenr, sendmsg)) {
resp=mpmservice.getLang(user.getLang(), "sms_sent");
} else {
resp=mpmservice.getLang(user.getLang(), "sms_not_sent");
} %>
<jsp:include page="/top.jsp" />
<p class="headline"><%=mpmservice.getLang(user.getLang(), "send_sms_title")%></p>
<form name="operatordetails" id="operatordetails" method="post" action="send_sms.jsp">
<INPUT TYPE=hidden NAME=s VALUE="<%=request.getParameter("s")%>">
<INPUT TYPE=hidden NAME=phonenr VALUE="<%=request.getParameter("phonenr")%>">
<table class="infotable" id="report">
<tr>
<td class="left" colspan="2"><%=resp%></td>
<td class="right"></td>
</tr>
<tr>
<td class="left" colspan="2">
<input class="halfmiddle" name="Back" type="submit" id="Back" value="<%=mpmservice.getLang(user.getLang(), "back")%>" />
</td>
<td class="right"> </td>
</tr>
</table>
</form>
<jsp:include page="/bottom.jsp" />
<% } %>
public boolean sendPlainTextSMS(String sender, String recipient, String sendmsg){
if(recipient.charAt(0) == '+')
recipient = recipient.substring(1);
String senderIdType = "Alpha";
if( (sender.charAt(0) >= '0' && sender.charAt(0) <= '9') || sender.charAt(0) == '+')
senderIdType = "Numeric";
if(sender.charAt(0) == '+')
sender = sender.substring(1);
for(int i=0; i < sender.length(); i++)
if(!(sender.charAt(i) >= '0' && sender.charAt(i) <= '9'))
senderIdType = "Alpha";
log.warn("sending sms to: "+recipient + " sendtype: " + senderIdType + " msg: "+ sendmsg);
log.warn("Encoded sms:"+Encode(sendmsg));
try{
String postData = "XMLDATA=" + URLEncoder.encode("<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>\r\n" +
"<NotificationRequest Version=\"3.4\">\r\n" +
" <NotificationHeader>\r\n" +
" <PartnerName>" + SMS_PARTNER_NAME + "</PartnerName>\r\n" +
" <PartnerPassword>" + SMS_PARTNER_PASSWORD + "</PartnerPassword>\r\n" +
" <SubscriptionName>XML</SubscriptionName>\r\n" +
" </NotificationHeader>\r\n" +
" <NotificationList BatchID=\"1\">\r\n" +
" <Notification SequenceNumber=\"0\" MessageType=\"SMS\">\r\n" +
" <Message>" + Encode(sendmsg) + "</Message>\r\n" +
" <Profile>" + SMS_PARTNER_PROFILE + "</Profile>\r\n" +
" <SenderID Type=\"" + senderIdType + "\">" + sender + "</SenderID>\r\n" +
" <Subscriber>\r\n" +
" <SubscriberNumber>" + recipient + "</SubscriberNumber>\r\n" +
" </Subscriber>\r\n" +
" </Notification>\r\n" +
" </NotificationList>\r\n" +
"</NotificationRequest>","ISO-8859-1");
appreciate for anyone provide the solution.
thanks a lotHi,
I want to send sms from web application to mobile phones at the time of registration. Its verymuch greatful to me, if you let me know, how to send from jsp to mobile. because from your post, i got, you already know about sending sms from jsp to mobile.
please let me know, how to send sms
[email protected]
Thanks in advance for your kind help -
How to calculate the volume of data used (PI licensing limit).
Hi,
One of our customers has several interfases running on SAP PI. They have a license that allows them the use of PI for a quantity of Gb in message data per month (I think that's the usual way).
They would like to know how near/far they are of their limint of data, so they would like to know how does SAP evaluate that.
Does anybody know wich tool(s) are used by SAP to calculate the volume of data spent in one month?. We would like to launch those tools and get this info (so we can evaluate if we can add new interfases or change the periodicity of existing ones within the limits of the current license).
Thanks in advance for your help.
Best Regards
RafaHi Mark,
I have a quick question. The links that you provided gives an idea of the way in which the volume is calculated. This is helpful.
My question is regarding Auditing and Compliance:
Client has bought SAP PI licence for certain GB of data per month.
Can this report be generated automatically classified by SAP and Non SAP Systems (PI licence volume constraints are normally for data exchange for non SAP Systems)?
Also can this data be measured at Adaptor level? How does one monitor data at Adaptor level.
Thanks And Regards,
Maloy -
How can i send Comments field data through IDOC HRMD_A06-E1P0035?
Dear all,
We need to post the legacy system data for infotype IT0035 using IDOC - HRMD_A06-E1P0035 to the SAP R/3 system.In this segment (E1P0035) there no field for the 'comments' to send the data. Pls let us know, is there any way to pass data through E1P0035 segment for the 'comments' field of IT0035?
Thanks in advance.
Ram RayapudiHi Ram,
Comment fields in infotypes are not stored in the infotype-tables itself, but in PCL1-Cluster TX.
In Standard-SAP there is no way to pass this via ALE. Even the infotype-table-field ITXEX, which say that there is any textfield present, is clear in ALE.
If you really need to transfer this data, you have to do ALE-amplifications.
Regards,
Herbert
Maybe you are looking for
-
How do i delete Older files from the directory before create a new file?
Hi, How do i delete older files in a particular directory, the senorio is count the number of .txt files in a directory and delete the older files if file count is more than 10. (if i add 11th file the very first file has to be deleted) i have writte
-
Forte for Java CE won't run files created with J2SDK
I'm very new to Java. When I try to run packages, classes written with Java 2 SDK, I get the following error: java.lang.NoClassDefFoundError: TextComponentPrintWriter (wrong name: utilities/TextComponentPrintWriter) I have mounted the root directory
-
Trying to get out of Maximum Runtime Mode?
I just got a ThinkPad X100e and notice the Power management is in Maximum Runtime Mode - is there a way to change this to a more performance-oriented mode?I can't seem to find a setting for this aspect. - Maurice Solved! Go to Solution.
-
Because of a screwy workflow, where we have to convert all electronic files including PDF files into Illustrator files to meet submission guidelines for a major service provider I would like to see a feature built in to future version of Acrobat wher
-
AirPlay won't turn on Apple tv
FIrst of all hello to everyone! Recently I've been having some problems with my Apple TV. Let me explain; normally when I started watching a video and I had AirPlay turned on on my apple device (iPhone or iPad) my Apple TV would automatically turn on