03-22-2011 09:36 AM
Is it possible to cut objects from the block diagram of one vi and paste them into the block diagram of another vi?
Also, is it possible to "comment out" parts of a block diagram like you can in a text based program? That is, can you disable "code" on a block diagram without removing it from the diagram entirely?
03-22-2011 09:45 AM
@querty999 wrote:
Is it possible to cut objects from the block diagram of one vi and paste them into the block diagram of another vi?
Did you try it before you posted?
Also, is it possible to "comment out" parts of a block diagram like you can in a text based program? That is, can you disable "code" on a block diagram without removing it from the diagram entirely?
Yes. Diagram Disable structure.
Have you done any of the LabVIEW tutorials? Have you opened the LabVIEW Help?
03-22-2011 10:36 AM
Or did you try to select a section of code and drag it from one block diagram over to another block diagram and drop it before you posted? No need to cut and paste.
03-22-2011 01:39 PM
Yep, I tried before I posted. I also searched LabVIEW help. Got maybe a hundred hits. I didn't read them all.
I was expecting a way to right-click/copy, and right-click/paste. Not available, I guess. I discovered that Cntl-C (cut) and Cntl-V (paste) works.
As for training, I've got diploma's in Core 1 and Core 2 LabVIEW. I've worked numerous examples independently and read large part of several books. I'm living proof that LabVIEW ain't for dummies."Pictures and wires" programming doesn't click for me. Too many details to memorize.
CVI is much easier to me than LabVIEW, maybe since I've been programming extensively in C for 20 years. But boss says we gotta use LabVIEW. It's the politically correct thing to do.
Lots of LabVIEW advocates in management here. Few have done anything of significance with it. Some use Signal Express and call it LabVIEW. I guess they're technically correct. SE says LabVIEW on the splash page.
03-22-2011 02:54 PM
querty999 wrote:As for training, I've got diploma's in Core 1 and Core 2 LabVIEW. I've worked numerous examples independently and read large part of several books. I'm living proof that LabVIEW ain't for dummies."Pictures and wires" programming doesn't click for me. Too many details to memorize.
CVI is much easier to me than LabVIEW, maybe since I've been programming extensively in C for 20 years. But boss says we gotta use LabVIEW. It's the politically correct thing to do.
Lots of LabVIEW advocates in management here. Few have done anything of significance with it. Some use Signal Express and call it LabVIEW. I guess they're technically correct. SE says LabVIEW on the splash page.
You may be interested in this discussion: http://forums.ni.com/t5/BreakPoint/LabView-vs-LabWindows-CVI/td-p/400121
07-07-2011 02:57 AM
Hi everybody,
I think this is the right thread for this question.
I am extremely familiar with cut-paste between diagrams (I do it all the time), but today I experience problems with it. And the problem is today the code gets moved/copied only as an image. Did I inadvertedly press some key to have such an unusual behavior? It worked as expected until yesterday.
Now, if I (ctrl-) drag some blocks from one diagram to the other, the cursor indicates an invalid drag and it does not work. Ctrl- (c /) x - ctrl -v incredibly pastes a picture of the selected piece of code...
Does anybody have an idea? Thank you in advance
Francesco
07-07-2011 03:07 AM
Ah and... I forgot to say that this happens only with one particular diagram. Copy/cut paste works properly within diagrams and between other diagrams, but not to this particular one...
07-07-2011 03:35 AM
And... I found the solution by myself!
I did inadvertedly start 2 different instances of LabVIEW. It looks like copy/cut -paste of code between instances is not allowed.
Ok nice to have bothered you. Thank you anyway. Ciao!
Francesco
07-07-2011 03:49 AM
I have noticed that pasting code in another program, as Word or a mail program produces a picture, but didn't know the same happened in between LV instances. Good to know (and try to keep at the back of the head).
/Y
12-28-2023 12:01 AM
I used to do this all the time, suddenly the functionality has changed and the wires do not copy/paste, also the placement of the pasted items is seemly random. I have used lab view for over a decade on and off, I am very capable in other scripting softwares, but LabView always surprises with buggy issues like this