Taking 2 separate data sets and putting them in 1 spreadsheet
Hi,
I am sure this is a simple issue, but it does not seem to be coming together for me. I am currently attempting to take data from 2 different text files and put them together into 2 separate columns. The code I have attached manages to put them together into one long column, does anyone have any advice on writing out that second list to another column instead of just appending it to the first?
Thank you,
Michael
Attachments:
Read_Text.vi 47 KB
Hi again,
Thank you for your comment about the breakpoint, I removed it.
So I will attach everything I have, and maybe you can tell me where things can be tightened up.
I will summarize how things work. Michael.vi basically takes a measurement of frequency and amplitude and puts them in text files as so. Read_text.vi then opens up those text files and puts them together into one nice text file, which I will post in my next comment along with the latest version of Read_text, as I can only upload 3 things at a time. I would then like to plot this information in an X-Y plot on the screen, which I have been attempting to do by putting the points together in clusters to be plotted, but that has been miserably failing.
Thank you,
Michael
Attachments:
Michael.vi 21 KB
frequency.txt 18 KB
amp.txt 12 KB
Similar Messages
-
Taking pieces of a signal and putting them in an array
Lets say I have a square wave in a large array (1X#samples). I want to
put the values of each positive part of the square wave into an array
such that its size is #positivepulses X #samplesperpulse. The only
thing that I know for certain about the square wave is that the
non-positive parts of the signal are zero.
Any suggestions for how I might achieve this?
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.use the java.util.Scanner class.
read in the file. loop through the lines to get the numbers and put them into an array and/or add them.
this is something you could have easily looked up on your own. if not in google, then definitely within these forums. -
When I opened internet explorer, Internet explorer erased all my internet addresses off foxfire and put them on internet explorer. How do I import all my email addresses off of internet explorer and put them back on foxfire. Mary
Hi mary200077,
So you are saying all of your favorites are in IE but not in Firefox? Don't worry, that's an easy fix! Just take a look at the [[Importing favorites and other data from Internet Explorer]] and you'll be set! Post back here if you have any issues.
Hopefully this helps! -
I'm a new Zumba instructor and have to come up with playlists for my routines. I made 2 playlists on ITunes and put them on my Ipod. Everytime I want to play it, only one song from the list plays over and over. The other songs do not. How do I get the songs to play the way I have them set up??
You can redownload iTunes purchases by:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
For other music you need to get them from where you got them before. -
II've had my ipad with retina display for about a 1 now and everything was fine In till I got my iphone 4s and put them on the same account then my ipad stopped letting me log in to my FaceTime and iMessage and it doesn't let me update my apps and dosnt let me log in to iCloud ever since I got my phone and put them on the same account does anyone know how I could fix it and still be able to connected to my iphone??
Did you change your Apple ID?
Unable to make or receive FaceTime calls after April 16, 2014
http://support.apple.com/kb/TS5419
Using FaceTime http://support.apple.com/kb/ht4319
Troubleshooting FaceTime http://support.apple.com/kb/TS3367
The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
http://tinyurl.com/a7odey8
Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/TS4268
iOS: FaceTime is 'Unable to verify email because it is in use'
http://support.apple.com/kb/TS3510
Using FaceTime and iMessage behind a firewall
http://support.apple.com/kb/HT4245
iOS: About Messages
http://support.apple.com/kb/HT3529
Set up iMessage
http://www.apple.com/ca/ios/messages/
iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
http://support.apple.com/kb/HT5538
How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
Set Up Alert Sounds
http://www.quepublishing.com/articles/article.aspx?p=1873027&seqNum=3
Extra FaceTime IDs
http://tinyurl.com/k683gr4
Troubleshooting Messages
http://support.apple.com/kb/TS2755
Troubleshooting iMessage Issues: Some Useful Tips You Should Try
http://www.igeeksblog.com/troubleshooting-imessage-issues/
Setting Up Multiple iOS Devices for iMessage and Facetime
http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
FaceTime and iMessage not accepting Apple ID password
http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
Fix Can’t Sign Into FaceTime or iMessage iOS 7
http://ipadtutr.com/fix-login-facetime-imessage-ios-7/
FaceTime, Game Center, Messages: Troubleshooting sign in issues
http://support.apple.com/kb/TS3970
Unable to use FaceTime and iMessage with my apple ID
https://discussions.apple.com/thread/4649373?tstart=90
iOS 7 allows you to block phone numbers or e-mail addresses from contacting you via the Phone, FaceTime, or Messages
http://howto.cnet.com/8301-11310_39-57602643-285/you-can-block-people-from-conta cting-you-on-ios-7/
How to Block Someone on FaceTime
http://www.ehow.com/how_10033185_block-someone-facetime.html
My Facetime Doesn't Ring
https://discussions.apple.com/message/19087457#19087457
How to watch FaceTime calls on the big screen with Apple TV
http://www.imore.com/daily-tip-ios-5-airplay-mirroring-facetime
Send an iMessage as a Text Message Instead with a Quick Tap & Hold
http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
How to Text on the iPad
http://ipad.about.com/od/ipad_tricks/a/How-To-Text-On-The-Ipad.htm
How to Send SMS from iPad
http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
How to Receive SMS Messages on an iPad
http://yourbusiness.azcentral.com/receive-sms-messages-ipad-16776.html
Apps for Texting http://appadvice.com/appguides/show/apps-for-texting
You can check the status of the FaceTime/iMessage servers at this link.
http://www.apple.com/support/systemstatus/
Cheers, Tom -
Spry XML data set and dynamic post variables
Hi,
I am trying to create an XML data set that has dynamic post
variables.
Everytime something is pressed on the page a variable changes
and I then want to reload the XML data set using the new variable.
I know I can just pull in an XML with all possible variables
and filter client side but this would make it way too large.
Does anyone know what I may need to do.
I tried this:
var myVar = 0;
var dss = new Spry.Data.XMLDataSet (
'../../cgi-bin/server_details.pl' , 'top' , { method: 'POST' ,
postData: sid=ajaja21&ip=127.0.0.1&cid=' . myVar ,
subPaths: [ "auth" , "plugins" , "plugins/plugin" ] , keepSorted:
"true", sortOnLoad: "plugins/plugin/order", sortOrderOnLoad:
"descending", useCache: false, loadInterval: 10000 } );
onclick="myVar=1";
But the script doesn't understand the post variables sent (it
does when I remove the . myVar part and put in a static value). I
think it isn't sending that dynamic variable with the post
variables.
Any ideas anyone?
ThanksWell I had it working when I stripped back everything and
just had the dss data set and a single onclick function, but now
that I put it back together it hash foobared again.
Here are the relevant bits of code that I've changed.
The function to change server id:
//function to run when changing the server id
function changeServer ( sid ) {
//set the url to use the current server id
dss.setURL = ( '../../cgi-bin/server_details.pl' , { method:
'POST' , postData:
'sid=7gv1m3vjvagfl7h7qeefb8iodj8evhmb&ip=127.0.0.1&cid='+sid
//force a reload of the server data
dss.loadData();
The inital load of the data set
var dss = new Spry.Data.XMLDataSet (
'../../cgi-bin/server_details.pl' , 'yams' , { method: 'POST' ,
postData:
'sid=7gv1m3vjvagfl7h7qeefb8iodj8evhmb&ip=127.0.0.1&cid=0' ,
subPaths: [ "auth" , "plugins" , "plugins/plugin" ] , keepSorted:
"true", sortOnLoad: "plugins/plugin/order", sortOrderOnLoad:
"descending", useCache: false, loadInterval: 10000 } );
And the part that changes the server id
<td align="left" style="cursor:default; width:174px;"
onclick="changeServer({dsv::servers/server/@id})">{dsv::servers/server/name}</td>
I checked that the function is receiving the correct server
id and I even tried hard coding the cid variable to 2 in the change
function but it still wasn't changing on the server side.
Any ideas?
Thanks -
Secret data sets and variables in photoshop elements.
In photoshop elements 4 thru 8, you can use data sets
and variables, with the actions recorded for them in
photoshop and then installed into photoshop elements.
They work exactly like they do in photoshop and in fact
there is already a menu item in photoshop elements,
under in export menu, called export data sets as files.Not sure a I read you correctly but if I understand you
what you have to do is make the first two images as dynamic variables using the variable panel and save it as a data set
then replace those two images and save those as a data set
So now you have data set one and two.
You can save that as an variable library (xml)and that can be loaded into other documents.
The question is can it be actioned?
It can be scripted and do you want the same two images to replace the same two image in each document.
I think you really have to tell us more. -
I am looking to replace an old HP psc 2210 all in one printer with a new all in one that will let me scan multiple photos at one time and put them directly into iPhoto. Dos anyone have suggestions for a printer that will do this?
I use an HP Photosmart, but most scanners will scan multiple photo's. I just make sure in the scan preferences, I tick the box to "Detect Seperate Items". I normaly scan 6 to 8 photo's at a time, size depending on how many I can fit on the scanner bed. I set the preferences to scan directly to iPhoto.
Hope this helps. -
i want to take the heads of my dogs from one photo and put them on people heads in another. can i do this in iphoto?
No. You'll need an external editor for that.
In order of price here are some suggestions:
Seashore (free)
The Gimp (free)
Graphic Coverter ($45 approx)
Acorn ($50 approx)
Pixelmator ($50 approx)
Photoshop Elements ($75 approx)
There are many, many other options. Search on MacUpdate. You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto. -
Has anyone got a script to read a list of email addresses from a Mail message header and put them into a group in Contacts?
Now Tony, I know you can't hear my tone on a forum post but I was not complaining, simply stating facts . This change brought several people in my office to a grinding halt in a long established workflow that is really rather simple (and I thought was already assumed from the original post above ):
1) Select a set of records in FileMaker Pro 12 and export only their e-mail addresses as a CSV file.
2) Open that CSV file in Excel.
3) Copy the column of e-mail address.
4) paste into the appropriate recipient field in Mail.
5) Send
If I were to complain it would be about Apple's typically opaque approach to updates. There is no granular explanation of why changes were made or even "what" changes were made.
Complaining is futile since Apple is Apple and is unlikely to change, but sometimes it is cathartic to "shout into the void" .
I had thought about doing something with a formula in Excel and your suggestion was simple and helpful. Again, however, it is only a workaround for a long established helpful behavior that Apple has inexplicably broken/removed in Mavericks Mail.
I, and the other posters here, would love to have the capability back rather than have to add previously unneeded steps to our workflows.
Ultimately we may add scripting steps to the FileMaker side to export the address lists with commas inserted already if Apple ends up having permanently removed this feature. -
I upgraded my iphotos and now all my photos are gone in all my albums. (1800 photos.) How do I find them
and put them back where they belong?What version of iPhoto? Assuming 09 or later
Option 1
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
If that fails:
Option 2
Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
Regards
TD -
Good morning: would like to know how to take pictures from my iphoto and put them in a folder on my desktop
To take photos from iPhoto and put them onto a folder on Desktop, first create a folder on Desktop. Right-click on Desktop and create a new folder.
Then, open iPhoto, and you have two ways to export photos:
1. Select the photos you want to copy to Desktop with Command key (or go to Edit menu > Select All, if you want to copy all photos), and then, drag them to the folder on Desktop.
2. Select the photos you want to copy to Desktop with Command key, go to File menu > Export, and follow the steps.
You can choose the one you prefer -
How do I get the pictures folders in photoshop 7 out of My window XP computer and put them into my new computer windows 8 photoshop12
I am so sorry for you and your situation. Were you using iCloud photostream?
Otherwise I do not see any chance for your precious photos.
Congrats anyway on the little darling! -
Get All images from a website and put them in a listbox.
Hi Everyone, I am new to Java Programming.
I wanted to know if there is a way to get all the images in a website and put them in a listbox. And if an item is clicked in list box, view it in a picturebox.Harsimran_Singh wrote:
what is the whole idea about .Net vs. Java...guys, .NET users are so friendly and helpful, they don't even judge english
This is not putting a good impression of Java Users on me.good luck with .net. im sorry that things didnt work out with java.
unfortunately, .net is essentially a clone of java so you may find that you will be looking
to learn exactly the same things but for an expensive propriety platform.
if you change your mind, read:
[swing tutorials|http://java.sun.com/docs/books/tutorial/uiswing/]
jlist
listcellrenderer
[list tutorial|http://java.sun.com/docs/books/tutorial/uiswing/components/list.html]
[advanced list programming|http://java.sun.com/products/jfc/tsc/tech_topics/jlist_1/jlist.html]
on your way out thank the moderators : ) -
Download using open data set and close data set
can any body please send some sample pgm using open data set and close data set .the data should get downloaded in application server
very simple pgm neededHi Arun,
See the Sample code for BDC using OPEN DATASET.
report ZSDBDCP_PRICING no standard page heading
line-size 255.
include zbdcrecx1.
*--Internal Table To hold condition records data from flat file.
Data: begin of it_pricing occurs 0,
key(4),
f1(4),
f2(4),
f3(2),
f4(18),
f5(16),
end of it_pricing.
*--Internal Table To hold condition records header .
data : begin of it_header occurs 0,
key(4),
f1(4),
f2(4),
f3(2),
end of it_header.
*--Internal Table To hold condition records details .
data : begin of it_details occurs 0,
key(4),
f4(18),
f5(16),
end of it_details.
data : v_sno(2),
v_rows type i,
v_fname(40).
start-of-selection.
refresh : it_pricing,it_header,it_details.
clear : it_pricing,it_header,it_details.
CALL FUNCTION 'UPLOAD'
EXPORTING
FILENAME = 'C:\WINDOWS\Desktop\pricing.txt'
FILETYPE = 'DAT'
TABLES
DATA_TAB = it_pricing
EXCEPTIONS
CONVERSION_ERROR = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
GUI_REFUSE_FILETRANSFER = 6
OTHERS = 7.
WRITE : / 'Condition Records ', P_FNAME, ' on ', SY-DATUM.
OPEN DATASET P_FNAME FOR INPUT IN TEXT MODE.
if sy-subrc ne 0.
write : / 'File could not be uploaded.. Check file name.'.
stop.
endif.
CLEAR : it_pricing[], it_pricing.
DO.
READ DATASET P_FNAME INTO V_STR.
IF SY-SUBRC NE 0.
EXIT.
ENDIF.
write v_str.
translate v_str using '#/'.
SPLIT V_STR AT ',' INTO it_pricing-key
it_pricing-F1 it_pricing-F2 it_pricing-F3
it_pricing-F4 it_pricing-F5 .
APPEND it_pricing.
CLEAR it_pricing.
ENDDO.
IF it_pricing[] IS INITIAL.
WRITE : / 'No data found to upload'.
STOP.
ENDIF.
loop at it_pricing.
At new key.
read table it_pricing index sy-tabix.
move-corresponding it_pricing to it_header.
append it_header.
clear it_header.
endat.
move-corresponding it_pricing to it_details.
append it_details.
clear it_details.
endloop.
perform open_group.
v_rows = sy-srows - 8.
loop at it_header.
perform bdc_dynpro using 'SAPMV13A' '0100'.
perform bdc_field using 'BDC_CURSOR'
'RV13A-KSCHL'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RV13A-KSCHL'
it_header-f1.
perform bdc_dynpro using 'SAPMV13A' '1004'.
perform bdc_field using 'BDC_CURSOR'
'KONP-KBETR(01)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'KOMG-VKORG'
it_header-f2.
perform bdc_field using 'KOMG-VTWEG'
it_header-f3.
**Table Control
v_sno = 0.
loop at it_details where key eq it_header-key.
v_sno = v_sno + 1.
clear v_fname.
CONCATENATE 'KOMG-MATNR(' V_SNO ')' INTO V_FNAME.
perform bdc_field using v_fname
it_details-f4.
clear v_fname.
CONCATENATE 'KONP-KBETR(' V_SNO ')' INTO V_FNAME.
perform bdc_field using v_fname
it_details-f5.
if v_sno eq v_rows.
v_sno = 0.
perform bdc_dynpro using 'SAPMV13A' '1004'.
perform bdc_field using 'BDC_OKCODE'
'=P+'.
perform bdc_dynpro using 'SAPMV13A' '1004'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
endif.
endloop.
*--Save
perform bdc_dynpro using 'SAPMV13A' '1004'.
perform bdc_field using 'BDC_OKCODE'
'=SICH'.
perform bdc_transaction using 'VK11'.
endloop.
perform close_group.
Hope this resolves your query.
Reward all the helpful answers.
Regards
Maybe you are looking for
-
Cannot copy and paste anything
Hello, I need help. I have two very large tech articles to post on my site and I cannot copy and paste anything. Cannot copy in paste items within the page or from word or notepad. It is as if the clipboard does not function at all. I am using Firefo
-
PO approval workflow notification
Hi Consultants i am requested to add requisition action history to PO approval workflow notification. i undestand that we may need to add document attribute to PO approval but how can create this one. Please advice me. Thanks, Ashok
-
How to standardize the look & feel of different vendor JSF components?
Hi, There are various JSF components created by different parties. For example, Tomahawk from Myfaces, ADF faces from Oracle, SUN components that provided in Java Studio creator. They look different. Can we standard the look and feel for these variou
-
How to get the NameTab Structure(X031L) for Dynamic internal table?
when we pass standard table to the FM 'DD_GET_NAMETAB' we will get the nametab structure(x031l), like this i want to get the same structure for dynamic internal table . how can I achieve this please help me...
-
Mountain Lion problem with HD camera of the Macbook Air
after upgrading to Lion Mountain (10.8 and also 10.8.1) I have a lot of problems with the web-cam on my macbook air (mid 2012), sometimes it's not recognized and tells me that there is no web-cam connected, it also happens to others? after the restar