How do I copy a reference?
Labview fundamentals question....
I have a reference.....my understanding is a reference is like a pointer.
I would like to copy the reference so that I have two separate and equal references.
Example, a reference to a graph.
-Regards
eximo
UofL Bioengineering M.S.
Neuronetrix
"I had rather be right than be president" -Henry Clay
A control reference is a handle that is used to locate the resource associated with a control and in your case a graph.
Copying the reference can be done by simply branching your wire coming from the reference OR you can do as you were told earlier OR pop-up on the graph and create another ref.
But that will only copy the 32 bit number that is used to start the search for the resources.
If you want to use references to copy from one exisitng graph to another exisitng graph (they must both be created at edit time) then after creating your second grpah and creating a reference for it...
Use property nodes to read all of the data and setting you read using one of the refs to popertyt nodes for the second graph.
Gird-up your loins!
Copying all of the properties for everything in a graph is a challlenge that I have never risen too. Pcik the properties you really need and stick with them.
If your graph has multiple plots or scales etc, then you will have to loop through each of them using the "Active whateever" to select which one you are reading from and which one you are writting to.
And before you run into another issue...
You can only set porperties an method on plots scales etc that exist in the graph. If the first time you try to copy 140 plots from the first to the second, it will fail if the second has never seen 140 plots.
I hope that gets you started.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Similar Messages
-
Dears ,,
how to change the path that sysprep were copied to reference computer when i capture the image from reference.
Should i modify some codes in LTIAPPLY.wsf? how to modify it?
Thanks.Sysprep and capture has *Three* steps.
1. Run sysprep on the local machine (easy).
2. Copy WinPE down to the local machine so we can reboot into winpe for capture.
3. Capture the drive in an *offline* state from within WinPE.
What is most likely happening is that you are having problems with step #2. 100MB is *WAY* too small to copy down WinPE. By default MDT will make this System partition much bigger, 499MB. IF you install Windows 7 from the default media. IT will only create
a 100MB partition.
By default MDT 2012 Update 1 and greater *should* recover to a fallback drive with the OS on it, however if you are running older versions that might not happen correctly.
If you are still having problems, copy your BDD.log file to a public share like OneDrive and copy the link here.
Keith Garner - keithga.wordpress.com -
How can I copy the layer from one .PSD file to another .PSD file?
Hi,
Actually it is shape and mask on one layer which I want to use it on my Photoshop CS4 file. If I select all the layer and copy it to my file it just copies the shape but not the mask. How can I copy MASK to my file?
Please do hlep.
Actually I am trying to copy the following layer.I believe the fastest way would be to duplicate the layer and send it to the other document. Open both images. Click the document tab of the document with the shape layer. With the shape layer selected in the layers palette, right click where it says the shape layer name. Select "duplicate layer" from the context menu. In the dialog that comes up, select the document you want to copy that layer to in the destination box then press ok.
Alternately, you can open both images then pull the document frame tabs down to open both images in your workspace. Grab the shape layer in the document's layers palette by left clicking it...keep the left button pressed (hand icon should be a grab icon). While left button is still pressed, drag the shape layer over the receiving document. To make the shape layer register in the same location, press the shift key and keep it pressed. Release left mouse button while the layer is over the receiving document. Release shift key after you have released the left mouse button.
This tutorial has a good photo reference for what I mean when I say pull the image tabs down so both documents appear in the same workspace...also shows drag/drop:
http://www.photoshopcstutorials.co.uk/html/cs4_workspace___palette_notes.html -
How can we get the reference of XML element on frame as soon as frame is created in Document?
Hi,
When ever we copy any text/table cells from any frame, and paste it directly on page, A new Frame is created and the pasted text is placed inside that frame.
Now to capture this frame creation, We have two possible solutions:
1) Attach Observer on Document 'kDocBoss' on IID_IHIERARCHY_DOCUMENT and it will notify on frame creation in update function.
2) Notification event on new story creation.
Now, I need to perform some changes in the newly created table, for example:
a) Need to delete XML tags from newly created frame
b) Need to perform action on table cells if any in the created frame.
But the problem is, when the event comes, I can access basic properties of frame like it's name, type etc, but it does not give me the
XML element on frame or tables in frame until the event is com pleat.
I know it's quite a specif requirement, but I guess many of you might have faced these kind of challenges, while processing the event.
Does any one has any idea how I can get the reference of XML element on frame as soon as it is created?Hi Kapoor,
please give also others a chance, and excuse that I get up late on vacation ;-)
Anyway, I'd keep the story creation responder to recognize the copy, then combine it with an observer on the backing xml story to catch the associated XML element which is created there. Something like below:
UIDRef xmlStoryRef = Utils<IXMLUtils>()->GetBackingStore(doc);
InterfacePtr<ISubject> subject ( xmlStoryRef,IID_ISUBJECT );
subject->AttachObserver(observer,IID_IIDXMLELEMENT,observer->GetAttachIID()); -
BAPI SALES ORDER & Copy with reference
Hello,
I'm creating sales order copied with reference to an invoice. My problem is that the data item is empty. When I create the sales order manually and use the option 'Create with reference' and choose an invoice, the sales order is created with all data item. I don't know how I can get to copy the data item from the invoice in the new sales order. The code that I'm using is the following:
DATA: order_header_in LIKE bapisdhd1,
order_partners LIKE bapiparnr OCCURS 0 WITH HEADER LINE,
order_text LIKE bapisdtext OCCURS 0 WITH HEADER LINE,
order_header_inx LIKE bapisdhd1x,
order_item_in LIKE bapisditm OCCURS 0 WITH HEADER LINE,
order_schedules_in LIKE bapischdl OCCURS 0 WITH HEADER LINE,
order_conditions_in LIKE bapicond OCCURS 0 WITH HEADER LINE,
extensionin LIKE bapiparex OCCURS 0 WITH HEADER LINE,
partneraddresses LIKE bapiaddr1 OCCURS 0 WITH HEADER LINE,
order_cfgs_ref like BAPICUCFG occurs 0 with header line.
DATA: salesdocument LIKE bapivbeln-vbeln.
DATA: return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
order_header_in-doc_type = 'ZA09'.
order_header_in-sales_org = '1700'.
order_header_in-distr_chan = '01'.
order_header_in-division = '01'.
order_header_in-BILL_DATE = '20060701'.
order_header_in-ref_doc = '0900000019'.
order_header_in-refdoc_cat = 'M'.
*order_header_in-REF_DOC_L_LONG = '0900000019'.
order_header_in-purch_no_c ='prueba'.
*order_header_in-ord_reason = '003'.
*order_header_in-pmnttrms = '0002'.
*order_header_in-sales_off = '2800'.
order_header_in-ref_doc_l = 'FACTURA ES'.
*order_header_in-fix_val_dy = '20060701'.
*order_header_in-currency = 'USD'.
*order_header_in-exchg_rate = '1.2'.
order_partners-partn_role = 'AG'.
order_partners-partn_numb = '0000000001'.
order_partners-langu = 'EN'.
order_partners-name = 'El corte aleman'.
order_partners-country = 'ES'.
APPEND order_partners.
order_partners-partn_role = 'RE'.
order_partners-partn_numb = 'ARR000'.
order_partners-addr_link = '0000030044'.
APPEND order_partners.
CALL FUNCTION 'ADDR_GET_COMPLETE_ALL_TYPES'
EXPORTING
addrnumber = order_partners-addr_link
PERSNUMBER =
address_object_type = '1'
IV_CURRENT_COMM_DATA = 'X'
IMPORTING
ADDR1_COMPLETE =
ADDR2_COMPLETE =
ADDR3_COMPLETE =
ADDR1_COMPLETE_BAPI = partneraddresses
ADDR2_COMPLETE_BAPI =
ADDR3_COMPLETE_BAPI =
EXCEPTIONS
PARAMETER_ERROR = 1
ADDRESS_NOT_EXIST = 2
PERSON_NOT_EXIST = 3
INTERNAL_ERROR = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
data: vl_texto(40) value 'NUEVOOOOO'.
partneraddresses-name = vl_texto. clear vl_texto.
partneraddresses-name_2 = vl_texto.
partneraddresses-name_3 = vl_texto.
partneraddresses-name_4 = vl_texto.
partneraddresses-langu = 'E'.
APPEND partneraddresses.
DATA: vl_cantidad LIKE bapisditm-target_qty.
vl_cantidad = 1.
order_item_in-itm_number = 10.
order_item_in-material = 'HONORARIOS'.
order_item_in-ref_doc = '0900000019'.
order_item_in-ref_doc_it = 10.
order_item_in-ref_doc_ca = 'M'.
APPEND order_item_in.
order_schedules_in-itm_number = 10.
order_schedules_in-req_qty = vl_cantidad.
APPEND order_schedules_in.
order_text-text_id = 'Z001'.
order_text-ITM_NUMBER = ''.
order_text-langu = 'EN'.
order_text-text_line = 'Hola, CARACOLAcola'.
APPEND order_text.
order_text-text_id = 'Z001'.
order_text-langu = 'EN'.
order_text-text_line = 'Adios caracol'.
APPEND order_text.
order_text-itm_number = '000010'.
order_text-text_id = '0001'.
order_text-langu = 'EN'.
order_text-text_line = 'Hola, POSICIÓN'.
APPEND order_text.
extensionin-structure = 'BAPE_VBAK'.
extensionin-valuepart1 = ' BCL 7'.
APPEND extensionin.
order_cfgs_ref-posex = '10'.
order_cfgs_ref-config_id = '10'.
order_cfgs_ref-root_id = '00000001'.
append order_cfgs_ref.
CALL FUNCTION 'ZBAPI_SALESORDER_CREATEFROMDT2'
EXPORTING
SALESDOCUMENTIN = salesdocument
order_header_in = order_header_in
ORDER_HEADER_INX = order_header_inx
SENDER =
BINARY_RELATIONSHIPTYPE =
INT_NUMBER_ASSIGNMENT =
BEHAVE_WHEN_ERROR =
LOGIC_SWITCH =
TESTRUN =
CONVERT = ' '
IMPORTING
salesdocument = salesdocument
TABLES
return = return
order_items_in = order_item_in
ORDER_ITEMS_INX =
order_partners = order_partners
order_schedules_in = order_schedules_in
ORDER_SCHEDULES_INX =
order_conditions_in = order_conditions_in
ORDER_CONDITIONS_INX =
ORDER_CFGS_REF = order_cfgs_ref
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CFGS_BLOB =
ORDER_CFGS_VK =
ORDER_CFGS_REFINST =
ORDER_CCARD =
order_text = order_text
ORDER_KEYS =
extensionin = extensionin
partneraddresses = partneraddresses
PERFORM report TABLES return.
*DATA: salesdocument LIKE bapivbeln-vbeln.
*DATA: return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
*refresh return.
*CALL FUNCTION 'BAPI_SALESDOCUMENT_COPY'
EXPORTING
salesdocument = '0400000191'
documenttype = 'ZA04'
TESTRUN = ' '
IMPORTING
SALESDOCUMENT_EX = salesdocument
TABLES
RETURN = return
*PERFORM report TABLES return.
*write: / salesdocument.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
*& Form report
text
-->P_MENSAJE text
FORM report TABLES p_mensaje STRUCTURE bapiret2.
DATA: vl_mensaje TYPE string.
LOOP AT return.
CLEAR vl_mensaje.
MESSAGE ID return-id
TYPE return-type
NUMBER return-number
INTO vl_mensaje
WITH return-message_v1
return-message_v2
return-message_v3
return-message_v4.
WRITE: / vl_mensaje.
ENDLOOP.
ENDFORM. " reportHi Manuel,
There are some function modules which is there to copy the order details. I am not sure about the function module name. But you can search in SE37. But bapi for creating the sales order does not have the functionality of copying the data from one document to another document.
You can try using this function module.
BAPI_SALESDOCUMENT_COPY
Data will be copied based on the copy control routines that is set between the two document types.
Thanks,
Arun -
How to programmatically copy a OneNote page from one section to another
How to programmatically copy a OneNote page from one section to another.
I don't find any interface in OneNote
2010 Developer Reference which will let me do this.
any help?
Regards,
Umar
OneNote 2010Hi Umarinam,
Thank you for posting in the MSDN Forum.
In the page OneNote 2010 Developer Reference, you can see an Application Interface which includes methods
help retrieve, manipulate, and update OneNote information and content.
The below are some basic samples
Retrieving Section Metadata in OneNote 2010
Programmatically Opening and Closing a Notebook in OneNote 2010
Hope it helps.
Best regards,
Quist Zhang [MSFT]
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
How can I copy and paste a pdf onto my Mavericks Clipboard. I only see word-wrapped text.
Yes, Thank you for using the term Place. You moved my focus off the clipboard, and Place set me back on course. Somewhere, the terms Copy and Paste need to be tagged to Place and Export. I'm a database designer who only uses Illustrator for forms the database fills. My need isn't yet met, but the rest should come with reading the right references. Thanks Larry!
-
How can I copy test plan WITH ITS RESULTS (PASS/FAIL) to other project in MTM??
Hi odedn,
Thank you for posting in MSDN forum.
Based on your issue, you mean that you want to copy the test plan with test results from the current team project
to other team project, am I right?
If yes, as far as I know that when we copy test plan with test results to other team proejcts. It is default that
there just will not copy the test plan with test results (pass/fail) to other team project in MTM.
You can refer the following MSDN document’s
what gets cloned, it explained that which objects are copied from the source test plan to the destination test plan.
Reference:
http://msdn.microsoft.com/en-us/library/hh543843.aspx
If you still want to this feature, I suggest you can
submit this feature request:
http://visualstudio.uservoice.com/forums/121579-visual-studio. The Visual Studio product team is listening to user voice there. You can send your idea there and people can vote. If
you submit this suggestion, I hope you could post that link here, I will help you vote it.
Thanks for your understanding.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Basic problem (annoying, if not disasterous - but common - at least for me):
When you are trying to sktick two different VIs together and you copy the block diagram of one to the other, it sticks all the controls in the middle of nowhere. THen you have to spend about 10 mins dragging the controls screen by screen from one end of the diagram to the other - sometimes over 15 screens. Surely there has to be a better way?
** Incidentally you might think that labview would have these sort of settings in the 'properties' of the control on the right click menu - but no joy.
I guess the obvious thing is that you can write a VI which will get a reference for a particular control and then say set it's position (x,y) to zero. Only thing is that generally there will be a selection of controls, and often they will be organised nicely - after getting them to zero you don't want to have to reorganise them again. I tried grouping the controls, but then the problem is - how do you get a reference to a group of controls. If you move one of them it doesn't keep the spatial arrangement. At this point i have got lost - and easily spent more time than it is worth fixing this problem.
Any thoughts?
Solved!
Go to Solution.If I understand you correctly, when you copy the block diagram from the second VI to the first, the controls of the second VI end up in far left field on the front panel of the first, correct? I think these added controls will maintain their relative locations among themselves so you should be able to find them all as a group out in left field. Then it's simply a matter of how to get them to enmasse join the rest of the controls on the front panel. There are a couple of easy ways to do this. There is a button on the toolbar at the top of the front panel window that allows you to reorder/group/ungroup front panel objects. You can select all controls/indicators out in left field and "group" them together. (As an alternative, you can also drop them all onto a tab control which will act as container for them). Then you select this group and with it selected scroll back over to the existing front panel and find and ALSO select (hold down shift key) a control/indicator from the existing group too. Then with BOTH the existing control selected and the new group (or tab control with the new group) selected you use the ALIGN buttons to quickly bring a corner of the new group into alignment with the old control. At that point you can ungroup the new stuff and move it where it needs to be.
-
Settlement rule copied from reference internal order
Hi
How to manage that no settlemnt rule will be copied from reference order into the new internal order I´m creating in transaction KO01? Is it a configuration issue?
Please advise.
AnnaHI,
the reason for creating an internal order "with reference" is to transfer all infos to the new order (even the settlement rule). So after "creation with reference" the settlement rule is copied. If its not the one you need:
1: take a reference order that fits your requirement.
2: for order creation without reference use a "model" order, this "model" order can be assigned to the order type in T-code KOT2_OPA and works similar as a reference, but if the model order does not contain a settlement rule, the created order also does not).
3: change/delete the created settlement rule from the new order.
Best regards, Christian -
How advantages of "Call By Reference" can be implemented using Java
As I know that java doesnot support "Call By Reference" as C++
does.
I want to know that how advantages of Call by Reference can be
implemented using Java.There is some misunderstanding here. Method arguments in Java are passed by value. However, if you pass a reference (to an object) by value, you can still modify the object that the (copy of the) reference points to.
public void method1() {
StringBuffer buf = new StringBuffer();
// Here, method2 cannot change the value of the variable buf,
// but it can modify the object that buf points to.
method2(buf);
public void method2(StringBuffer sb) {
// You can modify the StringBuffer.
sb.append("hello");
// But this is useless, it will not change the variable buf
// in the calling method.
sb = new StringBuffer();
}Jesper -
How can I copy mp3 files from my Itunes library to an SD card for use in a non-apple phone?
How can I copy mp3 files from my Itunes library to an SD card for use in a non-apple phone? I can physically copy the tunes as mp3's but the phone does not seem to be able to play all of them. Do I need to copy an entire album or can I just pick & choose individual songs? The phone is question is an LG running who knows what for an operating system.
AAC is Advanced Audio Coding. Basically it's a format that sounds better than MP3 but doesn't take up as much space as a lossless format (like you'd have on a CD). More than likely you've had that encoding turned on when you ripped your music into itunes (it's the default encoder). Therefore your LG phone won't play them.
You need to turn off the AAC format by going to the iTunes menu, Preferences, General (at the top), then clicking the "Import Preferences" button. Change the AAC Encoder to MP3 Encoder. After that you'll have to make MP3 copies of your songs by right clicking them and selecting "Create MP3 Version." You'll get a copy of the song that should transfer to your SD card and have MP3 encoding. Hopefully your phone will play that. -
I need to uninstall and reinstall iTunes (it won't let me update). I have IE 8 on Windows XP, and iTunes 10 something. In my Program files list I see iTunes and iTunes (2) and even iPod and iPod (2) where a tech had to back up and do this for me before. I'm just trying to fix it all. I keep getting the "The feature you are trying to use is on a network resource that is unavailable. Click OK to try again, or enter an alternate path to a folder containing the installation package 'iTunes.msi' in the box below." I can even run a search and find the folder, but it gives me the same error message. I was planning on using the Microsoft Fix-It tool to help uninstall then Reinstall iTunes. But I need to backup my library. So, how do I copy or back up my iTunes library of over 1,500 songs? Can I copy the folder to desktop or can I use a Flash Drive to backup my music? I don't want to do anything until I know for sure how I can backup my songs, and then reinstall them into iTunes. Thanks for any help.
Ok, thanks that helps. I don't have an external hard drive though. What about backing up through 'the cloud'? I'm just wondering since my husband syncs his iPod to the PC through iTunes and he's worried that he will lose all the songs on his iPod if the library is lost from iTunes and he tries to 'sync' it up again. I'm not exactly sure how to 'copy the entire iTunes folder' either. I kinda suck at this unless I have step by step instructions, which I haven't found yet on iTunes help or other sources.
The only way I know how to back anything up is by going back to a restore point, etc. (as stated before, we don't have an external hard drive.)
Thanks for the info. -
How can i copy apps from one computer to another?
how can i copy apps from one computer to another?
You don't mention which operating system you have so it's difficult to provide an answer since the mac and Windows stores the files differently.
The other thing you can do is just re-download the apps from the iTunes Store. Just login to the iTunes Store on the other computer using the same Apple ID. On the right-hand side of the iTunes Store page you will see a 'Purchased' link. Clicking on that will take you to a page that will list your past purchases which you can re-download to the new computer. -
We're giving my wife's old laptop to our children. We have already set up her E-mail accounts on the new laptop which is now 2-3 months old. While cleaning off the data from the old laptop, I have found hundreds of Emails that I want to save for future use. I just archived the old messages tonight. How do I copy them to an external drive so we can read them later without writing over all the new Emails on the new laptop?
ImportExporttool:
* https://freeshell.de//~kaosmos/mboximport-en.html
how to install addon:
* https://support.mozilla.org/en-US/kb/add-ons-and-extensions-faq#w_how-do-i-install-an-add-on
On old laptop:
Right click on the folder containing the emails > ImportExporttools > choose from options eg: Export folder
choose where to export.
You can also choose to export all the messages as eml files.
Copy file to desktop of new computer
To Import onto new computer.
right click on 'Local Folders' > ImportExporttools > Import mbox file
choose file and click on open
or if you exported as eml files:
right click on Local Folder Inbox > ImportExporttools > Import Messages
See image attached:
Maybe you are looking for
-
HT5622 How can I remove my credit Card information in this latest Apple iTunes?
How can I remove my credit card info from my iTunes account with the latest update in Apple iTunes? I've looked all over and the "None" option is unavailable. Why is it so important to have a credit card entered into the system. I'd like to remove mi
-
E60 Mail for Exchange Calendar Sync Issues
Hello all, I'm able to sync my email, calendar and my contacts. However I've noticed that some of my calendar items have not been sync'd. For instance, I might have A, B, C, D as appointments in the same day and in that order. I'll only have appointm
-
Hi experts, i am using tcode xd02 in bdc for recording.i want to download the data present in xd02 into a flatfile.is it possible.if it is possible send me a sample coding or give me some points......i will must reward the points once
-
How can I clean up old footage in FCPX?
How can I clean up old footage in FCPX? I have some older 4x3 TV analog video that has some pretty noticeable noise and fuzz in the image. Anyone know how I can clean them up a bit? Thanks!
-
How to handle exception on a backing bean constructor ?
Hello, I would like to handle the exceptions throw on the constructor of a backing bean, and redirect the user to a "service not available" page. When I use "request.sendRedirect()" method to redirect the user to such page, I logically got an "Illega